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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Format: [Keep a Changelog](https://keepachangelog.com/) · [SemVer](https://semv

Before 1.0, a minor version may contain breaking changes; each is marked **Breaking** and described in MIGRATING.md. Patch versions never break.

## [Unreleased]

## [0.3.1] - 2026-11-15

### Added
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ A release of the CLI that needs a new SDK goes in this order:
go mod tidy
```

3. Bump `CLI` in `internal/version/version.go`, move the `Unreleased` CHANGELOG entries under the new version (that section becomes the GitHub Release's notes; the build fails without it), and merge to `main`.
3. Bump `CLI` in `internal/version/version.go`, move the `Unreleased` CHANGELOG entries under the new version, leaving an empty `## [Unreleased]` above it and updating the link definitions (that section becomes the GitHub Release's notes; the build fails without it), and merge to `main`.
4. Tag that commit on `main` with `v<CLI version>`. The release workflow refuses a tag that does not match `internal/version`, builds against the pinned SDK version, tests, builds the archives and runs the binary from every archive on a runner of its platform, all in read-only jobs, and publishes (cosign-signed checksums, SBOMs) only after approval in the `release` environment and only when the tagged commit is on `main`.

GoReleaser generates `THIRD_PARTY_LICENSES.txt` before the build (`go run ./tools/thirdparty`: the license and notice files of the Go runtime and of every module linked into the binary for any release target, read from the module cache) and ships it in every archive with `LICENSE`, `NOTICE`, `README.md` and `CHANGELOG.md`. A new dependency without a license file stops the release.
Expand Down
2 changes: 1 addition & 1 deletion cmd/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func TestNetworkCommandReportsConfigFileProblem(t *testing.T) {
}

// The gateway's own 400 (a parameter it rejected; the CLI itself refuses
// render=mert, so the gateway's exact render=mert reply stands in) fails with
// render=maybe, so the gateway's exact render=maybe reply stands in) fails with
// the gateway's message; a target's 400 the gateway billed, like a target 404
// or 410, is a page: printed, with its status and cost, and exit 0. Plugins
// follow the same rules, and a plugin's {"error","message"} envelope supplies
Expand Down
2 changes: 1 addition & 1 deletion internal/mcp/results_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func serverURL(t *testing.T, h http.HandlerFunc) string {
}

// The gateway's own 400 (a parameter it rejected; this is its exact reply to
// render=mert) is a tool error carrying the gateway's message; a target's 400 the gateway
// render=maybe) is a tool error carrying the gateway's message; a target's 400 the gateway
// billed, like a target 404 or 410, is the page with its status. A plugin's
// {"error","message"} envelope supplies its error's message.
func TestGateway400IsAnErrorTargetStatusesArePages(t *testing.T) {
Expand Down
Loading