From 900e9ca55a28d2322ed92ebfc5112a40fd82f0a2 Mon Sep 17 00:00:00 2001 From: alerickson <25858831+alerickson@users.noreply.github.com> Date: Fri, 5 Dec 2025 14:17:20 -0800 Subject: [PATCH 1/2] Update version, changelog, release notes --- CHANGELOG/preview.md | 15 +++++++++++++++ src/Microsoft.PowerShell.PSResourceGet.psd1 | 17 ++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md index 3ba5f8ee8..52fa34254 100644 --- a/CHANGELOG/preview.md +++ b/CHANGELOG/preview.md @@ -1,5 +1,20 @@ # Preview Changelog +## [1.2.0-preview5](https://github.com/PowerShell/PSResourceGet/compare/v1.2.0-preview4..v1.2.0-preview5) - 2025-12-05 + +### New Features +- Add `Reset-PSResourceRepository` cmdlet to recover from corrupted repository store (#1895) +- Improve performance of `ContainerRegistry` repositories by caching token (#1920) + +## Bug fix +- Ensure `Update-PSResource` does not re-install dependency packages which already satisfy dependency criteria (#1919) +- Retrieve non-anonymous access token when publishing to ACR (#1918) +- Filter out path separators when passing in package names as a parameter for any cmdlet (#1916) +- Respect `TrustRepository` parameter when using `-RequiredResource` with `Install-PSResource` (#1910) +- Fix bug with 'PSModuleInfo' property deserialization when validating module manifest (#1909) +- `Uninstall-PSResource` no longer fails silently when resource was not found or prerelease criteria not met (#1898) +- Prevent users from setting ApiVersion to 'Unknown' in `Set-PSResourceRepository` and `Register-PSResourceRepository` (#1892) + ## [1.2.0-preview4](https://github.com/PowerShell/PSResourceGet/compare/v1.2.0-preview3..v1.2.0-preview4) - 2025-11-04 ## Bug fix diff --git a/src/Microsoft.PowerShell.PSResourceGet.psd1 b/src/Microsoft.PowerShell.PSResourceGet.psd1 index 92c49df12..1b1ccc02b 100644 --- a/src/Microsoft.PowerShell.PSResourceGet.psd1 +++ b/src/Microsoft.PowerShell.PSResourceGet.psd1 @@ -50,7 +50,7 @@ 'usres') PrivateData = @{ PSData = @{ - Prerelease = 'preview4' + Prerelease = 'preview5' Tags = @('PackageManagement', 'PSEdition_Desktop', 'PSEdition_Core', @@ -60,6 +60,21 @@ ProjectUri = 'https://go.microsoft.com/fwlink/?LinkId=828955' LicenseUri = 'https://go.microsoft.com/fwlink/?LinkId=829061' ReleaseNotes = @' +## 1.2.0-preview5 + +### New Features +- Add `Reset-PSResourceRepository` cmdlet to recover from corrupted repository store (#1895) +- Improve performance of `ContainerRegistry` repositories by caching token (#1920) + +## Bug fix +- Ensure `Update-PSResource` does not re-install dependency packages which already satisfy dependency criteria (#1919) +- Retrieve non-anonymous access token when publishing to ACR (#1918) +- Filter out path separators when passing in package names as a parameter for any cmdlet (#1916) +- Respect `TrustRepository` parameter when using `-RequiredResource` with `Install-PSResource` (#1910) +- Fix bug with 'PSModuleInfo' property deserialization when validating module manifest (#1909) +- `Uninstall-PSResource` no longer fails silently when resource was not found or prerelease criteria not met (#1898) +- Prevent users from setting ApiVersion to 'Unknown' in `Set-PSResourceRepository` and `Register-PSResourceRepository` (#1892) + ## 1.2.0-preview4 ## Bug fix From 7a743a3dc33e60000f88dcda9910551c8f984157 Mon Sep 17 00:00:00 2001 From: alerickson <25858831+alerickson@users.noreply.github.com> Date: Fri, 5 Dec 2025 14:21:52 -0800 Subject: [PATCH 2/2] remove PR #1898 which was included twice --- CHANGELOG/preview.md | 1 - src/Microsoft.PowerShell.PSResourceGet.psd1 | 1 - 2 files changed, 2 deletions(-) diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md index 52fa34254..81722e8c6 100644 --- a/CHANGELOG/preview.md +++ b/CHANGELOG/preview.md @@ -12,7 +12,6 @@ - Filter out path separators when passing in package names as a parameter for any cmdlet (#1916) - Respect `TrustRepository` parameter when using `-RequiredResource` with `Install-PSResource` (#1910) - Fix bug with 'PSModuleInfo' property deserialization when validating module manifest (#1909) -- `Uninstall-PSResource` no longer fails silently when resource was not found or prerelease criteria not met (#1898) - Prevent users from setting ApiVersion to 'Unknown' in `Set-PSResourceRepository` and `Register-PSResourceRepository` (#1892) ## [1.2.0-preview4](https://github.com/PowerShell/PSResourceGet/compare/v1.2.0-preview3..v1.2.0-preview4) - 2025-11-04 diff --git a/src/Microsoft.PowerShell.PSResourceGet.psd1 b/src/Microsoft.PowerShell.PSResourceGet.psd1 index 1b1ccc02b..390155138 100644 --- a/src/Microsoft.PowerShell.PSResourceGet.psd1 +++ b/src/Microsoft.PowerShell.PSResourceGet.psd1 @@ -72,7 +72,6 @@ - Filter out path separators when passing in package names as a parameter for any cmdlet (#1916) - Respect `TrustRepository` parameter when using `-RequiredResource` with `Install-PSResource` (#1910) - Fix bug with 'PSModuleInfo' property deserialization when validating module manifest (#1909) -- `Uninstall-PSResource` no longer fails silently when resource was not found or prerelease criteria not met (#1898) - Prevent users from setting ApiVersion to 'Unknown' in `Set-PSResourceRepository` and `Register-PSResourceRepository` (#1892) ## 1.2.0-preview4