3.3 KiB
25.04.0 - 2025-04-04
Added
- Add helper for streaming a file with a correctly encoded content disposition header to allow utf-8 filenames
- Add setup for collecting and exposing prometheus metrics with custom metrics and sqlstats metrics.
- Add custom not found handler for echo to show a HTML page if text/html is requested
- Add endpoint to delete user account with all related data
Changed
-
Moved the data fixtures from
internal/data/to a separate package ininternal/data/fixtures. BREAKING: Existing changes to the fixtures need to be moved frominternal/data/tointernal/data/fixturesand imports need to be updated -
Move the application logic from the handlers to dedicated services. BREAKING: This might break existing applications that have custom changes to the handlers. The custom changes need to be reflected in the new services.
-
Fix the naming of the put push token endpoint from post to put
-
Moved the auth related parts from
internal/api/authtointernal/auth. BREAKING: Changes toauthentication_result.go,context.goandscopes.goneed to be reflected ininternal/authinstead ofinternal/api/authand imports need to be updated -
Bump Postgres from
postgres:12.4-alpinetopostgres:17.4-alpine. See the official Postgres release notes for more details: -
Move the test fixtures from
internal/test/to a separate package ininternal/test/fixtures. BREAKING: Existing changes to the fixtures need to be moved frominternal/test/tointernal/test/fixturesand imports need to be updated -
Update to
golang:1.24.2-bookworm(requires./docker-helper.sh --rebuild) -
Dependency updates:
- Patch: Bump github.com/BurntSushi/toml from v1.4.0 to v1.5.0
- Patch: Bump github.com/go-openapi/errors from v0.22.0 to v0.22.1
- Patch: Bump github.com/go-openapi/swag from v0.23.0 to v0.23.1
- Patch: Bump github.com/spf13/viper from v1.19.0 to v1.20.1
- Patch: Bump golang.org/x/sys from v0.30.0 to v0.31.0
- Minor: Bump github.com/prometheus/client_golang from v1.20.5 to v1.21.1
- Minor: Bump github.com/rs/zerolog from v1.33.0 to v1.34.0
- Minor: Bump golang.org/x/crypto from v0.33.0 to v0.36.0
- Minor: Bump golang.org/x/mod from v0.23.0 to v0.24.0
- Minor: Bump golang.org/x/text from v0.22.0 to v0.23.0
- Minor: Bump google.golang.org/api from v0.221.0 to v0.228.0
Removed
- Remove deprecated endpoint GetPushTestRoute