Go Modules: v2 and Beyond
Explains semantic import versioning and how Go modules handle major version changes.
Explains semantic import versioning and how Go modules handle major version changes.
- Author: Jean Barkhuysen and Tyler Bui-Palsulich
- Authority: primary
- Kind: blog
- URL: https://go.dev/blog/v2-go-modules
What it covers
- semantic import versioning
- v2+ module path rules
- publishing breaking changes
Why authoritative
Canonical Go blog explanation of major-version module mechanics.
Use when
- when do I need a v2 Go module
- how do major versions work in Go modules
- how should I publish a breaking change in Go
Keywords
- v2, semantic import versioning, modules, major versions, compatibility