Download Latest Version shlink4.5.0_php8.4_dist.zip (10.1 MB)
Email in envelope

Get an email when there's a new version of Shlink

Home / v4.5.0
Name Modified Size InfoDownloads / Week
Parent folder
shlink4.5.0_php8.3_dist.zip 2025-07-24 10.1 MB
shlink4.5.0_php8.4_dist.zip 2025-07-24 10.1 MB
README.md 2025-07-24 3.3 kB
v4.5.0 source code.tar.gz 2025-07-24 172.0 kB
v4.5.0 source code.zip 2025-07-24 420.3 kB
Totals: 5 Items   20.8 MB 4

Changed

  • #2406 Remove references to bootstrap from error templates, and instead inline the very minimum required styles.

Added

  • #2438 Add MERCURE_ENABLED env var and corresponding config option, to more easily allow the mercure integration to be toggled.

    For BC, if this env var is not present, we'll still consider the integration enabled if the MERCURE_PUBLIC_HUB_URL env var has a value. This is considered deprecated though, and next major version will rely only on MERCURE_ENABLED, so if you are using Mercure, make sure to set MERCURE_ENABLED=true to be ready. - #2387 Add REAL_TIME_UPDATES_TOPICS env var and corresponding config option, to granularly decide which real-time updates topics should be enabled. - #2418 Add more granular control over how Shlink handles CORS. It is now possible to customize the Access-Control-Allow-Origin, Access-Control-Max-Age and Access-Control-Allow-Credentials headers via env vars or config options. - #2386 Add new any-value-query-param and valueless-query-param redirect rule conditions.

    These new rules expand the existing query-param, which requires both a specific non-empty value in order to match the condition.

    The new conditions match as soon as a query param exists with any or no value (in the case of any-value-query-param), or if a query param exists with no value at all (in the case of valueless-query-param). - #2360 Add TRUSTED_PROXIES env var and corresponding config option, to configure a comma-separated list of all the proxies in front of Shlink, or simply the amount of trusted proxies in front of Shlink.

    This is important to properly detect visitor's IP addresses instead of incorrectly matching one of the proxy's IP address, and if provided, it disables a workaround introduced in https://github.com/shlinkio/shlink/pull/2359. - #2274 Add more supported device types for the device redirect condition:

    • linux: Will match desktop devices with Linux.
    • windows: Will match desktop devices with Windows.
    • macos: Will match desktop devices with MacOS.
    • chromeos: Will match desktop devices with ChromeOS.
    • mobile: Will match any mobile devices with either Android or iOS.
    • #2093 Add REDIRECT_CACHE_LIFETIME env var and corresponding config option, so that it is possible to set the Cache-Control visibility directive (public or private) when the REDIRECT_STATUS_CODE has been set to 301 or 308.
    • #2323 Add LOGS_FORMAT env var and corresponding config option, to allow the logs generated by Shlink to be in console or JSON formats.

Removed

  • Nothing

Fixed

  • Nothing

Deprecated

  • #2408 Generating QR codes via /{short-code}/qr-code is now deprecated and will be removed in Shlink 5.0. Use the equivalent capability from web clients instead.
Source: README.md, updated 2025-07-24