Skip to content

Commit

Permalink
feat(container)!: Update ghcr.io/tarampampam/error-pages ( 2.27.0 → 3…
Browse files Browse the repository at this point in the history
….2.0 ) (#5004)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/tarampampam/error-pages](https://togithub.com/tarampampam/error-pages)
| major | `2.27.0` -> `3.2.0` |

---

### Release Notes

<details>
<summary>tarampampam/error-pages
(ghcr.io/tarampampam/error-pages)</summary>

###
[`v3.2.0`](https://togithub.com/tarampampam/error-pages/releases/tag/v3.2.0)

[Compare
Source](https://togithub.com/tarampampam/error-pages/compare/v3.1.0...v3.2.0)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 🚀 Features

- Added support for the environment variable `ADD_TEMPLATE` (replacing
the `--add-template` flag)
([https://github.com/tarampampam/error-pages/pull/295](https://togithub.com/tarampampam/error-pages/pull/295))
- Set the log format to `json` by default in the Docker image
([https://github.com/tarampampam/error-pages/pull/295](https://togithub.com/tarampampam/error-pages/pull/295))

**Full Changelog**:
tarampampam/error-pages@v3.1.0...v3.2.0

###
[`v3.1.0`](https://togithub.com/tarampampam/error-pages/releases/tag/v3.1.0)

[Compare
Source](https://togithub.com/tarampampam/error-pages/compare/v3.0.1...v3.1.0)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 🚀 Features

- Added HTML/CSS/JS minification on the fly in
[https://github.com/tarampampam/error-pages/pull/293](https://togithub.com/tarampampam/error-pages/pull/293)
(the HTML output size was reduced by ~25%, with performance decreasing
by ~4% - from 196k RPS to 188k)

Before | After
\---|---

![image](https://togithub.com/tarampampam/error-pages/assets/7326800/c2e2bc2b-ebe9-4ef1-975a-28feda607a78)
|
![image](https://togithub.com/tarampampam/error-pages/assets/7326800/b17d52dd-cabb-48aa-a56d-3c2110768ae9)

**Full Changelog**:
tarampampam/error-pages@v3.0.1...v3.1.0

###
[`v3.0.1`](https://togithub.com/tarampampam/error-pages/releases/tag/v3.0.1)

[Compare
Source](https://togithub.com/tarampampam/error-pages/compare/v3.0.0...v3.0.1)

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

##### 🛠 Fixes

- Forgot to include the SSL certificates in the Docker image in
[https://github.com/tarampampam/error-pages/pull/292](https://togithub.com/tarampampam/error-pages/pull/292)

**Full Changelog**:
tarampampam/error-pages@v3.0.0...v3.0.1

###
[`v3.0.0`](https://togithub.com/tarampampam/error-pages/releases/tag/v3.0.0)

[Compare
Source](https://togithub.com/tarampampam/error-pages/compare/v2.27.0...v3.0.0)

#### What's Changed

> \[!WARNING]
> This is a major update! Please read the notes below and a
[readme](https://togithub.com/tarampampam/error-pages#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**:
tarampampam/error-pages@v2.27.0...v3.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjQuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21ham9yIl19-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
  • Loading branch information
lumiere-bot[bot] authored Jul 20, 2024
1 parent 1a99bb4 commit ca78e9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
enabled: false
image:
repository: ghcr.io/tarampampam/error-pages
tag: 2.27.0
tag: 3.2.0
extraEnvs:
- { name: TEMPLATE_NAME, value: "orient" }
- { name: SHOW_DETAILS, value: "false" }

0 comments on commit ca78e9c

Please sign in to comment.