build: /v2 module path for the v2.0.0 release #12

Merged
fiatcode merged 1 commit from release/v2-module-path into main 2026-06-16 15:38:38 +07:00
Owner

Follow-up to the rename (#11): Go's semantic import versioning requires a /v2 suffix in the module path for major version ≥ 2. Without it, a v2.0.0 tag is invisible to go install (@latest would resolve to v1.4.0).

  • go.mod module path → git.fiatcode.dev/fiatcode/weft/v2
  • all imports → …/weft/v2/internal/… (22 files)
  • go install command → …/weft/v2/cmd/weft@latest (README + CHANGELOG)

go vet ./... && go test ./... green. Merge this, then tag v2.0.0.

Follow-up to the rename (#11): Go's semantic import versioning requires a `/v2` suffix in the module path for major version ≥ 2. Without it, a `v2.0.0` tag is invisible to `go install` (`@latest` would resolve to v1.4.0). - `go.mod` module path → `git.fiatcode.dev/fiatcode/weft/v2` - all imports → `…/weft/v2/internal/…` (22 files) - `go install` command → `…/weft/v2/cmd/weft@latest` (README + CHANGELOG) `go vet ./... && go test ./...` green. Merge this, then tag `v2.0.0`.
build: migrate module path to /v2 for the v2.0.0 release
All checks were successful
CI / vet-and-test (pull_request) Successful in 26s
3a4208cba3
Go requires a /v2 path suffix for major version >=2. Updates go.mod,
all imports, the go install command, and the CHANGELOG entry.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fiatcode/weft!12
No description provided.