Skip to content

Releases: strvcom/strv-backend-go-net

v0.7.0

11 Mar 15:30
6e8c0ef
Compare
Choose a tag to compare
  • 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.

  • Changed the middleware log data. 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

v0.6.1

28 Mar 15:11
aed39bf
Compare
Choose a tag to compare
fix: do not zero the field if not tagged for query nor path (#29)

v0.6.0

03 Mar 10:54
1467a92
Compare
Choose a tag to compare
feature(http): add signature and param package (#28)

* feature(http): add signature and param package

- allow handler functions with nicer signatures
- allow parsing path and query params to struct

* lint

* feature: finish awesome param and signature packages

* chore: changelog

* ci: up lint version

* feature: change default tags of param package to `param:"location=name"`

* tests

* refactor: reduce if nesting

* chore: changelog

* fix: changelog

v0.5.0

20 Jan 12:44
78018b3
Compare
Choose a tag to compare
Merge pull request #27 from strvcom/feat/add-message-to-error

feat: improved error response options

v0.4.0

12 Jan 15:24
0f6aa2e
Compare
Choose a tag to compare
Merge pull request #26 from strvcom/refactor/error-camel-case

refactor: JSON tags in ErrorResponseOptions

v0.3.0

09 Jan 10:52
e78b5a6
Compare
Choose a tag to compare
Merge pull request #25 from strvcom/chore/update-timex

chore: update go.strv.io/time package

v0.2.0

22 Aug 09:10
47f3a96
Compare
Choose a tag to compare
Merge pull request #21 from strvcom/feat/hijack-response-writer

feat: add hijack to response writer

v0.1.0

15 Aug 13:21
Compare
Choose a tag to compare
fix: server unittests