From 13501ff980d7171a7e768ce5ac27205e36dec4c1 Mon Sep 17 00:00:00 2001 From: Marek Cermak Date: Mon, 11 Mar 2024 07:23:39 +0100 Subject: [PATCH] docs: update CHANGELOG Signed-off-by: Marek Cermak --- CHANGELOG.md | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06be892..f39e0c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,28 @@ How to release a new version: ## [Unreleased] -## [0.6.2] - 2022-06-27 +## [0.7.0] - 2024-03-11 +### Changed +- Logging interface changes to `log/slog`. + + NOTE: This is version presents a BREAKING CHANGE in the server's logger interface. The server now accepts a `slog.Logger` instead of a custom `ServerLogger`. +- Change in the logging middleware. The middleware now nests request specific data under the "request" group. +- Updated from Go 1.20 to Go 1.22. +- Updated packages: + ```diff + - github.com/go-chi/chi/v5 v5.0.8 + - github.com/google/uuid v1.3.0 + - github.com/stretchr/testify v1.8.0 + + github.com/go-chi/chi/v5 v5.0.12 + + github.com/google/uuid v1.6.0 + + github.com/stretchr/testify v1.9.0 + ``` + +## [0.6.2] - 2023-06-27 ### Fixed - Error logging when terminating HTTP server. -## [0.6.1] - 2022-03-28 +## [0.6.1] - 2023-03-28 ### Changed - package `http/param` does not zero the field if not tagged with any relevant tags @@ -18,7 +35,7 @@ How to release a new version: - package `http/signature` to simplify defining http handler functions - package `http/param` to simplify parsing http path and query parameters -## [0.5.0] - 2022-01-20 +## [0.5.0] - 2023-01-20 ### Added - `ErrorResponseOptions` contains public error message. - `ErrorResponseOptions` contains request ID. @@ -26,7 +43,7 @@ How to release a new version: - `WithErrorMessage` - `WithRequestID` -## [0.4.0] - 2022-01-12 +## [0.4.0] - 2023-01-12 ### Changed - JSON tags in `ErrorResponseOptions`. @@ -53,7 +70,8 @@ How to release a new version: ### Added - Added Changelog. -[Unreleased]: https://github.com/strvcom/strv-backend-go-net/compare/v0.6.2...HEAD +[Unreleased]: https://github.com/strvcom/strv-backend-go-net/compare/v0.7.0...HEAD +[0.7.0]: https://github.com/strvcom/strv-backend-go-net/compare/v0.6.2...v0.7.0 [0.6.2]: https://github.com/strvcom/strv-backend-go-net/compare/v0.6.1...v0.6.2 [0.6.1]: https://github.com/strvcom/strv-backend-go-net/compare/v0.6.0...v0.6.1 [0.6.0]: https://github.com/strvcom/strv-backend-go-net/compare/v0.5.0...v0.6.0