error-pages

🚧 Pretty server's error pages in the docker image & git repository (for traefik, k8s, nginx and so on)

MIT License

Stars
866
Committers
25

Bot releases are hidden (Show)

error-pages - v3.3.0 Latest Release

Published by tarampampam 2 months ago

What's Changed

🚀 Features

New Contributors

Full Changelog: https://github.com/tarampampam/error-pages/compare/v3.2.0...v3.3.0

error-pages - v3.2.0

Published by tarampampam 4 months ago

What's Changed

🚀 Features

Full Changelog: https://github.com/tarampampam/error-pages/compare/v3.1.0...v3.2.0

error-pages - v3.1.0

Published by tarampampam 4 months ago

What's Changed

🚀 Features

Before After
image image

Full Changelog: https://github.com/tarampampam/error-pages/compare/v3.0.1...v3.1.0

error-pages - v3.0.1

Published by tarampampam 4 months ago

What's Changed

🛠 Fixes

Full Changelog: https://github.com/tarampampam/error-pages/compare/v3.0.0...v3.0.1

error-pages - v3.0.0

Published by tarampampam 4 months ago

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: https://github.com/tarampampam/error-pages/compare/v2.27.0...v3.0.0

error-pages - v3.0.0-beta-2

Published by tarampampam 4 months ago

Pre-release test

error-pages - v3.0.0-beta-1

Published by tarampampam 4 months ago

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

error-pages - v3.0.0-alpha-3

Published by tarampampam 4 months ago

Template caching is back!

error-pages - v3.0.0-alpha-2

Published by tarampampam 4 months ago

fasthttp is back!

error-pages - v3.0.0-alpha-1

Published by tarampampam 4 months ago

Test the CI system

error-pages - v2.27.0

Published by tarampampam 7 months ago

Changed

  • Go updated from 1.21 up to 1.22
  • Go dependencies updated
error-pages - v2.27.0

Published by tarampampam 7 months ago

Changed

  • Go updated from 1.21 up to 1.22
  • Go dependencies updated
error-pages - v2.26.0

Published by tarampampam 11 months ago

Added

  • Error pages now translated into ðŸ‡ĩðŸ‡ą #226
  • Possibility to set custom read buffer size (using --read-buffer-size flag or environment variable READ_BUFFER_SIZE) #238, #244
error-pages - v2.25.0

Published by tarampampam about 1 year ago

Added

  • Go updated from 1.20 up to 1.21
  • Error pages now translated into ðŸ‡ŪðŸ‡Đ #218
  • Possibility catch all paths with error page 404 (using --catch-all flag for the serve or environment variable CATCH_ALL=true) #217
error-pages - v2.24.0

Published by tarampampam over 1 year ago

Added

  • Support for IPv6 addresses in the --listen flag #191
error-pages - v2.23.0

Published by tarampampam over 1 year ago

Added

  • Template orient #190
error-pages - v2.22.0

Published by tarampampam over 1 year ago

Changed

  • Non-existing pages now return styled 404 status page (with 404 status code) #188
error-pages - v2.21.0

Published by tarampampam over 1 year ago

Changed

  • Go updated from 1.19 up to 1.20
  • Go dependencies updated
  • Module name changed from github.com/tarampampam/error-pages to gh.tarampamp.am/error-pages
error-pages - v2.20.0

Published by tarampampam over 1 year ago

⚠ Breaking changes: global flags (like --log-level, --verbose, --debug, --log-json and --log-format) should be defined before the subcommand

Changed

  • version subcommand replaced by --version flag #163
  • --config-file flag is not global anymore (use error-pages (serve|build) --config-file ... instead of error-pages --config-file ... (serve|build) ...) #163
  • Flags --verbose, --debug and --log-json are deprecated, use --log-level and --log-format instead #163

Added

  • Possibility to use custom env variables in templates #164, #165
error-pages - v2.19.0

Published by tarampampam almost 2 years ago

Changed

  • Go updated from 1.18 up to 1.19

Added

  • Error pages now translated into Chinese ðŸ‡ĻðŸ‡ģ #147