Skip to content

Commit

Permalink
docs: update CHANGELOG
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Cermak <marek.cermak@strv.com>
  • Loading branch information
CermakM committed Mar 11, 2024
1 parent 5c09c41 commit 13501ff
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -18,15 +35,15 @@ 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.
- Error response options:
- `WithErrorMessage`
- `WithRequestID`

## [0.4.0] - 2022-01-12
## [0.4.0] - 2023-01-12
### Changed
- JSON tags in `ErrorResponseOptions`.

Expand All @@ -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
Expand Down

0 comments on commit 13501ff

Please sign in to comment.