Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{".":"0.1.1"}
{".":"0.2.0"}
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## [0.2.0](https://github.com/asteroid-computing/actions-toolkit-go/compare/v0.1.1...v0.2.0) (2026-10-20)


### ⚠ BREAKING CHANGES

* **core:** core.FileCommand, core.NewSummary and core.LookupEnvFunc are removed. Use SetEnv, SetOutput, SetState or AddToPath instead of FileCommand, and core.StepSummary instead of NewSummary.
* **actioncontext:** actioncontext.CurrentActionContext and the package-level variables (Actor, Repository, EventName, EventPayload, ...) are removed. Call `ac, err := actioncontext.Load()` and read ac's fields instead; Load returns an error when the event file cannot be read or decoded, and the context is no longer logged automatically (call core.Debug(ac.String()) for the old output).

### Features

* **actioncontext:** load the context explicitly with Load ([#5](https://github.com/asteroid-computing/actions-toolkit-go/issues/5)) ([b8116fa](https://github.com/asteroid-computing/actions-toolkit-go/commit/b8116fa08765cd17e2f907b2a4f60fc662c78e76))
* **core:** add GetIDToken for GitHub OIDC tokens ([#9](https://github.com/asteroid-computing/actions-toolkit-go/issues/9)) ([1255a09](https://github.com/asteroid-computing/actions-toolkit-go/commit/1255a09a785d5913c9c1cc2ae4180d6d3fa92cc5))
* **core:** add GetState ([#8](https://github.com/asteroid-computing/actions-toolkit-go/issues/8)) ([6d00664](https://github.com/asteroid-computing/actions-toolkit-go/commit/6d0066454304d907510aee2f4260959c13ab35f9))
* **core:** add Info and Group ([6d00664](https://github.com/asteroid-computing/actions-toolkit-go/commit/6d0066454304d907510aee2f4260959c13ab35f9))
* **core:** add IsDebug and SetFailed ([6d00664](https://github.com/asteroid-computing/actions-toolkit-go/commit/6d0066454304d907510aee2f4260959c13ab35f9))
* **core:** add path conversion helpers ([#11](https://github.com/asteroid-computing/actions-toolkit-go/issues/11)) ([618e2e8](https://github.com/asteroid-computing/actions-toolkit-go/commit/618e2e8cf94912fd21def4227fdd0bd68d7b81ce))
* **core:** add SetCommandEcho and SetOutputJSON ([618e2e8](https://github.com/asteroid-computing/actions-toolkit-go/commit/618e2e8cf94912fd21def4227fdd0bd68d7b81ce))


### Bug Fixes

* **core:** render workflow command properties in sorted order ([b8116fa](https://github.com/asteroid-computing/actions-toolkit-go/commit/b8116fa08765cd17e2f907b2a4f60fc662c78e76))
* **core:** update the current process in SetEnv and AddToPath ([#7](https://github.com/asteroid-computing/actions-toolkit-go/issues/7)) ([e3c62a3](https://github.com/asteroid-computing/actions-toolkit-go/commit/e3c62a373c18de08f3a0e5276a0befb20289d9a9))
* **core:** write one directory per line to GITHUB_PATH in AddToPath ([e3c62a3](https://github.com/asteroid-computing/actions-toolkit-go/commit/e3c62a373c18de08f3a0e5276a0befb20289d9a9))


### Code Refactoring

* **core:** keep afero out of the exported API ([b8116fa](https://github.com/asteroid-computing/actions-toolkit-go/commit/b8116fa08765cd17e2f907b2a4f60fc662c78e76))

## [0.1.1](https://github.com/asteroid-computing/actions-toolkit-go/compare/v0.1.0...v0.1.1) (2026-10-12)


Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package version
import "reflect"

// Version is the semantic version, without a leading "v".
const Version = "0.1.1"
const Version = "0.2.0"

// BuildMetadata is set at link time (e.g. "pr45.abc1234", "local.abc1234.dirty"). Empty under `go run`.
var BuildMetadata string
Expand Down
Loading