Skip to content

v1.3.0

Latest
Compare
Choose a tag to compare
@paologaleotti paologaleotti released this 09 Jul 19:10
· 10 commits to master since this release

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 with GetEnvOrPanic
  • 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