Changelog History
Page 1
-
v3.3.2 Changes
October 18, 2022โ Added
- Nothing
๐ Changed
- Nothing
๐ Deprecated
- Nothing
โ Removed
- Nothing
๐ Fixed
- ๐ #1576 Fixed error when trying to retry visits location from CLI.
-
v3.3.1 Changes
September 30, 2022โ Added
- Nothing
๐ Changed
- ๐ท #1474 Added preliminary support for PHP 8.2 during CI workflow.
- ๐ #1551 Moved services related to geolocating visits to the
Visit\Geolocation
namespace. - #1550 Reorganized main namespaces from Core module.
๐ Deprecated
- Nothing
โ Removed
- Nothing
๐ Fixed
- ๐ #1556 Fixed trailing slash not working when enabling multi-segment slashes.
-
v3.3.0 Changes
September 18, 2022โ Added
- ๐ #1221 Added experimental support to run Shlink with RoadRunner instead of openswoole.
- ๐ #1531 and #1090 Added support for trailing slashes in short URLs.
- #1406 Added new REST API version 3.
When making requests to the REST API with
/rest/v3/...
and an error occurs, all error types will be different, with the next correlation:INVALID_ARGUMENT
->https://shlink.io/api/error/invalid-data
INVALID_SHORT_URL_DELETION
->https://shlink.io/api/error/invalid-short-url-deletion
DOMAIN_NOT_FOUND
->https://shlink.io/api/error/domain-not-found
FORBIDDEN_OPERATION
->https://shlink.io/api/error/forbidden-tag-operation
INVALID_URL
->https://shlink.io/api/error/invalid-url
INVALID_SLUG
->https://shlink.io/api/error/non-unique-slug
INVALID_SHORTCODE
->https://shlink.io/api/error/short-url-not-found
TAG_CONFLICT
->https://shlink.io/api/error/tag-conflict
TAG_NOT_FOUND
->https://shlink.io/api/error/tag-not-found
MERCURE_NOT_CONFIGURED
->https://shlink.io/api/error/mercure-not-configured
INVALID_AUTHORIZATION
->https://shlink.io/api/error/missing-authentication
INVALID_API_KEY
->https://shlink.io/api/error/invalid-api-key
If you make a request to the API with v2 or v1, the old error types will be returned, until Shlink 4 is released, when only the new ones will be used.
Non-error responses are not affected.
- ๐ณ #1513 Added publishing of the docker image in GHCR.
- #1114 Added support to provide an initial API key via
INITIAL_API_KEY
env var, when running Shlink with openswoole or RoadRunner.
Also, the installer tool now allows to generate an initial API key that can be copy-pasted (this tool is run interactively), in case you use php-fpm or you don't want to use env vars.
- ๐ณ #1528 Added support to delay when the GeoLite2 DB file is downloaded in docker images, speeding up its startup time.
In order to do it, pass
SKIP_INITIAL_GEOLITE_DOWNLOAD=true
when creating the container.๐ Changed
- โ #1339 Added new test suite for CLI E2E tests.
- โก๏ธ #1503 Drastically improved build time in GitHub Actions, by optimizing parallelization and adding php extensions cache.
- #1525 Migrated to custom doctrine CLI entry point.
- #1492 Migrated to immutable options objects, mapped with cuyz/valinor.
๐ Deprecated
- Nothing
โ Removed
- Nothing
๐ Fixed
- Nothing
-
v3.2.1 Changes
August 08, 2022โ Added
- Nothing
๐ Changed
- ๐ง #1495 Centralized how routes are configured to support multi-segment slugs.
- โก๏ธ #1497 Updated to latest shlink dependencies with support for PHP 8.1 only.
๐ Deprecated
- Nothing
โ Removed
- Nothing
๐ Fixed
- ๐ง #1499 Fixed loading of config options as env vars, which was making all default configurations to be loaded unless env vars were explicitly provided.
-
v3.2.0 Changes
August 05, 2022โ Added
- ๐ #854 Added support for multi-segment custom slugs.
The feature is disabled by default, but you can optionally opt in. If you do, you will be able to create short URLs with multiple segments in the custom slug, like
https://example.com/foo/bar/baz
.- #1280 Added missing visit-related commands.
Now you can run
tag:visits
,domain:visits
,visit:orphan
orvisit:non-orphan
to get the corresponding list of visits from the command line.- โก๏ธ #962 Added new real-time update for new short URLs.
You can now subscribe to the
https://shlink.io/new-short-url
topic on any of the supported async updates technologies in order to get notified when a short URL is created.- โก๏ธ #1367 Added support to publish real-time updates in redis pub/sub.
The publishing will happen in the same redis instance/cluster configured for caching.
๐ Changed
- โก๏ธ #1452 Updated to monolog 3
- ๐ฐ #1485 Changed payload published in RabbitMQ for all visits events, in order to conform with the Async API spec.
Since this is a breaking change, also provided a new
RABBITMQ_LEGACY_VISITS_PUBLISHING=true
env var that can be provided in order to keep the old payload.This env var is considered deprecated and will be removed in Shlink 4, when the legacy format will no longer be supported.
๐ Deprecated
- Nothing
โ Removed
- ๐ #1280 Dropped support for PHP 8.0
๐ Fixed
- ๐ #1471 Fixed error when running
visit:locate
command with any extra parameter (like--retry
).
-
v3.1.2 Changes
June 04, 2022 -
v3.1.1 Changes
May 09, 2022 -
v3.1.0 Changes
April 23, 2022โ Added
- #1294 Allowed to provide a specific domain when importing URLs from YOURLS.
- ๐ #1416 Added support to import URLs from Kutt.it.
- 0๏ธโฃ #1418 Added support to customize the timezone used by Shlink, falling back to the default one set in PHP config.
The timezone can be set via the
TIMEZONE
env var, or using the installer tool.- #1309 Improved URL importing, ensuring individual errors do not make the whole process fail, and instead, failing URLs are skipped.
- #1162 Added new endpoint to get visits by domain.
The endpoint is
GET /domains/{domain}/visits
, and it has the same capabilities as any other visits endpoint, allowing pagination and filtering.๐ Changed
- #1359 Hidden database commands.
- #1385 Prevented a big error message from being logged when using Shlink without mercure.
- โ #1398 Increased required mutation score for unit tests to 85%.
- ๐ง #1419 Input dates are now parsed to Shlink's configured timezone or default timezone before using them for database queries.
- โก๏ธ #1428 Updated native dependencies in docker image and base image to PHP v8.1.5.
๐ Deprecated
- โก๏ธ #1340 Deprecated webhooks. New events will only be added to other real-time updates approaches, and webhooks will be completely removed in Shlink 4.0.0.
โ Removed
- Nothing
๐ Fixed
-
v3.0.3 Changes
February 19, 2022โ Added
- Nothing
๐ Changed
- โก๏ธ #1382 Updated docker image to PHP 8.1.3.
๐ Deprecated
- Nothing
โ Removed
- Nothing
๐ Fixed
-
v3.0.2 Changes
February 10, 2022