Skip to content

Releases: tarampampam/error-pages

v2.9.0: Template "connection" added

22 Mar 18:47
2d418ec
Compare
Choose a tag to compare

Added

  • Template connection #79

template

v2.8.1: Dark mode fixes

21 Mar 08:25
a2ee92a
Compare
Choose a tag to compare

Fixed

  • Dark mode for app-down template

Changed

  • The index page for built error pages now supports a dark theme

v2.8.0: New template "app-down" & Go1.18

20 Mar 07:46
c17587c
Compare
Choose a tag to compare

Added

  • Template app-down #74

template

Changed

  • Go updated from 1.17.6 up to 1.18.0

v2.7.0: New template and headers proxying

23 Feb 06:16
1d41cf1
Compare
Choose a tag to compare

v2.7.0

Changed

  • Logs includes request/response headers now #67

Added

  • Possibility to proxy HTTP headers from the requests to the responses (can be enabled using --proxy-headers flag for the serve command or environment variable PROXY_HTTP_HEADERS, headers list should be comma-separated) #67
  • Template lost-in-space #68

template

Fixed

  • Template l7-light uses the dark colors in the browsers with the preferred dark theme

v2.6.0

01 Feb 15:12
22d3e34
Compare
Choose a tag to compare

Added

  • Possibility to change the template to the random once a day using "special" template name random-daily (or hourly, using random-hourly) #48

v2.5.0

31 Jan 08:53
d672112
Compare
Choose a tag to compare

Changed

  • Go updated from 1.17.5 up to 1.17.6

Added

  • Host and X-Forwarded-For Header to error pages #61

Fixed

  • Performance issue, that affects template rendering. Now templates are cached in memory (for 2 seconds), and it has improved performance by more than 200% #60

v2.4.0

28 Jan 19:41
be0a3c4
Compare
Choose a tag to compare

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

v2.3.0

03 Jan 16:55
8372099
Compare
Choose a tag to compare

Added

  • Flag --default-http-code for the serve subcommand (404 is used by default instead of 200, environment name DEFAULT_HTTP_CODE) #41

Changed

  • Go updated from 1.17.1 up to 1.17.5

v2.2.0: Template `cats` added

15 Oct 05:38
2a1fb0e
Compare
Choose a tag to compare

Added

template

v2.1.0

06 Oct 17:38
e2489a2
Compare
Choose a tag to compare

Added

  • referer field in access log records
  • Flag --default-error-page for the serve subcommand (404 is used by default, environment name DEFAULT_ERROR_PAGE)

Changed

  • The source code has been refactored
  • The index page (/) now returns the error page with a code, declared using --default-error-page flag (HTTP code 200, when a page code exists)