Skip to content

v2.4.0

Compare
Choose a tag to compare
@tarampampam tarampampam released this 28 Jan 19:41
· 319 commits to master since this release
be0a3c4

Changed

  • It is now possible to use golang-tags of templates in error page templates and formatted (json, xml) responses #49
  • Health-check route become /healthz (instead /health/live, previous route marked as deprecated) #49

Added

  • The templates contain details block now (can be enabled using --show-details flag for the serve command or environment variable SHOW_DETAILS=true) #49
  • Formatted response templates (json, xml) - the server responds with a formatted response depending on the Content-Type (and X-Format) request header value #49
  • HTTP header X-Robots-Tag: noindex for the error pages #49
  • Possibility to pass the needed error page code using X-Code HTTP header #49
  • Possibility to integrate with ingress-nginx #49
  • Metrics HTTP endpoint /metrics in prometheus format #54

Fixed

  • Potential race condition (in the pick.StringsSlice struct) #49