Releases: shlinkio/shlink
v2.0.4
Added
- Nothing
Changed
- #577 Wrapped params used to customize short URL lists into a DTO with implicit validation.
Deprecated
- Nothing
Removed
- Nothing
Fixed
- #620 Ensured "controlled" errors (like validation errors and such) won't be logged with error level, preventing logs to be polluted.
- #637 Fixed several work flows in which short URLs with domain are handled form the API.
- #644 Fixed visits to short URL on non-default domain being linked to the URL on default domain with the same short code.
- #643 Fixed searching on short URL lists not taking into consideration the domain name.
v2.0.3
Added
- Nothing
Changed
- Nothing
Deprecated
- Nothing
Removed
- Nothing
Fixed
- #624 Fixed order in which headers for remote IP detection are inspected.
- #623 Fixed short URLs metadata being impossible to reset.
- #628 Fixed
GET /short-urls/{shortCode}
REST endpoint returning a 404 for short URLs which are not enabled. - #621 Fixed permission denied error when updating same GeoLite file version more than once.
v2.0.2
v1.21.2
v2.0.1
Added
- Nothing
Changed
- Nothing
Deprecated
- Nothing
Removed
- Nothing
Fixed
v2.0.0
Added
- #429 Added support for PHP 7.4
- #529 Created an UPGRADING.md file explaining how to upgrade from v1.x to v2.x
- #594 Updated external shlink packages, including installer v4.0, which adds the option to ask for the redis cluster config.
Changed
- #592 Updated coding styles to use shlinkio/php-coding-standard v2.1.0.
- #530 Migrated project from deprecated
zendframework
components to the newlaminas
andmezzio
ones.
Deprecated
- Nothing
Removed
-
#429 Dropped support for PHP 7.2 and 7.3
-
#229 Remove everything which was deprecated, including:
- Preview generation feature completely removed.
- Authentication against REST API using JWT is no longer supported.
See UPGRADE doc in order to get details on how to migrate to this version.
Fixed
- #600 Fixed health action so that it works with and without version in the path.
v1.21.1
v1.21.0
Added
-
#118 API errors now implement the problem details standard.
In order to make it backwards compatible, two things have been done:
- Both the old
error
andmessage
properties have been kept on error response, containing the same values as thetype
anddetail
properties respectively. - The API
v2
has been enabled. If an error occurs when calling the API with this version, theerror
andmessage
properties will not be returned.
After Shlink v2 is released, both API versions will behave like API v2.
- Both the old
-
#575 Added support to filter short URL lists by date ranges.
- The
GET /short-urls
endpoint now accepts thestartDate
andendDate
query params. - The
short-urls:list
command now allows--startDate
and--endDate
flags to be optionally provided.
- The
-
#338 Added support to asynchronously notify external services via webhook, only when shlink is served with swoole.
Configured webhooks will receive a POST request every time a URL receives a visit, including information about the short URL and the visit.
The payload will look like this:
{ "shortUrl": {}, "visit": {} }
The
shortUrl
andvisit
props have the same shape as it is defined in the API spec.
Changed
- #492 Updated to monolog 2, together with other dependencies, like Symfony 5 and infection-php.
- #527 Increased minimum required mutation score for unit tests to 80%.
- #557 Added a few php.ini configs for development and production docker images.
Deprecated
- Nothing
Removed
- Nothing
Fixed
- #570 Fixed shlink version generated for docker images when building from
develop
branch.
v1.20.3
v1.20.2
Added
- Nothing
Changed
- Nothing
Deprecated
- Nothing
Removed
- Nothing
Fixed
- #561 Fixed
db:migrate
command failing because yaml extension is not installed, which makes config file not to be readable. - #562 Fixed internal server error being returned when renaming a tag to another tag's name. Now a meaningful API error with status 409 is returned.
- #555 Fixed internal server error being returned when invalid dates are provided for new short URLs. Now a 400 is returned, as intended.