Tags: PowerShell/PowerShell
Tags
[7.2.22] - 2024-07-23 *** Engine Updates and Fixes - Resolve paths correctly when importing files or files referenced in the module manifest (Internal 31777 31788) *** Build and Packaging Improvements <details> <summary> <p>Bump .NET to 6.0.424</p> </summary> <ul> <li>Enumerate over all signed zip packages</li> <li>Update TPN for release v7.2.22 (Internal 31807)</li> <li>Update CG Manifest for 7.2.22 (Internal 31804)</li> <li>Add macos signing for package files (#24015) (#24058)</li> <li>Update .NET version to 6.0.424 (#24033)</li> </ul> </details> [7.2.22]: v7.2.21...v7.2.22
[7.4.3] - 2024-06-18 *** General Cmdlet Updates and Fixes - Fix the error when using `Start-Process -Credential` without the admin privilege (#21393) (Thanks @jborean93!) - Fix `Test-Path -IsValid` to check for invalid path and filename characters (#21358) *** Engine Updates and Fixes - Fix generating `OutputType` when running in Constrained Language Mode (#21605) - Expand `~` to `$home` on Windows with tab completion (#21529) - Make sure both stdout and stderr can be redirected from a native executable (#20997) *** Build and Packaging Improvements <details> <summary> <p>Update to .NET 8.0.6</p> <p>We thank the following contributors!</p> <p>@ForNeVeR!</p> </summary> <ul> <li>Fixes for change to new Engineering System.</li> <li>Fix argument passing in <code>GlobalToolShim</code> (#21333) (Thanks @ForNeVeR!)</li> <li>Create <code>powershell.config.json</code> for <code>PowerShell.Windows.x64</code> global tool (#23941)</li> <li>Remove markdown link check on release branches (#23937)</li> <li>Update to .NET 8.0.6 (#23936)</li> <li>Fix error in the vPack release, debug script that blocked release (#23904)</li> <li>Add branch counter variables for daily package builds (#21523)</li> <li>Updates to package and release pipelines (#23800)</li> <li>Fix exe signing with third party signing for WiX engine (#23878)</li> <li>Use PSScriptRoot to find path to Wix module (#21611)</li> <li>[StepSecurity] Apply security best practices (#21480)</li> <li>Fix build failure due to missing reference in <code>GlobalToolShim.cs</code> (#21388)</li> <li>Update installation on Wix module (#23808)</li> <li>Use feed with Microsoft Wix toolset (#21651)</li> <li>Create the Windows.x64 global tool with shim for signing (#21559)</li> <li>Generate MSI for <code>win-arm64</code> installer (#20516)</li> <li>update wix package install (#21537)</li> <li>Add a PAT for fetching PMC cli (#21503)</li> <li>Official PowerShell Package pipeline (#21504)</li> </ul> </details> [7.4.3]: v7.4.2...v7.4.3
[7.2.21] - 2024-06-18 *** Build and Packaging Improvements <details> <summary> <p>Release 7.2.20 broadly (was previously just released to the .NET SDK containers.)</p><p>Release 7.2.20 broadly</p> </summary> <ul> <li>Fixes for change to new Engineering System.</li> <li>Create <code>powershell.config.json</code> for <code>PowerShell.Windows.x64</code> global tool (#23941) (#23942)</li> </ul> </details>
[7.5.0-preview.3] - 2024-05-16 * Breaking Changes - Remember installation options and used them to initialize options for the next installation (#20420) (Thanks @reduckted!) - `ConvertTo-Json`: Serialize `BigInteger` as a number (#21000) (Thanks @jborean93!) * Engine Updates and Fixes - Fix generating `OutputType` when running in Constrained Language Mode (#21605) - Revert the PR #17856 (Do not preserve temporary results when no need to do so) (#21368) - Make sure the assembly/library resolvers are registered at early stage (#21361) - Fix PowerShell class to support deriving from an abstract class with abstract properties (#21331) - Fix error formatting for pipeline enumeration exceptions (#20211) * General Cmdlet Updates and Fixes - Added progress bar for `Remove-Item` cmdlet (#20778) (Thanks @ArmaanMcleod!) - Expand `~` to `$home` on Windows with tab completion (#21529) - Separate DSC configuration parser check for ARM processor (#21395) (Thanks @dkontyko!) - Fix `[semver]` type to pass `semver.org` tests (#21401) - Don't complete when declaring parameter name and class member (#21182) (Thanks @MartinGC94!) - Add `RecommendedAction` to `ConciseView` of the error reporting (#20826) (Thanks @JustinGrote!) - Fix the error when using `Start-Process -Credential` without the admin privilege (#21393) (Thanks @jborean93!) - Fix `Test-Path -IsValid` to check for invalid path and filename characters (#21358) - Fix build failure due to missing reference in `GlobalToolShim.cs` (#21388) - Fix argument passing in `GlobalToolShim` (#21333) (Thanks @ForNeVeR!) - Make sure both stdout and stderr can be redirected from a native executable (#20997) - Handle the case that `Runspace.DefaultRunspace == null` when logging for WDAC Audit (#21344) - Fix a typo in `releaseTools.psm1` (#21306) (Thanks @eltociear!) - `Get-Process`: Remove admin requirement for `-IncludeUserName` (#21302) (Thanks @jborean93!) - Fall back to type inference when hashtable key-value cannot be retrieved from safe expression (#21184) (Thanks @MartinGC94!) - Fix the regression when doing type inference for `$_` (#21223) (Thanks @MartinGC94!) - Revert "Adjust PUT method behavior to POST one for default content type in WebCmdlets" (#21049) - Fix a regression in `Format-Table` when header label is empty (#21156) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze</p> </summary> <ul> <li>Enable <code>CA1868</code>: Unnecessary call to 'Contains' for sets (#21165) (Thanks @xtqqczze!)</li> <li>Remove <code>JetBrains.Annotations</code> attributes (#21246) (Thanks @xtqqczze!)</li> </ul> </details> * Tests - Update `metadata.json` and `README.md` (#21454) - Skip test on Windows Server 2012 R2 for `no-nl` (#21265) * Build and Packaging Improvements <details> <summary> <p>Bump to .NET 9.0.0-preview.3</p> <p>We thank the following contributors!</p> <p>@alerickson, @tgauth, @step-security-bot, @xtqqczze</p> </summary> <ul> <li>Fix PMC publish and the file path for msixbundle</li> <li>Fix release version and stage issues in build and packaging</li> <li>Add release tag if the environment variable is set</li> <li>Update installation on Wix module (#23808)</li> <li>Updates to package and release pipelines (#23800)</li> <li>Update <code>PSResourceGet</code> to 1.0.5 (#23796)</li> <li>Bump <code>actions/upload-artifact</code> from 4.3.2 to 4.3.3 (#21520)</li> <li>Bump <code>actions/dependency-review-action</code> from 4.2.5 to 4.3.2 (#21560)</li> <li>Bump <code>actions/checkout</code> from 4.1.2 to 4.1.5 (#21613)</li> <li>Bump <code>github/codeql-action</code> from 3.25.1 to 3.25.4 (#22071)</li> <li>Use feed with Microsoft Wix toolset (#21651) (Thanks @tgauth!)</li> <li>Bump to .NET 9 preview 3 (#21782)</li> <li>Use <code>PSScriptRoot</code> to find path to Wix module (#21611)</li> <li>Create the <code>Windows.x64</code> global tool with shim for signing (#21559)</li> <li>Update Wix package install (#21537) (Thanks @tgauth!)</li> <li>Add branch counter variables for daily package builds (#21523)</li> <li>Use correct signing certificates for RPM and DEBs (#21522)</li> <li>Revert to version available on <code>Nuget</code> for <code>Microsoft.CodeAnalysis.Analyzers</code> (#21515)</li> <li>Official PowerShell Package pipeline (#21504)</li> <li>Add a PAT for fetching PMC cli (#21503)</li> <li>Bump <code>ossf/scorecard-action</code> from 2.0.6 to 2.3.1 (#21485)</li> <li>Apply security best practices (#21480) (Thanks @step-security-bot!)</li> <li>Bump <code>Microsoft.CodeAnalysis.Analyzers</code> (#21449)</li> <li>Fix package build to not check some files for a signature. (#21458)</li> <li>Update PSResourceGet version from 1.0.2 to 1.0.4.1 (#21439) (Thanks @alerickson!)</li> <li>Verify environment variable for OneBranch before we try to copy (#21441)</li> <li>Add back two transitive dependency packages (#21415)</li> <li>Multiple fixes in official build pipeline (#21408)</li> <li>Update <code>PSReadLine</code> to <code>v2.3.5</code> (#21414)</li> <li>PowerShell co-ordinated build OneBranch pipeline (#21364)</li> <li>Add file description to <code>pwsh.exe</code> (#21352)</li> <li>Suppress MacOS package manager output (#21244) (Thanks @xtqqczze!)</li> <li>Update <code>metadata.json</code> and <code>README.md</code> (#21264)</li> </ul> </details> * Documentation and Help Content - Update the doc about how to build PowerShell (#21334) (Thanks @ForNeVeR!) - Update the member lists for the Engine and Interactive-UX working groups (#20991) (Thanks @kilasuit!) - Update CHANGELOG for `v7.2.19`, `v7.3.12` and `v7.4.2` (#21462) - Fix grammar in `FAQ.md` (#21468) (Thanks @CodingGod987!) - Fix typo in `SessionStateCmdletAPIs.cs` (#21413) (Thanks @eltociear!) - Fix typo in a test (#21337) (Thanks @testwill!) - Fix typo in `ast.cs` (#21350) (Thanks @eltociear!) - Adding Working Group membership template (#21153) [7.5.0-preview.3]: v7.5.0-preview.2...v7.5.0-preview.3
* [7.4.2] - 2024-04-11 * General Cmdlet Updates and Fixes - Revert "Adjust PUT method behavior to POST one for default content type in WebCmdlets" (#21049) - Fix regression with `Get-Content` when `-Tail 0` and `-Wait` are both used (#20734) (Thanks @CarloToso!) - Fix `Get-Error` serialization of array values (#21085) (Thanks @jborean93!) - Fix a regression in `Format-Table` when header label is empty (#21156) * Engine Updates and Fixes - Revert the PR #17856 (Do not preserve temporary results when no need to do so) (#21368) - Make sure the assembly/library resolvers are registered at early stage (#21361) - Handle the case that `Runspace.DefaultRunspace` is `null` when logging for WDAC Audit (#21344) - Fix PowerShell class to support deriving from an abstract class with abstract properties (#21331) - Fix the regression when doing type inference for `$_` (#21223) (Thanks @MartinGC94!) * Build and Packaging Improvements <details> <summary> <p>Bump to .NET 8.0.4</p> </summary> <ul> <li>Revert analyzer package back to stable</li> <li>Update SDK, deps and <code>cgmanifest</code> for <code>7.4.2</code></li> <li>Revert changes to <code>packaging.psm1</code></li> <li>Update <code>PSResourceGet</code> version from <code>1.0.2</code> to <code>1.0.4.1</code> (#21439)</li> <li>Verify environment variable for OneBranch before we try to copy (#21441)</li> <li>Remove <code>surrogateFile</code> setting of <code>APIScan</code> (#21238)</li> <li>Add <code>dotenv</code> install as latest version does not work with current Ruby version (#21239)</li> <li>Multiple fixes in official build pipeline (#21408)</li> <li>Add back 2 transitive dependency packages (#21415)</li> <li>Update <code>PSReadLine</code> to <code>v2.3.5</code> for the next <code>v7.4.x</code> servicing release (#21414)</li> <li>PowerShell co-ordinated build OneBranch pipeline (#21364)</li> </ul> </details> [7.4.2]: v7.4.1...v7.4.2
* [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]: v7.3.11...v7.3.12
* [7.2.19] - 2024-04-11 * Build and Packaging Improvements <details> <summary> <p>Bump to .NET 6.0.29</p> </summary> <ul> <li>Allow artifacts produced by partially successful builds to be consumed by release pipeline</li> <li>Update SDK, dependencies and <code>cgmanifest</code> for <code>7.2.19</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>Add <code>dotenv</code> install as latest version does not work with current Ruby version (#21239)</li> <li>PowerShell co-ordinated build OneBranch pipeline (#21364)</li> <li>Remove <code>surrogateFile</code> setting of <code>APIScan</code> (#21238)</li> </ul> </details> [7.2.19]: v7.2.18...v7.2.19
[7.5.0-preview.2] - 2024-02-22 * Engine Updates and Fixes - Fix `using assembly` to use `Path.Combine` when constructing assembly paths (#21169) - Validate the value for `using namespace` during semantic checks to prevent declaring invalid namespaces (#21162) * General Cmdlet Updates and Fixes - Add `WinGetCommandNotFound` and `CompletionPredictor` modules to track usage (#21040) - `ConvertFrom-Json`: Add `-DateKind` parameter (#20925) (Thanks @jborean93!) - Add tilde expansion for windows native executables (#20402) (Thanks @domsleee!) - Add `DirectoryInfo` to the `OutputType` for `New-Item` (#21126) (Thanks @MartinGC94!) - Fix `Get-Error` serialization of array values (#21085) (Thanks @jborean93!) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@eltociear</p> </summary> <ul> <li>Fix a typo in <code>CoreAdapter.cs</code> (#21179) (Thanks @eltociear!)</li> <li>Remove <code>PSScheduledJob</code> module source code (#21189)</li> </ul> </details> * Tests - Rewrite the mac syslog tests to make them less flaky (#21174) * Build and Packaging Improvements <details> <summary> <p>Bump to .NET 9 Preview 1</p> <p>We thank the following contributors!</p> <p>@gregsdennis</p> </summary> <ul> <li>Bump to .NET 9 Preview 1 (#21229)</li> <li>Add dotnet-runtime-9.0 as a dependency for the Mariner package</li> <li>Add dotenv install as latest version does not work with current Ruby version (#21239)</li> <li>Remove <code>surrogateFile</code> setting of APIScan (#21238)</li> <li>Update experimental-feature json files (#21213)</li> <li>Update to the latest NOTICES file (#21236)(#21177)</li> <li>Update the cgmanifest (#21237)(#21093)</li> <li>Update the cgmanifest (#21178)</li> <li>Bump XunitXml.TestLogger from 3.1.17 to 3.1.20 (#21207)</li> <li>Update versions of PSResourceGet (#21190)</li> <li>Generate MSI for <code>win-arm64</code> installer (#20516)</li> <li>Bump JsonSchema.Net to v5.5.1 (#21120) (Thanks @gregsdennis!)</li> </ul> </details> * Documentation and Help Content - Update `README.md` and `metadata.json` for v7.5.0-preview.1 release (#21094) - Fix incorrect examples in XML docs in `PowerShell.cs` (#21173) - Update WG members (#21091) - Update changelog for v7.4.1 (#21098) [7.5.0-preview.2]: v7.5.0-preview.1...v7.5.0-preview.2