X Tutup
The Wayback Machine - https://web.archive.org/web/20230106180809/https://github.com/PowerShell/PowerShell/tags
Skip to content

Tags: PowerShell/PowerShell

Tags

v7.4.0-preview.1

Toggle commit message
* [7.4.0-preview.1] - 2022-12-20
      *** Engine Updates and Fixes

- Add Instrumentation to `AmsiUtil` and make the init variable readonly (#18727)
- Fix typo in `OutOfProcTransportManager.cs` (#18766) (Thanks @eltociear!)
- Allow non-default encodings to be used in user's script/code (#18605)
- Add `Dim` and `DimOff` to `$PSStyle` (#18653)
- Change `exec` from alias to function to handle arbitrary arguments (#18567)
- The command prefix should also be in the error color for `NormalView` (#18555)
- Skip cloud files marked as "not on disk" during command discovery (#18152)
- Replace `UTF8Encoding(false)` with `Encoding.Default` (#18356) (Thanks @xtqqczze!)
- Fix `Switch-Process` to set `termios` appropriate for child process (#18467)
- On Unix, only explicitly terminate the native process if not in background (#18215)
- Treat `[NullString]::Value` as the string type when resolving methods (#18080)
- Improve pseudo binding for dynamic parameters (#18030) (Thanks @MartinGC94!)
- Make experimental feature `PSAnsiRenderingFileInfo` stable (#18042)
- Update to use version `2.21.0` of Application Insights. (#17903)
- Do not preserve temporary results when no need to do so (#17856)

*** Performance

- Remove some static constants from `Utils.Separators` (#18154) (Thanks @iSazonov!)
- Avoid using regex when unnecessary in `ScriptWriter` (#18348)
- Use source generator for `PSVersionInfo` to improve startup time (#15603) (Thanks @iSazonov!)
- Skip evaluating suggestions at startup (#18232)
- Avoid using `Regex` when not necessary (#18210)

*** General Cmdlet Updates and Fixes

- Update to use `ComputeCore.dll` for PowerShell Direct (#18194)
- Replace `ArgumentNullException(nameof())` with `ArgumentNullException.ThrowIfNull()` (#18792)(#18784) (Thanks @CarloToso!)
- Remove `TabExpansion` from remote session configuration (#18795) (Internal 23331)
- WebCmdlets get Retry-After from headers if status code is 429 (#18717) (Thanks @CarloToso!)
- Implement `SupportsShouldProcess` in `Stop-Transcript` (#18731) (Thanks @JohnLBevan!)
- Fix `New-Item -ItemType Hardlink` to resolve target to absolute path and not allow link to itself (#18634)
- Add output types to Format commands (#18746) (Thanks @MartinGC94!)
- Fix the process `CommandLine` on Linux (#18710) (Thanks @jborean93!)
- Fix `SuspiciousContentChecker.Match` to detect a pre-defined string when the text starts with it (#18693)
- Switch `$PSNativeCommandUseErrorActionPreference` to `$true` when feature is enabled (#18695)
- Fix `Start-Job` to check the existence of working directory using the PowerShell way (#18675)
- Webcmdlets add 308 to redirect codes and small cleanup (#18536) (Thanks @CarloToso!)
- Ensure `HelpInfo.Category` is consistently a string (#18254)
- Remove `gcloud` from the legacy list because it's resolved to a .ps1 script (#18575)
- Add `gcloud` and `sqlcmd` to list to use legacy argument passing (#18559)
- Fix native access violation (#18545) (#18547) (Thanks @chrullrich!)
- Fix issue when completing the first command in a script with an empty array expression (#18355) (Thanks @MartinGC94!)
- Improve type inference of hashtable keys (#17907) (Thanks @MartinGC94!)
- Fix `Switch-Process` to copy the current env to the new process (#18452)
- Fix `Switch-Process` error to include the command that is not found (#18443)
- Update `Out-Printer` to remove all decorating ANSI escape sequences from PowerShell formatting (#18425)
- Web cmdlets set default charset encoding to `UTF8` (#18219) (Thanks @CarloToso!)
- Fix incorrect cmdlet name in the script used by `Restart-Computer` (#18374) (Thanks @urizen-source!)
- Add the function `cd~` (#18308) (Thanks @GigaScratch!)
- Fix type inference error for empty return statements (#18351) (Thanks @MartinGC94!)
- Fix the exception reporting in `ConvertFrom-StringData` (#18336) (Thanks @GigaScratch!)
- Implement `IDisposable` in `NamedPipeClient` (#18341) (Thanks @xtqqczze!)
- Replace command-error suggestion with new implementation based on subsystem plugin (#18252)
- Remove the `ProcessorArchitecture` portion from the full name as it's obsolete (#18320)
- Make the fuzzy searching flexible by passing in the fuzzy matcher (#18270)
- Add `-FuzzyMinimumDistance` parameter to `Get-Command` (#18261)
- Improve startup time by triggering initialization of additional types on background thread (#18195)
- Fix decompression in web cmdlets (#17955) (Thanks @iSazonov!)
- Add `CustomTableHeaderLabel` formatting to differentiate table header labels that are not property names (#17346)
- Remove the extra new line form List formatting (#18185)
- Minor update to the `FileInfo` table formatting on Unix to make it more concise (#18183)
- Fix Parent property on processes with complex name (#17545) (Thanks @jborean93!)
- Make PowerShell class not affiliate with `Runspace` when declaring the `NoRunspaceAffinity` attribute (#18138)
- Complete the progress bar rendering in `Invoke-WebRequest` when downloading is complete or cancelled (#18130)
- Display download progress in human readable format for `Invoke-WebRequest` (#14611) (Thanks @bergmeister!)
- Update `WriteConsole` to not use `stackalloc` for buffer with too large size (#18084)
- Filter out compiler generated types for `Add-Type -PassThru` (#18095)
- Fixing `CA2014` warnings and removing the warning suppression (#17982) (Thanks @creative-cloud!)
- Make experimental feature `PSNativeCommandArgumentPassing` stable (#18044)
- Make experimental feature `PSAMSIMethodInvocationLogging` stable (#18041)
- Handle `PSObject` argument specially in method invocation logging (#18060)
- Fix typos in `EventResource.resx` (#18063) (Thanks @eltociear!)
- Make experimental feature `PSRemotingSSHTransportErrorHandling` stable (#18046)
- Make experimental feature `PSExec` stable (#18045)
- Make experimental feature `PSCleanBlock` stable (#18043)
- Fix error formatting to use color defined in `$PSStyle.Formatting` (#17987)
- Remove unneeded use of `chmod 777` (#17974)
- Support mapping foreground/background `ConsoleColor` values to VT escape sequences (#17938)
- Make `pwsh` server modes implicitly not show banner (#17921)
- Add output type attributes for `Get-WinEvent` (#17948) (Thanks @MartinGC94!)
- Remove 1 second minimum delay in `Invoke-WebRequest` for small files, and prevent file-download-error suppression. (#17896) (Thanks @AAATechGuy!)
- Add completion for values in comparisons when comparing Enums (#17654) (Thanks @MartinGC94!)
- Fix positional argument completion (#17796) (Thanks @MartinGC94!)
- Fix member completion in attribute argument (#17902) (Thanks @MartinGC94!)
- Throw when too many parameter sets are defined (#17881) (Thanks @fflaten!)
- Limit searching of `charset` attribute in `meta` tag for HTML to first 1024 characters in webcmdlets (#17813)
- Fix `Update-Help` failing silently with implicit non-US culture. (#17780) (Thanks @dkaszews!)
- Add the `ValidateNotNullOrWhiteSpace` attribute (#17191) (Thanks @wmentha!)
- Improve enumeration of inferred types in pipeline (#17799) (Thanks @MartinGC94!)

*** Code Cleanup

<details>

<summary>

<p>We thank the following contributors!</p>
<p>@MartinGC94, @CarloToso, @iSazonov, @xtqqczze, @turbedi, @trossr32, @eltociear, @AtariDreams, @jborean93</p>

</summary>

<ul>
<li>Add TSAUpload for APIScan (#18446)</li>
<li>Use Pattern matching in <code>ast.cs</code> (#18794) (Thanks @MartinGC94!)</li>
<li>Cleanup <code>webrequestpscmdlet.common.cs</code> (#18596) (Thanks @CarloToso!)</li>
<li>Unify <code>CreateFile</code> <code>pinvoke</code> in SMA (#18751) (Thanks @iSazonov!)</li>
<li>Cleanup <code>webresponseobject.common</code> (#18785) (Thanks @CarloToso!)</li>
<li><code>InvokeRestMethodCommand.Common</code> cleanup and merge partials (#18736) (Thanks @CarloToso!)</li>
<li>Replace <code>GetDirectories</code> in <code>CimDscParser</code> (#14319) (Thanks @xtqqczze!)</li>
<li>WebResponseObject.Common merge partials atomic commits (#18703) (Thanks @CarloToso!)</li>
<li>Enable pending test for <code>Start-Process</code> (#18724) (Thanks @iSazonov!)</li>
<li>Remove one CreateFileW (#18732) (Thanks @iSazonov!)</li>
<li>Replace <code>DllImport</code> with <code>LibraryImport</code> for WNetAddConnection2 (#18721) (Thanks @iSazonov!)</li>
<li>Use File.OpenHandle() instead CreateFileW pinvoke (#18722) (Thanks @iSazonov!)</li>
<li>Replace DllImport with LibraryImport for WNetGetConnection (#18690) (Thanks @iSazonov!)</li>
<li>Replace <code>DllImport</code> with <code>LibraryImport</code> - 1 (#18603) (Thanks @iSazonov!)</li>
<li>Replace DllImport with LibraryImport in SMA 3 (#18564) (Thanks @iSazonov!)</li>
<li>Replace <code>DllImport</code> with <code>LibraryImport</code> in SMA - 7 (#18594) (Thanks @iSazonov!)</li>
<li>Use static <code>DateTime.UnixEpoch</code> and <code>RandomNumberGenerator.Fill()</code> (#18621) (Thanks @turbedi!)</li>
<li>Rewrite Get-FileHash to use static HashData methods (#18471) (Thanks @turbedi!)</li>
<li>Replace DllImport with LibraryImport in SMA 8 (#18599) (Thanks @iSazonov!)</li>
<li>Replace DllImport with LibraryImport in SMA 4 (#18579) (Thanks @iSazonov!)</li>
<li>Remove NativeCultureResolver as dead code (#18582) (Thanks @iSazonov!)</li>
<li>Replace DllImport with LibraryImport in SMA 6 (#18581) (Thanks @iSazonov!)</li>
<li>Replace DllImport with LibraryImport in SMA 2 (#18543) (Thanks @iSazonov!)</li>
<li>Use standard SBCS detection (#18593) (Thanks @iSazonov!)</li>
<li>Remove unused pinvokes in RemoteSessionNamedPipe (#18583) (Thanks @iSazonov!)</li>
<li>Replace DllImport with LibraryImport in SMA 5 (#18580) (Thanks @iSazonov!)</li>
<li>Remove SafeRegistryHandle (#18597) (Thanks @iSazonov!)</li>
<li>Remove <code>ArchitectureSensitiveAttribute</code> from the code base (#18598) (Thanks @iSazonov!)</li>
<li>Build COM adapter only on Windows (#18590)</li>
<li>Include timer instantiation for legacy telemetry in conditional compiler statements in Get-Help (#18475) (Thanks @trossr32!)</li>
<li>Convert <code>DllImport</code> to <code>LibraryImport</code> for recycle bin, clipboard, and computerinfo cmdlets (#18526)</li>
<li>Replace DllImport with LibraryImport in SMA 1 (#18520) (Thanks @iSazonov!)</li>
<li>Replace DllImport with LibraryImport in engine (#18496)</li>
<li>Fix typo in InitialSessionState.cs (#18435) (Thanks @eltociear!)</li>
<li>Remove remaining unused strings from resx files (#18448)</li>
<li>Use new LINQ Order() methods instead of OrderBy(static x =&gt; x) (#18395) (Thanks @turbedi!)</li>
<li>Make use of StringSplitOptions.TrimEntries when possible (#18412) (Thanks @turbedi!)</li>
<li>Replace some <code>string.Join(string)</code> calls with <code>string.Join(char)</code> (#18411) (Thanks @turbedi!)</li>
<li>Remove unused strings from FileSystem and Registry providers (#18403)</li>
<li>Use generic <code>GetValues&lt;T&gt;</code>, <code>GetNames&lt;T&gt;</code> enum methods (#18391) (Thanks @xtqqczze!)</li>
<li>Remove unused resource strings from <code>SessionStateStrings</code> (#18394)</li>
<li>Remove unused resource strings in <code>System.Management.Automation</code> (#18388)</li>
<li>Use <code>Enum.HasFlags</code> part 1 (#18386) (Thanks @xtqqczze!)</li>
<li>Remove unused strings from parser (#18383)</li>
<li>Remove unused strings from Utility module (#18370)</li>
<li>Remove unused console strings (#18369)</li>
<li>Remove unused strings from <code>ConsoleInfoErrorStrings.resx</code> (#18367)</li>
<li>Code cleanup in <code>ContentHelper.Common.cs</code> (#18288) (Thanks @CarloToso!)</li>
<li>Remove <code>FusionAssemblyIdentity</code> and <code>GlobalAssemblyCache</code> as they are not used (#18334) (Thanks @iSazonov!)</li>
<li>Remove some static initializations in <code>StringManipulationHelper</code> (#18243) (Thanks @xtqqczze!)</li>
<li>Use <code>MemoryExtensions.IndexOfAny</code> in <code>PSv2CompletionCompleter</code> (#18245) (Thanks @xtqqczze!)</li>
<li>Use <code>MemoryExtensions.IndexOfAny</code> in <code>WildcardPattern</code> (#18242) (Thanks @xtqqczze!)</li>
<li>Small cleanup of the stub code (#18301) (Thanks @CarloToso!)</li>
<li>Fix typo in <code>RemoteRunspacePoolInternal.cs</code> (#18263) (Thanks @eltociear!)</li>
<li>Some more code cleanup related to the use of <code>PSVersionInfo</code> (#18231)</li>
<li>Use <code>MemoryExtensions.IndexOfAny</code> in <code>SessionStateInternal</code> (#18244) (Thanks @xtqqczze!)</li>
<li>Use overload APIs that take <code>char</code> instead of <code>string</code> when it's possible (#18179) (Thanks @iSazonov!)</li>
<li>Replace <code>UTF8Encoding(false)</code> with <code>Encoding.Default</code> (#18144) (Thanks @xtqqczze!)</li>
<li>Remove unused variables (#18058) (Thanks @AtariDreams!)</li>
<li>Fix typo in PowerShell.Core.Instrumentation.man (#17963) (Thanks @eltociear!)</li>
<li>Migrate <code>WinTrust</code> functions to a common location (#17598) (Thanks @jborean93!)</li>
</ul>

</details>

*** Tools

- Add a function to get the PR Back-port report (#18299)
- Add a workaround in automatic rebase workflow to continue on error (#18176)
- Update list of PowerShell team members in release tools (#17909)
- Don't block if we fail to create the comment (#17869)

*** Tests

- Add `testexe.exe -echocmdline` to output raw command line received by the process on Windows (#18591)
- Mark charset test as pending (#18511)
- Skip output rendering tests on Windows Server 2012 R2 (#18382)
- Increase timeout to make subsystem tests more reliable (#18380)
- Add missing -Tag 'CI' to describe blocks. (#18316)
- Use short path instead of multiple quotes in `Get-Item` test relying on node (#18250)
- Replace the CIM class used for `-Amended` parameter test (#17884) (Thanks @sethvs!)
- Stop ongoing progress-bar in `Write-Progress` test (#17880) (Thanks @fflaten!)

*** Build and Packaging Improvements

<details>

<summary>

<p>We thank the following contributors!</p>

</summary>

<ul>
<li>Fix reference assembly generation logic for <code>Microsoft.PowerShell.Commands.Utility</code> (#18818)</li>
<li>Update the cgmanifest (#18676)(#18521)(#18415)(#18408)(#18197)(#18111)(#18051)(#17913)(#17867)(#17934)(#18088)</li>
<li>Bump <code>Microsoft.PowerShell.Native</code> to the latest preview version <code>v7.4.0-preview.1</code> (#18805)</li>
<li>Remove unnecessary reference to <code>System.Runtime.CompilerServices.Unsafe</code> (#18806)</li>
<li>Update the release tag in <code>metadata.json</code> for next preview (#18799)</li>
<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#18750)</li>
<li>Bump .NET SDK to version <code>7.0.101</code> (#18786)</li>
<li>Bump <code>cirrus-actions/rebase</code> from 1.7 to 1.8 (#18788)</li>
<li>Bump <code>decode-uri-component</code> from 0.2.0 to 0.2.2 (#18712)</li>
<li>Bump Microsoft.CodeAnalysis.CSharp from 4.4.0-4.final to 4.4.0 (#18562)</li>
<li>Bump Newtonsoft.Json from 13.0.1 to 13.0.2 (#18657)</li>
<li>Apply expected file permissions to Linux files after Authenticode signing (#18643)</li>
<li>Remove extra quotes after agent moves to pwsh 7.3 (#18577)</li>
<li>Don't install based on build-id for RPM (#18560)</li>
<li>Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0 (#18487)</li>
<li>Bump <code>minimatch</code> from 3.0.4 to 3.1.2 (#18514)</li>
<li>Avoid depending on the pre-generated experimental feature list in private and CI builds (#18484)</li>
<li>Update <code>release-MsixBundle.yml</code> to add retries (#18465)</li>
<li>Bump System.Data.SqlClient from 4.8.4 to 4.8.5 in /src/Microsoft.PowerShell.SDK (#18515)</li>
<li>Bump to use internal .NET 7 GA build (#18508)</li>
<li>Insert the pre-release nuget feed before building test artifacts (#18507)</li>
<li>Add test for framework dependent package in release pipeline (#18506) (Internal 23139)</li>
<li>Update to azCopy 10 (#18509)</li>
<li>Fix issues with uploading changelog to GitHub release draft (#18504)</li>
<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#18442)</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>Bump <code>Microsoft.PowerShell.Native</code> from 7.3.0-rc.1 to 7.3.0 (#18405)</li>
<li>Allow two-digit revisions in <code>vPack</code> package validation pattern (#18392)</li>
<li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#18363)</li>
<li>Bump to .NET 7 RC2 official version (#18328)</li>
<li>Bump to .NET 7 to version <code>7.0.100-rc.2.22477.20</code> (#18286)</li>
<li>Replace win7 runtime with win8 and remove APISets (#18304)</li>
<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#18312)</li>
<li>Recurse the file listing. (#18277)</li>
<li>Create tasks to collect and publish hashes for build files. (#18276)</li>
<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#18262)</li>
<li>Remove ETW trace collection and uploading for CLR CAP (#18253)</li>
<li>Do not cleanup <code>pwsh.deps.json</code> for framework dependent packages (#18226)</li>
<li>Add branch counter to APIScan build (#18214)</li>
<li>Remove unnecessary native dependencies from the package (#18213)</li>
<li>Remove XML files for min-size package (#18189)</li>
<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#18216)</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>Bump Microsoft.CodeAnalysis.NetAnalyzers (#18201)</li>
<li>Move ApiScan to compliance build (#18191)</li>
<li>Fix the verbose message when using <code>dotnet-install.sh</code> (#18184)</li>
<li>Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2 (#18163)</li>
<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#18164)</li>
<li>Make the link to minimal package blob public during release (#18158)</li>
<li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#18147)</li>
<li>Update MSI exit message (#18137)</li>
<li>Bump Microsoft.CodeAnalysis.CSharp from 4.4.0-1.final to 4.4.0-2.final (#18132)</li>
<li>Re-enable building with Ready-to-Run (#18105)</li>
<li>Update <code>DotnetRuntimeMetadata.json</code> for .NET 7 RC1 build (#18091)</li>
<li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#18096)</li>
<li>Add schema for cgmanifest.json (#18036)</li>
<li>Bump <code>Microsoft.CodeAnalysis.CSharp</code> from 4.3.0-3.final to 4.3.0 (#18012)</li>
<li>Add XML reference documents to NuPkg files for SDK (#17997)</li>
<li>Bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.1 (#18000)</li>
<li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#17988)</li>
<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#17983)</li>
<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#17945)</li>
<li>Make sure <code>Security.types.ps1xml</code> gets signed in release build (#17916)</li>
<li>Make Register Microsoft Update timeout (#17910)</li>
<li>Merge changes from v7.0.12 v7.2.6 and v7.3.0-preview.7</li>
<li>Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0 (#17871)</li>
</ul>

</details>

*** Documentation and Help Content

- Update readme and metadata for releases (#18780)(#18493)(#18393)(#18332)(#18128)(#17870)
- Remove 'please' and 'Core' from README.md per MS style guide (#18578) (Thanks @Rick-Anderson!)
- Change unsupported XML documentation tag (#18608)
- Change public API mention of `monad` to PowerShell (#18491)
- Update security reporting policy to recommend security portal for more streamlined reporting (#18437)
- Change log for v7.3.0 (#18505) (Internal 23161)
- Replace `msh` in public API comment based documentation with PowerShell equivalent (#18483)
- Add missing XML doc elements for methods in `RunspaceFactory` (#18450)
- Change log for `v7.3.0-rc.1` (#18400)
- Update change logs for `v7.2.7` and `v7.0.13` (#18342)
- Update the change log for v7.3.0-preview.8 (#18136)
- Add the `ConfigurationFile` option to the PowerShell help content (#18093)
- Update help content about the PowerShell flag `-NonInteractive` (#17952)

[7.4.0-preview.1]: v7.3.0-preview.8...v7.4.0-preview.1

v7.3.1

Toggle commit message
** [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>

v7.2.8

Toggle commit message
** [7.2.8] - 2022-12-13
      ** Engine Updates and Fixes

- Remove TabExpansion for PSv2 from remote session configuration (Internal 23294)

** Build and Packaging Improvements

<details>

<summary>

<p>Bump .NET SDK to 6.0.403</p>

</summary>

<ul>
<li>Update CGManifest and ThirdPartyNotices</li>
<li>Update Microsoft.CSharp from 4.3.0 to 4.7.0</li>
<li>Update to latest SDK (#18610)</li>
<li>Allow two-digit revisions in vPack package validation pattern (#18569)</li>
<li>Update outdated dependencies (#18576)</li>
<li>Work around args parsing issue (#18606)</li>
<li>Bump System.Data.SqlClient from 4.8.4 to 4.8.5 (#18515)</li>
</ul>

</details>

[7.2.8]: v7.2.7...v7.2.8

v7.3.0

Toggle commit message
* [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]: v7.3.0-rc.1...v7.3.0

v7.3.0-rc.1

Toggle commit message
[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]: v7.3.0-preview.8...v7.3.0-rc.1

v7.2.7

Toggle commit message
[7.2.7] - 2022-10-20
      * Engine Updates and Fixes

- On Unix, explicitly terminate the native process during cleanup only if it's not running in background (#18280)
- Stop sending telemetry about `ApplicationType` (#18168)

* General Cmdlet Updates and Fixes

- Remove the 1-second minimum delay in `Invoke-WebRequest` for downloading small files, and prevent file-download-error suppression (#18170)
- Enable searching for assemblies in GAC_Arm64 on Windows (#18169)
- Fix error formatting to use color defined in `$PSStyle.Formatting` (#18287)

* Tests

- Use Ubuntu 20.04 for SSH remoting test (#18289)

* Build and Packaging Improvements

<details>

<summary>

<p>Bump .NET to version 6.0.402 (#18188)(#18290)</p>

</summary>

<ul>
<li>Update cgmanifest (#18319)</li>
<li>Fix <code>build.psm1</code> to find the required .NET SDK version when a higher version is installed (#17299) (#18282)</li>
<li>Update MSI exit message (#18173)</li>
<li>Remove XML files for min-size package (#18274)</li>
<li>Update list of PS team members in release tools (#18171)</li>
<li>Make the link to minimal package blob public during release (#18174)</li>
<li>Add XML reference documents to NuPkg files for SDK (#18172)</li>
<li>Update to use version 2.21.0 of Application Insights (#18271)</li>
</ul>

</details>

[7.2.7]: v7.2.6...v7.2.7

v7.0.13

Toggle commit message
[7.0.13] - 2022-10-20
      * Engine Updates and Fixes

- Stop sending telemetry about `ApplicationType` (#18265)

* Build and Packaging Improvements

<details>

<summary>

<p>Bump .NET SDK to 3.1.424 (#18272)</p>

</summary>

<ul>
<li>Update Wix file for new assemblies (Internal 22873)</li>
<li>Update the <code>cgmanifest.json</code> for <code>v7.0.13</code> (#18318)</li>
<li>Update <code>Newtonsoft.Json</code> version for 7.0.13 release (#18259)</li>
<li>Fix <code>build.psm1</code> to not specify both version and quality for <code>dotnet-install</code> (#18267)</li>
<li>Update list of PowerShell team members in release tools(#18266)</li>
<li>Move <code>cgmanifest</code> generation to daily (#18268)</li>
<li>Disable static analysis CI on 7.0 (#18269)</li>
</ul>

</details>

[7.0.13]: v7.0.12...v7.0.13

v7.3.0-preview.8

Toggle commit message
[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]: v7.3.0-preview.7...v7.3.0-preview.8

v7.3.0-preview.7

Toggle commit message
* [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 backwards 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]: v7.3.0-preview.6...v7.3.0-preview.7

v7.2.6

Toggle commit message
* [7.2.6] - 2022-08-11
      * Engine Updates and Fixes

- Fix `ForEach-Object -Parallel` when passing in script block variable (#16564)

* General Cmdlet Updates and Fixes

- Make `Out-String` and `Out-File` keep string input unchanged (#17455)
- Update regex used to remove ANSI escape sequences to be more specific to decoration and hyperlinks (#16811)
- Fix legacy `ErrorView` types to use `$host.PrivateData` colors (#17705)
- Fix `Export-PSSession` to not throw error when a rooted path is specified for `-OutputModule` (#17671)

* Tests

- Disable RPM SBOM test. (#17532)

* Build and Packaging Improvements

<details>

<summary>
<p>Bump .NET SDK to 6.0.8 (Internal 22065)</p>
<p>We thank the following contributors!</p>
<p>@tamasvajk</p>
</summary>

<ul>
<li>Update Wix manifest</li>
<li>Add AppX capabilities in MSIX manifest so that PS7 can call the AppX APIs (#17416)</li>
<li>Use <code>Quality</code> only with <code>Channel</code> in <code>dotnet-install</code> (#17847)</li>
<li>Fix <code>build.psm1</code> to not specify both version and quality for <code>dotnet-install</code> (#17589) (Thanks @tamasvajk!)</li>
<li>Install .NET 3.1 as it is required by the vPack task</li>
</ul>

</details>

[7.2.6]: v7.2.5...v7.2.6
X Tutup