Skip to content

v4.0.0: adopt /v4 module path + release-guard fix#56

Merged
monstercameron merged 2 commits into
masterfrom
v4
Jun 29, 2026
Merged

v4.0.0: adopt /v4 module path + release-guard fix#56
monstercameron merged 2 commits into
masterfrom
v4

Conversation

@monstercameron

Copy link
Copy Markdown
Owner

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

claude and others added 2 commits June 29, 2026 07:39
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>
@monstercameron monstercameron merged commit 7728275 into master Jun 29, 2026
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.

2 participants