From 483bdddb18583d5a0a93905817579f327ada3104 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 9 Oct 2021 12:35:45 +0200 Subject: [PATCH] Updated to installer version with support for orphan visits webhooks --- CHANGELOG.md | 3 +++ composer.json | 2 +- config/autoload/installer.global.php | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eef5ab39..d17a5b8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this When they are used in the query, the values are URL encoded. * [#1119](https://github.com/shlinkio/shlink/issues/1119) Added support to provide redis sentinel when using redis cache. +* [#1016](https://github.com/shlinkio/shlink/issues/1016) Added new option to send orphan visits to webhooks, via 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. ### Changed * [#1142](https://github.com/shlinkio/shlink/issues/1142) Replaced `doctrine/cache` package with `symfony/cache`. diff --git a/composer.json b/composer.json index b00900e7..694cb399 100644 --- a/composer.json +++ b/composer.json @@ -50,7 +50,7 @@ "shlinkio/shlink-config": "^1.2", "shlinkio/shlink-event-dispatcher": "^2.1", "shlinkio/shlink-importer": "^2.3.1", - "shlinkio/shlink-installer": "dev-develop#2f87995 as 6.2", + "shlinkio/shlink-installer": "dev-develop#b45a340 as 6.2", "shlinkio/shlink-ip-geolocation": "^2.0", "symfony/console": "^5.3", "symfony/filesystem": "^5.3", diff --git a/config/autoload/installer.global.php b/config/autoload/installer.global.php index fe9f3f5d..e89b382d 100644 --- a/config/autoload/installer.global.php +++ b/config/autoload/installer.global.php @@ -24,6 +24,7 @@ return [ Option\UrlShortener\ShortDomainSchemaConfigOption::class, Option\UrlShortener\ValidateUrlConfigOption::class, Option\Visit\VisitsWebhooksConfigOption::class, + Option\Visit\OrphanVisitsWebhooksConfigOption::class, Option\Redirect\BaseUrlRedirectConfigOption::class, Option\Redirect\InvalidShortUrlRedirectConfigOption::class, Option\Redirect\Regular404RedirectConfigOption::class,