2020-07-08 11:12:21 +00:00
# Changelog
All notable changes to this package will be documented in this file.
The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].
2024-03-16 16:46:45 +00:00
## v2.27.0
### Changed
- Go updated from `1.21` up to `1.22`
- Go dependencies updated
2023-11-20 08:28:22 +00:00
## v2.26.0
2023-09-28 06:51:55 +00:00
### Added
- Error pages now translated into 🇵🇱 [#226]
2023-11-20 08:27:40 +00:00
- Possibility to set custom read buffer size (using `--read-buffer-size` flag or environment variable `READ_BUFFER_SIZE` ) [#238], [#244]
2023-09-28 06:51:55 +00:00
[#226]:https://github.com/tarampampam/error-pages/pull/226
2023-11-20 08:27:40 +00:00
[#238]:https://github.com/tarampampam/error-pages/issues/238
[#244]:https://github.com/tarampampam/error-pages/pull/244
2023-09-28 06:51:55 +00:00
2023-09-02 14:17:47 +00:00
## v2.25.0
2023-09-01 06:17:11 +00:00
### Added
2023-09-02 14:17:15 +00:00
- Go updated from `1.20` up to `1.21`
2023-09-01 06:25:17 +00:00
- 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]
2023-09-01 06:17:11 +00:00
2023-09-01 06:25:17 +00:00
[#218]:https://github.com/tarampampam/error-pages/pull/218
2023-09-01 06:17:11 +00:00
[#217]:https://github.com/tarampampam/error-pages/issues/217
2023-04-21 12:33:33 +00:00
## v2.24.0
### Added
- Support for IPv6 addresses in the `--listen` flag [#191]
[#191]:https://github.com/tarampampam/error-pages/issues/191
2023-04-17 11:06:28 +00:00
## v2.23.0
### Added
- Template `orient` [#190]
[#190]:https://github.com/tarampampam/error-pages/pull/190
2023-04-07 10:42:00 +00:00
## v2.22.0
### Changed
- Non-existing pages now return styled `404` status page (with `404` status code) [#188]
[#188]:https://github.com/tarampampam/error-pages/issues/188
2023-02-23 17:50:31 +00:00
## v2.21.0
2023-02-02 09:09:29 +00:00
### Changed
- Go updated from `1.19` up to `1.20`
2023-02-23 17:50:31 +00:00
- Go dependencies updated
- Module name changed from `github.com/tarampampam/error-pages` to `gh.tarampamp.am/error-pages`
2023-02-02 09:09:29 +00:00
2023-01-29 11:49:28 +00:00
## v2.20.0
2023-01-29 10:54:56 +00:00
### 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]
2023-01-29 11:25:38 +00:00
### Added
- Possibility to use custom env variables in templates [#164], [#165]
[#164]:https://github.com/tarampampam/error-pages/issues/164
[#165]:https://github.com/tarampampam/error-pages/pull/165
2023-01-29 10:54:56 +00:00
[#163]:https://github.com/tarampampam/error-pages/pull/163
2022-11-01 21:38:14 +00:00
## v2.19.0
2022-08-24 17:38:26 +00:00
### Changed
- Go updated from `1.18` up to `1.19`
2022-11-01 21:23:29 +00:00
### Added
- Error pages now translated into Chinese 🇨🇳 [#147]
[#147]:https://github.com/tarampampam/error-pages/pull/147
2022-08-19 19:19:10 +00:00
## v2.18.0
### Changed
- Replaced `fonts.googleapis.com` by `fonts.bunny.net` regarding GDPR compliance [#131]
[#131]:https://github.com/tarampampam/error-pages/pull/131
2022-07-25 07:13:18 +00:00
## v2.17.0
### Added
- Error pages now translated into Spanish 🇪🇸 [#124]
[#124]:https://github.com/tarampampam/error-pages/pull/124
2022-06-04 12:11:20 +00:00
## v2.16.0
2022-06-04 12:06:39 +00:00
### Added
2022-07-25 07:13:18 +00:00
- Error pages are now translated into German 🇩🇪 [#115]
2022-06-04 12:06:39 +00:00
2022-06-04 12:11:20 +00:00
[#115]:https://github.com/tarampampam/error-pages/pull/115
2022-06-04 12:06:39 +00:00
2022-05-07 10:09:23 +00:00
## v2.15.0
### Added
2022-07-25 07:13:18 +00:00
- Error pages now translated into Dutch 🇳🇱 [#104]
2022-05-07 10:09:23 +00:00
[#104]:https://github.com/tarampampam/error-pages/pull/104
2022-05-06 17:28:42 +00:00
## v2.14.0
2022-05-02 06:54:34 +00:00
2022-05-06 17:28:12 +00:00
### Added
2022-07-25 07:13:18 +00:00
- Error pages now translated into Portuguese 🇵🇹 [#103]
2022-05-06 17:28:12 +00:00
### Changed
2022-05-02 06:54:34 +00:00
- Go updated from `1.18.0` up to `1.18.1`
2022-05-06 17:28:12 +00:00
[#103]:https://github.com/tarampampam/error-pages/pull/103
2022-04-12 10:35:19 +00:00
## v2.13.0
2022-04-09 15:39:52 +00:00
2022-04-12 10:34:35 +00:00
### Added
- Possibility to disable error pages auto-localization (using `--disable-l10n` flag for the `serve` & `build` commands or environment variable `DISABLE_L10N` ) [#91]
2022-04-09 15:39:52 +00:00
### Fixed
- User UID/GID changed to the numeric values in the dockerfile [#92]
[#92]:https://github.com/tarampampam/error-pages/issues/92
2022-04-12 10:34:35 +00:00
[#91]:https://github.com/tarampampam/error-pages/issues/91
2022-04-09 15:39:52 +00:00
2022-03-30 13:00:32 +00:00
## v2.12.1
### Fixed
- Fix translation 🇫🇷 [#86]
[#85]:https://github.com/tarampampam/error-pages/pull/86
2022-03-28 11:05:44 +00:00
## v2.12.0
2022-03-28 10:11:44 +00:00
### Changed
2022-07-25 07:13:18 +00:00
- Error pages now translated into 🇫🇷 [#82]
2022-03-28 10:11:44 +00:00
[#82]:https://github.com/tarampampam/error-pages/pull/82
2022-03-27 15:38:04 +00:00
## v2.11.0
2022-03-27 15:33:31 +00:00
### Added
- Template `matrix` [#81]
### Fixed
- Localization mistakes [#81]
[#81]:https://github.com/tarampampam/error-pages/pull/81
2022-03-24 08:54:50 +00:00
## v2.10.1
### Fixed
- Template `shuffle`
- Localization mistakes
2022-03-23 19:32:40 +00:00
## v2.10.0
2022-03-23 19:31:34 +00:00
### Changed
2022-07-25 07:13:18 +00:00
- Error pages now translated into 🇺🇦 and 🇷🇺 languages [#80]
2022-03-23 19:31:34 +00:00
[#80]:https://github.com/tarampampam/error-pages/pull/80
2022-03-22 18:46:01 +00:00
## v2.9.0
2022-03-22 18:31:33 +00:00
### Added
- Template `connection` [#79]
[#79]:https://github.com/tarampampam/error-pages/pull/79
2022-03-21 08:23:21 +00:00
## v2.8.1
### Fixed
- Dark mode for `app-down` template
### Changed
- The index page for built error pages now supports a dark theme
2022-03-20 07:44:27 +00:00
## v2.8.0
2022-03-04 05:25:18 +00:00
2022-03-20 06:32:40 +00:00
### Added
- Template `app-down` [#74]
2022-03-04 05:25:18 +00:00
### Changed
2022-03-19 11:33:30 +00:00
- Go updated from `1.17.6` up to `1.18.0`
2022-03-04 05:25:18 +00:00
2022-03-20 06:32:40 +00:00
[#74]:https://github.com/tarampampam/error-pages/pull/74
2022-02-23 06:14:57 +00:00
## v2.7.0
2022-02-22 15:48:55 +00:00
2022-02-23 06:09:54 +00:00
### Changed
- Logs includes request/response headers now [#67]
2022-02-22 15:48:55 +00:00
### Added
2022-02-23 06:14:57 +00:00
- 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]
2022-02-22 15:58:26 +00:00
- Template `lost-in-space` [#68]
### Fixed
2022-02-23 06:14:57 +00:00
- Template `l7-light` uses the dark colors in the browsers with the preferred dark theme
2022-02-22 15:58:26 +00:00
2022-02-23 06:09:54 +00:00
[#67]:https://github.com/tarampampam/error-pages/pull/67
2022-02-22 15:58:26 +00:00
[#68]:https://github.com/tarampampam/error-pages/pull/68
2022-02-22 15:48:55 +00:00
2022-02-01 15:12:11 +00:00
## v2.6.0
2022-02-01 14:39:50 +00:00
### Added
- Possibility to change the template to the random once a day using "special" template name `random-daily` (or hourly, using `random-hourly` ) [#48]
[#48]:https://github.com/tarampampam/error-pages/issues/48
2022-01-31 08:53:06 +00:00
## v2.5.0
2022-01-29 07:50:17 +00:00
2022-01-31 05:46:51 +00:00
### Changed
2022-01-29 07:50:17 +00:00
- Go updated from `1.17.5` up to `1.17.6`
2022-01-31 05:46:51 +00:00
### Added
- `Host` and `X-Forwarded-For` Header to error pages [#61]
2022-01-31 08:43:40 +00:00
### 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]
[#60]:https://github.com/tarampampam/error-pages/pull/60
2022-01-31 05:46:51 +00:00
[#61]:https://github.com/tarampampam/error-pages/pull/61
2022-01-29 07:50:17 +00:00
2022-01-28 19:40:01 +00:00
## v2.4.0
2022-01-27 12:29:49 +00:00
### Changed
2022-01-28 15:42:08 +00:00
- It is now possible to use [golang-tags of templates ](https://pkg.go.dev/text/template ) in error page templates and formatted (`json`, `xml` ) responses [#49]
2022-01-28 20:11:44 +00:00
- Health-check route become `/healthz` (instead `/health/live` , previous route marked as deprecated) [#49]
2022-01-27 12:29:49 +00:00
### Added
2022-01-28 15:42:08 +00:00
- 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 ](https://kubernetes.github.io/ingress-nginx/ ) [#49]
- Metrics HTTP endpoint `/metrics` in prometheus format [#54]
2022-01-27 12:29:49 +00:00
### Fixed
2022-01-28 15:42:08 +00:00
- Potential race condition (in the `pick.StringsSlice` struct) [#49]
[#54]:https://github.com/tarampampam/error-pages/pull/54
[#49]:https://github.com/tarampampam/error-pages/pull/49
2022-01-27 12:29:49 +00:00
2022-01-03 16:52:47 +00:00
## v2.3.0
2021-11-02 06:33:04 +00:00
2022-01-03 16:51:30 +00:00
### Added
- Flag `--default-http-code` for the `serve` subcommand (`404` is used by default instead of `200` , environment name `DEFAULT_HTTP_CODE` ) [#41]
2021-11-02 06:33:04 +00:00
### Changed
2022-01-03 15:40:05 +00:00
- Go updated from `1.17.1` up to `1.17.5`
2021-11-02 06:33:04 +00:00
2022-01-03 16:51:30 +00:00
[#41]:https://github.com/tarampampam/error-pages/issues/41
2021-10-15 05:36:48 +00:00
## v2.2.0
2021-10-15 04:55:28 +00:00
### Added
2021-10-15 05:32:31 +00:00
- Template `cats` [#31]
[#31]:https://github.com/tarampampam/error-pages/pull/31
2021-10-15 04:55:28 +00:00
2021-10-06 17:38:26 +00:00
## v2.1.0
2021-10-06 17:38:00 +00:00
### 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)
2021-09-29 15:38:50 +00:00
## v2.0.0
### Changed
- Application rewritten in Go
2021-09-06 06:47:10 +00:00
## v1.8.0
### Added
- Nginx health-check endpoint (`/health/live`) and dockerfile `HEALTHCHECK` to utilise (thx [@modem7 ](https://github.com/modem7 )) [#22], [#23]
[#22]:https://github.com/tarampampam/error-pages/pull/22
[#23]:https://github.com/tarampampam/error-pages/pull/23
2021-07-20 13:32:37 +00:00
## v1.7.2
### Changed
- Nginx updated up to `1.21` (from `1.19` )
2021-05-02 11:06:42 +00:00
## v1.7.1
### Fixed
- Random template selecting (thx [@xpliz ](https://github.com/xpliz )) [#12]
[#12]:https://github.com/tarampampam/error-pages/pull/12
2021-04-28 08:08:24 +00:00
## 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)
[#10]:https://github.com/tarampampam/error-pages/pull/13
2021-04-21 20:53:59 +00:00
## v1.6.0
### Added
- Template `noise` [#10]
2021-04-13 16:51:23 +00:00
### Fixed
- File permissions in docker image
2021-04-21 20:53:59 +00:00
[#10]:https://github.com/tarampampam/error-pages/issues/10
2021-04-13 14:37:12 +00:00
## v1.5.0
2021-04-13 13:55:03 +00:00
### Changed
- Repository files structure
- Nginx updated from `1.18` up to `1.19` in docker image
- Docker image now uses default `nginx` entrypoint scripts and command
### Added
2021-04-13 14:37:12 +00:00
- Support for `linux/arm64/v8` , `linux/arm/v6` and `linux/arm/v7` platforms for docker image
2021-04-13 13:55:03 +00:00
- Random template selecting (use `random` as a template name) for docker image
2021-03-04 06:28:48 +00:00
## v1.4.0
### Added
- Template `shuffle` [#4]
2021-03-04 06:42:55 +00:00
[#4]:https://github.com/tarampampam/error-pages/issues/4
2021-03-04 06:28:48 +00:00
2020-08-31 09:03:48 +00:00
## v1.3.1
### Fixed
- `can't create directory '/opt/html/nginx-error-pages'` error [#3]
[#3]:https://github.com/tarampampam/error-pages/issues/3
2020-07-16 10:19:44 +00:00
## v1.3.0
2020-07-10 14:38:26 +00:00
### Added
2020-07-16 10:19:44 +00:00
- `418` status code error page
- Set `server_tokens off;` in `nginx` server configuration
2020-07-10 14:38:26 +00:00
2020-07-10 07:43:48 +00:00
## v1.2.0
### Fixed
- By default `nginx` in docker container returns 404 http code instead 200 when `/` requested
### Changed
- Default value for `TEMPLATE_NAME` is `ghost` now
### Removed
- Environment variable `DEFAULT_ERROR_CODE` support in docker image
### Added
- Templates `l7-light` and `l7-dark`
2020-07-09 19:15:05 +00:00
## v1.1.0
### Added
- Environment variable `DEFAULT_ERROR_CODE` support in docker image
2020-07-08 17:41:41 +00:00
## v1.0.1
2020-07-08 17:15:53 +00:00
### Changed
2020-07-08 17:16:50 +00:00
- Repository (not docker image) renamed from `error-pages-docker` to `error-pages`
2020-07-08 17:15:53 +00:00
- `configuration.json` renamed to `config.json`
- Makefile contains new targets (`install`, `gen` , `preview` )
- Generator logging messages
### Added
- `docker-compose` for development
### Fixed
- Readme file content [#1]
[#1]:https://github.com/tarampampam/error-pages/issues/1
2020-07-08 11:12:21 +00:00
## v1.0.0
### Changed
2020-07-08 11:24:23 +00:00
- First project release
2020-07-08 11:12:21 +00:00
[keepachangelog]:https://keepachangelog.com/en/1.0.0/
[semver]:https://semver.org/spec/v2.0.0.html