Versioning
godantic uses semantic version tags for Go module releases.
The current version line is v0.x, which means the public API can still change while the project settles. Breaking changes should still be called out in the changelog.
Docs Policy
Section titled “Docs Policy”The root docs site shows the latest documentation for the active major line.
Current docs:
https://desarso.github.io/godantic/ -> latest v0 docsWhen v1 exists, the root site should track the latest stable major. Older major versions can be published under major paths such as:
/godantic/v0//godantic/v1/Until then, the site is intentionally labeled as latest v0.x docs.
Version Source
Section titled “Version Source”The repository has a VERSION file:
0.1.0Release tags add the Go module v prefix:
v0.1.0Release Commands
Section titled “Release Commands”The root Makefile includes release helpers.
make testmake docs-buildmake release-tagmake releasemake release runs Go tests, builds docs, validates the working tree, tags the current commit, pushes main, pushes the tag, and creates a GitHub release using gh.
Manual Release Flow
Section titled “Manual Release Flow”- Update
VERSION. - Update
CHANGELOG.md. - Commit the changes.
- Run
make release. - Confirm the GitHub release and docs deployment.
Go Module Consumers
Section titled “Go Module Consumers”Users can install a tagged release with:
go get github.com/Desarso/godantic@v0.1.0For the newest commit on main:
go get github.com/Desarso/godantic@main