Skip to content

Upgrade platform-go to v11.2.0 - #4

Merged
verygoodsoftwarenotvirus merged 1 commit into
mainfrom
upgrade-platform-go-v11
Aug 19, 2026
Merged

verygoodsoftwarenotvirus merged 1 commit into
mainfrom
upgrade-platform-go-v11

Conversation

@verygoodsoftwarenotvirus

Copy link
Copy Markdown
Contributor

Moves the template from platform-go/v10 v10.0.0 to platform-go/v11 v11.2.0.

What's in here

A major version bump changes the module path, so the bulk of this is mechanical: every
github.com/primandproper/platform-go/v10/... import becomes .../v11/... across
internal/cli, internal/config, and cmd/tools/codegen/configs, plus the one line in
CLAUDE.md that spelled the version out.

Nothing else had to move with it. Diffing the packages this template actually consumes —
config, observability, observability/logging and its config subpackage, and the
metrics/profiling/tracing noop providers — against v10 with the internal path rewrite
normalized away turns up no API changes. v11's additions to config (render.go, envvars/)
are purely additive, so nothing here had to adapt to them.

Transitively: fxamacker/cbor/v2 v2.9.0 → v2.9.2, and swaggest/jsonschema-go +
swaggest/refl arrive as new indirect deps (pulled in by v11's config additions).

Verification

  • go build ./... and go vet ./... clean
  • make test passes (race, shuffle, failfast)
  • make lint — golangci-lint reports 0 issues, shellcheck passes
  • make configs re-renders config/localdev.json and config/production.json
    byte-for-byte identically, so the checked-in projections are unchanged
  • make build + ./artifacts/template-go version and version --config config/localdev.json
    both work, confirming the LoadFromFile path still round-trips

Follow-up, deliberately not in this PR

v11 adds config.RenderJSONFiles (and TOML/YAML counterparts) upstream, which covers the same
ground as this template's own internal/config.Render. Swapping to it is a refactor rather than
a version bump, so I left it alone — worth a separate PR if you want the template to lean on the
upstream renderer.

🤖 Generated with Claude Code

The v10 -> v11 major bump changes the module path, so every import moves
from platform-go/v10 to platform-go/v11.

Nothing else had to move with it. Diffing the packages this template
actually consumes -- config, observability, observability/logging{,/config},
and the metrics/profiling/tracing noop providers -- against v10 with the
path rewrite normalized away shows no API changes at all; v11's additions
to config (render.go, envvars/) are purely additive. So this is the import
rewrite, the go.mod/go.sum bump, and the one CLAUDE.md line that spelled
the version out.

make configs re-renders config/localdev.json and config/production.json
byte-for-byte identically, so the checked-in projections are unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

@verygoodsoftwarenotvirus verygoodsoftwarenotvirus left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@verygoodsoftwarenotvirus
verygoodsoftwarenotvirus merged commit c332f15 into main Aug 19, 2026
5 checks passed
@verygoodsoftwarenotvirus
verygoodsoftwarenotvirus deleted the upgrade-platform-go-v11 branch August 19, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant