Releases: tarampampam/error-pages
Releases · tarampampam/error-pages
v2.9.0: Template "connection" added
v2.8.1: Dark mode fixes
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
v2.7.0: New template and headers proxying
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 theserve
command or environment variablePROXY_HTTP_HEADERS
, headers list should be comma-separated) #67 - Template
lost-in-space
#68
Fixed
- Template
l7-light
uses the dark colors in the browsers with the preferred dark theme
v2.6.0
v2.5.0
v2.4.0
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 theserve
command or environment variableSHOW_DETAILS=true
) #49 - Formatted response templates (
json
,xml
) - the server responds with a formatted response depending on theContent-Type
(andX-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
v2.2.0: Template `cats` added
v2.1.0
Added
referer
field in access log records- Flag
--default-error-page
for theserve
subcommand (404
is used by default, environment nameDEFAULT_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)