Releases: sethvargo/go-githubactions
Releases · sethvargo/go-githubactions
v1.3.0
v1.2.0
This release updates the minimum Go version to 1.21.
What's Changed
- README: Fix build badge by @abhinav in #50
- chore: fixed minimal Dockerfile example in readme by @ChristianSch in #52
- Drop external dependencies by @sethvargo in #55
New Contributors
- @abhinav made their first contribution in #50
- @ChristianSch made their first contribution in #52
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- Add support for all GITHUB env vars by @ianlewis in #46
- Add Noticef() to actions_root.go by @ashutoshgngwr in #48
- Switch to environment files for SetOutput and SaveState by @sethvargo in #49
New Contributors
Full Changelog: v1.0.0...v1.1.0
v1.0.0
What's Changed
- Breaking! Panic on errors and remove deprecated functions by @sethvargo in #41
- Potentially breaking! Require go1.18 by @sethvargo in #42
- Add ability to set step summaries by @sethvargo in #43
- Add support for getting the GitHub context by @sethvargo in #44
Full Changelog: v0.5.3...v1.0.0
v0.5.2
v0.5.1
v0.5.0
What's Changed'
- Add support for getting OIDC token by @sethvargo in #28
- Adding tests to get
actions.go
andcommand.go
to 100% test coverage. by @dhermes in #22 - Fix wrong badge by @ribice in #26
- Pass along
getenv
inAction.WithFieldsMap()
. by @dhermes in #27
New Contributors
- @ribice made their first contribution in #26
- @sethvargo made their first contribution in #28
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Add `Action.getenv` and use variadic options in `New()`. (#19) * Adding `Action` options. * Using options in `New()`. * Adding `Action.getenv` and `OptGetEnv` helper. * Adding godoc for `Opt*()` helpers. * Adding `getenv` default in `New()`. * Replacing `os.Getenv` usage with `Action.getenv`. * Ditching `Action.setEnv` in favor of using `OptGetenv`. * Ditching `Action.addPath` in favor of using `OptGetenv`. * Ditching `Action.getInput` in favor of using `OptGetenv`. * Ditching `Action.issueFileCommand` in favor of using `OptGetenv`. * Ditching `NewWithWriter` in tests. This will make it easier to deprecate `NewWithWriter` later. * Adding test for `NewWithWriter`. * Fix year in new `options_test.go`. * Modifying `Option` so it also returns an `Action`. * Adding a `nil`-guard for `opt` in `New()`. * Adding deprecation notice to godoc for `NewWithWriter()`. * Renaming `Opt*` to `With*` for options. The diff was completely generated via: ``` git grep -l OptWriter | xargs sed -i '' s/OptWriter/WithWriter/g git grep -l OptFields | xargs sed -i '' s/OptFields/WithFields/g git grep -l OptGetenv | xargs sed -i '' s/OptGetenv/WithGetenv/g ``` so reviewing the whole diff is not necessary (if that makes code review easier). * Exporting `getenvFunc`. Done via: ``` git grep -l getenvFunc | xargs sed -i '' s/getenvFunc/GetenvFunc/g ```