From d69dc8bdd5db21987d258ab9f54667c38b9563c3 Mon Sep 17 00:00:00 2001 From: "astrocompute-release-please[bot]" <334348315+astrocompute-release-please[bot]@users.noreply.github.com> Date: Tue, 20 Oct 2026 12:31:39 +0000 Subject: [PATCH] chore(main): release 0.2.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ version/version.go | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f1cf1e5..305c150 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"0.1.1"} +{".":"0.2.0"} diff --git a/CHANGELOG.md b/CHANGELOG.md index 612f1df..819a313 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/version/version.go b/version/version.go index abd8e13..3edb93b 100644 --- a/version/version.go +++ b/version/version.go @@ -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