Tags: PowerShell/PowerShell
[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
* [7.4.1] - 2024-01-11 * General Cmdlet Updates and Fixes - Fix `Group-Object` output using interpolated strings (#20745) (Thanks @mawosoft!) - Fix `Start-Process -PassThru` to make sure the `ExitCode` property is accessible for the returned `Process` object (#20749) (#20866) (Thanks @CodeCyclone!) - Fix rendering of DisplayRoot for network PSDrive (#20793) (#20863) * Engine Updates and Fixes - Ensure filename is not null when logging WDAC ETW events (#20910) (Thanks @jborean93!) - Fix four regressions introduced by WDAC audit logging feature (#20913) * Build and Packaging Improvements <details> <summary> Bump .NET 8 to version 8.0.101 </summary> <ul> <li>Update .NET SDK and dependencies for v7.4.1 (Internal 29142)</li> <li>Update cgmanifest for v7.4.1 (#20874)</li> <li>Update package dependencies for v7.4.1 (#20871)</li> <li>Set the <code>rollForwardOnNoCandidateFx</code> in <code>runtimeconfig.json</code> to roll forward only on minor and patch versions (#20689) (#20865)</li> <li>Remove RHEL7 publishing to packages.microsoft.com as it's no longer supported (#20849) (#20864)</li> <li>Fix the tab completion tests (#20867)</li> </ul> </details> [7.4.1]: v7.4.0...v7.4.1
[7.3.11] - 2024-01-11 * Build and Packaging Improvements <details> <summary> <p>Bump .NET to 7.0.405</p> </summary> <ul> <li>Update 'cgmanifest.json' 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]: v7.3.10...v7.3.11
[7.2.18] - 2024-01-11 * Build and Packaging Improvements <details> <summary> <p>Bump .NET to 6.0.418</p> </summary> <ul> <li>Update ThirdPartyNotices.txt for v7.2.18 (Internal 29173)</li> <li>Update 'cgmanifest.json' for v7.2.18 release (Internal 29161)</li> <li>Update .NET SDK to 6.0.418 (Internal 29141)</li> <li>Back port 3 build changes to <code>apiscan.yml</code> (#21036)</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.2.18]: v7.2.17...v7.2.18

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
