Skip to content

Releases: tarampampam/error-pages

v3.3.0

11 Aug 09:56
3e90b7c
Compare
Choose a tag to compare

What's Changed

🚀 Features

New Contributors

Full Changelog: v3.2.0...v3.3.0

v3.2.0

06 Jul 10:05
c159914
Compare
Choose a tag to compare

What's Changed

🚀 Features

  • Added support for the environment variable ADD_TEMPLATE (replacing the --add-template flag) (#295)
  • Set the log format to json by default in the Docker image (#295)

Full Changelog: v3.1.0...v3.2.0

v3.1.0

05 Jul 15:12
7a2d3c1
Compare
Choose a tag to compare

What's Changed

🚀 Features

  • Added HTML/CSS/JS minification on the fly in #293 (the HTML output size was reduced by ~25%, with performance decreasing by ~4% - from 196k RPS to 188k)
Before After
image image

Full Changelog: v3.0.1...v3.1.0

v3.0.1

05 Jul 10:02
b677064
Compare
Choose a tag to compare

What's Changed

🛠 Fixes

  • Forgot to include the SSL certificates in the Docker image in #292

Full Changelog: v3.0.0...v3.0.1

v3.0.0

05 Jul 09:11
3782a87
Compare
Choose a tag to compare

What's Changed

Warning

This is a major update! Please read the notes below and a readme file to identify what changes you need to make to your current charts for the upgrade.

🚀 Added

  • You can override the default XML, JSON, or PlainText response formats using the flags --xml-format, --json-format, or --plaintext-format respectively (or their environment variables)
  • Support for any HTTP request method to get the error page (previously limited to the GET method only)
  • The CLI flag --send-same-http-code to respond with the same HTTP code as the requested error page code
  • The CLI flag --disable-template to disable certain templates (useful when using automatic template rotation to exclude some from the available templates list)
  • Ability to define custom HTTP codes using placeholders like 4**. Refer to the documentation for more information about --add-http-code

🛠 Changed

  • Users can provide custom templates (themes) using the flag --add-template
  • Templates are now built into the binary file
  • To change the template automatically, use the new flag --rotation-mode instead of the previous "magic" template names like i-said-random or random-hourly
  • Error pages can now be accessed using the following URLs: /{code}, /{code}.html, and /{code}.htm
  • The default content type is now PlainText. This means that when you curl an error page, you will receive more readable content without tons of HTML tags
  • Merged the l7-dark and l7-light templates (themes) into a single l7 theme
  • Templates no longer download resources from external sources; everything is now embedded, including the localization script, which is now inlined into the page. Custom fonts have also been removed
  • The default value for --proxy-headers is now X-Request-Id,X-Trace-Id,X-Amzn-Trace-Id
  • CLI flags and environment variables are now well documented, and the readme file automatically syncs with them
  • The default logs level is warn for Docker image (due to performance reasons), set it to info to get the access logs, if you need

🪦 Removed

  • Configuration file is no longer needed or used. Everything is now managed using CLI flags and environment variables (the --config-file flag was removed)
  • The matrix template (theme)
  • The /metrics endpoint
  • The --default-http-code flag (+ env variable DEFAULT_HTTP_CODE)
  • The --catch-all flag (+env variable CATCH_ALL)

Full Changelog: v2.27.0...v3.0.0

v3.0.0-beta-2

05 Jul 08:45
ac86580
Compare
Choose a tag to compare
v3.0.0-beta-2 Pre-release
Pre-release

Pre-release test

v3.0.0-beta-1

03 Jul 14:14
6b3be0d
Compare
Choose a tag to compare
v3.0.0-beta-1 Pre-release
Pre-release

The initial beta test of v3 is now available (please do not use this version in production)

v3.0.0-alpha-3

02 Jul 19:58
746ce05
Compare
Choose a tag to compare
v3.0.0-alpha-3 Pre-release
Pre-release

Template caching is back!

v3.0.0-alpha-2

01 Jul 20:01
05a5138
Compare
Choose a tag to compare
v3.0.0-alpha-2 Pre-release
Pre-release

fasthttp is back!

v3.0.0-alpha-1

29 Jun 17:48
e3499a9
Compare
Choose a tag to compare
v3.0.0-alpha-1 Pre-release
Pre-release

Test the CI system