New for version v1.3.0
Better Env variable validation
- Changed syntax for internal environment variable initialization (see
internal/api/env.go
) - More declarative and simple initialization for
EnvConfig
struct - New function:
GetEnvOrDefault
to set the env to a default value instaed of panicking withGetEnvOrPanic
- This somehow decreased by a little bit the server startup time
Default CORS configuration
- Added default CORS config in
httpcore
- New config now comes with
MaxAge
header set by default (for HTTP browser caching)
Other
- Upgrade all dependencies
Full Changelog: v1.2.0...v1.3.0