mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Update shlink-common and shlink-installer
This commit is contained in:
@@ -40,6 +40,11 @@
|
|||||||
* Due to previous point, it is no longer possible to pass `ENABLE_PERIODIC_VISIT_LOCATE=true` in order to configure a cron job that locates visits periodically.
|
* Due to previous point, it is no longer possible to pass `ENABLE_PERIODIC_VISIT_LOCATE=true` in order to configure a cron job that locates visits periodically.
|
||||||
This was not really needed in the docker image, as visits are located on the fly.
|
This was not really needed in the docker image, as visits are located on the fly.
|
||||||
|
|
||||||
|
### Changes in integrations
|
||||||
|
|
||||||
|
* Credentials in redis URLs should now be URL-encoded, as they are unconditionally url-decoded before being used. Previously, it was possible to customize this behavior via `REDIS_DECODE_CREDENTIALS=true|false`.
|
||||||
|
* Providing redis URIs in the form of `tcp://password@6.6.6.6:6379` is no longer supported. If you want to provide password with no username, do `tcp://:password@6.6.6.6:6379` instead.
|
||||||
|
|
||||||
## From v2.x to v3.x
|
## From v2.x to v3.x
|
||||||
|
|
||||||
### Changes in REST API
|
### Changes in REST API
|
||||||
|
|||||||
@@ -43,11 +43,11 @@
|
|||||||
"pagerfanta/core": "^3.8",
|
"pagerfanta/core": "^3.8",
|
||||||
"pugx/shortid-php": "^1.1",
|
"pugx/shortid-php": "^1.1",
|
||||||
"ramsey/uuid": "^4.7",
|
"ramsey/uuid": "^4.7",
|
||||||
"shlinkio/shlink-common": "dev-main#a309824 as 6.0",
|
"shlinkio/shlink-common": "dev-main#3f6b243 as 6.0",
|
||||||
"shlinkio/shlink-config": "^2.5",
|
"shlinkio/shlink-config": "^2.5",
|
||||||
"shlinkio/shlink-event-dispatcher": "^3.1",
|
"shlinkio/shlink-event-dispatcher": "^3.1",
|
||||||
"shlinkio/shlink-importer": "^5.2.1",
|
"shlinkio/shlink-importer": "^5.2.1",
|
||||||
"shlinkio/shlink-installer": "^8.7",
|
"shlinkio/shlink-installer": "dev-develop#9f0d7e5 as 9.0",
|
||||||
"shlinkio/shlink-ip-geolocation": "^3.4",
|
"shlinkio/shlink-ip-geolocation": "^3.4",
|
||||||
"shlinkio/shlink-json": "^1.1",
|
"shlinkio/shlink-json": "^1.1",
|
||||||
"spiral/roadrunner": "^2023.2",
|
"spiral/roadrunner": "^2023.2",
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ return (static function (): array {
|
|||||||
'redis' => [
|
'redis' => [
|
||||||
'servers' => $redisServers,
|
'servers' => $redisServers,
|
||||||
'sentinel_service' => EnvVars::REDIS_SENTINEL_SERVICE->loadFromEnv(),
|
'sentinel_service' => EnvVars::REDIS_SENTINEL_SERVICE->loadFromEnv(),
|
||||||
'decode_credentials' => (bool) EnvVars::REDIS_DECODE_CREDENTIALS->loadFromEnv(false),
|
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ return [
|
|||||||
Option\Worker\TaskWorkerNumConfigOption::class,
|
Option\Worker\TaskWorkerNumConfigOption::class,
|
||||||
Option\Worker\WebWorkerNumConfigOption::class,
|
Option\Worker\WebWorkerNumConfigOption::class,
|
||||||
Option\Redis\RedisServersConfigOption::class,
|
Option\Redis\RedisServersConfigOption::class,
|
||||||
Option\Redis\RedisDecodeCredentialsConfigOption::class,
|
|
||||||
Option\Redis\RedisSentinelServiceConfigOption::class,
|
Option\Redis\RedisSentinelServiceConfigOption::class,
|
||||||
Option\Redis\RedisPubSubConfigOption::class,
|
Option\Redis\RedisPubSubConfigOption::class,
|
||||||
Option\UrlShortener\ShortCodeLengthOption::class,
|
Option\UrlShortener\ShortCodeLengthOption::class,
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ enum EnvVars: string
|
|||||||
case CACHE_NAMESPACE = 'CACHE_NAMESPACE';
|
case CACHE_NAMESPACE = 'CACHE_NAMESPACE';
|
||||||
case REDIS_SERVERS = 'REDIS_SERVERS';
|
case REDIS_SERVERS = 'REDIS_SERVERS';
|
||||||
case REDIS_SENTINEL_SERVICE = 'REDIS_SENTINEL_SERVICE';
|
case REDIS_SENTINEL_SERVICE = 'REDIS_SENTINEL_SERVICE';
|
||||||
case REDIS_DECODE_CREDENTIALS = 'REDIS_DECODE_CREDENTIALS';
|
|
||||||
case REDIS_PUB_SUB_ENABLED = 'REDIS_PUB_SUB_ENABLED';
|
case REDIS_PUB_SUB_ENABLED = 'REDIS_PUB_SUB_ENABLED';
|
||||||
case MERCURE_PUBLIC_HUB_URL = 'MERCURE_PUBLIC_HUB_URL';
|
case MERCURE_PUBLIC_HUB_URL = 'MERCURE_PUBLIC_HUB_URL';
|
||||||
case MERCURE_INTERNAL_HUB_URL = 'MERCURE_INTERNAL_HUB_URL';
|
case MERCURE_INTERNAL_HUB_URL = 'MERCURE_INTERNAL_HUB_URL';
|
||||||
|
|||||||
Reference in New Issue
Block a user