Tags: calendb/PowerShell
Tags
[7.2.0-preview.5] - 2021-04-14 * Breaking Changes - Make PowerShell Linux deb and RPM packages universal (PowerShell#15109) - Enforce AppLocker Deny configuration before Execution Policy Bypass configuration (PowerShell#15035) - Disallow mixed dash and slash in command line parameter prefix (PowerShell#15142) (Thanks @davidBar-On!) * Experimental Features - `PSNativeCommandArgumentPassing`: Use `ArgumentList` for native executable invocation (breaking change) (PowerShell#14692) * Engine Updates and Fixes - Add `IArgumentCompleterFactory` for parameterized `ArgumentCompleters` (PowerShell#12605) (Thanks @powercode!) * General Cmdlet Updates and Fixes - Fix SSH remoting connection never finishing with misconfigured endpoint (PowerShell#15175) - Respect `TERM` and `NO_COLOR` environment variables for `$PSStyle` rendering (PowerShell#14969) - Use `ProgressView.Classic` when Virtual Terminal is not supported (PowerShell#15048) - Fix `Get-Counter` issue with `-Computer` parameter (PowerShell#15166) (Thanks @krishnayalavarthi!) - Fix redundant iteration while splitting lines (PowerShell#14851) (Thanks @hez2010!) - Enhance `Remove-Item -Recurse` to work with OneDrive (PowerShell#14902) (Thanks @iSazonov!) - Change minimum depth to 0 for `ConvertTo-Json` (PowerShell#14830) (Thanks @kvprasoon!) - Allow `Set-Clipboard` to accept empty string (PowerShell#14579) - Turn on and off `DECCKM` to modify keyboard mode for Unix native commands to work correctly (PowerShell#14943) - Fall back to `CopyAndDelete()` when `MoveTo()` fails due to an `IOException` (PowerShell#15077) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze, @iSazonov, @ZhiZe-ZG</p> </summary> <ul> <li>Update .NET to <code>6.0.0-preview.3</code> (PowerShell#15221)</li> <li>Add space before comma to hosting test to fix error reported by <code>SA1001</code> (PowerShell#15224)</li> <li>Add <code>SecureStringHelper.FromPlainTextString</code> helper method for efficient secure string creation (PowerShell#14124) (Thanks @xtqqczze!)</li> <li>Use static lambda keyword (PowerShell#15154) (Thanks @iSazonov!)</li> <li>Remove unnecessary <code>Array</code> -> <code>List</code> -> <code>Array</code> conversion in <code>ProcessBaseCommand.AllProcesses</code> (PowerShell#15052) (Thanks @xtqqczze!)</li> <li>Standardize grammar comments in Parser.cs (PowerShell#15114) (Thanks @ZhiZe-ZG!)</li> <li>Enable <code>SA1001</code>: Commas should be spaced correctly (PowerShell#14171) (Thanks @xtqqczze!)</li> <li>Refactor <code>MultipleServiceCommandBase.AllServices</code> (PowerShell#15053) (Thanks @xtqqczze!)</li> </ul> </details> * Tools - Use Unix line endings for shell scripts (PowerShell#15180) (Thanks @xtqqczze!) * Tests - Add the missing tag in Host Utilities tests (PowerShell#14983) - Update `copy-props` version in `package.json` (PowerShell#15124) * Build and Packaging Improvements <details> <summary> <p>We thank the following contributors!</p> <p>@JustinGrote</p> </summary> <ul> <li>Fix <code>yarn-lock</code> for <code>copy-props</code> (PowerShell#15225)</li> <li>Make package validation regex accept universal Linux packages (PowerShell#15226)</li> <li>Bump NJsonSchema from 10.4.0 to 10.4.1 (PowerShell#15190)</li> <li>Make MSI and EXE signing always copy to fix daily build (PowerShell#15191)</li> <li>Sign internals of EXE package so that it works correctly when signed (PowerShell#15132)</li> <li>Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4 (PowerShell#15141)</li> <li>Update daily release tag format to work with new Microsoft Update work (PowerShell#15164)</li> <li>Feature: Add Ubuntu 20.04 Support to install-powershell.sh (PowerShell#15095) (Thanks @JustinGrote!)</li> <li>Treat rebuild branches like release branches (PowerShell#15099)</li> <li>Update WiX to 3.11.2 (PowerShell#15097)</li> <li>Bump NJsonSchema from 10.3.11 to 10.4.0 (PowerShell#15092)</li> <li>Allow patching of preview releases (PowerShell#15074)</li> <li>Bump Newtonsoft.Json from 12.0.3 to 13.0.1 (PowerShell#15084, PowerShell#15085)</li> <li>Update the <code>minSize</code> build package filter to be explicit (PowerShell#15055)</li> <li>Bump NJsonSchema from 10.3.10 to 10.3.11 (PowerShell#14965)</li> </ul> </details> * Documentation and Help Content - Merge `7.2.0-preview.4` changes to master (PowerShell#15056) - Update `README` and `metadata.json` (PowerShell#15046) - Fix broken links for `dotnet` CLI (PowerShell#14937) [7.2.0-preview.5]: PowerShell/PowerShell@v7.2.0-preview.4...v7.2.0-preview.5
[7.2.0-preview.4] - 2021-03-16 *** Breaking Changes - Fix `Get-Date -UFormat` `%G` and `%g` behavior (PowerShell#14555) (Thanks @brianary!) *** Engine Updates and Fixes - Update engine script signature validation to match `Get-AuthenticodeSignature` logic (PowerShell#14849) - Avoid array allocations from `GetDirectories` and `GetFiles` (PowerShell#14327) (Thanks @xtqqczze!) *** General Cmdlet Updates and Fixes - Add `UseOSCIndicator` setting to enable progress indicator in terminal (PowerShell#14927) - Re-enable VT mode on Windows after running command in `ConsoleHost` (PowerShell#14413) - Fix `Move-Item` for `FileSystemProvider` to use copy-delete instead of move for DFS paths (PowerShell#14913) - Fix `PromptForCredential()` to add `targetName` as domain (PowerShell#14504) - Update `Concise` `ErrorView` to not show line information for errors from script module functions (PowerShell#14912) - Remove the 32,767 character limit on the environment block for `Start-Process` (PowerShell#14111) (Thanks @hbuckle!) - Don't write possible secrets to verbose stream for web cmdlets (PowerShell#14788) *** Tools - Update `dependabot` configuration to V2 format (PowerShell#14882) - Add tooling issue slots in PR template (PowerShell#14697) *** Tests - Move misplaced test file to tests directory (PowerShell#14908) (Thanks @MarianoAlipi!) - Refactor MSI CI (PowerShell#14753) *** Build and Packaging Improvements <details> <summary> Update .NET to version <code>6.0.100-preview.2.21155.3</code> </summary> <ul> <li>Update .NET to version <code>6.0.100-preview.2.21155.3</code> (PowerShell#15007)</li> <li>Bump <code>Microsoft.PowerShell.Native</code> to <code>7.2.0-preview.1</code> (PowerShell#15030)</li> <li>Create MSIX Bundle package in release pipeline (PowerShell#14982)</li> <li>Build self-contained minimal size package for Guest Config team (PowerShell#14976)</li> <li>Bump XunitXml.TestLogger from 3.0.62 to 3.0.66 (PowerShell#14993) (Thanks @dependabot[bot]!)</li> <li>Enable building PowerShell for Apple M1 runtime (PowerShell#14923)</li> <li>Fix the variable name in the condition for miscellaneous analysis CI (PowerShell#14975)</li> <li>Fix the variable usage in CI yaml (PowerShell#14974)</li> <li>Disable running markdown link verification in release build CI (PowerShell#14971)</li> <li>Bump Microsoft.CodeAnalysis.CSharp from 3.9.0-3.final to 3.9.0 (PowerShell#14934) (Thanks @dependabot[bot]!)</li> <li>Declare which variable group is used for checking the blob in the release build (PowerShell#14970)</li> <li>Update metadata and script to enable consuming .NET daily builds (PowerShell#14940)</li> <li>Bump NJsonSchema from 10.3.9 to 10.3.10 (PowerShell#14933) (Thanks @dependabot[bot]!)</li> <li>Use template that disables component governance for CI (PowerShell#14938)</li> <li>Add suppress for nuget multi-feed warning (PowerShell#14893)</li> <li>Bump NJsonSchema from 10.3.8 to 10.3.9 (PowerShell#14926) (Thanks @dependabot[bot]!)</li> <li>Add exe wrapper to release (PowerShell#14881)</li> <li>Bump Microsoft.ApplicationInsights from 2.16.0 to 2.17.0 (PowerShell#14847)</li> <li>Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1 (PowerShell#14895) (Thanks @dependabot[bot]!)</li> <li>Bump NJsonSchema from 10.3.7 to 10.3.8 (PowerShell#14896) (Thanks @dependabot[bot]!)</li> <li>Disable codesign validation where the file type is not supported (PowerShell#14885)</li> <li>Fixing broken Experimental Feature list in <code>powershell.config.json</code> (PowerShell#14858)</li> <li>Bump NJsonSchema from 10.3.6 to 10.3.7 (PowerShell#14855)</li> <li>Add exe wrapper for Microsoft Update scenarios (PowerShell#14737)</li> <li>Install wget on <code>CentOS</code> 7 docker image (PowerShell#14857)</li> <li>Fix install-dotnet download (PowerShell#14856)</li> <li>Fix Bootstrap step in Windows daily test runs (PowerShell#14820)</li> <li>Bump NJsonSchema from 10.3.5 to 10.3.6 (PowerShell#14818)</li> <li>Bump <code>NJsonSchema</code> from <code>10.3.4</code> to <code>10.3.5</code> (PowerShell#14807)</li> </ul> </details> *** Documentation and Help Content - Update `README.md` and `metadata.json` for upcoming releases (PowerShell#14755) - Merge 7.1.3 and 7.0.6 Change log to master (PowerShell#15009) - Update `README` and `metadata.json` for releases (PowerShell#14997) - Update ChangeLog for `v7.1.2` release (PowerShell#14783) - Update ChangeLog for `v7.0.5` release (PowerShell#14782) (Internal 14479) [7.2.0-preview.4]: PowerShell/PowerShell@v7.2.0-preview.3...v7.2.0-preview.4
[7.1.3] - 2021-03-11 *** Engine Updates and Fixes - Remove the 32K character limit on the environment block for `Start-Process` (PowerShell#14111) - Fix webcmdlets to properly construct URI from body when using `-NoProxy` (PowerShell#14673) *** General Cmdlet Updates and Fixes - Fix `PromptForCredential()` to add `targetName` as domain (PowerShell#14504) *** Build and Packaging Improvements <details> <summary> Bump .NET SDK to 5.0.4 </summary> <ul> <li>Bump .NET SDK to 5.0.4 (Internal 14775)</li> <li>Disable running markdown link verification in release build CI (PowerShell#14971, PowerShell#14974, PowerShell#14975)</li> <li>Use template that disables component governance for CI (PowerShell#14938)</li> <li>Declare which variable group is used for checking the blob in the release build (PowerShell#14970)</li> <li>Add suppress for nuget multi-feed warning (PowerShell#14893)</li> <li>Disable code signing validation where the file type is not supported (PowerShell#14885)</li> <li>Install wget on <code>CentOS</code> 7 docker image (PowerShell#14857)</li> <li>Fix install-dotnet download (PowerShell#14856)</li> <li>Make universal Deb package based on deb package spec (PowerShell#14681)</li> <li>Fix release build to upload global tool packages to artifacts (PowerShell#14620)</li> <li>Update <code>ini</code> component version in test <code>package.json</code> (PowerShell#14454)</li> <li>Add manual release automation steps and improve changelog script (PowerShell#14445)</li> <li>Update markdown test packages with security fixes (PowerShell#14145)</li> <li>Fix a typo in the <code>Get-ChangeLog</code> function (PowerShell#14129)</li> <li>Disable global tool copy to unblock release</li> </ul> </details> [7.1.3]: PowerShell/PowerShell@v7.1.2...v7.1.3
[7.0.6] - 2021-03-11 *** General Cmdlet Updates and Fixes - Fix web cmdlets to properly construct URI from body when using `-NoProxy` (PowerShell#14673) - Fix `PromptForCredential()` to add `targetName` as domain (PowerShell#14504) - Clean up the IPC named pipe on PowerShell exit (PowerShell#12187) *** Tests - Update markdown test packages with security fixes (PowerShell#13730, PowerShell#14145, PowerShell#14454) *** Build and Packaging Improvements <details> <summary> Bump .NET SDK to version <code>3.1.407</code> </summary> <ul> <li>Bump .NET to version 3.1.407 (Internal 14783)</li> <li>Fix the miscellaneous analysis CI build (PowerShell#14971, PowerShell#14974, PowerShell#14975)</li> <li>Declare which variable group is used for checking the blob in the release build (PowerShell#14970)</li> <li>Use template that disables component governance for CI (PowerShell#14938)</li> <li>Suppress the warning for having multiple nuget feeds (PowerShell#14893)</li> <li>Disable codesign validation where the file type is not supported (PowerShell#14885)</li> <li>Make universal Deb package based on deb package spec (PowerShell#14681)</li> <li>Add manual release automation steps and improve changelog script (PowerShell#14445)</li> <li>Fix a typo in the <code>Get-ChangeLog</code> function (PowerShell#14129)</li> <li>Add validation and dependencies for <code>Ubuntu 20.04</code> distribution to packaging script (PowerShell#13993)</li> <li>Add comment in release-BuildJson.yml for date formatting</li> <li>Install wget on centos-7 docker image</li> <li>Fix install-dotnet download (PowerShell#14856)</li> <li>Fix release build to upload global tool packages to artifacts (PowerShell#14620)</li> <li>Fixes to release pipeline for GA release (PowerShell#14034)</li> <li>Add checkout step to release build templates (PowerShell#13840)</li> <li>Add flag to make Linux script publish to production repo (PowerShell#13714)</li> <li>Use new release script for Linux packages (PowerShell#13705)</li> <li>Change stage dependency for docker release stage in release pipeline (PowerShell#13512)</li> <li>Create the folder before copying the global tools (PowerShell#13476)</li> <li>A few fixes to the release pipeline (PowerShell#13473)</li> <li>Change the variable group name (Internal 12339)</li> <li>Create release pipeline as a yaml pipeline (PowerShell#13394)</li> </ul> </details> [7.0.6]: PowerShell/PowerShell@v7.0.5...v7.0.6
** [7.2.0-preview.3] - 2021-02-11 *** Breaking Changes - Fix `Get-Date -UFormat %u` behavior to comply with ISO 8601 (PowerShell#14549) (Thanks @brianary!) *** Engine Updates and Fixes - Together with `PSDesiredStateConfiguration` `v3` module allows `Get-DscResource`, `Invoke-DscResource` and DSC configuration compilation on all platforms, supported by PowerShell (using class-based DSC resources). *** Performance - Avoid array allocations from `Directory.GetDirectories` and `Directory.GetFiles`. (PowerShell#14326) (Thanks @xtqqczze!) - Avoid `string.ToLowerInvariant()` from `GetEnvironmentVariableAsBool()` to avoid loading libicu at startup (PowerShell#14323) (Thanks @iSazonov!) - Get PowerShell version in `PSVersionInfo` using assembly attribute instead of `FileVersionInfo` (PowerShell#14332) (Thanks @Fs00!) *** General Cmdlet Updates and Fixes - Suppress `Write-Progress` in `ConsoleHost` if output is redirected and fix tests (PowerShell#14716) - Experimental feature `PSAnsiProgress`: Add minimal progress bar using ANSI rendering (PowerShell#14414) - Fix web cmdlets to properly construct URI from body when using `-NoProxy` (PowerShell#14673) - Update the `ICommandPredictor` to provide more feedback and also make feedback easier to be correlated (PowerShell#14649) - Reset color after writing `Verbose`, `Debug`, and `Warning` messages (PowerShell#14698) - Fix using variable for nested `ForEach-Object -Parallel` calls (PowerShell#14548) - When formatting, if collection is modified, don't fail the entire pipeline (PowerShell#14438) - Improve completion of parameters for attributes (PowerShell#14525) (Thanks @MartinGC94!) - Write proper error messages for `Get-Command ' '` (PowerShell#13564) (Thanks @jakekerr!) - Fix typo in the resource string `ProxyURINotSupplied` (PowerShell#14526) (Thanks @romero126!) - Add support to `$PSStyle` for strikethrough and hyperlinks (PowerShell#14461) - Fix `$PSStyle` blink codes (PowerShell#14447) (Thanks @iSazonov!) *** Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze, @powercode</p> </summary> <ul> <li>Fix coding style issues: RCS1215, IDE0090, SA1504, SA1119, RCS1139, IDE0032 (PowerShell#14356, PowerShell#14341, PowerShell#14241, PowerShell#14204, PowerShell#14442, PowerShell#14443) (Thanks @xtqqczze!)</li> <li>Enable coding style checks: CA2249, CA1052, IDE0076, IDE0077, SA1205, SA1003, SA1314, SA1216, SA1217, SA1213 (PowerShell#14395, PowerShell#14483, PowerShell#14494, PowerShell#14495, PowerShell#14441, PowerShell#14476, PowerShell#14470, PowerShell#14471, PowerShell#14472) (Thanks @xtqqczze!)</li> <li>Enable nullable in PowerShell codebase (PowerShell#14160, PowerShell#14172, PowerShell#14088, PowerShell#14154, PowerShell#14166, PowerShell#14184, PowerShell#14178) (Thanks @powercode!)</li> <li>Use <code>string.Split(char)</code> instead of <code>string.Split(string)</code> (PowerShell#14465) (Thanks @xtqqczze!)</li> <li>Use <code>string.Contains(char)</code> overload (PowerShell#14368) (Thanks @xtqqczze!)</li> <li>Refactor complex <code>if</code> statements (PowerShell#14398) (Thanks @xtqqczze!)</li> </ul> </details> *** Tools - Update script to use .NET 6 build resources (PowerShell#14705) - Fix the daily GitHub action (PowerShell#14711) (Thanks @imba-tjd!) - GitHub Actions: fix deprecated `::set-env` (PowerShell#14629) (Thanks @imba-tjd!) - Update markdown test tools (PowerShell#14325) (Thanks @RDIL!) - Upgrade `StyleCopAnalyzers` to `v1.2.0-beta.312` (PowerShell#14354) (Thanks @xtqqczze!) *** Tests - Remove packaging from daily Windows build (PowerShell#14749) - Update link to the Manning book (PowerShell#14750) - A separate Windows packaging CI (PowerShell#14670) - Update `ini` component version in test `package.json` (PowerShell#14454) - Disable `libmi` dependent tests for macOS. (PowerShell#14446) *** Build and Packaging Improvements <details> <ul> <li>Fix the NuGet feed name and URL for .NET 6</li> <li>Fix third party signing for files in sub-folders (PowerShell#14751)</li> <li>Make build script variable an <code>ArrayList</code> to enable <code>Add()</code> method (PowerShell#14748)</li> <li>Remove old .NET SDKs to make <code>dotnet restore</code> work with the latest SDK in CI pipeline (PowerShell#14746)</li> <li>Remove outdated Linux dependencies (PowerShell#14688)</li> <li>Bump .NET SDK version to 6.0.0-preview.1 (PowerShell#14719)</li> <li>Bump <code>NJsonSchema</code> to 10.3.4 (PowerShell#14714)</li> <li>Update daily GitHub action to allow manual trigger (PowerShell#14718)</li> <li>Bump <code>XunitXml.TestLogger</code> to 3.0.62 (PowerShell#14702)</li> <li>Make universal deb package based on the deb package specification (PowerShell#14681)</li> <li>Add manual release automation steps and improve changelog script (PowerShell#14445)</li> <li>Fix release build to upload global tool packages to artifacts (PowerShell#14620)</li> <li>Port changes from the PowerShell v7.0.4 release (PowerShell#14637)</li> <li>Port changes from the PowerShell v7.1.1 release (PowerShell#14621)</li> <li>Updated README and <code>metadata.json</code> (PowerShell#14401, PowerShell#14606, PowerShell#14612)</li> <li>Do not push nupkg artifacts to MyGet (PowerShell#14613)</li> <li>Use one feed in each <code>nuget.config</code> in official builds (PowerShell#14363)</li> <li>Fix path signed RPMs are uploaded from in release build (PowerShell#14424)</li> </ul> </details> *** Documentation and Help Content - Update distribution support request template to point to .NET 5.0 support document (PowerShell#14578) - Remove security GitHub issue template (PowerShell#14453) - Add intent for using the Discussions feature in repo (PowerShell#14399) - Fix Universal Dashboard to refer to PowerShell Universal (PowerShell#14437) - Update document link because of HTTP 301 redirect (PowerShell#14431) (Thanks @xtqqczze!) [7.2.0-preview.3]: PowerShell/PowerShell@v7.2.0-preview.2...v7.2.0-preview.3
** [7.1.2] - 2021-02-11 *** Build and Packaging Improvements <details> <summary> Bump .NET SDK to version <code>5.0.103</code> </summary> <ul> <li>Fix third party signing for files in sub-folders (PowerShell#14751)</li> <li>Bump .NET SDK to version 5.0.103 (Internal 14459)</li> <li>Publish the global tool package for stable release</li> </ul> </details> [7.1.2]: PowerShell/PowerShell@v7.1.1...v7.1.2
** [7.0.5] - 2021-02-11 *** Build and Packaging Improvements <details> <summary> Bump .NET SDK to version <code>3.1.406</code> </summary> <ul> <li>Fix third party signing for files in sub-folders (PowerShell#14751)</li> <li>Bump .NET SDK to 3.1.12 (Internal 14462)</li> </ul> </details> [7.0.5]: PowerShell/PowerShell@v7.0.4...v7.0.5
** [7.0.4] - 2021-01-19 *** Build and Packaging Improvements <details> <summary> Bump .NET SDK to version <code>3.1.405</code> </summary> <ul> <li>Remove MyGet feeds from test nuget.config (Internal 14147)</li> <li>Update WXS file for 7.0.4 (Internal 14122)</li> <li>Update .NET dependencies for 7.0.4 (Internal 14104)</li> <li>Fix 7.0.4 `Get-Module` test failure (Internal 13946)</li> <li>Fix directory creation failure (Internal 13904)</li> <li>Disable WMF link invocation test (*13479)</li> <li>Use PowerShell Core for build and test of package in CI build (*13223)</li> <li>Disable libmi dependent tests for macOS. (*14446)</li> <li>Use one feed in each nuget.config in official builds (*14363)</li> <li>Fix path signed RPMs are uploaded from in release build (*14424)</li> <li>Fix syntax error in Windows packaging script (*14377)</li> <li>Make AppLocker Enforce mode take precedence over UMCI Audit mode (*14353)</li> <li>Fix issue with unsigned build (*14367)</li> <li>Move macOS and NuGet to ESRP signing (*14324)</li> <li>Move Windows package signing to use ESRP (*14060)</li> <li>Move Linux to ESRP signing (*14210)</li> <li>Migrate 3rd party signing to ESRP (*14010)</li> <li>Don't do a shallow checkout (*13992)</li> <li>Move to ESRP signing for Windows files (*13988)</li> <li>Fix breaks in packages daily build due to macOS signing changes (*13421)</li> <li>Sign individual files in package (*13392)</li> <li>Use Authenticode certificate for MSIX signing (*13330)</li> <li>Sign the MSIX files for the store (*12582)</li> <li>Use temporary personal path at runspace startup when <code>$env:HOME</code> not defined (*13239)</li> <li>Fix MSIX packaging to determine if a preview release by inspecting the semantic version string (*11991)</li> <li>Add default help content to the assets folder (*13257)</li> </ul> </details> [7.0.4]: PowerShell/PowerShell@v7.0.3...v7.0.4
[7.1.1] - 2021-01-14 * General Cmdlet Updates and Fixes - Avoid an exception if file system does not support reparse points (PowerShell#13634) (Thanks @iSazonov!) - Make AppLocker Enforce mode take precedence over UMCI Audit mode (PowerShell#14353) * Code Cleanup - Fix syntax error in Windows packaging script (PowerShell#14377) * Build and Packaging Improvements <details> <ul> <li>Use one feed in each nuget.config in official builds (PowerShell#14363)</li> <li>Fix path signed RPMs are uploaded from in release build (PowerShell#14424)</li> <li>Fix issue with unsigned build (PowerShell#14367)</li> <li>Move macOS and NuGet packages to ESRP signing (PowerShell#14324)</li> <li>Move Windows packages signing to use ESRP (PowerShell#14060)</li> <li>Move Linux packages to ESRP signing (PowerShell#14210)</li> <li>Migrate 3rd party signing to ESRP (PowerShell#14010)</li> <li>Don't do a shallow checkout (PowerShell#13992)</li> <li>Move to ESRP signing for Windows files (PowerShell#13988)</li> <li>Add checkout step to release build templates (PowerShell#13840)</li> </ul> </details> [7.1.1]: PowerShell/PowerShell@v7.1.0...v7.1.1
* [7.2.0-preview.2] - 2020-12-15 * Breaking Changes - Improve detection of mutable value types (PowerShell#12495) (Thanks @vexx32!) - Ensure `-PipelineVariable` is set for all output from script cmdlets (PowerShell#12766) (Thanks @vexx32!) * Experimental Features - `PSAnsiRendering`: Enable ANSI formatting via `$PSStyle` and support suppressing ANSI output (PowerShell#13758) * Performance - Optimize `IEnumerable` variant of replace operator (PowerShell#14221) (Thanks @iSazonov!) - Refactor multiply operation for better performance in two `Microsoft.PowerShell.Commands.Utility` methods (PowerShell#14148) (Thanks @xtqqczze!) - Use `Environment.TickCount64` instead of `Datetime.Now` as the random seed for AppLocker test file content (PowerShell#14283) (Thanks @iSazonov!) - Avoid unnecessary array allocations when searching in GAC (PowerShell#14291) (Thanks @xtqqczze!) - Use `OrdinalIgnoreCase` in `CommandLineParser` (PowerShell#14303) (Thanks @iSazonov!) - Use `StringComparison.Ordinal` instead of `StringComparison.CurrentCulture` (PowerShell#14298) (Thanks @iSazonov!) - Avoid creating instances of the generated delegate helper class in `-replace` implementation (PowerShell#14128) * General Cmdlet Updates and Fixes - Write better error message if config file is broken (PowerShell#13496) (Thanks @iSazonov!) - Make AppLocker Enforce mode take precedence over UMCI Audit mode (PowerShell#14353) - Add `-SkipLimitCheck` switch to `Import-PowerShellDataFile` (PowerShell#13672) - Restrict `New-Object` in NoLanguage mode under lock down (PowerShell#14140) (Thanks @krishnayalavarthi!) - The `-Stream` parameter now works with directories (PowerShell#13941) (Thanks @kyanha!) - Avoid an exception if file system does not support reparse points (PowerShell#13634) (Thanks @iSazonov!) - Enable `CA1012`: Abstract types should not have public constructors (PowerShell#13940) (Thanks @xtqqczze!) - Enable `SA1212`: Property accessors should follow order (PowerShell#14051) (Thanks @xtqqczze!) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze, @matthewjdegarmo, @powercode, @Gimly</p> </summary> <ul> <li>Enable <code>SA1007</code>: Operator keyword should be followed by space (PowerShell#14130) (Thanks @xtqqczze!)</li> <li>Expand <code>where</code> alias to <code>Where-Object</code> in <code>Reset-PWSHSystemPath.ps1</code> (PowerShell#14113) (Thanks @matthewjdegarmo!)</li> <li>Fix whitespace issues (PowerShell#14092) (Thanks @xtqqczze!)</li> <li>Add <code>StyleCop.Analyzers</code> package (PowerShell#13963) (Thanks @xtqqczze!)</li> <li>Enable <code>IDE0041</code>: <code>UseIsNullCheck</code> (PowerShell#14041) (Thanks @xtqqczze!)</li> <li>Enable <code>IDE0082</code>: <code>ConvertTypeOfToNameOf</code> (PowerShell#14042) (Thanks @xtqqczze!)</li> <li>Remove unnecessary usings part 4 (PowerShell#14023) (Thanks @xtqqczze!)</li> <li>Fix <code>PriorityAttribute</code> name (PowerShell#14094) (Thanks @xtqqczze!)</li> <li>Enable nullable: <code>System.Management.Automation.Interpreter.IBoxableInstruction</code> (PowerShell#14165) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.Provider.IDynamicPropertyProvider</code> (PowerShell#14167) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.Language.IScriptExtent</code> (PowerShell#14179) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.Language.ICustomAstVisitor2</code> (PowerShell#14192) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.LanguagePrimitives.IConversionData</code> (PowerShell#14187) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Automation.Remoting.Client.IWSManNativeApiFacade</code> (PowerShell#14186) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.Language.ISupportsAssignment</code> (PowerShell#14180) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.ICommandRuntime2</code> (PowerShell#14183) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.IOutputProcessingState</code> (PowerShell#14175) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.IJobDebugger</code> (PowerShell#14174) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.Interpreter.IInstructionProvider</code> (PowerShell#14173) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.IHasSessionStateEntryVisibility</code> (PowerShell#14169) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.Tracing.IEtwEventCorrelator</code> (PowerShell#14168) (Thanks @powercode!)</li> <li>Fix syntax error in Windows packaging script (PowerShell#14377)</li> <li>Remove redundant local assignment in <code>AclCommands</code> (PowerShell#14358) (Thanks @xtqqczze!)</li> <li>Enable nullable: <code>System.Management.Automation.Language.IAstPostVisitHandler</code> (PowerShell#14164) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.IModuleAssemblyInitializer</code> (PowerShell#14158) (Thanks @powercode!)</li> <li>Use <code>Microsoft.PowerShell.MarkdownRender</code> package from <code>nuget.org</code> (PowerShell#14090)</li> <li>Replace <code>GetFiles</code> in <code>TestModuleManifestCommand</code> (PowerShell#14317) (Thanks @xtqqczze!)</li> <li>Enable nullable: <code>System.Management.Automation.Provider.IContentWriter</code> (PowerShell#14152) (Thanks @powercode!)</li> <li>Simplify getting Encoding in <code>TranscriptionOption.FlushContentToDisk</code> (PowerShell#13910) (Thanks @Gimly!)</li> <li>Mark applicable structs as <code>readonly</code> and use <code>in</code>-modifier (PowerShell#13919) (Thanks @xtqqczze!)</li> <li>Enable nullable: <code>System.Management.Automation.IArgumentCompleter</code> (PowerShell#14182) (Thanks @powercode!)</li> <li>Enable <code>CA1822</code>: Mark <code>private</code> members as <code>static</code> (PowerShell#13897) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify <code>new</code> expression part 6 (PowerShell#14338) (Thanks @xtqqczze!)</li> <li>Avoid array allocations from <code>GetDirectories</code>/<code>GetFiles</code>. (PowerShell#14328) (Thanks @xtqqczze!)</li> <li>Avoid array allocations from <code>GetDirectories</code>/<code>GetFiles</code>. (PowerShell#14330) (Thanks @xtqqczze!)</li> <li>Fix <code>RCS1188</code>: Remove redundant auto-property initialization part 2 (PowerShell#14262) (Thanks @xtqqczze!)</li> <li>Enable nullable: <code>System.Management.Automation.Host.IHostSupportsInteractiveSession</code> (PowerShell#14170) (Thanks @powercode!)</li> <li>Enable nullable: <code>System.Management.Automation.Provider.IPropertyCmdletProvider</code> (PowerShell#14176) (Thanks @powercode!)</li> <li>Fix <code>IDE0090</code>: Simplify new expression part 5 (PowerShell#14301) (Thanks @xtqqczze!)</li> <li>Enable <code>IDE0075</code>: <code>SimplifyConditionalExpression</code> (PowerShell#14078) (Thanks @xtqqczze!)</li> <li>Remove unnecessary usings part 9 (PowerShell#14288) (Thanks @xtqqczze!)</li> <li>Fix StyleCop and MarkdownLint CI failures (PowerShell#14297) (Thanks @xtqqczze!)</li> <li>Enable <code>SA1000</code>: Keywords should be spaced correctly (PowerShell#13973) (Thanks @xtqqczze!)</li> <li>Fix <code>RCS1188</code>: Remove redundant auto-property initialization part 1 (PowerShell#14261) (Thanks @xtqqczze!)</li> <li>Mark <code>private</code> members as <code>static</code> part 10 (PowerShell#14235) (Thanks @xtqqczze!)</li> <li>Mark <code>private</code> members as <code>static</code> part 9 (PowerShell#14234) (Thanks @xtqqczze!)</li> <li>Fix <code>SA1642</code> for <code>Microsoft.Management.Infrastructure.CimCmdlets</code> (PowerShell#14239) (Thanks @xtqqczze!)</li> <li>Use <code>AsSpan</code>/<code>AsMemory</code> slice constructor (PowerShell#14265) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify <code>new</code> expression part 4.6 (PowerShell#14260) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify <code>new</code> expression part 4.5 (PowerShell#14259) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify <code>new</code> expression part 4.3 (PowerShell#14257) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify <code>new</code> expression part 4.2 (PowerShell#14256) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify <code>new</code> expression part 2 (PowerShell#14200) (Thanks @xtqqczze!)</li> <li>Enable <code>SA1643</code>: Destructor summary documentation should begin with standard text (PowerShell#14236) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify new expression part 4.4 (PowerShell#14258) (Thanks @xtqqczze!)</li> <li>Use xml documentation child blocks correctly (PowerShell#14249) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify <code>new</code> expression part 4.1 (PowerShell#14255) (Thanks @xtqqczze!)</li> <li>Use consistent spacing in xml documentation tags (PowerShell#14231) (Thanks @xtqqczze!)</li> <li>Enable <code>IDE0074</code>: Use coalesce compound assignment (PowerShell#13396) (Thanks @xtqqczze!)</li> <li>Remove unnecessary finalizers (PowerShell#14248) (Thanks @xtqqczze!)</li> <li>Mark local variable as <code>const</code> (PowerShell#13217) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0032</code>: <code>UseAutoProperty</code> part 2 (PowerShell#14244) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0032</code>: <code>UseAutoProperty</code> part 1 (PowerShell#14243) (Thanks @xtqqczze!)</li> <li>Mark <code>private</code> members as <code>static</code> part 8 (PowerShell#14233) (Thanks @xtqqczze!)</li> <li>Fix <code>CA1822</code>: Mark members as <code>static</code> part 6 (PowerShell#14229) (Thanks @xtqqczze!)</li> <li>Fix <code>CA1822</code>: Mark members as <code>static</code> part 5 (PowerShell#14228) (Thanks @xtqqczze!)</li> <li>Fix <code>CA1822</code>: Mark members as <code>static</code> part 4 (PowerShell#14227) (Thanks @xtqqczze!)</li> <li>Fix <code>CA1822</code>: Mark members as <code>static</code> part 3 (PowerShell#14226) (Thanks @xtqqczze!)</li> <li>Fix <code>CA1822</code>: Mark members as <code>static</code> part 2 (PowerShell#14225) (Thanks @xtqqczze!)</li> <li>Fix <code>CA1822</code>: Mark members as <code>static</code> part 1 (PowerShell#14224) (Thanks @xtqqczze!)</li> <li>Use <code>see</code> keyword in documentation (PowerShell#14220) (Thanks @xtqqczze!)</li> <li>Enable <code>CA2211</code>: Non-constant fields should not be visible (PowerShell#14073) (Thanks @xtqqczze!)</li> <li>Enable <code>CA1816</code>: <code>Dispose</code> methods should call <code>SuppressFinalize</code> (PowerShell#14074) (Thanks @xtqqczze!)</li> <li>Remove incorrectly implemented finalizer (PowerShell#14246) (Thanks @xtqqczze!)</li> <li>Fix <code>CA1822</code>: Mark members as <code>static</code> part 7 (PowerShell#14230) (Thanks @xtqqczze!)</li> <li>Fix <code>SA1122</code>: Use <code>string.Empty</code> for empty strings (PowerShell#14218) (Thanks @xtqqczze!)</li> <li>Fix various xml documentation issues (PowerShell#14223) (Thanks @xtqqczze!)</li> <li>Remove unnecessary <code>using</code>s part 8 (PowerShell#14072) (Thanks @xtqqczze!)</li> <li>Enable <code>SA1006</code>: Preprocessor keywords should not be preceded by space (PowerShell#14052) (Thanks @xtqqczze!)</li> <li>Fix <code>SA1642</code> for <code>Microsoft.PowerShell.Commands.Utility</code> (PowerShell#14142) (Thanks @xtqqczze!)</li> <li>Enable <code>CA2216</code>: Disposable types should declare finalizer (PowerShell#14089) (Thanks @xtqqczze!)</li> <li>Wrap and name <code>LoadBinaryModule</code> arguments (PowerShell#14193) (Thanks @xtqqczze!)</li> <li>Wrap and name <code>GetListOfFilesFromData</code> arguments (PowerShell#14194) (Thanks @xtqqczze!)</li> <li>Enable <code>SA1002</code>: Semicolons should be spaced correctly (PowerShell#14197) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify <code>new</code> expression part 3 (PowerShell#14201) (Thanks @xtqqczze!)</li> <li>Enable <code>SA1106</code>: Code should not contain empty statements (PowerShell#13964) (Thanks @xtqqczze!)</li> <li>Code performance fixes follow-up (PowerShell#14207) (Thanks @xtqqczze!)</li> <li>Remove uninformative comments (PowerShell#14199) (Thanks @xtqqczze!)</li> <li>Fix <code>IDE0090</code>: Simplify <code>new</code> expression part 1 (PowerShell#14027) (Thanks @xtqqczze!)</li> <li>Enable <code>SA1517</code>: Code should not contain blank lines at start of file (PowerShell#14131) (Thanks @xtqqczze!)</li> <li>Enable <code>SA1131</code>: Use readable conditions (PowerShell#14132) (Thanks @xtqqczze!)</li> <li>Enable <code>SA1507</code>: Code should not contain multiple blank lines in a row (PowerShell#14136) (Thanks @xtqqczze!)</li> <li>Enable <code>SA1516</code> Elements should be separated by blank line (PowerShell#14137) (Thanks @xtqqczze!)</li> <li>Enable <code>IDE0031</code>: Null check can be simplified (PowerShell#13548) (Thanks @xtqqczze!)</li> <li>Enable <code>CA1065</code>: Do not raise exceptions in unexpected locations (PowerShell#14117) (Thanks @xtqqczze!)</li> <li>Enable <code>CA1000</code>: Do not declare <code>static</code> members on generic types (PowerShell#14097) (Thanks @xtqqczze!)</li> </ul> </details> * Tools - Fixing formatting in `Reset-PWSHSystemPath.ps1` (PowerShell#13689) (Thanks @dgoldman-msft!) * Tests - Reinstate `Test-Connection` tests (PowerShell#13324) - Update markdown test packages with security fixes (PowerShell#14145) * Build and Packaging Improvements <details> <ul> <li>Fix a typo in the <code>Get-ChangeLog</code> function (PowerShell#14129)</li> <li>Update <code>README</code> and <code>metadata.json</code> for <code>7.2.0-preview.1</code> release (PowerShell#14104)</li> <li>Bump <code>NJsonSchema</code> from <code>10.2.2</code> to <code>10.3.1</code> (PowerShell#14040)</li> <li>Move windows package signing to use ESRP (PowerShell#14060)</li> <li>Use one feed in each <code>nuget.config</code> in official builds (PowerShell#14363)</li> <li>Fix path signed RPMs are uploaded from in release build (PowerShell#14424)</li> <li>Add <code>Microsoft.PowerShell.MarkdownRender</code> to the package reference list (PowerShell#14386)</li> <li>Fix issue with unsigned build (PowerShell#14367)</li> <li>Move macOS and nuget to ESRP signing (PowerShell#14324)</li> <li>Fix nuget packaging to scrub <code>NullableAttribute</code> (PowerShell#14344)</li> <li>Bump <code>Microsoft.NET.Test.Sdk</code> from 16.8.0 to 16.8.3 (PowerShell#14310)</li> <li>Bump <code>Markdig.Signed</code> from 0.22.0 to 0.22.1 (PowerShell#14305)</li> <li>Bump <code>Microsoft.ApplicationInsights</code> from 2.15.0 to 2.16.0 (PowerShell#14031)</li> <li>Move Linux to ESRP signing (PowerShell#14210)</li> </ul> </details> * Documentation and Help Content - Fix example `nuget.config` (PowerShell#14349) - Fix a broken link in Code Guidelines doc (PowerShell#14314) (Thanks @iSazonov!) [7.2.0-preview.2]: PowerShell/PowerShell@v7.2.0-preview.1...v7.2.0-preview.2
PreviousNext