From 4b48b76984cb4d2ae3b83e1a75438a5c6e6f4c90 Mon Sep 17 00:00:00 2001 From: Gael Colas Date: Thu, 12 Feb 2026 18:12:56 +0100 Subject: [PATCH 1/6] removing version pinning of PSResourceGet in ResolveDependency psd1 --- CHANGELOG.md | 1 + Resolve-Dependency.psd1 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f245a8f..106ced7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update to Pester 5 - Use matrix strategy for azure-pipelines unit tests. - Add Unit tests for public functions. +- Removed the pinning of the PSResourceGet module version from `Resolve-Dependency.psd1`. ### Fixed diff --git a/Resolve-Dependency.psd1 b/Resolve-Dependency.psd1 index 59df414..10f18c1 100644 --- a/Resolve-Dependency.psd1 +++ b/Resolve-Dependency.psd1 @@ -73,7 +73,7 @@ set to $false then PowerShellGet will be used to resolve dependencies. #> UsePSResourceGet = $true - PSResourceGetVersion = '1.0.1' + # PSResourceGetVersion = '1.0.1' # PowerShellGet compatibility module only works when using PSResourceGet or ModuleFast. UsePowerShellGetCompatibilityModule = $true From a532d1b235c24b55734d4bbfc7bfdfd7296077e6 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Thu, 12 Feb 2026 18:56:39 +0100 Subject: [PATCH 2/6] Pin Plaster to resolve issue --- RequiredModules.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RequiredModules.psd1 b/RequiredModules.psd1 index 1be5b82..6168d66 100644 --- a/RequiredModules.psd1 +++ b/RequiredModules.psd1 @@ -10,7 +10,7 @@ InvokeBuild = 'latest' PSScriptAnalyzer = 'latest' Pester = 'latest' - Plaster = 'latest' + Plaster = '1.1.3' Sampler = @{ version = 'latest' From a8e14f19d5378f7dc2ba5297e113664680ee1acc Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Thu, 12 Feb 2026 19:01:49 +0100 Subject: [PATCH 3/6] Fix plaster prerelease --- RequiredModules.psd1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/RequiredModules.psd1 b/RequiredModules.psd1 index 6168d66..35339ae 100644 --- a/RequiredModules.psd1 +++ b/RequiredModules.psd1 @@ -10,7 +10,13 @@ InvokeBuild = 'latest' PSScriptAnalyzer = 'latest' Pester = 'latest' - Plaster = '1.1.3' + + Plaster = @{ + version = 'latest' + Parameters = @{ + AllowPrerelease = $true + } + } Sampler = @{ version = 'latest' From 27b9efda48dde2654dfade2f4078ba7c0ab5f5c5 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Thu, 12 Feb 2026 19:08:59 +0100 Subject: [PATCH 4/6] Revert changes --- RequiredModules.psd1 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/RequiredModules.psd1 b/RequiredModules.psd1 index 35339ae..1be5b82 100644 --- a/RequiredModules.psd1 +++ b/RequiredModules.psd1 @@ -10,13 +10,7 @@ InvokeBuild = 'latest' PSScriptAnalyzer = 'latest' Pester = 'latest' - - Plaster = @{ - version = 'latest' - Parameters = @{ - AllowPrerelease = $true - } - } + Plaster = 'latest' Sampler = @{ version = 'latest' From 71033da2919a99e165921c68716e6a1c15fa2f26 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Thu, 12 Feb 2026 19:12:20 +0100 Subject: [PATCH 5/6] Fix bootstrap URI for ModuleFast --- Resolve-Dependency.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resolve-Dependency.ps1 b/Resolve-Dependency.ps1 index f677fee..309986c 100644 --- a/Resolve-Dependency.ps1 +++ b/Resolve-Dependency.ps1 @@ -249,7 +249,7 @@ if ($UseModuleFast -and -not (Get-Module -Name 'ModuleFast')) Write-Information -MessageData 'ModuleFast is configured to use latest released version.' -InformationAction 'Continue' } - $moduleFastBootstrapUri = 'bit.ly/modulefast' # cSpell: disable-line + $moduleFastBootstrapUri = 'https://github.com/JustinGrote/ModuleFast/releases/latest/download/ModuleFast.ps1' # cSpell: disable-line Write-Debug -Message ('Using bootstrap script at {0}' -f $moduleFastBootstrapUri) From c754c28092e0a16968adfebd0b69f0c02a2ffe4e Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Thu, 12 Feb 2026 19:15:23 +0100 Subject: [PATCH 6/6] Revert back to bit.ly --- Resolve-Dependency.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resolve-Dependency.ps1 b/Resolve-Dependency.ps1 index 309986c..f677fee 100644 --- a/Resolve-Dependency.ps1 +++ b/Resolve-Dependency.ps1 @@ -249,7 +249,7 @@ if ($UseModuleFast -and -not (Get-Module -Name 'ModuleFast')) Write-Information -MessageData 'ModuleFast is configured to use latest released version.' -InformationAction 'Continue' } - $moduleFastBootstrapUri = 'https://github.com/JustinGrote/ModuleFast/releases/latest/download/ModuleFast.ps1' # cSpell: disable-line + $moduleFastBootstrapUri = 'bit.ly/modulefast' # cSpell: disable-line Write-Debug -Message ('Using bootstrap script at {0}' -f $moduleFastBootstrapUri)