v2.10.0
Changed
- #844 Added mutation checks to API tests.
- #1218 Updated to symfony/mercure 0.6.
- #1223 Updated to phpstan 1.0.
- #1258 Updated to Symfony 6 components, except symfony/console.
- Added
domain
field toDeleteShortUrlException
exception.
Added
-
#1163 Allowed setting not-found redirects for default domain in the same way it's done for any other domain.
This implies a few non-breaking changes:
- The domains list no longer has the values of
INVALID_SHORT_URL_REDIRECT_TO
,REGULAR_404_REDIRECT_TO
andBASE_URL_REDIRECT_TO
on the default domain redirects. - The
GET /domains
endpoint includes a newdefaultRedirects
property in the response, with the default redirects set via config or env vars. - The
INVALID_SHORT_URL_REDIRECT_TO
,REGULAR_404_REDIRECT_TO
andBASE_URL_REDIRECT_TO
env vars are now deprecated, and should be replaced byDEFAULT_INVALID_SHORT_URL_REDIRECT
,DEFAULT_REGULAR_404_REDIRECT
andDEFAULT_BASE_URL_REDIRECT
respectively. Deprecated ones will continue to work until v3.0.0, where they will be removed.
- The domains list no longer has the values of
-
#868 Added support to publish real-time updates in a RabbitMQ server.
Shlink will create new exchanges and queues for every topic documented in the Async API spec, meaning, you will have one queue for orphan visits, one for regular visits, and one queue for every short URL with its visits.
The RabbitMQ server config can be provided via installer config options, or via environment variables.
-
#1204 Added support for
openswoole
and migrated official docker image toopenswoole
. -
#1242 Added support to import urls and visits from YOURLS.
In order to do it, you need to first install this dedicated plugin in YOURLS, and then run the
short-url:import yourls
command, as with any other source. -
#1235 Added support to disable rounding QR codes block sizing via config option, env var or query param.
-
#1188 Added support for PHP 8.1.
The official docker image has also been updated to use PHP 8.1 by default.
Removed
- Nothing
Fixed
- #1206 Fixed debugging of the docker image, so that it does not run the commands with
-q
when theSHELL_VERBOSITY
env var has been provided. - #1254 Fixed examples in swagger docs.
Deprecated
-
#1260 Deprecated
USE_HTTPS
env var that was added in previous release, in favor of the newIS_HTTPS_ENABLED
.The old one proved to be confusing and misleading, making people think it was used to actually enable HTTPS transparently, instead of its actual purpose, which is just telling Shlink it is being served with HTTPS.