v4.0.0: adopt /v4 module path + release-guard fix#56
Merged
Conversation
v4.0.0 was not `go get`-able: the module path lacked the major-version suffix that Go requires for v2+, so the proxy rejected every v2+ tag (`go get @latest` resolved only to v1.1.0). This migrates the module to its proper v4 path. - go.mod module path -> github.com/monstercameron/GoWebComponents/v4 - rewrite all internal import paths to .../v4/... across 1317 .go files (quote-anchored so repo URLs in comments/docs are untouched) - dependent local modules (tools/agenthub, tools/livereload): require + replace updated to the /v4 path with a v4-major version - scaffold generator: contributor-linked go.mod now emits an explicit `require <path> v4.0.0` (a local-path replace of a /vN module needs a major-matching require; go mod tidy would otherwise synthesize an invalid v0 pseudo-version) + helper scaffoldModuleMajorSuffix - docs/reference-manual code snippets + llms.txt regenerated to /v4 imports - scaffold/import test fixtures + golden outputs updated to /v4 BREAKING CHANGE: consumers must import github.com/monstercameron/GoWebComponents/v4/... Verified: native suite (80 pkgs) green, wasm build green, doc gates (doclint goblocks-compile, capabilities, changelogcheck, llms) green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
After the /v4 migration, `go get github.com/monstercameron/GoWebComponents@latest` resolves only to the stale v1.1.0 (suffix-less path). Point the release-guard smoke at the /v4 path so it exercises the real v4 module (valid on the proxy once the v4.0.0 tag is pushed). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adopts the /v4 semantic-import-versioning module path so v4.0.0 is go-gettable, and points the release go-get smoke at /v4. See commits for the full breakdown.
🤖 Generated with Claude Code