Skip to content

Latest commit

 

History

History
813 lines (657 loc) · 41.4 KB

preview.md

File metadata and controls

813 lines (657 loc) · 41.4 KB

Current preview release

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

We thank the following contributors!

@fflaten, @Molkree, @eltociear

  • Fix other path constructions using Path.Join (#17825)
  • Use null propagation (#17787)(#17789)(#17790)(#17791)(#17792)(#17795) (Thanks @fflaten!)
  • Re-enable compound assignment preference (#17784) (Thanks @Molkree!)
  • Use null-coalescing assignment (#17719)(#17720)(#17721)(#17722)(#17723)(#17724)(#17725)(#17726)(#17727)(#17728)(#17729) (Thanks @Molkree!)
  • Disable the warning IDE0031 to take .NET 7 Preview 7 (#17770)
  • Fix typo in ModuleCmdletBase.cs (#17714) (Thanks @eltociear!)

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

We thank the following contributors!

@varunsh-coder, @dkaszews, @Molkree, @ChuckieChen945

  • Update release pipeline to use Approvals and automate some manual tasks (#17837)
  • Add GitHub token permissions for workflows (#17781) (Thanks @varunsh-coder!)
  • Bump actions/github-script from 3 to 6 (#17842)
  • Bump cirrus-actions/rebase from 1.6 to 1.7 (#17843)
  • Remove unneeded verbose message in build (#17840)
  • Detect default runtime using dotnet --info in build.psm1 (#17818) (Thanks @dkaszews!)
  • Bump actions/checkout from 2 to 3 (#17828)
  • Bump actions/download-artifact from 2 to 3 (#17829)
  • Bump github/codeql-action from 1 to 2 (#17830)
  • Bump peter-evans/create-pull-request from 3 to 4 (#17831)
  • Bump actions/upload-artifact from 2 to 3 (#17832)
  • Enable Dependabot for GitHub Actions (#17775) (Thanks @Molkree!)
  • Update .NET SDK version from 7.0.100-preview.6.22352.1 to 7.0.100-preview.7.22377.5 (#17776)
  • Fix a bug in install-powershell.ps1 (#17794) (Thanks @ChuckieChen945!)
  • Bump xunit from 2.4.1 to 2.4.2 (#17817)
  • Update how to update homebrew (#17798)
  • Don't run link check on forks (#17797)
  • Update dotnetmetadata.json to start consuming .NET 7 preview 7 builds (#17736)
  • Bump PackageManagement from 1.4.7 to 1.4.8.1 (#17709)
  • Exclude ARM images from running in CI (#17713)

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.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

We thank the following contributors!

@sethvs, @MartinGC94, @eltociear

  • Fix comment in InternalCommands.cs (#17669) (Thanks @sethvs!)
  • Use discards for unused variables (#17620) (Thanks @MartinGC94!)
  • Fix typo in CommonCommandParameters.cs (#17524) (Thanks @eltociear!)

Tests

  • Fix SDK tests for release build (#17678)

Build and Packaging Improvements

We thank the following contributors!

@tamasvajk

  • Create test artifacts for Windows ARM64 (#17675)
  • Update to the latest NOTICES file (#17607)
  • Update .NET SDK version from 7.0.100-preview.5.22307.18 to 7.0.100-preview.6.22352.1 (#17634)
  • Set the compound assignment preference to false (#17632)
  • Update DotnetMetadata.json to start consuming .NET 7 Preview 6 builds (#17630)
  • Install .NET 3.1 as it is required by the vPack task (#17600)
  • Update to use PSReadLine v2.2.6 (#17595)
  • Fix build.psm1 to not specify both version and quality for dotnet-install (#17589) (Thanks @tamasvajk!)
  • Bump Newtonsoft.Json in /test/perf/dotnet-tools/Reporting (#17592)
  • Bump Newtonsoft.Json in /test/perf/dotnet-tools/ResultsComparer (#17566)
  • Disable RPM SBOM test. (#17532)

Documentation and Help Content

  • Remove katacoda.com from doc as it now returns 404 (#17625)
  • Update change log 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.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

We thank the following contributors!

@Yulv-git, @eltociear

  • Fix some typos in source code (#17481) (Thanks @Yulv-git!)
  • Fix typo in `AsyncResult.cs` (#17396) (Thanks @eltociear!)

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 pre-release 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

  • Update .NET SDK version from 7.0.100-preview.4.22252.9 to 7.0.100-preview.5.22307.18 (#17402)
  • Downgrade the Microsoft.CodeAnalysis.NetAnalyzers package to 7.0.0-preview1.22217.1 (#17515)
  • Rename mariner package to cm (#17505)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#17476)
  • Bump NJsonSchema from 10.7.1 to 10.7.2 (#17475)
  • Publish preview versions of mariner to preview repo (#17451)
  • Update to the latest NOTICES file (#17421)
  • Do not publish package for Mariner 1.0 (#17415)
  • Add AppX capabilities in MSIX manifest so that PS7 can call the AppX APIs (#17416)
  • Update to the latest NOTICES file (#17401)
  • Fix mariner mappings (#17413)
  • Update the cgmanifest (#17393)
  • Bump `NJsonSchema` from `10.7.0` to `10.7.1` (#17381)

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 change log for v7.3.0-preview.4 release (#17412)
  • Update readme and metadata for 7.3.0-preview.4 release (#17378)

7.3.0-preview.4 - 2022-05-23

Engine Updates and Fixes

  • Remove the use of BinaryFormatter in PSRP serialization (#17133) (Thanks @jborean93!)
  • Update telemetry collection removing unused data and adding some new data (#17304)
  • Fix the word wrapping in formatting to handle escape sequences properly (#17316)
  • Fix the error message in Hashtable-to-object conversion (#17329)
  • Add support for new WDAC API (#17247)
  • On Windows, reset cursor visibility back to previous state when rendering progress (#16782)
  • Fix the list view to not leak VT decorations (#17262)
  • Fix formatting truncation to handle strings with VT sequences (#17251)
  • Fix line breakpoints for return statements without a value (#17179)
  • Fix for partial PowerShell module search paths, that can be resolved to CWD locations (#17231) (Internal 20126)
  • Change logic in the testing helper module for determining whether PSHOME is writable (#17218)
  • Make a variable assignment in a ParenExpression to return the variable value (#17174)
  • Use new Windows signature APIs from Microsoft.Security.Extensions package (#17159)
  • Do not include node names when sending telemetry. (#16981)
  • Support forward slashes in network share (UNC path) completion (#17111) (#17117) (Thanks @sba923!)
  • Do not generate clean block in proxy function when the feature is disabled (#17112)
  • Ignore failure attempting to set console window title (#16948)
  • Update regex used to remove ANSI escape sequences to be more specific to decoration and CSI sequences (#16811)
  • Improve member auto completion (#16504) (Thanks @MartinGC94!)
  • Prioritize ValidateSet completions over Enums for parameters (#15257) (Thanks @MartinGC94!)
  • Add Custom Remote Connections Feature (#17011)

General Cmdlet Updates and Fixes

  • Add check for ScriptBlock wrapped in PSObject to $using used in ForEach-Object -Parallel (#17234) (Thanks @ryneandal!)
  • Fix ForEach method to set property on a scalar object (#17213)
  • Fix Sort-Object -Stable -Unique to actually do stable sorting (#17189) (Thanks @m1k0net!)
  • Add OutputType attribute to various commands (#16962) (Thanks @MartinGC94!)
  • Make Stop-Service only request needed privileges when not setting SDDL. (#16663) (Thanks @kvprasoon!)

Code Cleanup

  • Remove EventLogLogProvider and its related legacy code (#17027)
  • Fix typos in names of method (#17003) (Thanks @al-cheb!)
  • SemanticChecks: Avoid repeated type resolution of [ordered] (#17328) (Thanks IISResetMe!)
  • Redo the change that was reverted by #15853 (#17357)
  • Correct spelling of pseudo in Compiler.cs (#17285) (Thanks @eltociear!)
  • MakeNameObscurerTelemetryInitializer internal (#17214)
  • Make NameObscurerTelemetryInitializer internal (#17167)
  • Correct Typo in the resource string PathResolvedToMultiple (#17098) (Thanks @charltonstanley!)
  • Fix typo in ComRuntimeHelpers.cs (#17104) (Thanks @eltociear!)

Documentation and Help Content

  • Update link to PowerShell remoting in depth video (#17166)

Tests

  • Add -because to the failing test to aid in debugging (#17030)
  • Simplify Enum generator for the -bnot operator test (#17014)
  • Improve unique naming for tests (#17043)
  • Use a random string for the missing help topic to improve the chances that the help topic really won't be found. (#17042)

Build and Packaging Improvements

  • Update README.md and metadata.json for v7.3.0-preview.3 release (#17029)
  • Do not pull dotnet updates from internal feed (#17007)
  • Simplify Get-WSManSupport based on current .NET Distro Support (#17356)
  • Update to the latest NOTICES file (#17372, #17332, #17311, #17275)
  • Run on every PR and let the action skip (#17366)
  • Make sure verbose message is not null (#17363)
  • Release changelogs (#17364)
  • Update build versions (#17318)
  • Add Daily Link Check GitHub Workflow (#17351)
  • Update the cgmanifest (#17361, #17344, #17324, #17302, #17268)
  • Bump NJsonSchema from 10.6.10 to 10.7.0 (#17350)
  • Disable broken macOS CI job, which is unused (#17221)
  • Have rebase workflow Post a message when it starts (#17341)
  • Update DotnetRuntimeMetadata.json for .NET 7 Preview 4 (#17336)
  • Update Ubuntu 22 to be detected as not supported WSMan (#17338)
  • Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 (#17274)
  • Make sure we execute tests on LTS package for older LTS releases (#17326)
  • Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 (#17320)
  • Add fedora to the OS's that can't run WSMan (#17325)
  • Add sles15 support to install-powershell.sh (#16984)
  • Start rotating through all images (#17315)
  • Update .NET SDK version from 7.0.100-preview.2.22153.17 to 7.0.100-preview.4.22252.9 (#17061)
  • Disable release security analysis for SSH CI (#17303)
  • Add a finalize template which causes jobs with issues to fail (#17314)
  • Add mapping for ubuntu22.04 jammy (#17317)
  • Enable more tests to be run in a container. (#17294)
  • Fix build.psm1 to find the required .NET SDK version when a higher version is installed (#17299)
  • Improve how Linux container CI builds are identified (#17295)
  • Only inject NuGet security analysis if we are using secure nuget.config (#17293)
  • Reduce unneeded verbose message from build.psm1 (#17291)
  • Switch to using GitHub action to verify markdown links for PRs (#17281)
  • Put Secure supply chain analysis at correct place (#17273)
  • Fix build id variable name when selecting CI container (#17279)
  • Add rotation between the two mariner images (#17277)
  • Update to use mcr.microsoft.com (#17272)
  • Update engine working group members (#17271)
  • Bump PSReadLine from 2.2.2 to 2.2.5 in /src/Modules (#17252)
  • Update timeout for daily (#17263)
  • Bump NJsonSchema from 10.6.9 to 10.6.10 (#16902)
  • Update the cgmanifest (#17260)
  • Fix Generate checksum file for packages build failure - v7.1.7 (#17219) (Internal 20274)
  • Move cgmanifest generation to daily (#17258)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#17245)
  • Update to the latest notice file (#17238)
  • Add container to Linux CI (#17233)
  • Mark Microsoft.Management.Infrastructure.Runtime.Win as a developer dependency to hide in notice file (#17230)
  • Fixing dotnet SDK version parsing in build.psm1 (#17198) (Thanks @powercode!)
  • Fixed package names verification to support multi-digit versions (#17220)
  • Bump Microsoft.CodeAnalysis.CSharp from 4.2.0-1.final to 4.2.0-4.final (#17210)
  • Add backport action (#17212)
  • Updated change logs for v7.0.9 / v7.0.10 / v7.1.6 / v7.1.7 / v7.2.2 / v7.2.3 (#17207)
  • Updated metadata.json and README.md for v7.2.3 and v7.0.10 (#17158)
  • Update package fallback list for ubuntu (from those updated for ubuntu 22.04) (deb) (#17180)
  • Update wix to include security extensions package (#17171)
  • Update rebase.yml (#17170)
  • Adds sha256 digests to RPM packages (#16896) (Thanks @ngharo!)
  • Make mariner packages Framework dependent (#17151)
  • Update to the latest notice file (#17169)
  • Update to the latest notice file (#17146)
  • Replace . in notices container name (#17154)
  • Allow multiple installations of dotnet. (#17141)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#17105)
  • Update to the latest notice file (#16437)
  • Skip failing scriptblock tests (#17093)
  • Update dotnet-install script download link (#17086)
  • Fix the version of the Microsoft.CodeAnalysis.NetAnalyzers package (#17075)
  • Update dotnetmetadata.json to accept .NET 7 preview 3 builds (#17063)
  • Re-enable PowerShellGet tests targeting PowerShell gallery (#17062)
  • Add mariner 1.0 amd64 package (#17057)
  • Create checksum file for global tools (#17056)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#17065)
  • Use new cask format (#17064)

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

Update .NET SDK to 7.0.0-preview.2

  • Update .NET to 7.0.0-preview.2 build (#16930)
  • Update AzureFileCopy task and fix the syntax for specifying pool (#17013)

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 file names 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

We thank the following contributors!

@eltociear, @iSazonov, @xtqqczze

  • Fix typo in PowerShellExecutionHelper.cs (#16776) (Thanks @eltociear!)
  • Use more efficient platform detection API (#16760) (Thanks @iSazonov!)
  • Seal ClientRemotePowerShell (#15802) (Thanks @xtqqczze!)
  • Fix the DSC overview URL in a markdown file and some small cleanup changes (#16629)

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

We thank the following contributors!

@dahlia

  • Update NuGet Testing to not re-install dotnet, when not needed and dynamically determine the DOTNET_ROOT (Internal 19268, 19269, 19272, 19273, and 19274)
  • Remove SkipExperimentalFeatureGeneration when building alpine (Internal 19248)
  • Revert .NET 7 changes, Update to the latest .NET 6 and Update WXS file due to blocking issue in .NET 7 Preview 1
  • Install and Find AzCopy
  • Use Start-PSBootStrap for installing .NET during nuget packaging
  • Fix pool syntax for deployments (Internal 19189)
  • Bump NJsonSchema from 10.5.2 to 10.6.9 (#16888)
  • Update projects and scripts to use .NET 7 preview 1 pre-release builds (#16856)
  • Add warning messages when package precheck fails (#16867)
  • Refactor Global Tool packaging to include SBOM generation (#16860)
  • Update to use windows-latest as the build agent image (#16831)
  • Ensure alpine and arm SKUs have powershell.config.json file with experimental features enabled (#16823)
  • Update experimental feature json files (#16838) (Thanks @github-actions[bot]!)
  • Remove WiX install (#16834)
  • Add experimental json update automation (#16833)
  • Update .NET SDK to 6.0.101 and fix Microsoft.PowerShell.GlobalTool.Shim.csproj (#16821)
  • Add SBOM manifest to nuget packages (#16711)
  • Improve logic for updating .NET in CI (#16808)
  • Add Linux package dependencies for packaging (#16807)
  • Switch to our custom images for build and release (#16801)
  • Remove all references to cmake for the builds in this repo (#16578)
  • Fix build for new InvokeCommand attributes (#16800)
  • Let macOS installer run without Rosetta on Apple Silicon (#16742) (Thanks @dahlia!)
  • Update the expect .NET SDK quality to GA for installing dotnet (#16784)
  • Change nuget release yaml to use UseDotNet task (#16701)
  • Bump Microsoft.ApplicationInsights from 2.19.0 to 2.20.0 (#16642)
  • Register NuGet source when generating CGManifest (#16570)
  • Update Images used for release (#16580)
  • Update SBOM generation (#16641)
  • Bring changes from 7.3.0-preview.1 (#16640)
  • Update the vmImage and PowerShell root directory for macOS builds (#16611)
  • Update macOS build image and root folder for build (#16609)
  • Disabled Yarn cache in markdown.yml (#16599)
  • Update cgmanifest (#16600)
  • Fix broken links in markdown (#16598)

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 change log 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.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

We thank the following contributors!

@xtqqczze, @eltociear, @iSazonov

  • Improve CommandInvocationIntrinsics API documentation and style (#14369)
  • Use bool?.GetValueOrDefault() in FormatWideCommand (#15988) (Thanks @xtqqczze!)
  • Remove 4 assertions which cause debug build test runs to fail (#15963)
  • Fix typo in `Job.cs` (#16454) (Thanks @eltociear!)
  • Remove unnecessary call to `ToArray` (#16307) (Thanks @iSazonov!)
  • Remove the unused `FollowSymLink` function (#16231)
  • Fix typo in `TypeTable.cs` (#16220) (Thanks @eltociear!)
  • Fixes #16176 - replace snippet tag with code tag in comments (#16177)

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

We thank the following contributors!

@github-actions[bot], @kondratyev-nv

  • fix issue with hash file getting created before we have finished get-childitem (#16170)
  • Add sha256 hashes to release (#16147)
  • Change path for Component Governance for build to the path we actually use to build (#16137)
  • Update Microsoft.CodeAnalysis.CSharp version (#16138)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16070)
  • Update .NET to 6.0.100-rc.1.21458.32 (#16066)
  • Update minimum required OS version for macOS (#16088)
  • Set locale correctly on Linux CI (#16073)
  • Ensure locale is set correctly on Ubuntu 20.04 in CI (#16067)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16045)
  • 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]!)
  • Fix the GitHub Action for updating .NET daily builds (#16042)
  • Bump Microsoft.CodeAnalysis.CSharp from 4.0.0-3.final to 4.0.0-4.21430.4 (#16036)
  • Bump .NET to `6.0.100-rc.1.21430.44` (#16028)
  • Move from PkgES hosted agents to 1ES hosted agents (#16023)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16021)
  • Update Ubuntu images to use Ubuntu 20.04 (#15906)
  • Fix the mac build by updating the pool image name (#16010)
  • Use Alpine 3.12 for building PowerShell for alpine (#16008)
  • 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]!)
  • Ignore error from Find-Package (#15999)
  • Find packages separately for each source in UpdateDotnetRuntime.ps1 script (#15998)
  • Update metadata to start using .NET 6 RC1 builds (#15981)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#15985)
  • Merge the v7.2.0-preview.9 release branch back to GitHub master (#15983)
  • Publish global tool package for stable releases (#15961)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers to newer version (#15962)
  • Disabled Yarn cache in markdown.yml (#16599)
  • Update cgmanifest (#16600)
  • Fix broken links in markdown (#16598)
  • Add explicit job name for approval tasks in Snap stage (#16579)
  • Bring back pwsh.exe for framework dependent packages to support Start-Job (#16535)
  • Fix NuGet package generation in release build (#16509)
  • Add `Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute` to list of patterns to remove for generated ref assembly (#16489)
  • Bump Microsoft.CodeAnalysis.CSharp from `4.0.0-6.final` to `4.0.1` (#16423)
  • use different containers for different branches (#16434)
  • Add import so we can use common GitHub workflow function. (#16433)
  • Remove pre-release .NET 6 build sources (#16418)
  • Update release instructions with link to new build (#16419)
  • Bump Microsoft.ApplicationInsights from 2.18.0 to 2.19.0 (#16413)
  • Update metadata.json to make 7.2.0 the latest LTS (#16417)
  • Make static CI a matrix (#16397)
  • Update metadata.json in preparation on 7.3.0-preview.1 release (#16406)
  • Update cgmanifest (#16405)
  • Add diagnostics used to take corrective action when releasing `buildInfoJson` (#16404)
  • `vPack` release should use `buildInfoJson` new to 7.2 (#16402)
  • Update the usage of metadata.json for getting LTS information (#16381)
  • Add checkout to build json stage to get `ci.psm1` (#16399)
  • Update CgManifest.json for 6.0.0 .NET packages (#16398)
  • Add current folder to the beginning of the module import (#16353)
  • Increment RC MSI build number by 100 (#16354)
  • Bump XunitXml.TestLogger from 3.0.66 to 3.0.70 (#16356)
  • Move PR Quantifier config to subfolder (#16352)
  • Release build info json when it is preview (#16335)
  • Add an approval for releasing build-info json (#16351)
  • Generate manifest with latest public version of the packages (#16337)
  • Update to the latest notices file (#16339) (Thanks @github-actions[bot]!)
  • Use notice task to generate license assuming cgmanifest contains all components (#16340)
  • Refactor cgmanifest generator to include all components (#16326)
  • Fix issues in release build (#16332)
  • Update feed and analyzer dependency (#16327)
  • Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0 (#16312)
  • Update license and cgmanifest (#16325) (Thanks @github-actions[bot]!)
  • Fix condition in cgmanifest logic (#16324)
  • Add GitHub Workflow to keep notices up to date (#16284)
  • Update to latest .NET 6 GA build 6.0.100-rtm.21527.11 (#16309)
  • Create compliance build (#16286)
  • Move mapping file into product repo and add Debian 11 (#16316)
  • Add a major-minor build info JSON file (#16301)
  • Clean up crossgen related build scripts also generate native symbols for R2R images (#16297)
  • Fix Windows build ZIP packaging (#16299) (Thanks @kondratyev-nv!)
  • Revert "Update to use .NET 6 GA build (#16296)" (#16308)
  • Add wget as a dependency for Bootstrap script (#16303) (Thanks @kondratyev-nv!)
  • Fix issues reported by code signing verification tool (#16291)
  • Update to use .NET 6 GA build (#16296)
  • Revert "add GH workflow to keep the cgmanifest up to date." (#16294)
  • Update ChangeLog for 7.2.0-rc.1 and also fix RPM packaging (#16290)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16271)
  • add GH workflow to keep the cgmanifest up to date.
  • Update ThirdPartyNotices.txt (#16283)
  • Update `testartifacts.yml` to use ubuntu-latest image (#16279)
  • Update version of Microsoft.PowerShell.Native and Microsoft.PowerShell.MarkdownRender packages (#16277)
  • Add script to generate cgmanifest.json (#16278)
  • Add cgmanifest.json for generating correct third party notice file (#16266)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers from `6.0.0-rtm.21504.2` to `6.0.0-rtm.21516.1` (#16264)
  • Only upload stable buildinfo for stable releases (#16251)
  • Make RPM license recognized (#16189)
  • Don't upload dep or tar.gz for RPM because there are none. (#16230)
  • Add condition to generate release files in local dev build only (#16259)
  • Update .NET 6 to version 6.0.100-rc.2.21505.57 (#16249)
  • change order of try-catch-finally and split out arm runs (#16252)
  • Ensure psoptions.json and manifest.spdx.json files always exist in packages (#16258)
  • Update to vPack task version to 12 (#16250)
  • Remove unneeded `NuGetConfigFile` resource string (#16232)
  • Add Software Bill of Materials to the main packages (#16202)
  • Sign third party exes (#16229)
  • Upgrade set-value package for markdown test (#16196)
  • Use Ubuntu 20.04 for SSH remoting test (#16225)
  • Bump Microsoft.CodeAnalysis.NetAnalyzers (#16194)
  • Bump `Microsoft.CodeAnalysis.NetAnalyzers` from `6.0.0-rc2.21458.5` to `6.0.0-rtm.21480.8` (#16183)
  • Move vPack build to 1ES Pool (#16169)
  • Fix Microsoft update spelling issue. (#16178)

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 change logs (#16471) (Thanks @powershellpr0mpt!)
  • Update change log 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 change logs for v7.0.8 and v7.1.5 releases (#16248)