v2.9.0
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.
-
#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 withsymfony/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
andSHORT_DOMAIN_SCHEMA
env vars. UseDEFAULT_DOMAIN
andUSE_HTTPS=true|false
instead.
Removed
- Nothing