From eeac08c73befa499f88dd03cd96f781e10fb9f9b Mon Sep 17 00:00:00 2001 From: Mert Bekci Date: Sun, 15 Nov 2026 14:52:45 +0300 Subject: [PATCH] docs: keep an empty Unreleased section, neutral example values in tests Signed-off-by: Mert Bekci --- CHANGELOG.md | 2 ++ CONTRIBUTING.md | 2 +- cmd/errors_test.go | 2 +- internal/mcp/results_test.go | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de62bc7..3220e71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 988e164..e9b24a0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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`. 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. diff --git a/cmd/errors_test.go b/cmd/errors_test.go index 0c0dba8..d170150 100644 --- a/cmd/errors_test.go +++ b/cmd/errors_test.go @@ -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 diff --git a/internal/mcp/results_test.go b/internal/mcp/results_test.go index 5e6d8fb..3f79178 100644 --- a/internal/mcp/results_test.go +++ b/internal/mcp/results_test.go @@ -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) {