Update ghcr.io/selfhst/icons Docker tag to v4 #217

Open
renovate-bot wants to merge 1 commits from renovate/ghcr.io-selfhst-icons-4.x into main
Collaborator

This PR contains the following updates:

Package Update Change
ghcr.io/selfhst/icons major 3.2.04.0.2

Release Notes

selfhst/icons (ghcr.io/selfhst/icons)

v4.0.2

What's Changed

  • Fixed custom icon issue where names converted to lowercase for cache keys were also being used to look up the file path, causing requests for icons with uppercase characters to fail (#​751)
  • Added server name and sample endpoints to the root path (#​752)

v4.0.1

What's Changed

  • Replaced hard-coded cache age values with the CACHE_TTL variable added in v4.0.0 (#​748)
  • Updated background routine to periodically purge stale assets based on CACHE_TTL time

v4.0.0

This release initially set out to address a request to support icon extensions in URLs, but quickly grew into a number of under the hood optimization/security fixes and a new hybrid mode that allows users with local collections to set remote icons as a fallback.

Breaking Changes

The STANDARD_ICON_FORMAT variable has been deprecated and users now have the option to specify their desired icon extension in the URL. If an extension is not specified, the server will default to WebP.

Users should review the updated methods for referencing icons in the project's wiki when upgrading.

What's Changed

  • [Feature] Added support for icon extensions in the URL (example.svg, example.png, etc.) (#​718, #​737)
  • [Feature] Added support for custom color URL parameters (?color=2d2d2d) as an alternative to paths (icon/2d2d2d) (#​737)
  • [Feature] Added a new hybrid source option that prioritizes local collections and falls back to remote when missing
  • [Feature] Added an optional LOG_LEVEL variable to control log verbosity
  • [Feature] Added an optional CORS_ALLOWED_ORIGINS variable (defaults to all or *)
  • [Feature] Added optional variables for configurable cache times (CACHE_TTL) and size (CACHE_SIZE)
  • [Feature] Added an optional REMOTE_TIMEOUT variable to prevent the server from hanging when requests take too long (default: 10 seconds)
  • Configured WebP as the global default when no extension is specified or an unsupported extension is requested
  • Added Docker health checks via the -healthcheck flag to accommodate scratch's lack of tooling (curl/wget)
  • Added startup validations and logging to warn users of misconfigured variables
  • Added graceful shutdowns to allow in-flight requests to complete before exiting
  • Added validations to properly identify #fff and #ffffff when colorizing icons
  • Added request completion time to log messages
  • Added case normalization checks to prevent the server from caching the same icon multiple times
  • Added GZIP compression for SVG requests with proper proxy headers
  • Added a security check for icons names with /, \, or .. (attempted path traversal)
  • Added an X-Cache response header to signal cache status without having to view container logs
  • Added a process to regularly clean stale cache entries
  • Removed redundant file existence checks for local icons
  • Removed unnecessary directory scans when a custom icon is not found (initially included for debugging purposes)

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/selfhst/icons](https://github.com/selfhst/icons) | major | `3.2.0` → `4.0.2` | --- ### Release Notes <details> <summary>selfhst/icons (ghcr.io/selfhst/icons)</summary> ### [`v4.0.2`](https://github.com/selfhst/icons/blob/HEAD/CHANGELOG.md#v402) #### What's Changed - Fixed custom icon issue where names converted to lowercase for cache keys were also being used to look up the file path, causing requests for icons with uppercase characters to fail ([#&#8203;751](https://github.com/selfhst/icons/issues/751)) - Added server name and sample endpoints to the root path ([#&#8203;752](https://github.com/selfhst/icons/issues/752)) ### [`v4.0.1`](https://github.com/selfhst/icons/blob/HEAD/CHANGELOG.md#v401) #### What's Changed - Replaced hard-coded cache age values with the `CACHE_TTL` variable added in v4.0.0 ([#&#8203;748](https://github.com/selfhst/icons/issues/748)) - Updated background routine to periodically purge stale assets based on `CACHE_TTL` time ### [`v4.0.0`](https://github.com/selfhst/icons/blob/HEAD/CHANGELOG.md#v400) This release initially set out to address a request to support icon extensions in URLs, but quickly grew into a number of under the hood optimization/security fixes and a new `hybrid` mode that allows users with local collections to set remote icons as a fallback. #### Breaking Changes The `STANDARD_ICON_FORMAT` variable has been deprecated and users now have the option to specify their desired icon extension in the URL. If an extension is not specified, the server will default to WebP. Users should review the updated methods for referencing icons in the [project's wiki](https://github.com/selfhst/icons/wiki#building-links) when upgrading. #### What's Changed - \[Feature] Added support for icon extensions in the URL (`example.svg`, `example.png`, etc.) ([#&#8203;718](https://github.com/selfhst/icons/issues/718), [#&#8203;737](https://github.com/selfhst/icons/issues/737)) - \[Feature] Added support for custom color URL parameters (`?color=2d2d2d`) as an alternative to paths (`icon/2d2d2d`) ([#&#8203;737](https://github.com/selfhst/icons/issues/737)) - \[Feature] Added a new `hybrid` source option that prioritizes local collections and falls back to remote when missing - \[Feature] Added an optional `LOG_LEVEL` variable to control log verbosity - \[Feature] Added an optional `CORS_ALLOWED_ORIGINS` variable (defaults to all or `*`) - \[Feature] Added optional variables for configurable cache times (`CACHE_TTL`) and size (`CACHE_SIZE`) - \[Feature] Added an optional `REMOTE_TIMEOUT` variable to prevent the server from hanging when requests take too long (default: `10` seconds) - Configured WebP as the global default when no extension is specified or an unsupported extension is requested - Added Docker health checks via the `-healthcheck` flag to accommodate scratch's lack of tooling (curl/wget) - Added startup validations and logging to warn users of misconfigured variables - Added graceful shutdowns to allow in-flight requests to complete before exiting - Added validations to properly identify `#fff` and `#ffffff` when colorizing icons - Added request completion time to log messages - Added case normalization checks to prevent the server from caching the same icon multiple times - Added GZIP compression for SVG requests with proper proxy headers - Added a security check for icons names with `/`, `\`, or `..` (attempted path traversal) - Added an `X-Cache` response header to signal cache status without having to view container logs - Added a process to regularly clean stale cache entries - Removed redundant file existence checks for local icons - Removed unnecessary directory scans when a custom icon is not found (initially included for debugging purposes) </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://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS40IiwidXBkYXRlZEluVmVyIjoiNDMuNjQuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUiXX0=-->
renovate-bot added 1 commit 2026-03-09 08:02:43 +05:30
renovate-bot force-pushed renovate/ghcr.io-selfhst-icons-4.x from b3c8a34a95 to e335597405 2026-03-10 08:03:01 +05:30 Compare
renovate-bot force-pushed renovate/ghcr.io-selfhst-icons-4.x from e335597405 to e5514c5d3c 2026-03-11 08:02:56 +05:30 Compare
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/ghcr.io-selfhst-icons-4.x:renovate/ghcr.io-selfhst-icons-4.x
git checkout renovate/ghcr.io-selfhst-icons-4.x
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ryuupendragon/docker-compose#217