mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
10 KiB
10 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v2.27.0
Changed
- Go updated from
1.21
up to1.22
- Go dependencies updated
v2.26.0
Added
- Error pages now translated into 🇵🇱 #226
- Possibility to set custom read buffer size (using
--read-buffer-size
flag or environment variableREAD_BUFFER_SIZE
) #238, #244
v2.25.0
Added
- Go updated from
1.20
up to1.21
- Error pages now translated into 🇮🇩 #218
- Possibility catch all paths with error page 404 (using
--catch-all
flag for theserve
or environment variableCATCH_ALL=true
) #217
v2.24.0
Added
- Support for IPv6 addresses in the
--listen
flag #191
v2.23.0
Added
- Template
orient
#190
v2.22.0
Changed
- Non-existing pages now return styled
404
status page (with404
status code) #188
v2.21.0
Changed
- Go updated from
1.19
up to1.20
- Go dependencies updated
- Module name changed from
github.com/tarampampam/error-pages
togh.tarampamp.am/error-pages
v2.20.0
Changed
version
subcommand replaced by--version
flag #163--config-file
flag is not global anymore (useerror-pages (serve|build) --config-file ...
instead oferror-pages --config-file ... (serve|build) ...
) #163- Flags
--verbose
,--debug
and--log-json
are deprecated, use--log-level
and--log-format
instead #163
Added
v2.19.0
Changed
- Go updated from
1.18
up to1.19
Added
- Error pages now translated into Chinese 🇨🇳 #147
v2.18.0
Changed
- Replaced
fonts.googleapis.com
byfonts.bunny.net
regarding GDPR compliance #131
v2.17.0
Added
- Error pages now translated into Spanish 🇪🇸 #124
v2.16.0
Added
- Error pages are now translated into German 🇩🇪 #115
v2.15.0
Added
- Error pages now translated into Dutch 🇳🇱 #104
v2.14.0
Added
- Error pages now translated into Portuguese 🇵🇹 #103
Changed
- Go updated from
1.18.0
up to1.18.1
v2.13.0
Added
- Possibility to disable error pages auto-localization (using
--disable-l10n
flag for theserve
&build
commands or environment variableDISABLE_L10N
) #91
Fixed
- User UID/GID changed to the numeric values in the dockerfile #92
v2.12.1
Fixed
- Fix translation 🇫🇷 [#86]
v2.12.0
Changed
- Error pages now translated into 🇫🇷 #82
v2.11.0
Added
- Template
matrix
#81
Fixed
- Localization mistakes #81
v2.10.1
Fixed
- Template
shuffle
- Localization mistakes
v2.10.0
Changed
- Error pages now translated into 🇺🇦 and 🇷🇺 languages #80
v2.9.0
Added
- Template
connection
#79
v2.8.1
Fixed
- Dark mode for
app-down
template
Changed
- The index page for built error pages now supports a dark theme
v2.8.0
Added
- Template
app-down
#74
Changed
- Go updated from
1.17.6
up to1.18.0
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
Added
- Possibility to change the template to the random once a day using "special" template name
random-daily
(or hourly, usingrandom-hourly
) #48
v2.5.0
Changed
- Go updated from
1.17.5
up to1.17.6
Added
Host
andX-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
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
Added
- Flag
--default-http-code
for theserve
subcommand (404
is used by default instead of200
, environment nameDEFAULT_HTTP_CODE
) #41
Changed
- Go updated from
1.17.1
up to1.17.5
v2.2.0
Added
- Template
cats
#31
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)
v2.0.0
Changed
- Application rewritten in Go
v1.8.0
Added
- Nginx health-check endpoint (
/health/live
) and dockerfileHEALTHCHECK
to utilise (thx @modem7) #22, #23
v1.7.2
Changed
- Nginx updated up to
1.21
(from1.19
)
v1.7.1
Fixed
v1.7.0
Added
- Template
hacker-terminal
[#13] - HTML comments with error code and description into each template (header and footer, it seems more readable for curl usage)
v1.6.0
Added
- Template
noise
#10
Fixed
- File permissions in docker image
v1.5.0
Changed
- Repository files structure
- Nginx updated from
1.18
up to1.19
in docker image - Docker image now uses default
nginx
entrypoint scripts and command
Added
- Support for
linux/arm64/v8
,linux/arm/v6
andlinux/arm/v7
platforms for docker image - Random template selecting (use
random
as a template name) for docker image
v1.4.0
Added
- Template
shuffle
#4
v1.3.1
Fixed
can't create directory '/opt/html/nginx-error-pages'
error #3
v1.3.0
Added
418
status code error page- Set
server_tokens off;
innginx
server configuration
v1.2.0
Fixed
- By default
nginx
in docker container returns 404 http code instead 200 when/
requested
Changed
- Default value for
TEMPLATE_NAME
isghost
now
Removed
- Environment variable
DEFAULT_ERROR_CODE
support in docker image
Added
- Templates
l7-light
andl7-dark
v1.1.0
Added
- Environment variable
DEFAULT_ERROR_CODE
support in docker image
v1.0.1
Changed
- Repository (not docker image) renamed from
error-pages-docker
toerror-pages
configuration.json
renamed toconfig.json
- Makefile contains new targets (
install
,gen
,preview
) - Generator logging messages
Added
docker-compose
for development
Fixed
- Readme file content #1
v1.0.0
Changed
- First project release