Tags: alamata/PowerShell
Tags
[7.2.0-preview.1] - 2020-11-17 * Engine Updates and Fixes - Change the default fallback encoding for `GetEncoding` in `Start-Transcript` to be `UTF8` without a BOM (PowerShell#13732) (Thanks @Gimly!) * General Cmdlet Updates and Fixes - Update `pwsh -?` output to match docs (PowerShell#13748) - Fix `NullReferenceException` in `Test-Json` (PowerShell#12942) (Thanks @iSazonov!) - Make `Dispose` in `TranscriptionOption` idempotent (PowerShell#13839) (Thanks @krishnayalavarthi!) - Add additional Microsoft PowerShell modules to the tracked modules list (PowerShell#12183) - Relax further `SSL` verification checks for `WSMan` on non-Windows hosts with verification available (PowerShell#13786) (Thanks @jborean93!) - Add the `OutputTypeAttribute` to `Get-ExperimentalFeature` (PowerShell#13738) (Thanks @ThomasNieto!) - Fix blocking wait when starting file associated with a Windows application (PowerShell#13750) - Emit warning if `ConvertTo-Json` exceeds `-Depth` value (PowerShell#13692) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze, @mkswd, @ThomasNieto, @PatLeong, @paul-cheung, @georgettica</p> </summary> <ul> <li>Fix RCS1049: Simplify boolean comparison (PowerShell#13994) (Thanks @xtqqczze!)</li> <li>Enable IDE0062: Make local function static (PowerShell#14044) (Thanks @xtqqczze!)</li> <li>Enable CA2207: Initialize value type static fields inline (PowerShell#14068) (Thanks @xtqqczze!)</li> <li>Enable CA1837: Use <code>ProcessId</code> and <code>CurrentManagedThreadId</code> from <code>System.Environment</code> (PowerShell#14063) (Thanks @xtqqczze and @PatLeong!)</li> <li>Remove unnecessary using directives (PowerShell#14014, PowerShell#14017, PowerShell#14021, PowerShell#14050, PowerShell#14065, PowerShell#14066, PowerShell#13863, PowerShell#13860, PowerShell#13861, PowerShell#13814) (Thanks @xtqqczze and @ThomasNieto!)</li> <li>Remove unnecessary usage of LINQ <code>Count</code> method (PowerShell#13545) (Thanks @xtqqczze!)</li> <li>Fix SA1518: The code must not contain extra blank lines at the end of the file (PowerShell#13574) (Thanks @xtqqczze!)</li> <li>Enable CA1829: Use the <code>Length</code> or <code>Count</code> property instead of <code>Count()</code> (PowerShell#13925) (Thanks @xtqqczze!)</li> <li>Enable CA1827: Do not use <code>Count()</code> or <code>LongCount()</code> when <code>Any()</code> can be used (PowerShell#13923) (Thanks @xtqqczze!)</li> <li>Enable or fix nullable usage in a few files (PowerShell#13793, PowerShell#13805, PowerShell#13808, PowerShell#14018, PowerShell#13804) (Thanks @mkswd and @georgettica!)</li> <li>Enable IDE0040: Add accessibility modifiers (PowerShell#13962, PowerShell#13874) (Thanks @xtqqczze!)</li> <li>Make applicable private Guid fields readonly (PowerShell#14000) (Thanks @xtqqczze!)</li> <li>Fix CA1003: Use generic event handler instances (PowerShell#13937) (Thanks @xtqqczze!)</li> <li>Simplify delegate creation (PowerShell#13578) (Thanks @xtqqczze!)</li> <li>Fix RCS1033: Remove redundant boolean literal (PowerShell#13454) (Thanks @xtqqczze!)</li> <li>Fix RCS1221: Use pattern matching instead of combination of <code>as</code> operator and null check (PowerShell#13333) (Thanks @xtqqczze!)</li> <li>Use <code>is not</code> syntax (PowerShell#13338) (Thanks @xtqqczze!)</li> <li>Replace magic number with constant in PDH (PowerShell#13536) (Thanks @xtqqczze!)</li> <li>Fix accessor order (PowerShell#13538) (Thanks @xtqqczze!)</li> <li>Enable IDE0054: Use compound assignment (PowerShell#13546) (Thanks @xtqqczze!)</li> <li>Fix RCS1098: Constant values should be on right side of comparisons (PowerShell#13833) (Thanks @xtqqczze!)</li> <li>Enable CA1068: <code>CancellationToken</code> parameters must come last (PowerShell#13867) (Thanks @xtqqczze!)</li> <li>Enable CA10XX rules with suggestion severity (PowerShell#13870, PowerShell#13928, PowerShell#13924) (Thanks @xtqqczze!)</li> <li>Enable IDE0064: Make Struct fields writable (PowerShell#13945) (Thanks @xtqqczze!)</li> <li>Run <code>dotnet-format</code> to improve formatting of source code (PowerShell#13503) (Thanks @xtqqczze!)</li> <li>Enable CA1825: Avoid zero-length array allocations (PowerShell#13961) (Thanks @xtqqczze!)</li> <li>Add IDE analyzer rule IDs to comments (PowerShell#13960) (Thanks @xtqqczze!)</li> <li>Enable CA1830: Prefer strongly-typed <code>Append</code> and <code>Insert</code> method overloads on <code>StringBuilder</code> (PowerShell#13926) (Thanks @xtqqczze!)</li> <li>Enforce code style in build (PowerShell#13957) (Thanks @xtqqczze!)</li> <li>Enable CA1836: Prefer <code>IsEmpty</code> over <code>Count</code> when available (PowerShell#13877) (Thanks @xtqqczze!)</li> <li>Enable CA1834: Consider using <code>StringBuilder.Append(char)</code> when applicable (PowerShell#13878) (Thanks @xtqqczze!)</li> <li>Fix IDE0044: Make field readonly (PowerShell#13884, PowerShell#13885, PowerShell#13888, PowerShell#13892, PowerShell#13889, PowerShell#13886, PowerShell#13890, PowerShell#13891, PowerShell#13887, PowerShell#13893, PowerShell#13969, PowerShell#13967, PowerShell#13968, PowerShell#13970, PowerShell#13971, PowerShell#13966, PowerShell#14012) (Thanks @xtqqczze!)</li> <li>Enable IDE0048: Add required parentheses (PowerShell#13896) (Thanks @xtqqczze!)</li> <li>Enable IDE1005: Invoke delegate with conditional access (PowerShell#13911) (Thanks @xtqqczze!)</li> <li>Enable IDE0036: Enable the check on the order of modifiers (PowerShell#13958, PowerShell#13881) (Thanks @xtqqczze!)</li> <li>Use span-based <code>String.Concat</code> instead of <code>String.Substring</code> (PowerShell#13500) (Thanks @xtqqczze!)</li> <li>Enable CA1050: Declare types in namespace (PowerShell#13872) (Thanks @xtqqczze!)</li> <li>Fix minor keyword typo in C# code comment (PowerShell#13811) (Thanks @paul-cheung!)</li> </ul> </details> * Tools - Enable `CodeQL` Security scanning (PowerShell#13894) - Add global `AnalyzerConfig` with default configuration (PowerShell#13835) (Thanks @xtqqczze!) * Build and Packaging Improvements <details> <summary> <p>We thank the following contributors!</p> <p>@mkswd, @xtqqczze</p> </summary> <ul> <li>Bump <code>Microsoft.NET.Test.Sdk</code> to <code>16.8.0</code> (PowerShell#14020)</li> <li>Bump <code>Microsoft.CodeAnalysis.CSharp</code> to <code>3.8.0</code> (PowerShell#14075)</li> <li>Remove workarounds for .NET 5 RTM builds (PowerShell#14038)</li> <li>Migrate 3rd party signing to ESRP (PowerShell#14010)</li> <li>Fixes to release pipeline for GA release (PowerShell#14034)</li> <li>Don't do a shallow checkout (PowerShell#13992)</li> <li>Add validation and dependencies for Ubuntu 20.04 distribution to packaging script (PowerShell#13993)</li> <li>Add .NET install workaround for RTM (PowerShell#13991)</li> <li>Move to ESRP signing for Windows files (PowerShell#13988)</li> <li>Update <code>PSReadLine</code> version to <code>2.1.0</code> (PowerShell#13975)</li> <li>Bump .NET to version <code>5.0.100-rtm.20526.5</code> (PowerShell#13920)</li> <li>Update script to use .NET RTM feeds (PowerShell#13927)</li> <li>Add checkout step to release build templates (PowerShell#13840)</li> <li>Turn on <code>/features:strict</code> for all projects (PowerShell#13383) (Thanks @xtqqczze!)</li> <li>Bump <code>NJsonSchema</code> to <code>10.2.2</code> (PowerShell#13722, PowerShell#13751)</li> <li>Add flag to make Linux script publish to production repo (PowerShell#13714)</li> <li>Bump <code>Markdig.Signed</code> to <code>0.22.0</code> (PowerShell#13741)</li> <li>Use new release script for Linux packages (PowerShell#13705)</li> </ul> </details> * Documentation and Help Content - Fix links to LTS versions for Windows (PowerShell#14070) - Fix `crontab` formatting in example doc (PowerShell#13712) (Thanks @dgoldman-msft!) [7.2.0-preview.1]: PowerShell/PowerShell@v7.1.0...v7.2.0-preview.1
[7.1.0] - 2020-11-11 * Engine Updates and Fixes - Fix a logic bug in `MapSecurityZone` (PowerShell#13921) (Thanks @iSazonov!) * General Cmdlet Updates and Fixes - Update `pwsh -?` output to match docs (PowerShell#13748) * Tests - `markdownlint` security updates (PowerShell#13730) * Build and Packaging Improvements <details> <ul> <li>Fixes to release pipeline for GA release (Internal 13410)</li> <li>Add validation and dependencies for <code>Ubuntu 20.04</code> distribution to packaging script (PowerShell#13993)</li> <li>Change PkgES Lab to unblock build (Internal 13376)</li> <li>Add .NET install workaround for RTM (PowerShell#13991)</li> <li>Bump <code>Microsoft.PowerShell.Native</code> version from <code>7.1.0-rc.2</code> to <code>7.1.0</code> (PowerShell#13976)</li> <li>Bump <code>PSReadLine</code> version to <code>2.1.0</code> (PowerShell#13975)</li> <li>Bump .NET to version <code>5.0.100-rtm.20526.5</code> (PowerShell#13920)</li> <li>Update script to use .NET RTM feeds (PowerShell#13927)</li> </ul> </details> [7.1.0]: PowerShell/PowerShell@v7.1.0-rc.2...v7.1.0
*** Engine Updates and Fixes - Rename `Get-Subsystem` to `Get-PSSubsystem` and fix two related minor issues (*13765) - Add missing `PSToken` token table entries to fix the `PSParser` API (*13779) - Add additional PowerShell modules to the tracked modules list (*12183) - Fix blocking wait when starting file associated with a Windows application (*13750) - Revert `PSNativePSPathResolution` to being an experimental feature (*13734) *** General Cmdlet Updates and Fixes - Emit warning if `ConvertTo-Json` exceeds `-Depth` value (*13692) *** Build and Packaging Improvements - Change Linux package script call to publish to the production repository in release builds (*13714) - Update `PSReadLine` version to `2.1.0-rc1` (*13777) - Move PowerShell build to dotnet `5.0-RC.2` (*13780) - Bump `Microsoft.PowerShell.Native` to `7.1.0-rc.2` (*13794)
[7.1.0-rc.1] - 2020-09-29 * Engine Updates and Fixes - Make fixes to `ComInterop` code as suggested by .NET team (PowerShell#13533) * General Cmdlet Updates and Fixes - Fix case where exception message contains just '`n' on Windows (PowerShell#13684) - Recognize `CONOUT$` and `CONIN$` as reserved device names (PowerShell#13508) (Thanks @davidreis97!) - Fix `ConciseView` for interactive advanced function when writing error (PowerShell#13623) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze, @soccypowa</p> </summary> <ul> <li>Simplify logical negation (PowerShell#13555) (Thanks @xtqqczze!)</li> <li>Fixed the indentation of the help content for <code>-nologo</code> (PowerShell#13557) (Thanks @soccypowa!)</li> </ul> </details> * Build and Packaging Improvements <details> <summary> <p>We thank the following contributors!</p> <p>@heaths</p> </summary> <ul> <li>Bump <code>NJsonSchema</code> from 10.1.24 to 10.1.26 (PowerShell#13586)</li> <li>Bump <code>PowerShellGet</code> from 2.2.4 to 2.2.5 (PowerShell#13683)</li> <li>Bump <code>Microsoft.ApplicationInsights</code> from 2.14.0 to 2.15.0 (PowerShell#13639)</li> <li>Update PowerShell to build against dotnet 5.0-RC.1 (PowerShell#13643)</li> <li>Write the <code>InstallLocation</code> to fixed registry key (PowerShell#13576) (Thanks @heaths!)</li> </ul> </details> * Documentation and Help Content - Update `README` and `metadata.json` for `7.1.0-preview.7` release (PowerShell#13565) [7.1.0-rc.1]: PowerShell/PowerShell@v7.1.0-preview.7...v7.1.0-rc.1
[7.1.0-preview.7] - 2020-09-08 * Breaking Changes - Fix `$?` to not be `$false` when native command writes to `stderr` (PowerShell#13395) * Engine Updates and Fixes - Initial work of the subsystem plugin model (for minimal powershell) (PowerShell#13186) - Optimize `GetSystemLockdownPolicy` for non-lockdown scenarios (PowerShell#13438) * General Cmdlet Updates and Fixes - Revert 'Add the parameter `-Paged` to `Get-Help` to support paging (PowerShell#13374)' (PowerShell#13519) - Add support for `TLS` 1.3 in Web cmdlets (PowerShell#13409) (Thanks @iSazonov!) - Add null check for `args` in `CommandLineParser` (PowerShell#13451) (Thanks @iSazonov!) - Process reparse points for Microsoft Store applications (PowerShell#13481) (Thanks @iSazonov!) - Move `PSNullConditionalOperators` feature out of experimental (PowerShell#13529) - Move `PSNativePSPathResolution` feature out of Experimental (PowerShell#13522) - Use field if property does not exist for `ObRoot` when using PowerShell Direct to container (PowerShell#13375) (Thanks @hemisphera!) - Suppress `UTF-7` obsolete warnings (PowerShell#13484) - Avoid multiple enumerations of an `IEnumerable<Expression>` instance in `Compiler.cs` (PowerShell#13491) - Change `Add-Type -OutputType` to not support `ConsoleApplication` and `WindowsApplication` (PowerShell#13440) - Create warnings when `UTF-7` is specified as an encoding (PowerShell#13430) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze, @tamasvajk</p> </summary> <ul> <li>Add single blank line after copyright header (PowerShell#13486) (Thanks @xtqqczze!)</li> <li>Use read-only auto-implemented properties (PowerShell#13507) (Thanks @xtqqczze!)</li> <li>Use boolean instead of bitwise operators on bool values (PowerShell#13506) (Thanks @xtqqczze!)</li> <li>Fix erroneous assert (PowerShell#13495) (Thanks @tamasvajk!)</li> <li>Cleanup: remove duplicate words in comments (PowerShell#13539) (Thanks @xtqqczze!)</li> <li>Reformat <code>StringUtil</code> (PowerShell#13509) (Thanks @xtqqczze!)</li> <li>Use <code>uint</code> instead of <code>long</code> for <code>PDH</code> constants (PowerShell#13502) (Thanks @xtqqczze!)</li> <li>Cleanup: Remove redundant empty lines (PowerShell#13404) (Thanks @xtqqczze!)</li> <li>Add <code>StringUtil.Format</code> overload to avoid unnecessary allocations (PowerShell#13408) (Thanks @xtqqczze!)</li> <li>Fix test hooks for <code>CommandLineParameterParser</code> (PowerShell#13459)</li> <li>Remove redundant delegate creation (PowerShell#13441) (Thanks @xtqqczze!)</li> </ul> </details> * Tools - vscode: Add `editorconfig` to recommended extensions (PowerShell#13537) (Thanks @xtqqczze!) - Remove the out-dated `ZapDisable` related code from `build.psm1` (PowerShell#13350) (Thanks @jackerr3!) * Tests - Disable `WMF` download link validation test (PowerShell#13479) * Build and Packaging Improvements <details> <summary> <p>We thank the following contributors!</p> <p>@yecril71pl</p> </summary> <ul> <li>Add <code>Microsoft.NET.Test.Sdk</code> dependency (Internal 12589)</li> <li>Update .NET NuGet package version to <code>5.0.0-preview.8.20407.11</code> (Internal 12555)</li> <li>Update to .NET 5 preview 8 (PowerShell#13530)</li> <li>Change stage dependency for docker release stage in release pipeline (PowerShell#13512)</li> <li>Bump <code>Microsoft.NET.Test.Sdk</code> from 16.7.0 to 16.7.1 (PowerShell#13492)</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>Bump <code>Markdig.Signed</code> from 0.20.0 to 0.21.1 (PowerShell#13463)</li> <li>Add a pre-check for git to <code>build.psm1</code> (PowerShell#13227) (Thanks @yecril71pl!)</li> </ul> </details> * Documentation and Help Content - Update `README` links and `metadata.json` for `7.1.0-preview.6` (PowerShell#13437) [7.1.0-preview.7]: PowerShell/PowerShell@v7.1.0-preview.6...v7.1.0-preview.7
[7.1.0-preview.6] - 2020-08-17 * Breaking Changes - Rename `-FromUnixTime` to `-UnixTimeSeconds` on `Get-Date` to allow Unix time input (PowerShell#13084) (Thanks @aetos382!) - Make `$ErrorActionPreference` not affect `stderr` output of native commands (PowerShell#13361) - Allow explicitly specified named parameter to supersede the same one from hashtable splatting (PowerShell#13162) * Engine Updates and Fixes - Refactor command line parser to do early parsing (PowerShell#11482) (Thanks @iSazonov!) - Add support for some .NET intrinsic type converters (PowerShell#12580) (Thanks @iSazonov!) - Refresh and enable the `ComInterop` code in PowerShell (PowerShell#13304) * Experimental Features - Add `-Runspace` parameter to all `*-PSBreakpoint` cmdlets (PowerShell#10492) (Thanks @KirkMunro!) * General Cmdlet Updates and Fixes - Fix error message from new symbolic link missing target (PowerShell#13085) (Thanks @yecril71pl!) - Make the parameter `args` non-nullable in the public `ConsoleHost` APIs (PowerShell#13429) - Add missing dispose for `CancellationTokenSource` (PowerShell#13420) (Thanks @Youssef1313!) - Add the parameter `-Paged` to `Get-Help` to support paging (PowerShell#13374) - Fix `Get-Help` not properly displaying if parameter supports wildcards (PowerShell#13353) (Thanks @ThomasNieto!) - Update `pwsh` help for `-InputFormat` parameter (PowerShell#13355) (Thanks @sethvs!) - Declare MIT license for files copied from Roslyn (PowerShell#13305) (Thanks @xtqqczze!) - Improve `BigInteger` casting behaviors (PowerShell#12629) (Thanks @vexx32!) - Fix `Get-Acl -LiteralPath HKLM:Software\Classes\*` behavior (PowerShell#13107) (Thanks @Shriram0908!) - Add `DefaultVisit` method to the visitor interface and class (PowerShell#13258) - Fix conflicting shorthand switch `-s` (STA) for `pwsh` (PowerShell#13262) (Thanks @iSazonov!) - Change `Read-Host -MaskInput` to use existing `SecureString` path, but return as plain text (PowerShell#13256) - Remove `ComEnumerator` as COM objects using `IEnumerator` is now supported in .NET 5.0 (PowerShell#13259) - Use temporary personal path at Runspace startup when the 'HOME' environment variable is not defined (PowerShell#13239) - Fix `Invoke-Command` to detect recursive call of the same history entry (PowerShell#13197) - Change `pwsh` executable `-inputformat` switch prefix `-in` to `-inp` to fix conflict with `-interactive` (PowerShell#13205) (Thanks @iSazonov!) - Handle WSL filesystem path when analyze security zone of a file (PowerShell#13120) - Make other switches mandatory in `Split-Path` (PowerShell#13150) (Thanks @kvprasoon!) - New Fluent Design icon for PowerShell 7 (PowerShell#13100) (Thanks @Sarthakmalik!) - Fix `Move-Item` to support cross-mount moves on Unix (PowerShell#13044) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze, @yecril71pl, @ThomasNieto, @dgoldman-msft</p> </summary> <ul> <li>Use null check with pattern-matching instead of <code>object.ReferenceEquals</code> (PowerShell#13065) (Thanks @xtqqczze!)</li> <li>Fix comparison of value type object to null (PowerShell#13285) (Thanks @xtqqczze!)</li> <li>Use <code>is</code> operator instead of <code>as</code> operator (PowerShell#13287) (Thanks @xtqqczze!)</li> <li>Change <code>SwitchParameter</code> fields to properties (PowerShell#13291) (Thanks @xtqqczze!)</li> <li>Change "operable" to "executable" (PowerShell#13281) (Thanks @yecril71pl!)</li> <li>Remove <code>AssemblyInfo</code> property from list views (PowerShell#13331) (Thanks @ThomasNieto!)</li> <li>Use <code>is not</code> syntax where appropriate and remove unnecessary parentheses (PowerShell#13323) (Thanks @xtqqczze!)</li> <li>Remove unreachable code in CustomShellCommands.cs (PowerShell#13316) (Thanks @xtqqczze!)</li> <li>Add copyright header to <code>.editorconfig</code> and update files (PowerShell#13306) (Thanks @xtqqczze!)</li> <li>Fix typo in Out-File.cs and Out-Printer.cs (PowerShell#13298) (Thanks @dgoldman-msft!)</li> <li>Fix <code>SA1026CodeMustNotContainSpaceAfterNewKeywordInImplicitlyTypedArrayAllocation</code> (PowerShell#13249) (Thanks @xtqqczze!)</li> <li>Remove usage of do statement to create an infinite loop (PowerShell#13137) (Thanks @xtqqczze!)</li> <li>Use <code>int</code> instead of <code>uint</code> in places where it's more appropriate (PowerShell#13141) (Thanks @xtqqczze!)</li> <li>Use <code>int</code> instead of <code>long</code> to avoid <code>Interlocked.Read</code> (PowerShell#13069) (Thanks @xtqqczze!)</li> </ul> </details> * Tools - Fix `dotnet` install errors (PowerShell#13387) - Increase the timeout of Windows daily build to 90 minutes (PowerShell#13354) - Update the `dependabot` configuration to version 2 (PowerShell#13230) (Thanks @RDIL!) - Fix `Test-XUnitTestResults` function (PowerShell#13270) (Thanks @iSazonov!) - Update `.devcontainer` to use nightly docker SDK images (PowerShell#13128) * Tests - Mark `Test-Connection -TraceRoute` tests as pending (PowerShell#13310) * Build and Packaging Improvements <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze, @iSazonov, @77, @WorrenB</p> </summary> <ul> <li>Update <code>README.md</code> and <code>metadata.json</code> for next release (PowerShell#13059)</li> <li>Create release pipeline as a yaml pipeline (PowerShell#13394)</li> <li>Update infrastructure to consume private builds from .NET (PowerShell#13427)</li> <li>Fix breaks in packages daily build due to macOS signing changes (PowerShell#13421)</li> <li>Sign individual files for macOS PKG (PowerShell#13392)</li> <li>Disable code sign validation on jobs that do not sign (PowerShell#13389)</li> <li>Bump <code>PSReadLine</code> from 2.0.2 to 2.0.4 (PowerShell#13240)</li> <li>Update build documentation for Visual Studio 2019 dependency (PowerShell#13336) (Thanks @xtqqczze!)</li> <li>Bump <code>Microsoft.CodeAnalysis.CSharp</code> from 3.6.0 to 3.7.0 (PowerShell#13360)</li> <li>Bump <code>Microsoft.NET.Test.Sdk</code> from 16.6.1 to 16.7.0 (PowerShell#13364)</li> <li>Bump <code>xunit.runner.visualstudio</code> from 2.4.2 to 2.4.3 (PowerShell#13343)</li> <li>Use Authenticode certificate for MSIX signing (PowerShell#13330)</li> <li>Add default help content to the assets folder (PowerShell#13257)</li> <li>Update .NET SDK version from <code>5.0.100-preview.7.20366.2</code> to <code>5.0.100-preview.7.20366.15</code> (PowerShell#13200)</li> <li>Set C# language version to preview/9.0 (PowerShell#13090) (Thanks @iSazonov!)</li> <li>Use <code>pwsh</code> for build and test of package in CI build (PowerShell#13223)</li> <li>Remove <code>rcedit</code> dependency, move daily ico dependency to props file (PowerShell#13123)</li> <li>Bump NJsonSchema from 10.1.23 to 10.1.24 (PowerShell#13214)</li> <li>Update .NET SDK version from <code>5.0.100-preview.7.20364.3</code> to <code>5.0.100-preview.7.20366.2</code> (PowerShell#13192)</li> <li>Add support for installing arm64 MSIX package. (PowerShell#13043) (Thanks @77!)</li> <li>Fix Azure file copy issues in release build (PowerShell#13182)</li> <li>Update .NET SDK version from <code>5.0.100-preview.7.20358.6</code> to <code>5.0.100-preview.7.20364.3</code> (PowerShell#13155)</li> <li>Fix Azure file copy break in Azure DevOps (PowerShell#13173)</li> <li>Bump <code>Xunit.SkippableFact</code> from <code>1.4.8</code> to <code>1.4.13</code> (PowerShell#13143)</li> <li>Add new chibi svg version of the avatar (PowerShell#13160) (Thanks @WorrenB!)</li> <li>Refactor MSI code to make it easier to add a WiX exe installer (PowerShell#13139)</li> <li>Disable ReadyToRun for debug build (PowerShell#13144) (Thanks @iSazonov!)</li> <li>Add new chibi version of the avatar (PowerShell#13140)</li> <li>Update .NET SDK version from <code>5.0.100-preview.7.20356.2</code> to <code>5.0.100-preview.7.20358.6</code> (PowerShell#13134) (Thanks @github-actions[bot]!)</li> <li>Update .NET SDK version from <code>5.0.100-preview.6.20318.15</code> to <code>5.0.100-preview.7.20356.2</code> (PowerShell#13125) (Thanks @github-actions[bot]!)</li> </ul> </details> * Documentation and Help Content - Fix/clarify instructions for running Start-PSPester tests (PowerShell#13373) - Improve inline documentation for `VerbInfo` (PowerShell#13265) (Thanks @yecril71pl!) - Improve the wording of inline comments in the help system (PowerShell#13274) (Thanks @yecril71pl!) - Correct grammar in `README.md` and other docs (PowerShell#13269) (Thanks @tasnimzotder!) - Add GitHub Actions Python builds to `ADOPTERS.md` (PowerShell#13228) (Thanks @brcrista!) - Update change logs for `6.2.x` and `7.0.x` (PowerShell#13194) - Update `README.md` and `metadata.json` for the v7.0.3 release (PowerShell#13187) [7.1.0-preview.6]: PowerShell/PowerShell@v7.1.0-preview.5...v7.1.0-preview.6
[7.0.3] - 2020-07-16 * Tests - Remove dependency on DNS for `Test-Connection` tests on macOS (PowerShell#12943) * Build and Packaging Improvements <details> <ul> <li>Fix Azure file copy issues in release build by fixing the path to upload directory content (PowerShell#13182)</li> <li>Update .NET Core to 3.1.6 (Internal 12005)</li> <li>Fix Azure file copy break in AzDevOps by updating task version to latest (PowerShell#13173)</li> </ul> </details>
[6.2.7] - 2020-07-16 * Build and Packaging Improvements <details> <ul> <li>Fix Azure file copy issues in release build by fixing the path to upload directory content (PowerShell#13182)</li> <li>Update .NET Core to version 2.1.808 (Internal 12003)</li> <li>Fix Azure file copy break in AzDevOps by updating task version to latest (PowerShell#13173)</li> </ul> </details>
[7.1.0-preview.5] - 2020-07-06 * Engine Updates and Fixes - Ensure assemblies listed in the module manifest `FileList` field are not loaded (PowerShell#12968) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze</p> </summary> <ul> <li>Code performance fixes (PowerShell#12956) (Thanks @xtqqczze!)</li> </ul> </details> * Tools - Add missing `.editorconfig` settings present in `dotnet/runtime` (PowerShell#12871) (Thanks @xtqqczze!) * Tests - Add new test for `Format-Custom` to avoid data loss (PowerShell#11393) (Thanks @iSazonov!) * Build and Packaging Improvements <details> <summary> <p>Fixed upgrade code in MSI package.</p> </summary> <ul> <li>Change log for v7.1.0-preview.5 (Internal 11880)</li> <li>Fix Path for the Preview MSI (PowerShell#13070)</li> <li>Correct stable and preview upgrade codes for <code>MSI</code> (PowerShell#13036)</li> <li>Changelog for `v7.1.0-preview.4` (Internal 11841)</li> <li>Fix NuGet package compliance issues (PowerShell#13045)</li> <li>Bump <code>xunit.runner.visualstudio</code> from <code>2.4.1</code> to<code> 2.4.2</code> (PowerShell#12874)</li> <li>Bump NJsonSchema from `10.1.21` to `10.1.23` (PowerShell#13032) (PowerShell#13022)</li> </ul> </details> * Documentation and Help Content - Fix links for MSI packages to point to `7.1.0-preview.3` (PowerShell#13056) - Add update `packages.microsoft.com` step to distribution request template. (PowerShell#13008) - Update `windows-core.md` (PowerShell#13053) (Thanks @xtqqczze!) - Add `@rjmholt` to maintainers list (PowerShell#13033) - Update docs for `v7.1.0-preview.4` release (PowerShell#13028)
[7.1.0-preview.4] * Breaking Changes - Make the switch parameter `-Qualifier` not positional for `Split-Path` (PowerShell#12960) (Thanks @yecril71pl!) - Resolve the working directory as literal path for `Start-Process` when it's not specified (PowerShell#11946) (Thanks @NoMoreFood!) - Make `-OutFile` parameter in web cmdlets to work like `-LiteralPath` (PowerShell#11701) (Thanks @iSazonov!) * Engine Updates and Fixes - Ensure null-coalescing LHS is evaluated only once (PowerShell#12667) - Fix path handling bug in `PSTask` (PowerShell#12554) (Thanks @IISResetMe!) - Remove extra line before formatting group (PowerShell#12163) (Thanks @iSazonov!) - Make module formatting not generate error with strict mode (PowerShell#11943) - Adding more ETW logs to WSMan plugin (PowerShell#12798) (Thanks @krishnayalavarthi!) - Restrict loading of `amsi.dll` to `system32` folder (PowerShell#12730) * General Cmdlet Updates and Fixes - Fix `NullReferenceException` in `CommandSearcher.GetNextCmdlet` (PowerShell#12659) (Thanks @powercode!) - Prevent `NullReferenceException` in Unix computer cmdlets with test hooks active (PowerShell#12651) (Thanks @vexx32!) - Fix issue in `Select-Object` where `Hashtable` members (e.g. `Keys`) cannot be used with `-Property` or `-ExpandProperty` (PowerShell#11097) (Thanks @vexx32!) - Fix conflicting shorthand switch `-w` for pwsh (PowerShell#12945) - Rename the `CimCmdlet` resource file (PowerShell#12955) (Thanks @iSazonov!) - Remove use of `Test-Path` in `ConciseView` (PowerShell#12778) - Flag `default` switch statement condition clause as keyword (PowerShell#10487) (Thanks @msftrncs!) - Add parameter `SchemaFile` to `Test-Json` cmdlet (PowerShell#11934) (Thanks @beatcracker!) - Bring back Certificate provider parameters (PowerShell#10622) (Thanks @iSazonov!) - Fix `New-Item` to create symbolic link to relative path target (PowerShell#12797) (Thanks @iSazonov!) - Add `CommandLine` property to Process (PowerShell#12288) (Thanks @iSazonov!) - Adds `-MaskInput` parameter to `Read-Host` (PowerShell#10908) (Thanks @davinci26!) - Change `CimCmdlets` to use `AliasAttribute` (PowerShell#12617) (Thanks @thlac!) * Code Cleanup <details> <summary> <p>We thank the following contributors!</p> <p>@xtqqczze, @sethvs, @romero126, @kvprasoon, @powercode</p> </summary> <ul> <li>Use <code>nameof</code> operator (PowerShell#12716) (Thanks @xtqqczze!)</li> <li>Fix comments in Mshexpression.cs (PowerShell#12711) (Thanks @sethvs!)</li> <li>Formatting: remove duplicate semicolons (PowerShell#12666) (Thanks @xtqqczze!)</li> <li>Replace <code>SortedList</code> with <code>Generic.SortedList<TKey,TValue></code> (PowerShell#12954) (Thanks @xtqqczze!)</li> <li>Use HashSet instead of Hashtable with null values (PowerShell#12958) (Thanks @xtqqczze!)</li> <li>Rename <code>CopyItem.Tests.ps1</code> to <code>Copy-Item.Tests.ps1</code> to match other tests (PowerShell#10701) (Thanks @romero126!)</li> <li>Fix <code>RCS1114: Remove redundant delegate creation</code> (PowerShell#12917) (Thanks @xtqqczze!)</li> <li>Code redundancy fixes (PowerShell#12916) (Thanks @xtqqczze!)</li> <li>Update the PowerShell modules to use the new Help URI (PowerShell#12686)</li> <li>Reorder modifiers according to preferred order (PowerShell#12864) (Thanks @xtqqczze!)</li> <li>Expand numberOfPowershellRefAssemblies list capacity (PowerShell#12840) (Thanks @xtqqczze!)</li> <li>Add readonly modifier to internal static members (PowerShell#11777) (Thanks @xtqqczze!)</li> <li>cleanup: Use coalesce expression (PowerShell#12829) (Thanks @xtqqczze!)</li> <li>Add missing assessibility modifiers (PowerShell#12820) (Thanks @xtqqczze!)</li> <li>Use <code>t_</code> naming convention for ThreadStatic members (PowerShell#12826) (Thanks @xtqqczze!)</li> <li>Formatting: Add empty line between declarations (PowerShell#12824) (Thanks @xtqqczze!)</li> <li>Clarify defaultRefAssemblies list capacity in AddType.cs (PowerShell#12520) (Thanks @xtqqczze!)</li> <li>Fixing "Double "period" (..) in message for System.InvalidOperationException" (PowerShell#12758) (Thanks @kvprasoon!)</li> <li>Rethrow to preserve stack details for better maintainability (PowerShell#12723) (Thanks @xtqqczze!)</li> <li>Delete license.rtf (PowerShell#12738) (Thanks @xtqqczze!)</li> <li>Nullable annotations for CommandSearcher (PowerShell#12733) (Thanks @powercode!)</li> <li>Redundancy: Remove 'partial' modifier from type with a single part (PowerShell#12725) (Thanks @xtqqczze!)</li> <li>Remove phrase 'All rights reserved' from Microsoft copyright statements (PowerShell#12722) (Thanks @xtqqczze!)</li> <li>IDictionary -> IDictionary<string, FunctionInfo> for FunctionTable (PowerShell#12658) (Thanks @powercode!)</li> </ul> </details> * Tools - Use correct isError parameter with Write-Log (PowerShell#12989) - Disable `NonPrivateReadonlyFieldsMustBeginWithUpperCaseLetter` rule in `StyleCop` (PowerShell#12855) (Thanks @xtqqczze!) - Add @TylerLeonhardt to PowerShell team list to correct changelog generation (PowerShell#12927) - Enable the upload of `ETW` traces to `CLR CAP` in Windows daily build (PowerShell#12890) - Prevent GitHub workflow for daily dotnet build updates from running in forks (PowerShell#12763) (Thanks @bergmeister!) - Add GitHub action for PR creation and `Wix` file generation logic (PowerShell#12748) * Tests - Remove duplicate tests from `Measure-Object.Tests.ps1` (PowerShell#12683) (Thanks @sethvs!) - Fix tests to not write errors to console (PowerShell#13010) - Make sure tabcompletion tests run (PowerShell#12981) - Remove dependency on DNS for `Test-Connection` tests on macOS (PowerShell#12943) - Restore `markdownlint` tests (PowerShell#12549) (Thanks @xtqqczze!) - Wrap tests in pester blocks (PowerShell#12700) (Thanks @xtqqczze!) * Build and Packaging Improvements <details> <summary> <p>We thank the following contributors!</p> <p>@iSazonov, @kvprasoon, @Saancreed, @heaths, @xtqqczze</p> </summary> <ul> <li>Update Distribution_Request.md</li> <li>Bump NJsonSchema from 10.1.15 to 10.1.16 (PowerShell#12685)</li> <li>Disable uploading Symbols package (PowerShell#12687)</li> <li>Update .NET SDK version from <code>5.0.100-preview.5.20279.10</code> to <code>5.0.100-preview.6.20318.15</code> (PowerShell#13018)</li> <li>Remove component ref when re-generating the wix file (PowerShell#13019)</li> <li>Make sure icons are added to MSI staging folder (PowerShell#12983)</li> <li>Update <code>DotnetRutimeMetadata.json</code> to point to preview 6 (PowerShell#12972)</li> <li>Bump PSReadLine from <code>2.0.1</code> to <code>2.0.2</code> (PowerShell#12909)</li> <li>Bump <code>NJsonSchema</code> from 10.1.18 to 10.1.21 (PowerShell#12944)</li> <li>Check if Azure Blob exists before overwriting (PowerShell#12921)</li> <li>Enable skipped tests (PowerShell#12894) (Thanks @iSazonov!)</li> <li>Fix break in package build by pinning <code>ffi</code> version to <code>1.12</code> (PowerShell#12889)</li> <li>Upgrade <code>APIScan</code> version (PowerShell#12876)</li> <li>Make contributors unique in Release notes (PowerShell#12878) (Thanks @kvprasoon!)</li> <li>Update Linux daily CI to run in a single agent & collect traces (PowerShell#12866)</li> <li>Update .NET SDK version from <code>5.0.100-preview.5.20278.13</code> to <code>5.0.100-preview.5.20279.10</code> (PowerShell#12844) (Thanks @github-actions[bot]!)</li> <li>Sign the <code>MSIX</code> files for the store (PowerShell#12582)</li> <li>Update the CI builds (PowerShell#12830)</li> <li>Update .NET SDK version from <code>5.0.100-preview.5.20272.6</code> to <code>5.0.100-preview.5.20278.13</code> (PowerShell#12772) (Thanks @github-actions[bot]!)</li> <li>Allow use of build module on unknown Linux distros (PowerShell#11146) (Thanks @Saancreed!)</li> <li>Fix MSI upgrade and shortcut issues (PowerShell#12792) (Thanks @heaths!)</li> <li>Bump NJsonSchema from 10.1.17 to 10.1.18 (PowerShell#12812)</li> <li>Update .NET SDK version from <code>5.0.100-preview.5.20269.29</code> to <code>5.0.100-preview.5.20272.6</code> (PowerShell#12759) (Thanks @github-actions[bot]!)</li> <li>Bump NJsonSchema from 10.1.16 to 10.1.17 (PowerShell#12761)</li> <li>Update to dotnet SDK 5.0.0-preview.5.20268.9 (PowerShell#12740)</li> <li>Remove <code>assets\license.rtf</code> (PowerShell#12721) (Thanks @xtqqczze!)</li> <li>Bump <code>Microsoft.CodeAnalysis.CSharp</code> from <code>3.5.0</code> to <code>3.6.0</code> (PowerShell#12731)</li> </ul> </details> * Documentation and Help Content - Update `README` and `metadata` files for next release (PowerShell#12717) - Update `README.md` removing experimental status of `Arm` builds, but `Win-Arm64` is still preview for Stable release. (PowerShell#12707) - Add link to Github compare in changelog (PowerShell#12713) (Thanks @xtqqczze!) - Added missing changelog for v7.1.0-preview.2 (PowerShell#12665) - Update required Visual Studio version in build docs (PowerShell#12628) (Thanks @xtqqczze!) - minor update to Distribution_Request.md (PowerShell#12705) (Thanks @kilasuit!) - Update docs.microsoft.com links (PowerShell#12653) (Thanks @xtqqczze!) - Update change log for `6.2.5` release (PowerShell#12670) - Update `README.md` and `metadata.json` for next release (PowerShell#12668) - Merge 7.0.1 change log (PowerShell#12669) - Remove markdown unused definitions (PowerShell#12656) (Thanks @xtqqczze!) - Add HoloLens to list of PowerShell adopters (PowerShell#12940) (Thanks @reynoldsbd!) - Update `README.md` and `metadata.json` for next releases (PowerShell#12939) - Fix broken link in `README.md` (PowerShell#12887) (Thanks @xtqqczze!) - Minor typo corrections in Distribution Request Issue Templates (PowerShell#12744) (Thanks @corbob!) - Correct 'review-for-comments' in `Governance.md` (PowerShell#11035) (Thanks @MarvTheRobot!) - Fix markdown ordered lists (PowerShell#12657) (Thanks @xtqqczze!) - Fix broken `docs.microsoft.com` link (PowerShell#12776) (Thanks @xtqqczze!) - Replace link to Slack with link to PowerShell Virtual User Group (PowerShell#12786) (Thanks @xtqqczze!) - Update `LICENSE.txt` so that it's recognized as MIT (PowerShell#12729)
PreviousNext