From e49cd3b92c6835dac8592d20767d52a7bbbe09de Mon Sep 17 00:00:00 2001 From: codaamok Date: Sun, 21 Nov 2021 15:00:39 +0000 Subject: [PATCH] Updated warnings about minimum Shlink version to suggest 2.9.0 --- CHANGELOG.md | 1 + PSShlink/Private/GetShlinkConnection.ps1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58d9055..5f18b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `Save-ShlinkUrlQrCode` no longer has hardcoded default parameter values (much like the API did) for size, margin, format, and error correction level.. Shlink 2.9.0 now lets you configure these defaults for QR codes, so by omitting values for these params, your server default values are used. ### Fixed +- Updated warnings about minimum Shlink version to suggest 2.9.0 - Corrected object reference to API URL attempted in ErrorRecord ## [0.7.0] - 2021-08-09 diff --git a/PSShlink/Private/GetShlinkConnection.ps1 b/PSShlink/Private/GetShlinkConnection.ps1 index aa1bdad..639dc42 100644 --- a/PSShlink/Private/GetShlinkConnection.ps1 +++ b/PSShlink/Private/GetShlinkConnection.ps1 @@ -24,7 +24,7 @@ function GetShlinkConnection { } } - $Script:MinSupportedShlinkVersion = [Version]"2.8.0" + $Script:MinSupportedShlinkVersion = [Version]"2.9.0" if (-not ("System.Web.HttpUtility" -as [Type])) { Add-Type -AssemblyName "System.Web" -ErrorAction "Stop"