How to release a new version:
- Update this file with the latest version.
- Manually release new version.
0.8.0 - 2024-11-14
- package
http/param
: can parse into embedded structs.
- package
http/param
: can no longer change the tag value prefix the parser reacts to (e.g. fromparam:"query=q"
toparam:"myPrefix=q"
)
- ResponseWriter has been moved to the
http
package and is no longer private.
0.7.1 - 2024-07-11
- Canceling
Server.Run()
context no longer cancels requests base context.
- No
Error
logging on successful graceful shut down.
0.7.0 - 2024-03-11
-
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 customServerLogger
. -
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:
- 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
- Error logging when terminating HTTP server.
0.6.1 - 2023-03-28
- package
http/param
does not zero the field if not tagged with any relevant tags
0.6.0 - 2023-03-03
- package
http/signature
to simplify defining http handler functions - package
http/param
to simplify parsing http path and query parameters
0.5.0 - 2023-01-20
ErrorResponseOptions
contains public error message.ErrorResponseOptions
contains request ID.- Error response options:
WithErrorMessage
WithRequestID
0.4.0 - 2023-01-12
- JSON tags in
ErrorResponseOptions
.
- JSON tag for
MaxHeaderBytes
field inLimits
configuration.
0.3.0 - 2023-01-09
- HTTP response writer contains error field.
LoggingMiddleware
logserr
field with message if error is present.- Updated packages:
- go.strv.io/time: v0.1.0 + go.strv.io/time: v0.2.0
0.2.0 - 2022-08-22
- HTTP response writer implements hijacking to support web sockets.
0.1.0 - 2022-08-01
- Added Changelog.