Changelog¶
All notable changes to this project are documented in this file. From 3.0.0 onwards it is maintained by release-please from Conventional Commits.
3.0.0 (2026-11-16)¶
⚠ BREAKING CHANGES¶
- the HTTP API, the configuration variables and the database schema are not compatible with 2.x. See the migration guide.
Features¶
- add the init tool and the resource generator (122950b)
- rewrite the core around feature packages (4247ac9)
Bug Fixes¶
- repair the Docker build and harden CI (#12) (f06c837)
- return timestamps in UTC on every database driver (b586f75)
Documentation¶
2.0.1 (2026-10-13)¶
Security release.
Security¶
- The client IP is no longer taken from
X-Forwarded-FororX-Real-IPheaders that a client can forge (GHSA-3fxj-6jh8-hvhx). It comes from the TCP peer by default, or from the entry added by your own proxies whenHTTP_TRUSTED_PROXIESis set. - Direct dependencies with known vulnerabilities (chi, kin-openapi, pgx, x/text, x/crypto, x/sys) are upgraded.
Tooling¶
- CI runs
govulncheck. CodeQL, OpenSSF Scorecard and grouped Dependabot updates are enabled.
2.0.0 (2026-10-13)¶
A complete rewrite on modern Go: chi, slog, an OpenAPI 3.1 contract with
request and response validation, JWT authentication, PostgreSQL with SQLite
for local development, health endpoints and Prometheus metrics.
Breaking changes¶
- Gin is replaced by chi; the HTTP layer, the project layout and the configuration are new.
- The module path is
github.com/antoniopaya22/go-rest-template.
1.0.0 (2020-09-11)¶
The original Gin-based template.