From 78b047ec991f60dfd8aa158aedfcce593e2734d8 Mon Sep 17 00:00:00 2001 From: Justin Chung Date: Mon, 16 Dec 2024 18:10:13 +0000 Subject: [PATCH 1/4] Merged PR 33470: Updated Changelog - Updated Third Party Notices (#24666) - Updated changelog ---- #### AI description (iteration 1) #### PR Classification Documentation update #### PR Summary This pull request updates the changelog with the latest changes for version 7.6.0-preview.1. - Added breaking changes, general cmdlet updates, code cleanup, tools, tests, build and packaging improvements, and documentation updates in `CHANGELOG/preview.md`. - Notable updates include treating large Enum values as numbers in `ConvertTo-Json`, adding error for `Get-PSSession -ComputerName` on Unix, and updating `PSReadLine` to 2.3.6. --- CHANGELOG/preview.md | 150 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md index f10594ccfb5..c9205c110d9 100644 --- a/CHANGELOG/preview.md +++ b/CHANGELOG/preview.md @@ -1,5 +1,155 @@ # Preview Changelog +## [7.6.0-preview.1] - 2024-12-16 + +### Breaking Changes + +- Treat large Enum values as numbers in `ConvertTo-Json` (#20999) (Thanks @jborean93!) + +### General Cmdlet Updates and Fixes + +- Add proper error for running `Get-PSSession -ComputerName` on Unix (#21009) (Thanks @jborean93!) +- Resolve symbolic link target relative to the symbolic link instead of the working directory (#15235) (#20943) (Thanks @MatejKafka!) +- Fix up buffer management getting network roots (#24600) (Thanks @jborean93!) +- Support `PSObject` wrapped values in `ArgumentToEncodingTransformationAttribute` (#24555) (Thanks @jborean93!) +- Update PSReadLine to 2.3.6 (#24380) +- Add telemetry to track the use of features (#24247) +- Handle global tool specially when prepending `PSHome` to `PATH` (#24228) +- Fix how processor architecture is validated in `Import-Module` (#24265) +- Make features `PSCommandNotFoundSuggestion`, `PSCommandWithArgs`, and `PSModuleAutoLoadSkipOfflineFiles` stable (#24246) +- Write type data to the pipeline instead of collecting it (#24236) (Thanks @MartinGC94!) +- Add support to `Get-Error` to handle BoundParameters (#20640) +- Fix `Get-FormatData` to not cast a type incorrectly (#21157) +- Delay progress bar in `Copy-Item` and `Remove-Item` cmdlets (#24013) (Thanks @TheSpyGod!) +- Add `-Force` parameter to `Resolve-Path` and `Convert-Path` cmdlets to support wildcard hidden files (#20981) (Thanks @ArmaanMcleod!) +- Use host exe to determine `$PSHOME` location when `SMA.dll` location is not found (#24072) +- Fix `Test-ModuleManifest` so it can use a UNC path (#24115) + +### Code Cleanup + +
+ + + +

We thank the following contributors!

+

@eltociear, @JayBazuzi

+ +
+ + + +
+ +### Tools + +- Fix devcontainer extensions key (#24359) (Thanks @ThomasNieto!) +- Support new backport branch format (#24378) +- Update markdownLink.yml to not run on release branches (#24323) +- Remove old code that downloads msix for win-arm64 (#24175) + +### Tests + +- Fix cleanup in PSResourceGet test (#24339) + +### Build and Packaging Improvements + +
+ + + +

We thank the following contributors!

+

@MartinGC94, @jborean93, @xtqqczze, @alerickson, @iSazonov, @rzippo

+ +
+ + + +
+ +### Documentation and Help Content + +- Updated Third Party Notices (#24666) +- Update `HelpInfoUri` for 7.5 (#24610) +- Update changelog for v7.4.6 release (#24496) +- Update to the latest NOTICES file (#24259) +- Update the changelog `preview.md` (#24213) +- Update changelog readme with 7.4 (#24182) (Thanks @ThomasNieto!) +- Fix Markdown linting error (#24204) +- Updated changelog for v7.2.23 (#24196) (Internal 32131) +- Update changelog and `metadata.json` for v7.4.5 release (#24183) +- Bring 7.2 changelogs back to master (#24158) + +[7.6.0-preview.1]: https://github.com/PowerShell/PowerShell/compare/v7.5.0-rc.1...v7.6.0-preview.1 + ## [7.5.0-preview.5] - 2024-10-01 ### Breaking Changes From 943506fad12ed839304d4c23e6bb810e2bef3ccc Mon Sep 17 00:00:00 2001 From: Justin Chung Date: Tue, 14 Jan 2025 12:56:05 -0600 Subject: [PATCH 2/4] Updated CL preivew.2 --- CHANGELOG/preview.md | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md index c9205c110d9..cbbbf54216b 100644 --- a/CHANGELOG/preview.md +++ b/CHANGELOG/preview.md @@ -1,5 +1,53 @@ # Preview Changelog +## [7.6.0-preview.1] - 2025-01-14 + +### Build and Packaging Improvements + +
+ + + +

We thank the following contributors!

+

@

+ +
+ +
    +
  • Update metadata.json (#24764)
  • +
  • Update Microsoft.PowerShell.PSResourceGet to 1.1.0 (#24767)
  • +
  • Add a parameter that skips verify packages step (#24763)
  • +
  • Make the AssemblyVersion not change for servicing releases (#24667)
  • +
  • Fixed release pipeline errors and switched to KS3 (#24751)
  • +
  • Add the AIShell module to telemetry collection list (#24747)
  • +
  • Update outdated package references (#24580)
  • +
  • Bump actions/upload-artifact from 4.4.3 to 4.5.0 (#24689)
  • +
  • Update .NET feed with new domain as azureedge is retiring (#24703)
  • +
  • Add helper in EnumSingleTypeConverter to get enum names as array (#17785) (Thanks @fflaten!)
  • +
  • Return correct FileName property for Get-Item when listing alternate data streams (#18019) (Thanks @kilasuit!)
  • +
  • Add ExcludeModule parameter to Get-Command (#18955) (Thanks @MartinGC94!)
  • +
  • Update Named and Statement block type inference to not consider AssignmentStatements and Increment/decrement operators as part of their output (#21137) (Thanks @MartinGC84!)
  • +
  • Update DnsNameList for X509Certificate2 to use X509SubjectAlternativeNameExtension.EnumerateDnsNames Method (#24714) (Thanks @ArmaanMcleod!)
  • +
  • Add completion of modules by their shortname (#20330) (Thanks @MartinGC94!)
  • +
  • Seal ClientRemoteSessionDSHandlerImpl (#21218) (Thanks @xtqqczze!)
  • +
  • Fix Get-ItemProperty to report non-terminating error for cast exception (#21115) (Thanks @ArmaanMcleod!)
  • +
  • Add -PropertyType argument completer for New-ItemProperty (#21117) (Thanks @ArmaanMcleod!)
  • +
  • Seal internal type ClientRemoteSessionDSHandlerImpl (#24705) (Thanks @xtqqczze!)
  • +
  • Seal classes in RemotingProtocol2 (#21164) (Thanks @xtqqczze!)
  • +
  • Skip CIM ETS member test on older Windows platforms (#24681)
  • +
  • Bump super-linter/super-linter from 7.2.0 to 7.2.1 (#24678)
  • +
  • added justin chung as powershel team memeber on releaseTools.psm1 (#24672)
  • +
  • Fix a bug in how Write-Host handles XmlNode object (#24669) (Thanks @brendanburns!)
  • +
  • Bump github/codeql-action from 3.27.7 to 3.27.9 (#24674)
  • +
  • Update cmdlets WG members (#24275) (Thanks @kilasuit!)
  • +
  • Bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#24607)
  • +
  • updated tpn (#24666)
  • +
+ +
+ +[7.6.0-preview.2]: https://github.com/PowerShell/PowerShell/compare/v7.6.0-preview.1...v7.6.0-preview.2 + ## [7.6.0-preview.1] - 2024-12-16 ### Breaking Changes From 3eff6cb8ec67c154f2436d75474bc7cfda5631e4 Mon Sep 17 00:00:00 2001 From: Justin Chung Date: Tue, 14 Jan 2025 14:46:16 -0600 Subject: [PATCH 3/4] Fixed CL update --- CHANGELOG/preview.md | 64 +++++++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 19 deletions(-) diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md index cbbbf54216b..65bf3dfdb3d 100644 --- a/CHANGELOG/preview.md +++ b/CHANGELOG/preview.md @@ -1,6 +1,46 @@ # Preview Changelog -## [7.6.0-preview.1] - 2025-01-14 +## [7.6.0-preview.2] - 2025-01-14 + +### General Cmdlet Updates and Fixes + +- Add the `AIShell` module to telemetry collection list (#24747) +- Add helper in `EnumSingleTypeConverter` to get enum names as array (#17785) (Thanks @fflaten!) +- Return correct FileName property for `Get-Item` when listing alternate data streams (#18019) (Thanks @kilasuit!) +- Add `-ExcludeModule` parameter to `Get-Command` (#18955) (Thanks @MartinGC94!) +- Update Named and Statement block type inference to not consider AssignmentStatements and Increment/decrement operators as part of their output (#21137) (Thanks @MartinGC94!) +- Update `DnsNameList` for `X509Certificate2` to use `X509SubjectAlternativeNameExtension.EnumerateDnsNames` Method (#24714) (Thanks @ArmaanMcleod!) +- Add completion of modules by their shortname (#20330) (Thanks @MartinGC94!) +- Fix `Get-ItemProperty` to report non-terminating error for cast exception (#21115) (Thanks @ArmaanMcleod!) +- Add `-PropertyType` argument completer for `New-ItemProperty` (#21117) (Thanks @ArmaanMcleod!) +- Fix a bug in how `Write-Host` handles `XmlNode` object (#24669) (Thanks @brendandburns!) + +### Code Cleanup + +
+ + + +

We thank the following contributors!

+

@xtqqczze

+ +
+ +
    +
  • Seal ClientRemoteSessionDSHandlerImpl (#21218) (Thanks @xtqqczze!)
  • +
  • Seal internal type ClientRemoteSessionDSHandlerImpl (#24705) (Thanks @xtqqczze!)
  • +
  • Seal classes in RemotingProtocol2 (#21164) (Thanks @xtqqczze!)
  • +
+ +
+ +### Tools + +- Added Justin Chung as Powershell team memeber on releaseTools.psm1 (#24672) + +### Tests + +- Skip CIM ETS member test on older Windows platforms (#24681) ### Build and Packaging Improvements @@ -9,7 +49,6 @@

We thank the following contributors!

-

@

@@ -19,33 +58,20 @@
  • Add a parameter that skips verify packages step (#24763)
  • Make the AssemblyVersion not change for servicing releases (#24667)
  • Fixed release pipeline errors and switched to KS3 (#24751)
  • -
  • Add the AIShell module to telemetry collection list (#24747)
  • Update outdated package references (#24580)
  • Bump actions/upload-artifact from 4.4.3 to 4.5.0 (#24689)
  • Update .NET feed with new domain as azureedge is retiring (#24703)
  • -
  • Add helper in EnumSingleTypeConverter to get enum names as array (#17785) (Thanks @fflaten!)
  • -
  • Return correct FileName property for Get-Item when listing alternate data streams (#18019) (Thanks @kilasuit!)
  • -
  • Add ExcludeModule parameter to Get-Command (#18955) (Thanks @MartinGC94!)
  • -
  • Update Named and Statement block type inference to not consider AssignmentStatements and Increment/decrement operators as part of their output (#21137) (Thanks @MartinGC84!)
  • -
  • Update DnsNameList for X509Certificate2 to use X509SubjectAlternativeNameExtension.EnumerateDnsNames Method (#24714) (Thanks @ArmaanMcleod!)
  • -
  • Add completion of modules by their shortname (#20330) (Thanks @MartinGC94!)
  • -
  • Seal ClientRemoteSessionDSHandlerImpl (#21218) (Thanks @xtqqczze!)
  • -
  • Fix Get-ItemProperty to report non-terminating error for cast exception (#21115) (Thanks @ArmaanMcleod!)
  • -
  • Add -PropertyType argument completer for New-ItemProperty (#21117) (Thanks @ArmaanMcleod!)
  • -
  • Seal internal type ClientRemoteSessionDSHandlerImpl (#24705) (Thanks @xtqqczze!)
  • -
  • Seal classes in RemotingProtocol2 (#21164) (Thanks @xtqqczze!)
  • -
  • Skip CIM ETS member test on older Windows platforms (#24681)
  • Bump super-linter/super-linter from 7.2.0 to 7.2.1 (#24678)
  • -
  • added justin chung as powershel team memeber on releaseTools.psm1 (#24672)
  • -
  • Fix a bug in how Write-Host handles XmlNode object (#24669) (Thanks @brendanburns!)
  • Bump github/codeql-action from 3.27.7 to 3.27.9 (#24674)
  • -
  • Update cmdlets WG members (#24275) (Thanks @kilasuit!)
  • Bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#24607)
  • -
  • updated tpn (#24666)
  • +### Documentation and Help Content + +- Update cmdlets WG members (#24275) (Thanks @kilasuit!) + [7.6.0-preview.2]: https://github.com/PowerShell/PowerShell/compare/v7.6.0-preview.1...v7.6.0-preview.2 ## [7.6.0-preview.1] - 2024-12-16 From 56ea7867cf910f2ffef6748684cb1c9921c1e3b8 Mon Sep 17 00:00:00 2001 From: Justin Chung Date: Tue, 14 Jan 2025 15:55:20 -0600 Subject: [PATCH 4/4] Added missing PR --- CHANGELOG/preview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md index 65bf3dfdb3d..f00512121e8 100644 --- a/CHANGELOG/preview.md +++ b/CHANGELOG/preview.md @@ -48,12 +48,12 @@ -

    We thank the following contributors!

    +

    Updated SDK to 9.0.101

      -
    • Update metadata.json (#24764)
    • +
    • Update branch for release - Transitive - false - none (#24754)
    • Update Microsoft.PowerShell.PSResourceGet to 1.1.0 (#24767)
    • Add a parameter that skips verify packages step (#24763)
    • Make the AssemblyVersion not change for servicing releases (#24667)