Shlink v2.9.0 Release Notes

Release Date: 2021-10-10 // over 2 years ago
  • โž• Added

    • ๐Ÿณ #1015 Shlink now accepts configuration via env vars even when not using docker.

    The config generated with the installing tool still has precedence over the env vars, so it cannot be combined. Either you use the tool, or use env vars.

    • 0๏ธโƒฃ #1149 Allowed to set custom defaults for the QR codes.
    • #1112 Added new option to define if the query string should be forwarded on a per-short URL basis.

    The new forwardQuery=true|false param can be provided during short URL creation or edition, via REST API or CLI command, allowing to override the default behavior which makes the query string to always be forwarded.

    • ๐Ÿ‘ #1105 Added support to define placeholders on not-found redirects, so that the redirected URL receives the originally visited path and/or domain.

    Currently, {DOMAIN} and {ORIGINAL_PATH} placeholders are supported, and they can be used both in the redirected URL's path or query.

    When they are used in the query, the values are URL encoded.

    • ๐Ÿ‘ #1119 Added support to provide redis sentinel when using redis cache.
    • #1016 Added new option to send orphan visits to webhooks, via NOTIFY_ORPHAN_VISITS_TO_WEBHOOKS env var or installer tool.

    The option is disabled by default, as the payload is backwards incompatible. You will need to adapt your webhooks to treat the shortUrl property as optional before enabling this option.

    • #1104 Added ability to disable tracking based on IP addresses.

    IP addresses can be provided in the form of fixed addresses, CIDR blocks, or wildcard patterns (192.168..).

    ๐Ÿ”„ Changed

    • ๐Ÿ“ฆ #1142 Replaced doctrine/cache package with symfony/cache.
    • ๐Ÿ‘ #1157 All routes now support CORS, not only rest ones.
    • ๐Ÿ— #1144 Added experimental builds under PHP 8.1.

    ๐Ÿ—„ Deprecated

    • #1164 Deprecated SHORT_DOMAIN_HOST and SHORT_DOMAIN_SCHEMA env vars. Use DEFAULT_DOMAIN and USE_HTTPS=true|false instead.

    โœ‚ Removed

    • Nothing

    ๐Ÿ›  Fixed

    • โš  #1165 Fixed warning displayed when trying to locate visits and there are none pending.
    • ๐Ÿณ #1172 Removed unneeded explicitly defined volumes in docker image.