| # 7.3 Changelog |
|
|
| ## [7.3.12] - 2024-04-11 |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump to .NET 7.0.18</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update SDK, dependencies and <code>cgmanifest</code> for <code>7.3.12</code></li> |
| <li>Revert changes to <code>packaging.psm1</code></li> |
| <li>Verify environment variable for OneBranch before we try to copy (#21441)</li> |
| <li>Multiple fixes in official build pipeline (#21408)</li> |
| <li>PowerShell co-ordinated build OneBranch pipeline (#21364)</li> |
| <li>Add <code>dotenv</code> install as latest version does not work with current Ruby version (#21239)</li> |
| <li>Remove <code>surrogateFile</code> setting of <code>APIScan</code> (#21238)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.12]: https://github.com/PowerShell/PowerShell/compare/v7.3.11...v7.3.12 |
|
|
| ## [7.3.11] - 2024-01-11 |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump .NET to 7.0.405</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update <code>cgmanifest.json</code> for v7.3.11 release (Internal 29160)</li> |
| <li>Update .NET SDK to 7.0.405 (Internal 29140)</li> |
| <li>Back port 3 build changes to <code>apiscan.yml</code> (#21035)</li> |
| <li>Set the <code>ollForwardOnNoCandidateFx</code> in <code>runtimeconfig.json</code> to roll forward only on minor and patch versions (#20689)</li> |
| <li>Remove the <code>ref</code> folder before running compliance (#20373)</li> |
| <li>Fix the tab completion tests (#20867)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.11]: https://github.com/PowerShell/PowerShell/compare/v7.3.10...v7.3.11 |
|
|
| ## [7.3.10] - 2023-11-16 |
|
|
| ### General Cmdlet Updates and Fixes |
|
|
| - Redact Auth header content from ErrorRecord (Internal 28410) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Update .NET to 7.0.404</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Add internal .NET SDK URL parameter to release pipeline (Internal 28505)</li> |
| <li>Fix release build by making the internal SDK parameter optional (#20658) (Internal 28440)</li> |
| <li>Make internal .NET SDK URL as a parameter for release builld (#20655) (Internal 28428)</li> |
| <li>Update the Notices file and cgmanifest (Internal 28500)</li> |
| <li>Update .NET to 7.0.404 (Internal 28485)</li> |
| <li>Copy azure blob with PowerShell global tool to private blob and move to CDN during release (Internal 28448)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.10]: https://github.com/PowerShell/PowerShell/compare/v7.3.9...v7.3.10 |
|
|
| ## [7.3.9] - 2023-10-26 |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump .NET 7 to version 7.0.403</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Use correct agent pool for downloading from Azure blob</li> |
| <li>Remove a timeout value from ADO pipeline stage to resolve a syntax issue</li> |
| <li>Update .NET 7 and manifests (Internal 28148)</li> |
| <li>Add SBOM for release pipeline (#20519) (#20573)</li> |
| <li>Increase timeout when publishing packages to <code>pacakages.microsoft.com</code> (#20470) (#20572)</li> |
| <li>Use <code>fxdependent-win-desktop</code> runtime for compliance runs (#20326) (#20571)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.9]: https://github.com/PowerShell/PowerShell/compare/v7.3.8...v7.3.9 |
|
|
| ## [7.3.8] - 2023-10-10 |
|
|
| ### Security Fixes |
|
|
| - Block getting help from network locations in restricted remoting sessions (Internal 27698) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Build infrastructure maintenance</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Release build: Change the names of the PATs (#20316)</li> |
| <li>Add mapping for mariner arm64 stable (#20310)</li> |
| <li>Switch to GitHub Action for linting markdown (#20308)</li> |
| <li>Put the calls to <code>Set-AzDoProjectInfo</code> and Set-AzDoAuthToken` in the right order (#20311)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.8]: https://github.com/PowerShell/PowerShell/compare/v7.3.7...v7.3.8 |
|
|
| ## [7.3.7] - 2023-09-18 |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump .NET SDK version to 7.0.401</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update 'ThirdPartyNotices.txt' (Internal 27602)</li> |
| <li>Update to use .NET SDK 7.0.401 (Internal 27591)</li> |
| <li>Remove <code>HostArchitecture</code> dynamic parameter for <code>osxpkg</code> (#19917)</li> |
| <li>Remove spelling CI in favor of GitHub Action (#20248)</li> |
| <li>Enable vPack provenance data (#20253)</li> |
| <li>Start using new packages.microsoft.com cli (#20252)</li> |
| <li>Add mariner arm64 to PMC release (#20251)</li> |
| <li>Add mariner arm64 package build to release build (#20250)</li> |
| <li>Make PR creation tool use <code>--web</code> because it is more reliable (#20247)</li> |
| <li>Update variable used to bypass the blocking check for multiple NuGet feeds (#20246)</li> |
| <li>Publish rpm package for rhel9 (#20245)</li> |
| <li>Add runtime and packaging type info for mariner2 arm64 (#20244)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Documentation and Help Content |
|
|
| - Update man page to match current help for pwsh (#20249) |
|
|
| [7.3.7]: https://github.com/PowerShell/PowerShell/compare/v7.3.6...v7.3.7 |
|
|
| ## [7.3.6] - 2023-07-13 |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump .NET to 7.0.306 </p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update Notices file</li> |
| <li>Don't publish notice on failure because it prevents retry</li> |
| <li>Bump .NET to 7.0.306 (#19945)</li> |
| <li>Remove the property disabling optimization (#19952)</li> |
| <li>Add ProductCode in registry for MSI install (#19951)</li> |
| <li>Update variable used to bypass the blocking check for multiple NuGet feeds (#19953)</li> |
| <li>Change <code>System.Security.AccessControl</code> preview version to stable version (#19931)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Documentation and Help Content |
|
|
| - Update the link for getting started in `README.md` (#19947) |
|
|
| [7.3.6]: https://github.com/PowerShell/PowerShell/compare/v7.3.5...v7.3.6 |
|
|
| ## [7.3.5] - 2023-06-27 |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump to use .NET 7.0.305</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update the ThirdPartyNotice (Internal 26372)</li> |
| <li>Add PoolNames variable group to compliance pipeline (#19408)</li> |
| <li>Update cgmanifest.json</li> |
| <li>Update to .NET 7.0.304 (#19807)</li> |
| <li>Disable SBOM signing for CI and add extra files for packaging tests (#19729)</li> |
| <li>Increase timeout to make subsystem tests more reliable (#18380)</li> |
| <li>Increase the timeout when waiting for the event log (#19264)</li> |
| <li>Implement <code>IDisposable</code> in <code>NamedPipeClient</code> (#18341) (Thanks @xtqqczze!)</li> |
| <li>Always regenerate files wxs fragment (#19196)</li> |
| <li>Bump <code>Microsoft.PowerShell.MarkdownRender</code> (#19751)</li> |
| <li>Delete symbols on Linux as well (#19735)</li> |
| <li>Add prompt to fix conflict during backport (#19583)</li> |
| <li>Add backport function to release tools (#19568)</li> |
| <li>Add an explicit manual stage for changelog update (#19551)</li> |
| <li>Update the team member list in <code>releaseTools.psm1</code> (#19544)</li> |
| <li>Verify that packages have license data (#19543)</li> |
| <li>Fix the regex used for package name check in <code>vPack</code> build (#19511)</li> |
| <li>Make the vPack PAT library more obvious (#19505)</li> |
| <li>Update the metadata.json to mark 7.3 releases as latest for stable channel (#19565)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.5]: https://github.com/PowerShell/PowerShell/compare/v7.3.4...v7.3.5 |
|
|
| ## [7.3.4] - 2023-04-12 |
|
|
| ### Engine Updates and Fixes |
|
|
| - Add instrumentation to `AmsiUtil` and make the `init` variable readonly (#18727) |
| - Fix support for `NanoServer` due to the lack of AMSI (#18882) |
| - Adding missing guard for telemetry optout to avoid `NullReferenceException` when importing modules (#18949) (Thanks @powercode!) |
| - Fix `VtSubstring` helper method to correctly check chars copied (#19240) |
| - Fix `ConciseView` to handle custom `ParserError` error records (#19239) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump to use .NET 7.0.5</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update ThirdPartyNotices.txt</li> |
| <li>Update cgmanifest.json</li> |
| <li>Fix the template that creates nuget package</li> |
| <li>Update the wix file</li> |
| <li>Update to .NET SDK 7.0.203</li> |
| <li>Skip VT100 tests on Windows Server 2012R2 as console does not support it (#19413)</li> |
| <li>Improve package management acceptance tests by not going to the gallery (#19412)</li> |
| <li>Fix stage dependencies and typo in release build (#19353)</li> |
| <li>Fix issues in release build and release pipeline (#19338)</li> |
| <li>Restructure the package build to simplify signing and packaging stages (#19321)</li> |
| <li>Test fixes for stabilizing tests (#19068)</li> |
| <li>Add stage for symbols job in Release build (#18937)</li> |
| <li>Use reference assemblies generated by dotnet (#19302)</li> |
| <li>Add URL for all distributions (#19159)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.4]: https://github.com/PowerShell/PowerShell/compare/v7.3.3...v7.3.4 |
|
|
| ## [7.3.3] - 2023-02-23 |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump to use .NET 7.0.3</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update third party notices for v7.3.3 (Internal 24353)</li> |
| <li>Add tool to trigger license information gathering for NuGet modules (#18827)</li> |
| <li>Update global.json to 7.0.200 for v7.3.3 (Internal 24334)</li> |
| <li>Update cgmanifest for v7.3.3 (Internal 24338)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.3]: https://github.com/PowerShell/PowerShell/compare/v7.3.2...v7.3.3 |
|
|
| ## [7.3.2] - 2023-01-24 |
|
|
| ### Engine Updates and Fixes |
|
|
| - Fix `SuspiciousContentChecker.Match` to detect a predefined string when the text starts with it (#18916) |
| - Fix for JEA session leaking functions (Internal 23820) |
|
|
| ### General Cmdlet Updates and Fixes |
|
|
| - Fix `Start-Job` to check the existence of working directory using the PowerShell way (#18917) |
| - Fix `Switch-Process` error to include the command that is not found (#18650) |
|
|
| ### Tests |
|
|
| - Allow system lock down test debug hook to work with new `WLDP` API (fixes system lock down tests) (#18962) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump to use .NET 7.0.2</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update dependencies for .NET release (Internal 23818)</li> |
| <li>Remove unnecessary reference to <code>System.Runtime.CompilerServices.Unsafe</code> (#18918)</li> |
| <li>Add bootstrap after SBOM task to re-install .NET (#18891)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.2]: https://github.com/PowerShell/PowerShell/compare/v7.3.1...v7.3.2 |
|
|
| ## [7.3.1] - 2022-12-13 |
|
|
| ### Engine Updates and Fixes |
|
|
| - Remove TabExpansion for PSv2 from remote session configuration (Internal 23331) |
| - Add `sqlcmd` to list to use legacy argument passing (#18645 #18646) |
| - Change `exec` from alias to function to handle arbitrary args (#18644) |
| - Fix `Switch-Process` to copy the current env to the new process (#18632) |
| - Fix issue when completing the first command in a script with an empty array expression (#18355) |
| - Fix `Switch-Process` to set `termios` appropriate for child process (#18572) |
| - Fix native access violation (#18571) |
|
|
| ### Tests |
|
|
| - Backport CI fixed from #18508 (#18626) |
| - Mark charset test as pending (#18609) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update packages (Internal 23330)</li> |
| <li>Apply expected file permissions to linux files after authenticode signing (#18647)</li> |
| <li>Bump <code>System.Data.SqlClient</code> (#18573)</li> |
| <li>Don't install based on build-id for RPM (#18570)</li> |
| <li>Work around args parsing issue (#18607)</li> |
| <li>Fix package download in <code>vPack</code> job</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.1]: https://github.com/PowerShell/PowerShell/compare/v7.3.0...v7.3.1 |
|
|
| ## [7.3.0] - 2022-11-08 |
|
|
| ### General Cmdlet Updates and Fixes |
|
|
| - Correct calling cmdlet `New-PSSessionOption` in script for `Restart-Computer` (#18374) |
|
|
| ### Tests |
|
|
| - Add test for framework dependent package in release pipeline (Internal 23139) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>Bump to use internal .NET 7 GA build (Internal 23096)</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Fix issues with building test artifacts (Internal 23116)</li> |
| <li>Use <code>AzFileCopy</code> task instead of <code>AzCopy.exe</code></li> |
| <li>Remove <code>AzCopy</code> installation from msixbundle step</li> |
| <li>Add TSAUpload for APIScan (#18446)</li> |
| <li>Add authenticode signing for assemblies on Linux builds (#18440)</li> |
| <li>Do not remove <code>penimc_cor3.dll</code> from build (#18438)</li> |
| <li>Allow two-digit revisions in vPack package validation pattern (#18392)</li> |
| <li>Bump <code>Microsoft.PowerShell.Native</code> from <code>7.3.0-rc.1</code> to <code>7.3.0</code> (#18413)</li> |
| </ul> |
| |
| </details> |
| |
| [7.3.0]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-rc.1...v7.3.0 |
| |
| ## [7.3.0-rc.1] - 2022-10-26 |
| |
| ### Breaking Change |
| |
| - Update to use `ComputeCore.dll` for PowerShell Direct (#18194) |
| |
| ### Engine Updates and Fixes |
| |
| - On Unix, explicitly terminate the native process during cleanup only if it's not running in background (#18215) |
| |
| ### General Cmdlet Updates and Fixes |
| |
| - Remove the `ProcessorArchitecture` portion from the full name as it's obsolete (#18320) |
| |
| ### Tests |
| |
| - Add missing `-Tag 'CI'` to describe blocks. (#18317) |
| |
| ### Build and Packaging Improvements |
| |
| <details> |
| |
| <summary> |
| <p>Bump to .NET 7 to <code>7.0.100-rc.2.22477.20</code> (#18328)(#18286)</p> |
| </summary> |
| |
| <ul> |
| <li>Update ThirdPartyNotices (Internal 22987)</li> |
| <li>Remove API sets (#18304) (#18376)</li> |
| <li>Do not cleanup <code>pwsh.deps.json</code> for framework dependent packages (#18300)</li> |
| <li>Bump <code>Microsoft.PowerShell.Native</code> from <code>7.3.0-preview.1</code> to <code>7.3.0-rc.1</code> (#18217)</li> |
| <li>Remove unnecessary native dependencies from the package (#18213)</li> |
| <li>Make the link to minimal package blob public during release (#18158)</li> |
| <li>Create tasks to collect and publish hashes for build files. (#18276)(#18277)</li> |
| <li>Add branch counter to compliance build (#18214)</li> |
| <li>Move APIScan to compliance build (#18191)</li> |
| <li>Update MSI exit message (#18137)</li> |
| <li>Remove XML files for min-size package (#18189)</li> |
| </ul> |
| |
| </details> |
| |
| [7.3.0-rc.1]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.8...v7.3.0-rc.1 |
| |
| ## [7.3.0-preview.8] - 2022-09-20 |
| |
| ### General Cmdlet Updates and Fixes |
| |
| - Filter out compiler generated types for `Add-Type -PassThru` (#18095) |
| - Fix error formatting to use color defined in `$PSStyle.Formatting` (#17987) |
| - Handle `PSObject` argument specially in method invocation logging (#18060) |
| - Revert the experimental feature `PSStrictModeAssignment` (#18040) |
| - Make experimental feature `PSAMSIMethodInvocationLogging` stable (#18041) |
| - Make experimental feature `PSAnsiRenderingFileInfo` stable (#18042) |
| - Make experimental feature `PSCleanBlock` stable (#18043) |
| - Make experimental feature `PSNativeCommandArgumentPassing` stable (#18044) |
| - Make experimental feature `PSExec` stable (#18045) |
| - Make experimental feature `PSRemotingSSHTransportErrorHandling` stable (#18046) |
| - Add the `ConfigurationFile` option to the PowerShell help content (#18093) |
| |
| ### Build and Packaging Improvements |
| |
| <summary> |
| <p>Bump .NET SDK to version `7.0.100-rc.1`</p> |
| </summary> |
| |
| <details> |
| <ul> |
| <li>Update ThirdPartyNotices.txt for 7.3.0-preview.8 (Internal 22553)</li> |
| <li>Update cgmanifest.json for 7.3.0-preview.8 (Internal 22551)</li> |
| <li>Re-enable building with Ready-to-Run (#18107)</li> |
| <li>Make sure <code>Security.types.ps1xml</code> gets signed in release build (#17930)</li> |
| <li>Update <code>DotnetRuntimeMetadata.json</code> for .NET 7 RC1 build (#18106)</li> |
| <li>Add XML reference documents to NuPkg files for SDK (#18017)</li> |
| <li>Make Register MU timeout (#17995)</li> |
| <li>Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0 (#17924)</li> |
| <li>Update list of PS team members in release tools (#17928)</li> |
| <li>Update to use version 2.21.0 of Application Insights (#17927)</li> |
| <li>Complete ongoing <code>Write-Progress</code> in test (#17922)</li> |
| </ul> |
| </details> |
| |
| [7.3.0-preview.8]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.7...v7.3.0-preview.8 |
| |
| ## [7.3.0-preview.7] - 2022-08-09 |
| |
| ### Breaking Changes |
| |
| - Move the type data definition of `System.Security.AccessControl.ObjectSecurity` to the `Microsoft.PowerShell.Security` module (#16355) (Thanks @iSazonov!) |
| |
| ### Engine Updates and Fixes |
| |
| - Enable searching for assemblies in `GAC_Arm64` on Windows (#17816) |
| - Fix parser exception in using statements with empty aliases (#16745) (Thanks @MartinGC94!) |
| - Do not always collapse space between parameter and value for native arguments. (#17708) |
| - Remove `PSNativePSPathResolution` experimental feature (#17670) |
|
|
| ### General Cmdlet Updates and Fixes |
|
|
| - Fix for deserializing imported ordered dictionary (#15545) (Thanks @davidBar-On!) |
| - Make generated implicit remoting modules backward compatible with PowerShell 5.1 (#17227) (Thanks @Tadas!) |
| - Re-enable IDE0031: Use Null propagation (#17811) (Thanks @fflaten!) |
| - Allow commands to still be executed even if the current working directory no longer exists (#17579) |
| - Stop referencing `Microsoft.PowerShell.Security` when the core snapin is used (#17771) |
| - Add support for HTTPS with `Set-AuthenticodeSignature -TimeStampServer` (#16134) (Thanks @Ryan-Hutchison-USAF!) |
| - Add type accelerator `ordered` for `OrderedDictionary` (#17804) (Thanks @fflaten!) |
| - Fix the definition of the `PDH_COUNTER_INFO` struct (#17779) |
| - Adding Virtualization Based Security feature names to Get-ComputerInfo (#16415) (Thanks @mattifestation!) |
| - Fix `FileSystemProvider` to work with volume and pipe paths (#15873) |
| - Remove pre-parse for array-based JSON (#15684) (Thanks @strawgate!) |
| - Improve type inference for `$_` (#17716) (Thanks @MartinGC94!) |
| - Prevent braces from being removed when completing variables (#17751) (Thanks @MartinGC94!) |
| - Fix type inference for `ICollection` (#17752) (Thanks @MartinGC94!) |
| - Fix `Test-Json` not handling non-object types at root (#17741) (Thanks @dkaszews!) |
| - Change `Get-ChildItem` to treat trailing slash in path as indicating a directory when used with `-Recurse` (#17704) |
| - Add `find.exe` to legacy argument binding behavior for Windows (#17715) |
| - Add completion for index expressions for dictionaries (#17619) (Thanks @MartinGC94!) |
| - Fix enum-ranges for `ValidateRange` in proxy commands (#17572) (Thanks @fflaten!) |
| - Fix type completion for attribute tokens (#17484) (Thanks @MartinGC94!) |
| - Add `-noprofileloadtime` switch to `pwsh` (#17535) (Thanks @rkeithhill!) |
| - Fix legacy `ErrorView` types to use `$host.PrivateData` colors (#17705) |
| - Improve dynamic parameter tab completion (#17661) (Thanks @MartinGC94!) |
| - Avoid binding positional parameters when completing parameter in front of value (#17693) (Thanks @MartinGC94!) |
| - Render decimal numbers in a table using current culture (#17650) |
|
|
| ### Code Cleanup |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
| <p>@fflaten, @Molkree, @eltociear</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Fix other path constructions using <code>Path.Join</code> (#17825)</li> |
| <li>Use null propagation (#17787)(#17789)(#17790)(#17791)(#17792)(#17795) (Thanks @fflaten!)</li> |
| <li>Re-enable compound assignment preference (#17784) (Thanks @Molkree!)</li> |
| <li>Use null-coalescing assignment (#17719)(#17720)(#17721)(#17722)(#17723)(#17724)(#17725)(#17726)(#17727)(#17728)(#17729) (Thanks @Molkree!)</li> |
| <li>Disable the warning <code>IDE0031</code> to take .NET 7 Preview 7 (#17770)</li> |
| <li>Fix typo in <ode>ModuleCmdletBase.cs</code> (#17714) (Thanks @eltociear!)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Tests |
|
|
| - Re-enable tests because the corresponding dotnet issues were fixed (#17839) |
| - Add test for `LanguageMode` using remoting (#17803) (Thanks @fflaten!) |
| - Fix test perf by stopping ongoing `write-progress` (#17749) (Thanks @fflaten!) |
| - Re-enable the test `TestLoadNativeInMemoryAssembly` (#17738) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
| <p>@varunsh-coder, @dkaszews, @Molkree, @ChuckieChen945</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update release pipeline to use Approvals and automate some manual tasks (#17837)</li> |
| <li>Add GitHub token permissions for workflows (#17781) (Thanks @varunsh-coder!)</li> |
| <li>Bump actions/github-script from 3 to 6 (#17842)</li> |
| <li>Bump cirrus-actions/rebase from 1.6 to 1.7 (#17843)</li> |
| <li>Remove unneeded verbose message in build (#17840)</li> |
| <li>Detect default runtime using dotnet --info in build.psm1 (#17818) (Thanks @dkaszews!)</li> |
| <li>Bump <code>actions/checkout</code> from 2 to 3 (#17828)</li> |
| <li>Bump <code>actions/download-artifact</code> from 2 to 3 (#17829)</li> |
| <li>Bump <code>github/codeql-action</code> from 1 to 2 (#17830)</li> |
| <li>Bump <code>peter-evans/create-pull-request</code> from 3 to 4 (#17831)</li> |
| <li>Bump <code>actions/upload-artifact</code> from 2 to 3 (#17832)</li> |
| <li>Enable Dependabot for GitHub Actions (#17775) (Thanks @Molkree!)</li> |
| <li>Update .NET SDK version from <code>7.0.100-preview.6.22352.1</code> to <code>7.0.100-preview.7.22377.5</code> (#17776)</li> |
| <li>Fix a bug in <code>install-powershell.ps1</code> (#17794) (Thanks @ChuckieChen945!)</li> |
| <li>Bump xunit from 2.4.1 to 2.4.2 (#17817)</li> |
| <li>Update how to update homebrew (#17798)</li> |
| <li>Don't run link check on forks (#17797)</li> |
| <li>Update dotnetmetadata.json to start consuming .NET 7 preview 7 builds (#17736)</li> |
| <li>Bump PackageManagement from 1.4.7 to 1.4.8.1 (#17709)</li> |
| <li>Exclude ARM images from running in CI (#17713)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Documentation and Help Content |
|
|
| - Update the comment about why R2R is disabled (#17850) |
| - Update changelog and `.spelling` for `7.3.0-preview.6` release (#17835) |
| - Updated `ADOPTERS.md` for Power BI (#17766) |
| - Update README.md with the current Fedora version (#15717) (Thanks @ananya26-vishnoi!) |
| - Update `README` and `metadata.json` for next release (#17676) (Thanks @SeeminglyScience!) |
|
|
| [7.3.0-preview.7]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.6...v7.3.0-preview.7 |
|
|
| ## [7.3.0-preview.6] - 2022-07-18 |
|
|
| ### General Cmdlet Updates and Fixes |
|
|
| - Fix `Export-PSSession` to not throw error when a rooted path is specified for `-OutputModule` (#17671) |
| - Change `ConvertFrom-Json -AsHashtable` to use ordered hashtable (#17405) |
| - Remove potential ANSI escape sequences in strings before using in `Out-GridView` (#17664) |
| - Add the `-Milliseconds` parameter to `New-TimeSpan` (#17621) (Thanks @NoMoreFood!) |
| - Update `Set-AuthenticodeSignature` to use `SHA256` as the default (#17560) (Thanks @jborean93!) |
| - Fix tab completion regression when completing `ValidateSet` values (#17628) (Thanks @MartinGC94!) |
| - Show optional parameters as such when displaying method definition and overloads (#13799) (Thanks @eugenesmlv!) |
|
|
| ### Code Cleanup |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
| <p>@sethvs, @MartinGC94, @eltociear</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Fix comment in InternalCommands.cs (#17669) (Thanks @sethvs!)</li> |
| <li>Use discards for unused variables (#17620) (Thanks @MartinGC94!)</li> |
| <li>Fix typo in CommonCommandParameters.cs (#17524) (Thanks @eltociear!)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Tests |
|
|
| - Fix SDK tests for release build (#17678) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
| <p>@tamasvajk</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Create test artifacts for Windows ARM64 (#17675)</li> |
| <li>Update to the latest NOTICES file (#17607)</li> |
| <li>Update .NET SDK version from <code>7.0.100-preview.5.22307.18</code> to <code>7.0.100-preview.6.22352.1</code> (#17634)</li> |
| <li>Set the compound assignment preference to false (#17632)</li> |
| <li>Update DotnetMetadata.json to start consuming .NET 7 Preview 6 builds (#17630)</li> |
| <li>Install .NET 3.1 as it is required by the vPack task (#17600)</li> |
| <li>Update to use PSReadLine <code>v2.2.6</code> (#17595)</li> |
| <li>Fix <code>build.psm1</code> to not specify both version and quality for <code>dotnet-install</code> (#17589) (Thanks @tamasvajk!)</li> |
| <li>Bump Newtonsoft.Json in /test/perf/dotnet-tools/Reporting (#17592)</li> |
| <li>Bump Newtonsoft.Json in /test/perf/dotnet-tools/ResultsComparer (#17566)</li> |
| <li>Disable RPM SBOM test. (#17532)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Documentation and Help Content |
|
|
| - Remove `katacoda.com` from doc as it now returns 404 (#17625) |
| - Update changelog for `v7.2.5` and `v7.3.0-preview.5` (#17565) |
| - Update `README.md` and `metadata.json` for upcoming releases (#17526) |
|
|
| [7.3.0-preview.6]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.5...v7.3.0-preview.6 |
|
|
| ## [7.3.0-preview.5] - 2022-06-21 |
|
|
| ### Engine Updates and Fixes |
|
|
| - Improve type inference and completions (#16963) (Thanks @MartinGC94!) |
| - Make `Out-String` and `Out-File` keep string input unchanged (#17455) |
| - Make `AnsiRegex` able to capture Hyperlink ANSI sequences (#17442) |
| - Add the `-ConfigurationFile` command-line parameter to `pwsh` to support local session configuration (#17447) |
| - Fix native library loading for `osx-arm64` (#17365) (Thanks @awakecoding!) |
| - Fix formatting to act appropriately when the style of table header or list label is empty string (#17463) |
|
|
| ### General Cmdlet Updates and Fixes |
|
|
| - Fix various completion issues inside the `param` block (#17489) (Thanks @MartinGC94!) |
| - Add Amended switch to `Get-CimClass` cmdlet (#17477) (Thanks @iSazonov!) |
| - Improve completion on operators (#17486) (Thanks @MartinGC94!) |
| - Improve array element completion for command arguments (#17078) (Thanks @matt9ucci!) |
| - Use AST extent for `PSScriptRoot` path completion (#17376) |
| - Add type inference support for generic methods with type parameters (#16951) (Thanks @MartinGC94!) |
| - Write out OSC indicator only if the `stdout` is not redirected (#17419) |
| - Remove the assert and use a relatively larger capacity to cover possible increase of .NET reference assemblies (#17423) |
| - Increase reference assembly count to 161 (#17420) |
|
|
| ### Code Cleanup |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
| <p>@Yulv-git, @eltociear</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Fix some typos in source code (#17481) (Thanks @Yulv-git!)</li> |
| <li>Fix typo in `AsyncResult.cs` (#17396) (Thanks @eltociear!)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Tools |
|
|
| - Update script to pin to .NET 7 preview 5 version (#17448) |
| - Start-PSPester: argument completer for `-Path` (#17334) (Thanks @powercode!) |
| - Add reminder workflows (#17387) |
| - Move to configuring the fabric bot via JSON (#17411) |
| - Update Documentation Issue Template URL (#17410) (Thanks @michaeltlombardi!) |
| - Update script to automatically take new preview prerelease builds (#17375) |
|
|
| ### Tests |
|
|
| - Make Assembly Load Native test work on a FX Dependent Linux Install (#17380) |
| - Update `Get-Error` test to not depend on DNS APIs (#17471) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <ul> |
| <li>Update .NET SDK version from <code>7.0.100-preview.4.22252.9</code> to <code>7.0.100-preview.5.22307.18</code> (#17402)</li> |
| <li>Downgrade the <code>Microsoft.CodeAnalysis.NetAnalyzers</code> package to <code>7.0.0-preview1.22217.1</code> (#17515)</li> |
| <li>Rename mariner package to cm (#17505)</li> |
| <li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#17476)</li> |
| <li>Bump <code>NJsonSchema</code> from 10.7.1 to 10.7.2 (#17475)</li> |
| <li>Publish preview versions of mariner to preview repo (#17451)</li> |
| <li>Update to the latest NOTICES file (#17421)</li> |
| <li>Do not publish package for Mariner 1.0 (#17415)</li> |
| <li>Add <code>AppX</code> capabilities in MSIX manifest so that PS7 can call the <code>AppX</code> APIs (#17416)</li> |
| <li>Update to the latest NOTICES file (#17401)</li> |
| <li>Fix mariner mappings (#17413)</li> |
| <li>Update the cgmanifest (#17393)</li> |
| <li>Bump `NJsonSchema` from `10.7.0` to `10.7.1` (#17381)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Documentation and Help Content |
|
|
| - Update to the latest NOTICES file (#17493) (Thanks @github-actions[bot]!) |
| - Update the cgmanifest (#17478) (Thanks @github-actions[bot]!) |
| - Correct spelling in Comments and tests (#17480) (Thanks @Yulv-git!) |
| - Fix spelling errors introduced in changelog (#17414) |
| - Update changelog for v7.3.0-preview.4 release (#17412) |
| - Update readme and metadata for 7.3.0-preview.4 release (#17378) |
|
|
| [7.3.0-preview.5]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.4...v7.3.0-preview.5 |
|
|
| ## [7.3.0-preview.4] - 2022-05-23 |
|
|
| ### Engine Updates and Fixes |
|
|
| <ul> |
| <li>Remove the use of <code>BinaryFormatter</code> in PSRP serialization (#17133) (Thanks @jborean93!)</li> |
| <li>Update telemetry collection removing unused data and adding some new data (#17304)</li> |
| <li>Fix the word wrapping in formatting to handle escape sequences properly (#17316)</li> |
| <li>Fix the error message in Hashtable-to-object conversion (#17329)</li> |
| <li>Add support for new WDAC API (#17247)</li> |
| <li>On Windows, reset cursor visibility back to previous state when rendering progress (#16782)</li> |
| <li>Fix the list view to not leak VT decorations (#17262)</li> |
| <li>Fix formatting truncation to handle strings with VT sequences (#17251)</li> |
| <li>Fix line breakpoints for <code>return</code> statements without a value (#17179)</li> |
| <li>Fix for partial PowerShell module search paths, that can be resolved to CWD locations (#17231) (Internal 20126)</li> |
| <li>Change logic in the testing helper module for determining whether <code>PSHOME</code> is writable (#17218)</li> |
| <li>Make a variable assignment in a <code>ParenExpression</code> to return the variable value (#17174)</li> |
| <li>Use new Windows signature APIs from <code>Microsoft.Security.Extensions</code> package (#17159)</li> |
| <li>Do not include node names when sending telemetry. (#16981)</li> |
| <li>Support forward slashes in network share (UNC path) completion (#17111) (#17117) (Thanks @sba923!)</li> |
| <li>Do not generate clean block in proxy function when the feature is disabled (#17112)</li> |
| <li>Ignore failure attempting to set console window title (#16948)</li> |
| <li>Update regex used to remove ANSI escape sequences to be more specific to decoration and CSI sequences (#16811)</li> |
| <li>Improve member auto completion (#16504) (Thanks @MartinGC94!)</li> |
| <li>Prioritize <code>ValidateSet</code> completions over Enums for parameters (#15257) (Thanks @MartinGC94!)</li> |
| <li>Add Custom Remote Connections Feature (#17011)</li> |
| </ul> |
|
|
| ### General Cmdlet Updates and Fixes |
|
|
| <ul> |
| <li>Add check for <code>ScriptBlock</code> wrapped in <code>PSObject</code> to <code>$using</code> used in <code>ForEach-Object -Parallel</code> (#17234) (Thanks @ryneandal!)</li> |
| <li>Fix <code>ForEach</code> method to set property on a scalar object (#17213)</li> |
| <li>Fix <code>Sort-Object -Stable -Unique</code> to actually do stable sorting (#17189) (Thanks @m1k0net!)</li> |
| <li>Add <code>OutputType</code> attribute to various commands (#16962) (Thanks @MartinGC94!)</li> |
| <li>Make <code>Stop-Service</code> only request needed privileges when not setting SDDL. (#16663) (Thanks @kvprasoon!)</li> |
| </ul> |
|
|
| ### Code Cleanup |
|
|
| <ul> |
| <li>Remove <code>EventLogLogProvider</code> and its related legacy code (#17027)</li> |
| <li>Fix typos in names of method (#17003) (Thanks @al-cheb!)</li> |
| <li>SemanticChecks: Avoid repeated type resolution of <code>[ordered]</code> (#17328) (Thanks IISResetMe!)</li> |
| <li>Redo the change that was reverted by #15853 (#17357)</li> |
| <li>Correct spelling of <code>pseudo</code> in <code>Compiler.cs</code> (#17285) (Thanks @eltociear!)</li> |
| <li>Make<code>NameObscurerTelemetryInitializer</code> internal (#17214)</li> |
| <li>Make <code>NameObscurerTelemetryInitializer</code> internal (#17167)</li> |
| <li>Correct Typo in the resource string <code>PathResolvedToMultiple</code> (#17098) (Thanks @charltonstanley!)</li> |
| <li>Fix typo in <code>ComRuntimeHelpers.cs</code> (#17104) (Thanks @eltociear!)</li> |
| </ul> |
|
|
| ### Documentation and Help Content |
|
|
| <ul> |
| <li>Update link to PowerShell remoting in depth video (#17166)</li> |
| </ul> |
|
|
| ### Tests |
|
|
| <ul> |
| <li>Add <code>-because</code> to the failing test to aid in debugging (#17030)</li> |
| <li>Simplify Enum generator for the <code>-bnot</code> operator test (#17014)</li> |
| <li>Improve unique naming for tests (#17043)</li> |
| <li>Use a random string for the missing help topic to improve the chances that the help topic really won't be found. (#17042)</li> |
| </ul> |
|
|
| ### Build and Packaging Improvements |
|
|
| <ul> |
| <li>Update <code>README.md</code> and <code>metadata.json</code> for v7.3.0-preview.3 release (#17029)</li> |
| <li>Do not pull dotnet updates from internal feed (#17007)</li> |
| <li>Simplify <code>Get-WSManSupport</code> based on current .NET Distro Support (#17356)</li> |
| <li>Update to the latest NOTICES file (#17372, #17332, #17311, #17275)</li> |
| <li>Run on every PR and let the action skip (#17366)</li> |
| <li>Make sure verbose message is not null (#17363)</li> |
| <li>Release changelogs (#17364)</li> |
| <li>Update build versions (#17318)</li> |
| <li>Add Daily Link Check GitHub Workflow (#17351)</li> |
| <li>Update the cgmanifest (#17361, #17344, #17324, #17302, #17268)</li> |
| <li>Bump <code>NJsonSchema</code> from <code>10.6.10</code> to <code>10.7.0</code> (#17350)</li> |
| <li>Disable broken macOS CI job, which is unused (#17221)</li> |
| <li>Have rebase workflow Post a message when it starts (#17341)</li> |
| <li>Update <code>DotnetRuntimeMetadata.json</code> for .NET 7 Preview 4 (#17336)</li> |
| <li>Update Ubuntu 22 to be detected as not supported WSMan (#17338)</li> |
| <li>Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 (#17274)</li> |
| <li>Make sure we execute tests on LTS package for older LTS releases (#17326)</li> |
| <li>Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 (#17320)</li> |
| <li>Add fedora to the OS's that can't run WSMan (#17325)</li> |
| <li>Add sles15 support to <code>install-powershell.sh</code> (#16984)</li> |
| <li>Start rotating through all images (#17315)</li> |
| <li>Update .NET SDK version from <code>7.0.100-preview.2.22153.17</code> to <code>7.0.100-preview.4.22252.9</code> (#17061)</li> |
| <li>Disable release security analysis for SSH CI (#17303)</li> |
| <li>Add a finalize template which causes jobs with issues to fail (#17314)</li> |
| <li>Add mapping for ubuntu22.04 jammy (#17317)</li> |
| <li>Enable more tests to be run in a container. (#17294)</li> |
| <li>Fix <code>build.psm1</code> to find the required .NET SDK version when a higher version is installed (#17299)</li> |
| <li>Improve how Linux container CI builds are identified (#17295)</li> |
| <li>Only inject NuGet security analysis if we are using secure <code>nuget.config</code> (#17293)</li> |
| <li>Reduce unneeded verbose message from <code>build.psm1</code> (#17291)</li> |
| <li>Switch to using GitHub action to verify Markdown links for PRs (#17281)</li> |
| <li>Put Secure supply chain analysis at correct place (#17273)</li> |
| <li>Fix build id variable name when selecting CI container (#17279)</li> |
| <li>Add rotation between the two mariner images (#17277)</li> |
| <li>Update to use <code>mcr.microsoft.com</code> (#17272)</li> |
| <li>Update engine working group members (#17271)</li> |
| <li>Bump PSReadLine from 2.2.2 to 2.2.5 in /src/Modules (#17252)</li> |
| <li>Update timeout for daily (#17263)</li> |
| <li>Bump NJsonSchema from 10.6.9 to 10.6.10 (#16902)</li> |
| <li>Update the <code>cgmanifest</code> (#17260)</li> |
| <li>Fix Generate checksum file for packages build failure - v7.1.7 (#17219) (Internal 20274)</li> |
| <li>Move <code>cgmanifest</code> generation to daily (#17258)</li> |
| <li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#17245)</li> |
| <li>Update to the latest notice file (#17238)</li> |
| <li>Add container to Linux CI (#17233)</li> |
| <li>Mark <code>Microsoft.Management.Infrastructure.Runtime.Win</code> as a developer dependency to hide in notice file (#17230)</li> |
| <li>Fixing dotnet SDK version parsing in <code>build.psm1</code> (#17198) (Thanks @powercode!)</li> |
| <li>Fixed package names verification to support multi-digit versions (#17220)</li> |
| <li>Bump Microsoft.CodeAnalysis.CSharp from 4.2.0-1.final to 4.2.0-4.final (#17210)</li> |
| <li>Add backport action (#17212)</li> |
| <li>Updated changelogs for v7.0.9 / v7.0.10 / v7.1.6 / v7.1.7 / v7.2.2 / v7.2.3 (#17207)</li> |
| <li>Updated metadata.json and README.md for v7.2.3 and v7.0.10 (#17158)</li> |
| <li>Update package fallback list for ubuntu (from those updated for ubuntu 22.04) (deb) (#17180)</li> |
| <li>Update <code>wix</code> to include security extensions package (#17171)</li> |
| <li>Update rebase.yml (#17170)</li> |
| <li>Adds sha256 digests to RPM packages (#16896) (Thanks @ngharo!)</li> |
| <li>Make mariner packages Framework dependent (#17151)</li> |
| <li>Update to the latest notice file (#17169)</li> |
| <li>Update to the latest notice file (#17146)</li> |
| <li>Replace <code>.</code> in notices container name (#17154)</li> |
| <li>Allow multiple installations of dotnet. (#17141)</li> |
| <li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#17105)</li> |
| <li>Update to the latest notice file (#16437)</li> |
| <li>Skip failing scriptblock tests (#17093)</li> |
| <li>Update dotnet-install script download link (#17086)</li> |
| <li>Fix the version of the <code>Microsoft.CodeAnalysis.NetAnalyzers</code> package (#17075)</li> |
| <li>Update <code>dotnetmetadata.json</code> to accept .NET 7 preview 3 builds (#17063)</li> |
| <li>Re-enable <code>PowerShellGet</code> tests targeting PowerShell gallery (#17062)</li> |
| <li>Add mariner 1.0 amd64 package (#17057)</li> |
| <li>Create checksum file for global tools (#17056)</li> |
| <li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#17065)</li> |
| <li>Use new cask format (#17064)</li> |
| </ul> |
|
|
| [7.3.0-preview.4]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.3...v7.3.0-preview.4 |
|
|
| ## [7.3.0-preview.3] - 2022-03-21 |
|
|
| ### Engine Updates and Fixes |
|
|
| - Fix the parsing code for .NET method generic arguments (#16937) |
| - Allow the `PSGetMemberBinder` to get value of `ByRef` property (#16956) |
| - Allow a collection that contains `Automation.Null` elements to be piped to pipeline (#16957) |
|
|
| ### General Cmdlet Updates and Fixes |
|
|
| - Add the module `CompatPowerShellGet` to the allow-list of telemetry modules (#16935) |
| - Fix `Enter-PSHostProcess` and `Get-PSHostProcessInfo` cmdlets by handling processes that have exited (#16946) |
| - Improve Hashtable completion in multiple scenarios (#16498) (Thanks @MartinGC94!) |
|
|
| ### Code Cleanup |
|
|
| - Fix a typo in `CommandHelpProvider.cs` (#16949) (Thanks @eltociear!) |
|
|
| ### Tests |
|
|
| - Update a few tests to make them more stable in CI (#16944) |
| - Roll back Windows images used in testing to Windows Server 2019 (#16958) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
| <p>Update .NET SDK to 7.0.0-preview.2</p> |
| </summary> |
|
|
| <ul> |
| <li>Update .NET to 7.0.0-preview.2 build (#16930)</li> |
| <li>Update <code>AzureFileCopy</code> task and fix the syntax for specifying <code>pool</code> (#17013)</li> |
| </ul> |
|
|
| </details> |
|
|
| [7.3.0-preview.3]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.2...v7.3.0-preview.3 |
|
|
| ## [7.3.0-preview.2] - 2022-02-24 |
|
|
| ### Engine Updates and Fixes |
|
|
| - Fix the `clean` block for generated proxy function (#16827) |
| - Add support to allow invoking method with generic type arguments (#12412 and #16822) (Thanks @vexx32!) |
| - Report error when PowerShell built-in modules are missing (#16628) |
|
|
| ### General Cmdlet Updates and Fixes |
|
|
| - Prevent command completion if the word to complete is a single dash (#16781) (Thanks @ayousuf23!) |
| - Use `FindFirstFileW` instead of `FindFirstFileExW` to correctly handle Unicode filenames on FAT32 (#16840) (Thanks @iSazonov!) |
| - Add completion for loop labels after Break/Continue (#16438) (Thanks @MartinGC94!) |
| - Support OpenSSH options for `PSRP` over SSH commands (#12802) (Thanks @BrannenGH!) |
| - Adds a `.ResolvedTarget` Property to `File-System` Items to Reflect a Symlink's Target as `FileSystemInfo` (#16490) (Thanks @hammy3502!) |
| - Use `NotifyEndApplication` to re-enable VT mode (#16612) |
| - Add new parameter to `Start-Sleep`: `[-Duration] <timespan>` (#16185) (Thanks @IISResetMe!) |
| - Add lock and null check to remoting internals (#16542) (#16683) (Thanks @SergeyZalyadeev!) |
| - Make `Measure-Object` ignore missing properties unless running in strict mode (#16589) (Thanks @KiwiThePoodle!) |
| - Add `-StrictMode` to `Invoke-Command` to allow specifying strict mode when invoking command locally (#16545) (Thanks @Thomas-Yu!) |
| - Fix `$PSNativeCommandArgPassing` = `Windows` to handle empty args correctly (#16639) |
| - Reduce the amount of startup banner text (#16516) (Thanks @rkeithhill!) |
| - Add `exec` cmdlet for bash compatibility (#16462) |
| - Add AMSI method invocation logging as experimental feature (#16496) |
| - Fix web cmdlets so that an empty `Get` does not include a `content-length` header (#16587) |
| - Update `HelpInfoUri` for 7.3 release (#16646) |
| - Fix parsing `SemanticVersion` build label from version string (#16608) |
| - Fix `ForEach-Object -Parallel` when passing in script block variable (#16564) |
|
|
| ### Code Cleanup |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
| <p>@eltociear, @iSazonov, @xtqqczze</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Fix typo in PowerShellExecutionHelper.cs (#16776) (Thanks @eltociear!)</li> |
| <li>Use more efficient platform detection API (#16760) (Thanks @iSazonov!)</li> |
| <li>Seal <code>ClientRemotePowerShell</code> (#15802) (Thanks @xtqqczze!)</li> |
| <li>Fix the DSC overview URL in a Markdown file and some small cleanup changes (#16629)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Tools |
|
|
| - Fix automation to update experimental JSON files in GitHub action (#16837) |
|
|
| ### Tests |
|
|
| - Update `markdownlint` to the latest version (#16825) |
| - Bump the package `path-parse` from `1.0.6` to `1.0.7` (#16820) |
| - Remove assert that is incorrect and affecting our tests (#16588) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
| <p>@dahlia</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Update NuGet Testing to not re-install dotnet, |
| when not needed and dynamically determine the DOTNET_ROOT (Internal 19268, 19269, 19272, 19273, and 19274)</li> |
| <li>Remove SkipExperimentalFeatureGeneration when building alpine (Internal 19248)</li> |
| <li>Revert .NET 7 changes, Update to the latest .NET 6 and Update WXS file due to blocking issue in .NET 7 Preview 1 </li> |
| <li>Install and Find AzCopy</li> |
| <li>Use Start-PSBootStrap for installing .NET during nuget packaging</li> |
| <li>Fix pool syntax for deployments (Internal 19189)</li> |
| <li>Bump NJsonSchema from 10.5.2 to 10.6.9 (#16888)</li> |
| <li>Update projects and scripts to use .NET 7 preview 1 prerelease builds (#16856)</li> |
| <li>Add warning messages when package precheck fails (#16867)</li> |
| <li>Refactor Global Tool packaging to include SBOM generation (#16860)</li> |
| <li>Update to use <code>windows-latest</code> as the build agent image (#16831)</li> |
| <li>Ensure alpine and arm SKUs have <code>powershell.config.json</code> file with experimental features enabled (#16823)</li> |
| <li>Update experimental feature json files (#16838) (Thanks @github-actions[bot]!)</li> |
| <li>Remove WiX install (#16834)</li> |
| <li>Add experimental json update automation (#16833)</li> |
| <li>Update .NET SDK to 6.0.101 and fix <code>Microsoft.PowerShell.GlobalTool.Shim.csproj</code> (#16821)</li> |
| <li>Add SBOM manifest to nuget packages (#16711)</li> |
| <li>Improve logic for updating .NET in CI (#16808)</li> |
| <li>Add Linux package dependencies for packaging (#16807)</li> |
| <li>Switch to our custom images for build and release (#16801)</li> |
| <li>Remove all references to <code>cmake</code> for the builds in this repo (#16578)</li> |
| <li>Fix build for new <code>InvokeCommand</code> attributes (#16800)</li> |
| <li>Let macOS installer run without Rosetta on Apple Silicon (#16742) (Thanks @dahlia!)</li> |
| <li>Update the expect .NET SDK quality to GA for installing dotnet (#16784)</li> |
| <li>Change nuget release yaml to use <code>UseDotNet</code> task (#16701)</li> |
| <li>Bump Microsoft.ApplicationInsights from 2.19.0 to 2.20.0 (#16642)</li> |
| <li>Register NuGet source when generating <code>CGManifest</code> (#16570)</li> |
| <li>Update Images used for release (#16580)</li> |
| <li>Update SBOM generation (#16641)</li> |
| <li>Bring changes from 7.3.0-preview.1 (#16640)</li> |
| <li>Update the <code>vmImage</code> and PowerShell root directory for macOS builds (#16611)</li> |
| <li>Update macOS build image and root folder for build (#16609)</li> |
| <li>Disabled Yarn cache in <code>markdown.yml</code> (#16599)</li> |
| <li>Update cgmanifest (#16600)</li> |
| <li>Fix broken links in Markdown (#16598)</li> |
| </ul> |
| |
| </details> |
| |
| ### Documentation and Help Content |
| |
| - Add newly joined members to their respective Working Groups (#16849) |
| - Update Engine Working Group members (#16780) |
| - Replace the broken link about pull request (#16771) |
| - Update changelog to remove a broken URL (#16735) |
| - Updated `README.md` and `metadata.json` for `v7.3.0-preview.1` release (#16627) |
| - Updating changelog for `7.2.1` (#16616) |
| - Updated `README.md` and `metadata.json` for `7.2.1` release (#16586) |
| |
| [7.3.0-preview.2]: https://github.com/PowerShell/PowerShell/compare/v7.3.0-preview.1...v7.3.0-preview.2 |
| |
| ## [7.3.0-preview.1] - 2021-12-16 |
| |
| ### Breaking Changes |
| |
| - Add `clean` block to script block as a peer to `begin`, `process`, and `end` to allow easy resource cleanup (#15177) |
| - Change default for `$PSStyle.OutputRendering` to `Ansi` (Internal 18449) |
| |
| ### Engine Updates and Fixes |
| |
| - Remove duplicate remote server mediator code (#16027) |
| - Fix `PSVersion` parameter version checks and error messages for PowerShell 7 remoting (#16228) |
| - Use the same temporary home directory when `HOME` env variable is not set (#16263) |
| - Fix parser to generate error when array has more than 32 dimensions (#16276) |
| |
| ### Performance |
| |
| - Avoid validation for built-in file extension and color VT sequences (#16320) (Thanks @iSazonov!) |
| |
| ### General Cmdlet Updates and Fixes |
| |
| - Update `README.md` and `metadata.json` for next preview release (#16107) |
| - Use `PlainText` when writing to a host that doesn't support VT (#16092) |
| - Remove support for `AppExeCLinks` to retrieve target (#16044) |
| - Move `GetOuputString()` and `GetFormatStyleString()` to `PSHostUserInterface` as public API (#16075) |
| - Fix `ConvertTo-SecureString` with key regression due to .NET breaking change (#16068) |
| - Fix regression in `Move-Item` to only fallback to `copy and delete` in specific cases (#16029) |
| - Set `$?` correctly for command expression with redirections (#16046) |
| - Use `CurrentCulture` when handling conversions to `DateTime` in `Add-History` (#16005) (Thanks @vexx32!) |
| - Fix link header parsing to handle unquoted `rel` types (#15973) (Thanks @StevenLiekens!) |
| - Fix a casting error when using `$PSNativeCommandUsesErrorActionPreference` (#15993) |
| - Format-Wide: Fix `NullReferenceException` (#15990) (Thanks @DarylGraves!) |
| - Make the native command error handling optionally honor `ErrorActionPreference` (#15897) |
| - Remove declaration of experimental features in Utility module manifest as they are stable (#16460) |
| - Fix race condition between `DisconnectAsync` and `Dispose` (#16536) (Thanks @i3arnon!) |
| - Fix the `Max_PATH` condition check to handle long path correctly (#16487) (Thanks @Shriram0908!) |
| - Update `HelpInfoUri` for 7.2 release (#16456) |
| - Fix tab completion within the script block specified for the `ValidateScriptAttribute`. (#14550) (Thanks @MartinGC94!) |
| - Update `README.md` to specify gathered telemetry (#16379) |
| - Fix typo for "privacy" in MSI installer (#16407) |
| - Remove unneeded call to `File.ResolveLinkTarget` from `IsWindowsApplication` (#16371) (Thanks @iSazonov!) |
| - Add `-HttpVersion` parameter to web cmdlets (#15853) (Thanks @hayhay27!) |
| - Add support to web cmdlets for open-ended input tags (#16193) (Thanks @farmerau!) |
| - Add more tests to `Tee-Object -Encoding` (#14539) (Thanks @rpolley!) |
| - Don't throw exception when trying to resolve a possible link path (#16310) |
| - Fix `ConvertTo-Json -Depth` to allow 100 at maximum (#16197) (Thanks @KevRitchie!) |
| - Fix for SSH remoting when banner is enabled on SSHD endpoint (#16205) |
| - Disallow all COM for AppLocker system lock down (#16268) |
| - Configure `ApplicationInsights` to not send cloud role name (#16246) |
| - Disallow `Add-Type` in NoLanguage mode on a locked down machine (#16245) |
| - Specify the executable path as `TargetObect` for non-zero exit code `ErrorRecord` (#16108) (Thanks @rkeithhill!) |
| - Don't allow `Move-Item` with FileSystemProvider to move a directory into itself (#16198) |
| - Make property names for the color VT sequences consistent with documentations (#16212) |
| - Fix `PipelineVariable` to set variable in the right scope (#16199) |
| - Invoke-Command: improve handling of variables with $using: expression (#16113) (Thanks @dwtaber!) |
| - Change `Target` from a `CodeProperty` to be an `AliasProperty` that points to `FileSystemInfo.LinkTarget` (#16165) |
|
|
| ### Code Cleanup |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
| <p>@xtqqczze, @eltociear, @iSazonov</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>Improve <code>CommandInvocationIntrinsics</code> API documentation and style (#14369)</li> |
| <li>Use <code>bool?.GetValueOrDefault()</code> in <code>FormatWideCommand</code> (#15988) (Thanks @xtqqczze!)</li> |
| <li>Remove 4 assertions which cause debug build test runs to fail (#15963)</li> |
| <li>Fix typo in `Job.cs` (#16454) (Thanks @eltociear!)</li> |
| <li>Remove unnecessary call to `ToArray` (#16307) (Thanks @iSazonov!)</li> |
| <li>Remove the unused `FollowSymLink` function (#16231)</li> |
| <li>Fix typo in `TypeTable.cs` (#16220) (Thanks @eltociear!)</li> |
| <li>Fixes #16176 - replace snippet tag with code tag in comments (#16177)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Tools |
|
|
| - Fix typo in build.psm1 (#16038) (Thanks @eltociear!) |
| - Add `.stylecop` to `filetypexml` and format it (#16025) |
| - Enable sending Teams notification when workflow fails (#15982) |
| - Use `Convert-Path` for unknown drive in `Build.psm1` (#16416) (Thanks @matt9ucci!) |
|
|
| ### Tests |
|
|
| - Add benchmark to test compiler performance (#16083) |
| - Enable two previously disabled `Get-Process` tests (#15845) (Thanks @iSazonov!) |
| - Set clean state before testing `UseMU` in the MSI (#16543) |
| - Fix global tool and SDK tests in release pipeline (#16342) |
| - Remove the outdated test (#16269) |
| - Removed old not-used-anymore docker-based tests for PS release packages (#16224) |
|
|
| ### Build and Packaging Improvements |
|
|
| <details> |
|
|
| <summary> |
|
|
| <p>We thank the following contributors!</p> |
| <p>@github-actions[bot], @kondratyev-nv</p> |
|
|
| </summary> |
|
|
| <ul> |
| <li>fix issue with hash file getting created before we have finished get-childitem (#16170)</li> |
| <li>Add sha256 hashes to release (#16147)</li> |
| <li>Change path for Component Governance for build to the path we actually use to build (#16137)</li> |
| <li>Update <code>Microsoft.CodeAnalysis.CSharp</code> version (#16138)</li> |
| <li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#16070)</li> |
| <li>Update .NET to <code>6.0.100-rc.1.21458.32</code> (#16066)</li> |
| <li>Update minimum required OS version for macOS (#16088)</li> |
| <li>Set locale correctly on Linux CI (#16073)</li> |
| <li>Ensure locale is set correctly on Ubuntu 20.04 in CI (#16067)</li> |
| <li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#16045)</li> |
| <li>Update .NET SDK version from `6.0.100-rc.1.21430.44` to `6.0.100-rc.1.21455.2` (#16041) (Thanks @github-actions[bot]!)</li> |
| <li>Fix the GitHub Action for updating .NET daily builds (#16042)</li> |
| <li>Bump Microsoft.CodeAnalysis.CSharp from 4.0.0-3.final to 4.0.0-4.21430.4 (#16036)</li> |
| <li>Bump .NET to `6.0.100-rc.1.21430.44` (#16028)</li> |
| <li>Move from <code>PkgES</code> hosted agents to 1ES hosted agents (#16023)</li> |
| <li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#16021)</li> |
| <li>Update Ubuntu images to use Ubuntu 20.04 (#15906)</li> |
| <li>Fix the mac build by updating the pool image name (#16010)</li> |
| <li>Use Alpine 3.12 for building PowerShell for alpine (#16008)</li> |
| <li>Update .NET SDK version from `6.0.100-preview.6.21355.2` to `6.0.100-rc.1.21426.1` (#15648) (Thanks @github-actions[bot]!)</li> |
| <li>Ignore error from <code>Find-Package</code> (#15999)</li> |
| <li>Find packages separately for each source in <code>UpdateDotnetRuntime.ps1</code> script (#15998)</li> |
| <li>Update metadata to start using .NET 6 RC1 builds (#15981)</li> |
| <li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#15985)</li> |
| <li>Merge the v7.2.0-preview.9 release branch back to GitHub master (#15983)</li> |
| <li>Publish global tool package for stable releases (#15961)</li> |
| <li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> to newer version (#15962)</li> |
| <li>Disabled Yarn cache in <code>markdown.yml</code> (#16599)</li> |
| <li>Update cgmanifest (#16600)</li> |
| <li>Fix broken links in Markdown (#16598)</li> |
| <li>Add explicit job name for approval tasks in Snap stage (#16579)</li> |
| <li>Bring back <code>pwsh.exe</code> for framework dependent packages to support Start-Job (#16535)</li> |
| <li>Fix NuGet package generation in release build (#16509)</li> |
| <li>Add `Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute` to list of patterns to remove for generated ref assembly (#16489)</li> |
| <li>Bump Microsoft.CodeAnalysis.CSharp from `4.0.0-6.final` to `4.0.1` (#16423)</li> |
| <li>use different containers for different branches (#16434)</li> |
| <li>Add import so we can use common GitHub workflow function. (#16433)</li> |
| <li>Remove prerelease .NET 6 build sources (#16418)</li> |
| <li>Update release instructions with link to new build (#16419)</li> |
| <li>Bump <code>Microsoft.ApplicationInsights</code> from <code>2.18.0</code> to <code>2.19.0</code> (#16413)</li> |
| <li>Update <code>metadata.json</code> to make 7.2.0 the latest LTS (#16417)</li> |
| <li>Make static CI a matrix (#16397)</li> |
| <li>Update <code>metadata.json</code> in preparation on <code>7.3.0-preview.1</code> release (#16406)</li> |
| <li>Update cgmanifest (#16405)</li> |
| <li>Add diagnostics used to take corrective action when releasing `buildInfoJson` (#16404)</li> |
| <li>`vPack` release should use `buildInfoJson` new to 7.2 (#16402)</li> |
| <li>Update the usage of metadata.json for getting LTS information (#16381)</li> |
| <li>Add checkout to build json stage to get `ci.psm1` (#16399)</li> |
| <li>Update CgManifest.json for 6.0.0 .NET packages (#16398)</li> |
| <li>Add current folder to the beginning of the module import (#16353)</li> |
| <li>Increment RC MSI build number by 100 (#16354)</li> |
| <li>Bump <code>XunitXml.TestLogger</code> from 3.0.66 to 3.0.70 (#16356)</li> |
| <li>Move PR Quantifier config to subfolder (#16352)</li> |
| <li>Release build info json when it is preview (#16335)</li> |
| <li>Add an approval for releasing build-info json (#16351)</li> |
| <li>Generate manifest with latest public version of the packages (#16337)</li> |
| <li>Update to the latest notices file (#16339) (Thanks @github-actions[bot]!)</li> |
| <li>Use notice task to generate license assuming cgmanifest contains all components (#16340)</li> |
| <li>Refactor cgmanifest generator to include all components (#16326)</li> |
| <li>Fix issues in release build (#16332)</li> |
| <li>Update feed and analyzer dependency (#16327)</li> |
| <li>Bump <code>Microsoft.NET.Test.Sdk</code> from 16.11.0 to 17.0.0 (#16312)</li> |
| <li>Update license and cgmanifest (#16325) (Thanks @github-actions[bot]!)</li> |
| <li>Fix condition in cgmanifest logic (#16324)</li> |
| <li>Add GitHub Workflow to keep notices up to date (#16284)</li> |
| <li>Update to latest .NET 6 GA build <code> 6.0.100-rtm.21527.11</code> (#16309)</li> |
| <li>Create compliance build (#16286)</li> |
| <li>Move mapping file into product repo and add Debian 11 (#16316)</li> |
| <li>Add a major-minor build info JSON file (#16301)</li> |
| <li>Clean up <code>crossgen</code> related build scripts also generate native symbols for <code>R2R</code> images (#16297)</li> |
| <li>Fix Windows build ZIP packaging (#16299) (Thanks @kondratyev-nv!)</li> |
| <li>Revert "Update to use .NET 6 GA build (#16296)" (#16308)</li> |
| <li>Add <code>wget</code> as a dependency for Bootstrap script (#16303) (Thanks @kondratyev-nv!)</li> |
| <li>Fix issues reported by code signing verification tool (#16291)</li> |
| <li>Update to use .NET 6 GA build (#16296)</li> |
| <li>Revert "add GH workflow to keep the cgmanifest up to date." (#16294)</li> |
| <li>Update ChangeLog for 7.2.0-rc.1 and also fix RPM packaging (#16290)</li> |
| <li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#16271)</li> |
| <li>add GH workflow to keep the cgmanifest up to date.</li> |
| <li>Update <code>ThirdPartyNotices.txt</code> (#16283)</li> |
| <li>Update `testartifacts.yml` to use <code>ubuntu-latest</code> image (#16279)</li> |
| <li>Update version of <code>Microsoft.PowerShell.Native</code> and <code>Microsoft.PowerShell.MarkdownRender</code> packages (#16277)</li> |
| <li>Add script to generate <code>cgmanifest.json</code> (#16278)</li> |
| <li>Add <code>cgmanifest.json</code> for generating correct third party notice file (#16266)</li> |
| <li>Bump Microsoft.CodeAnalysis.NetAnalyzers from `6.0.0-rtm.21504.2` to `6.0.0-rtm.21516.1` (#16264)</li> |
| <li>Only upload stable <code>buildinfo</code> for stable releases (#16251)</li> |
| <li>Make RPM license recognized (#16189)</li> |
| <li>Don't upload dep or tar.gz for RPM because there are none. (#16230)</li> |
| <li>Add condition to generate release files in local dev build only (#16259)</li> |
| <li>Update .NET 6 to version 6.0.100-rc.2.21505.57 (#16249)</li> |
| <li>change order of try-catch-finally and split out arm runs (#16252)</li> |
| <li>Ensure <code>psoptions.json</code> and <code>manifest.spdx.json</code> files always exist in packages (#16258)</li> |
| <li>Update to vPack task version to 12 (#16250)</li> |
| <li>Remove unneeded `NuGetConfigFile` resource string (#16232)</li> |
| <li>Add Software Bill of Materials to the main packages (#16202)</li> |
| <li>Sign third party exes (#16229)</li> |
| <li>Upgrade <code>set-value</code> package for Markdown test (#16196)</li> |
| <li>Use Ubuntu 20.04 for SSH remoting test (#16225)</li> |
| <li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#16194)</li> |
| <li>Bump `Microsoft.CodeAnalysis.NetAnalyzers` from `6.0.0-rc2.21458.5` to `6.0.0-rtm.21480.8` (#16183)</li> |
| <li>Move vPack build to 1ES Pool (#16169)</li> |
| <li>Fix Microsoft update spelling issue. (#16178)</li> |
| </ul> |
|
|
| </details> |
|
|
| ### Documentation and Help Content |
|
|
| - Update Windows PowerShell issues link (#16105) (Thanks @andschwa!) |
| - Remove Joey from Committee and WG membership (#16119) |
| - Update more docs for `net6.0` TFM (#16102) (Thanks @xtqqczze!) |
| - Change `snippet` tag to `code` tag in XML comments (#16106) |
| - Update build documentation to reflect .NET 6 (#15751) (Thanks @Kellen-Stuart!) |
| - Update `README.md` about the changelogs (#16471) (Thanks @powershellpr0mpt!) |
| - Update changelog for 7.2.0 (#16401) |
| - Update `metadata.json` and `README.md` for 7.2.0 release (#16395) |
| - Update `README.md` and `metadata.json` files for `v7.2.0-rc.1` release (#16285) |
| - Update the changelogs for `v7.0.8` and `v7.1.5` releases (#16248) |
|
|
| [7.3.0-preview.1]: https://github.com/PowerShell/PowerShell/compare/v7.2.0-preview.10...v7.3.0-preview.1 |
|
|