Tags: Beagall/PowerShell
Tags
v7.0.0-rc.1 - 12/16/2019 * Breaking Changes - Make update notification support `LTS` and default channels (PowerShell#11132) * Engine Updates and Fixes - Improvements in breakpoint APIs for remote scenarios (PowerShell#11312) - Fix PowerShell class definition leaking into another Runspace (PowerShell#11273) - Fix a regression in formatting caused by the `FirstOrDefault` primitive added in `7.0.0-Preview1` (PowerShell#11258) - Additional Microsoft Modules to track in `PS7` Telemetry (PowerShell#10751) - Make approved features non-experimental (PowerShell#11303) - Update `ConciseView` to use `TargetObject` if applicable (PowerShell#11075) - Fix `NullReferenceException` in `CompletionCompleters` public methods (PowerShell#11274) - Fix apartment thread state check on non-Windows platforms (PowerShell#11301) - Update setting PSModulePath to concatenate the process and machine environment variables (PowerShell#11276) - Bump `.NET Core` to `3.1.0` (PowerShell#11260) - Fix detection of `$PSHOME` in front of `$env:PATH` (PowerShell#11141) * General Cmdlet Updates and Fixes - Fix for issue on Raspbian for setting date of file changes in `UnixStat` Experimental Feature (PowerShell#11313) - Add `-AsPlainText` to `ConvertFrom-SecureString` (PowerShell#11142) - Added `WindowsPS` version check for `WinCompat` (PowerShell#11148) - Fix error-reporting in some `WinCompat` scenarios (PowerShell#11259) - Add native binary resolver (PowerShell#11032) (Thanks @iSazonov!) - Update calculation of char width to respect `CJK` chars correctly (PowerShell#11262) - Add `Unblock-File` for macOS (PowerShell#11137) - Fix regression in `Get-PSCallStack` (PowerShell#11210) (Thanks @iSazonov!) - Remove autoloading of the `ScheduledJob` module when using Job cmdlets (PowerShell#11194) - Add `OutputType` to `Get-Error` cmdlet and preserve original typenames (PowerShell#10856) - Fix null reference in `SupportsVirtualTerminal` property (PowerShell#11105) * Code Cleanup - Change comment and element text to meet Microsoft standards (PowerShell#11304) * Tests - Make unreliable `DSC` test pending (PowerShell#11131) * Build and Packaging Improvements - Fix Nuget package signing for Coordinated Package build (PowerShell#11316) - Update dependencies from PowerShell Gallery and NuGet (PowerShell#11323) - Bump `Microsoft.ApplicationInsights` from `2.11.0` to `2.12.0` (PowerShell#11305) - Bump `Microsoft.CodeAnalysis.CSharp` from `3.3.1` to `3.4.0` (PowerShell#11265) - Updates packages for Debian 10 and 11 (PowerShell#11236) - Only enable experimental features prior to `RC` (PowerShell#11162) - Update macOS minimum version (PowerShell#11163) - Bump `NJsonSchema` from `10.0.27` to `10.0.28` (PowerShell#11170) * Documentation and Help Content - Refactor change logs into one log per release (PowerShell#11165) - Fix `FWLinks` for PowerShell 7 online help documents (PowerShell#11071)
v7.0.0-preview.6 - 10/21/2019 * Breaking Changes - Update `Test-Connection` to work more like the one in Windows PowerShell (PowerShell#10697) (Thanks @vexx32!) - Preserve `$?` for `ParenExpression`, `SubExpression` and `ArrayExpression` (PowerShell#11040) - Set working directory to current directory in `Start-Job` (PowerShell#10920) (Thanks @iSazonov!) * Engine Updates and Fixes - Allow `pwsh` to inherit `$env:PSModulePath` and enable `powershell.exe` to start correctly (PowerShell#11057) * Experimental Features - Provide Unix stat information in filesystem output (PowerShell#11042) - Support null-conditional operators `?.` and `?[]` in PowerShell language (PowerShell#10960) - Support using non-compatible Windows PowerShell modules in PowerShell Core (PowerShell#10973) * Performance - Avoid using closure in `Parser.SaveError` (PowerShell#11006) - Improve the caching when creating new `Regex` instances (PowerShell#10657) (Thanks @iSazonov!) - Improve processing of the PowerShell built-in type data from `types.ps1xml`, `typesV3.ps1xml` and `GetEvent.types.ps1xml` (PowerShell#10898) - Update `PSConfiguration.ReadValueFromFile` to make it faster and more memory efficient (PowerShell#10839) * General Cmdlet Updates and Fixes - Add limit check in `Get-WinEvent` (PowerShell#10648) (Thanks @iSazonov!) - Fix command runtime so `StopUpstreamCommandsException` doesn't get populated in `-ErrorVariable` (PowerShell#10840) - Set the output encoding to `[Console]::OutputEncoding` for native commands (PowerShell#10824) - Support multi-line code blocks in examples (PowerShell#10776) (Thanks @Greg-Smulko!) - Add Culture parameter to `Select-String` cmdlet (PowerShell#10943) (Thanks @iSazonov!) - Fix `Start-Job` working directory path with trailing backslash (PowerShell#11041) - `ConvertFrom-Json`: Unwrap collections by default (PowerShell#10861) (Thanks @danstur!) - Use case-sensitive Hashtable for `Group-Object` cmdlet with `-CaseSensitive` and `-AsHashtable` switches (PowerShell#11030) (Thanks @vexx32!) - Handle exception if enumerating files fails when rebuilding path to have correct casing (PowerShell#11014) - Fix `ConciseView` to show `Activity` instead of `myCommand` (PowerShell#11007) - Allow web cmdlets to ignore HTTP error statuses (PowerShell#10466) (Thanks @vdamewood!) - Fix piping of more than one `CommandInfo` to `Get-Command` (PowerShell#10929) - Add back `Get-Counter` cmdlet for Windows (PowerShell#10933) - Make `ConvertTo-Json` treat `[AutomationNull]::Value` and `[NullString]::Value` as `$null` (PowerShell#10957) - Remove brackets from `ipv6` address for SSH remoting (PowerShell#10968) - Fix crash if command sent to pwsh is just whitespace (PowerShell#10977) - Added cross-platform `Get-Clipboard` and `Set-Clipboard` (PowerShell#10340) - Fix setting original path of filesystem object to not have extra trailing slash (PowerShell#10959) - Support `$null` for `ConvertTo-Json` (PowerShell#10947) - Add back `Out-Printer` command on Windows (PowerShell#10906) - Fix `Start-Job -WorkingDirectory` with whitespace (PowerShell#10951) - Return default value when getting `null` for a setting in `PSConfiguration.cs` (PowerShell#10963) (Thanks @iSazonov!) - Handle IO exception as non-terminating (PowerShell#10950) - Add `GraphicalHost` assembly to enable `Out-GridView`, `Show-Command`, and `Get-Help -ShowWindow` (PowerShell#10899) - Take `ComputerName` via pipeline in `Get-HotFix` (PowerShell#10852) (Thanks @kvprasoon!) - Fix tab completion for parameters so that it shows common parameters as available (PowerShell#10850) - Fix `GetCorrectCasedPath()` to first check if any system file entries is returned before calling `First()` (PowerShell#10930) - Set working directory to current directory in `Start-Job` (PowerShell#10920) (Thanks @iSazonov!) - Change `TabExpansion2` to not require `-CursorColumn` and treat as `$InputScript.Length` (PowerShell#10849) - Handle case where Host may not return Rows or Columns of screen (PowerShell#10938) - Fix use of accent colors for hosts that don't support them (PowerShell#10937) - Add back `Update-List` command (PowerShell#10922) - Update `FWLink` Id for `Clear-RecycleBin` (PowerShell#10925) - During tab completion, skip file if can't read file attributes (PowerShell#10910) - Add back `Clear-RecycleBin` for Windows (PowerShell#10909) - Add `$env:__SuppressAnsiEscapeSequences` to control whether to have VT escape sequence in output (PowerShell#10814) * Code Cleanup - Cleanup style issues in `Compiler.cs` (PowerShell#10368) (Thanks @iSazonov!) - Remove the unused type converter for `CommaDelimitedStringCollection` (PowerShell#11000) (Thanks @iSazonov!) - Cleanup style in `InitialSessionState.cs` (PowerShell#10865) (Thanks @iSazonov!) - Code clean up for `PSSession` class (PowerShell#11001) - Remove the not-working 'run `Update-Help` from `Get-Help` when `Get-Help` runs for the first time' feature (PowerShell#10974) - Fix style issues (PowerShell#10998) (Thanks @iSazonov!) - Cleanup: use the built-in type alias (PowerShell#10882) (Thanks @iSazonov!) - Remove the unused setting key `ConsolePrompting` and avoid unnecessary string creation when querying `ExecutionPolicy` setting (PowerShell#10985) - Disable update notification check for daily builds (PowerShell#10903) (Thanks @bergmeister!) - Reinstate debugging API lost in PowerShell#10338 (PowerShell#10808) * Tools - Add default setting for the `SDKToUse` property so that it builds in VS (PowerShell#11085) - `Install-Powershell.ps1`: Add parameter to use MSI installation (PowerShell#10921) (Thanks @MJECloud!) - Add basic examples for `install-powershell.ps1` (PowerShell#10914) (Thanks @kilasuit!) * Tests - Fix `stringdata` test to correctly validate keys of hashtables (PowerShell#10810) - Unload test modules (PowerShell#11061) (Thanks @iSazonov!) - Increase time between retries of testing URL (PowerShell#11015) - Update tests to accurately describe test actions. (PowerShell#10928) (Thanks @romero126!) * Build and Packaging Improvements - Updating links in `README.md` and `metadata.json` for Preview.5 (PowerShell#10854) - Select the files for compliance tests which are owned by PowerShell (PowerShell#10837) - Allow `win7x86` `msix` package to build. (Internal 10515) - Allow semantic versions to be passed to `NormalizeVersion` function (PowerShell#11087) - Bump .NET core framework to `3.1-preview.3` (PowerShell#11079) - Bump `PSReadLine` from `2.0.0-beta5` to `2.0.0-beta6` in /src/Modules (PowerShell#11078) - Bump `Newtonsoft.Json` from `12.0.2` to `12.0.3` (PowerShell#11037) (PowerShell#11038) - Add Debian 10, 11 and CentOS 8 packages (PowerShell#11028) - Upload `Build-Info` Json file with the `ReleaseDate` field (PowerShell#10986) - Bump .NET core framework to `3.1-preview.2` (PowerShell#10993) - Enable build of x86 MSIX package (PowerShell#10934) - Update the dotnet SDK install script URL in `build.psm1` (PowerShell#10927) - Bump `Markdig.Signed` from `0.17.1` to `0.18.0` (PowerShell#10887) - Bump `ThreadJob` from `2.0.1` to `2.0.2` (PowerShell#10886) - Update `AppX` Manifest and Packaging module to conform to MS Store requirements (PowerShell#10878) * Documentation and Help Content - Update `CONTRIBUTING.md` (PowerShell#11096) (Thanks @mklement0!) - Fix installation doc links in `README.md` (PowerShell#11083) - Adds examples to `install-powershell.ps1` script (PowerShell#11024) (Thanks @kilasuit!) - Fix to `Select-String` emphasis and `Import-DscResource` in CHANGELOG.md (PowerShell#10890) - Remove the stale link from `powershell-beginners-guide.md` (PowerShell#10926)
v7.0.0-preview.5 - 10/23/2019 * Breaking Changes - Make `$PSCulture` consistently reflect in-session culture changes (PowerShell#10138) (Thanks @iSazonov!) * Engine Updates and Fixes - Move to `.NET Core 3.1 preview 1` (PowerShell#10798) - Refactor reparse tag checks in file system provider (PowerShell#10431) (Thanks @iSazonov!) - Replace `CR` and new line with a `0x23CE` character in script logging (PowerShell#10616) - Fix a resource leak by unregistering the event handler from `AppDomain.CurrentDomain.ProcessExit` (PowerShell#10626) * Experimental Features - Implement `Get-Error` cmdlet as Experimental Feature (PowerShell#10727,PowerShell#10800) - Add `ConciseView` for `$ErrorView` and update it to remove unnecessary text and not color entire line in red (PowerShell#10641,PowerShell#10724) - Support the pipeline chain operators `&&` and `||` in PowerShell language (PowerShell#9849,PowerShell#10825,PowerShell#10836) - Implement null coalescing (`??`) and null coalescing assignment (`??=`) operators (PowerShell#10636) - Support notification on `pwsh` startup when a new release is available and update notification message (PowerShell#10689,PowerShell#10777) * General Cmdlet Updates and Fixes - Add `-Emphasize` parameter to colorize `Select-String` output (PowerShell#8963) (Thanks @derek-xia!) - Add back `Get-HotFix` cmdlet (PowerShell#10740) - Make `Add-Type` usable in applications that host `PowerShell` (PowerShell#10587) - Use more effective evaluation order in `LanguagePrimitives.IsNullLike()` (PowerShell#10781) (Thanks @vexx32!) - Improve handling of mixed-collection piped input and piped streams of input in `Format-Hex` (PowerShell#8674) (Thanks @vexx32!) - Use type conversion in `SSHConnection` hashtables when value doesn't match expected type (PowerShell#10720) (Thanks @SeeminglyScience!) - Fix `Get-Content -ReadCount 0` behavior when `-TotalCount` is set (PowerShell#10749) (Thanks @eugenesmlv!) - Reword access denied error message in `Get-WinEvent` (PowerShell#10639) (Thanks @iSazonov!) - Enable tab completion for variable assignment that is enum or type constrained (PowerShell#10646) - Remove unused `SourceLength` remoting property causing formatting issues (PowerShell#10765) - Add `-Delimiter` parameter to `ConvertFrom-StringData` (PowerShell#10665) (Thanks @steviecoaster!) - Add positional parameter for `ScriptBlock` when using `Invoke-Command` with `SSH` (PowerShell#10721) (Thanks @machgo!) - Show line context information if multiple lines but no script name for `ConciseView` (PowerShell#10746) - Add support for `\\wsl$\` paths to file system provider (PowerShell#10674) - Add the missing token text for `TokenKind.QuestionMark` in parser (PowerShell#10706) - Set current working directory of each `ForEach-Object -Parallel` running script to the same location as the calling script. (PowerShell#10672) - Replace `api-ms-win-core-file-l1-2-2.dll` with `Kernell32.dll` for `FindFirstStreamW` and `FindNextStreamW` APIs (PowerShell#10680) (Thanks @iSazonov!) - Tweak help formatting script to be more `StrictMode` tolerant (PowerShell#10563) - Add `-SecurityDescriptorSDDL` parameter to `New-Service` (PowerShell#10483) (Thanks @kvprasoon!) - Remove informational output, consolidate ping usage in `Test-Connection` (PowerShell#10478) (Thanks @vexx32!) - Read special reparse points without accessing them (PowerShell#10662) (Thanks @iSazonov!) - Direct `Clear-Host` output to terminal (PowerShell#10681) (Thanks @iSazonov!) - Add back newline for grouping with `Format-Table` and `-Property` (PowerShell#10653) - Remove [ValidateNotNullOrEmpty] from `-InputObject` on `Get-Random` to allow empty string (PowerShell#10644) - Make suggestion system string distance algorithm case-insensitive (PowerShell#10549) (Thanks @iSazonov!) - Fix null reference exception in `ForEach-Object -Parallel` input processing (PowerShell#10577) * Code Cleanup - Remove `WorkflowJobSourceAdapter` reference that is no longer used (PowerShell#10326) (Thanks @KirkMunro!) - Cleanup `COM` interfaces in jump list code by fixing `PreserveSig` attributes (PowerShell#9899) (Thanks @weltkante!) - Add a comment describing why `-ia` is not the alias for `-InformationAction` common parameter (PowerShell#10703) (Thanks @KirkMunro!) - Rename `InvokeCommandCmdlet.cs` to `InvokeExpressionCommand.cs` (PowerShell#10659) (Thanks @kilasuit!) - Add minor code cleanups related to update notifications (PowerShell#10698) - Remove deprecated workflow logic from the remoting setup scripts (PowerShell#10320) (Thanks @KirkMunro!) - Update help format to use proper case (PowerShell#10678) (Thanks @tnieto88!) - Clean up `CodeFactor` style issues coming in commits for the last month (PowerShell#10591) (Thanks @iSazonov!) - Fix typo in description of `PSTernaryOperator` experimental feature (PowerShell#10586) (Thanks @bergmeister!) * Performance - Add minor performance improvements for runspace initialization (PowerShell#10569) (Thanks @iSazonov!) * Tools - Make `Install-PowerShellRemoting.ps1` handle empty string in `PowerShellHome` parameter (PowerShell#10526) (Thanks @Orca88!) - Switch from `/etc/lsb-release` to `/etc/os-release` in `install-powershell.sh` (PowerShell#10773) (Thanks @Himura2la!) - Check `pwsh.exe` and `pwsh` in daily version on Windows (PowerShell#10738) (Thanks @centreboard!) - Remove unneeded tap in `installpsh-osx.sh` (PowerShell#10752) * Tests - Temporary skip the flaky test `TestAppDomainProcessExitEvenHandlerNotLeaking` (PowerShell#10827) - Make the event handler leaking test stable (PowerShell#10790) - Sync capitalization in `CI` `YAML` (PowerShell#10767) (Thanks @RDIL!) - Add test for the event handler leaking fix (PowerShell#10768) - Add `Get-ChildItem` test (PowerShell#10507) (Thanks @iSazonov!) - Replace ambiguous language for tests from `switch` to `parameter` for accuracy (PowerShell#10666) (Thanks @romero126!) * Build and Packaging Improvements - Update package reference for `PowerShell SDK` to `preview.5` (Internal 10295) - Update `ThirdPartyNotices.txt` (PowerShell#10834) - Bump `Microsoft.PowerShell.Native` to `7.0.0-preview.3` (PowerShell#10826) - Bump `Microsoft.ApplicationInsights` from `2.10.0` to `2.11.0` (PowerShell#10608) - Bump `NJsonSchema` from `10.0.24` to `10.0.27` (PowerShell#10756) - Add `MacPorts` support to the build system (PowerShell#10736) (Thanks @Lucius-Q-User!) - Bump `PackageManagement` from `1.4.4` to `1.4.5` (PowerShell#10728) - Bump `NJsonSchema` from `10.0.23` to `10.0.24` (PowerShell#10635) - Add environment variable to differentiate client/server telemetry in `MSI` (PowerShell#10612) - Bump `PSDesiredStateConfiguration` from `2.0.3` to `2.0.4` (PowerShell#10603) - Bump `Microsoft.CodeAnalysis.CSharp` from `3.2.1` to `3.3.1` (PowerShell#10607) - Update to `.Net Core 3.0 RTM` (PowerShell#10604) (Thanks @bergmeister!) - Update `MSIX` packaging so the version to `Windows Store` requirements (PowerShell#10588) * Documentation and Help Content - Merge stable and servicing change logs (PowerShell#10527) - Update used `.NET` version in build docs (PowerShell#10775) (Thanks @Greg-Smulko!) - Replace links from `MSDN` to `docs.microsoft.com` in `powershell-beginners-guide.md` (PowerShell#10778) (Thanks @iSazonov!) - Fix broken `DSC` overview link (PowerShell#10702) - Update `Support_Question.md` to link to `Stack Overflow` as another community resource (PowerShell#10638) (Thanks @mklement0!) - Add processor architecture to distribution request template (PowerShell#10661) - Add new PowerShell MoL book to learning PowerShell docs (PowerShell#10602)
v7.0.0-preview.4 - 09/19/2019 * Engine Updates and Fixes - Add support to `ActionPreference.Break` to break into debugger when `Debug`, `Error`, `Information`, `Progress`, `Verbose` or `Warning` messages are generated (PowerShell#8205) (Thanks @KirkMunro!) - Enable starting control panel add-ins within PowerShell Core without specifying `.CPL` extension. (PowerShell#9828) * Performance - Make `ForEach-Object` faster for its commonly used scenarios (PowerShell#10454) and fix `ForEach-Object -Parallel` performance problem with many runspaces (PowerShell#10455) * Experimental Features - Update `PSDesiredStateConfiguration` module version to `2.0.3` and bring new tests; enable compilation to MOF on non-Windows and use of Invoke-DSCResource without LCM (PowerShell#10516) - Add APIs for breakpoint management in runspaces and enable attach to process without `BreakAll` for PowerShell Editor Services (PowerShell#10338) (Thanks @KirkMunro!) - Support [ternary operator](PowerShell/PowerShell-RFC#218) in PowerShell language (PowerShell#10367) * General Cmdlet Updates and Fixes - Add PowerShell Core group policy definitions (PowerShell#10468) - Update console host to support `XTPUSHSGR`/`XTPOPSGR` VT control sequences that are used in [composability scenarios](microsoft/terminal#1796). (PowerShell#10208) - Add `WorkingDirectory` parameter to `Start-Job` (PowerShell#10324) (Thanks @davinci26!) - Remove the event handler that was causing breakpoint changes to be erroneously replicated to the host runspace debugger (PowerShell#10503) (Thanks @KirkMunro!) - Replace `api-ms-win-core-job-12-1-0.dll` with `Kernell32.dll` in `Microsoft.PowerShell.Commands.NativeMethods` P/Invoke API(PowerShell#10417) (Thanks @iSazonov!) - Fix wrong output for `New-Service` in variable assignment and `-OutVariable` (PowerShell#10444) (Thanks @kvprasoon!) - Fix global tool issues around exit code, command line parameters and path with spaces (PowerShell#10461) - Fix recursion into OneDrive - change `FindFirstFileEx()` to use `SafeFindHandle` type (PowerShell#10405) - Skip auto-loading `PSReadLine` on Windows if the [NVDA screen reader](https://www.nvaccess.org/about-nvda/) is active (PowerShell#10385) - Increase built-with-PowerShell module versions to `7.0.0.0` (PowerShell#10356) - Add throwing an error in `Add-Type` if a type with the same name already exists (PowerShell#9609) (Thanks @iSazonov!) * Code Cleanup - Convert `ActionPreference.Suspend` enumeration value into a non-supported, reserved state, and remove restriction on using `ActionPreference.Ignore` in preference variables (PowerShell#10317) (Thanks @KirkMunro!) - Replace `ArrayList` with `List<T>` to get more readable and reliable code without changing functionality (PowerShell#10333) (Thanks @iSazonov!) - Make code style fixes to `TestConnectionCommand` (PowerShell#10439) (Thanks @vexx32!) - Cleanup `AutomationEngine` and remove extra `SetSessionStateDrive` method call (PowerShell#10416) (Thanks @iSazonov!) - Rename default `ParameterSetName` back to `Delimiter` for `ConvertTo-Csv` and `ConvertFrom-Csv` (PowerShell#10425) * Tools - Update `install-powershell.ps1` to check for already installed daily build (PowerShell#10489) * Tests - Add experimental check to `ForEach-Object -Parallel` tests (PowerShell#10354) (Thanks @KirkMunro!) - Update tests for Alpine validation (PowerShell#10428) * Build and Packaging Improvements - Bump `PowerShellGet` version from `2.2` to `2.2.1` (PowerShell#10382) - Bump `PackageManagement` version from `1.4.3` to `1.4.4` (PowerShell#10383) - Update `README.md` and `metadata.json` for `7.0.0-preview.4` (Internal 10011) - Upgrade `.Net Core 3.0` version from `Preview 9` to `RC1` (PowerShell#10552) (Thanks @bergmeister!) - Fix `ExperimentalFeature` list generation (Internal 9996) - Bump `PSReadLine` version from `2.0.0-beta4` to `2.0.0-beta5` (PowerShell#10536) - Fix release build script to set release tag - Update version of `Microsoft.PowerShell.Native` to `7.0.0-preview.2` (PowerShell#10519) - Upgrade to `Netcoreapp3.0 preview9` (PowerShell#10484) (Thanks @bergmeister!) - Make sure the daily coordinated build, knows it is a daily build (PowerShell#10464) - Update the combined package build to release the daily builds (PowerShell#10449) - Remove appveyor reference (PowerShell#10445) (Thanks @RDIL!) - Bump `NJsonSchema` version from `10.0.22` to `10.0.23` (PowerShell#10421) - Remove the deletion of `linux-x64` build folder because some dependencies for Alpine need it (PowerShell#10407) * Documentation and Help Content - Update `README.md` and metadata for `v6.1.6` and `v6.2.3` releases (PowerShell#10523) - Fix a typo in `README.md` (PowerShell#10465) (Thanks @vedhasp!) - Add a reference to `PSKoans` module to Learning Resources documentation (PowerShell#10369) (Thanks @vexx32!) - Update `README.md` and `metadata.json` for `7.0.0-preview.3` (PowerShell#10393)
** v6.2.3 - 09/12/2019 *** Engine Updates and Fixes - Fix debugger performance regression in system lock down mode (PowerShell#10269) *** Tests - Remove `markdownlint` tests due to security issues (PowerShell#10163) *** Build and Packaging Improvements - Update DotNet SDK and runtime framework version (Internal 9946) - Fix macOS build break (PowerShell#10207)
v7.0.0-preview.3 - 08/20/2019 * Breaking Changes - Remove kill alias for Stop-Process cmdlet on Unix (PowerShell#10098) (Thanks @iSazonov!) - Support for starting PowerShell as a login shell (pwsh -Login / pwsh -l) support (PowerShell#10050) * Engine Updates and Fixes - Additional Telemetry - implementation of [RFC0036](PowerShell/PowerShell-RFC#158) (PowerShell#10336) - Implement ForEach-Object -Parallel as an experimental feature (PowerShell#10229) - Skip JumpList on NanoServer and IoT (PowerShell#10164) - Make Get-DscResource work with class based resources (PowerShell#10350) - Fix #requires -version for pwsh 7 to include 6.1 and 6.2 in PSCompatibleVersions (PowerShell#9943) (Thanks @bgelens!) - Add dispose of _runspaceDebugCompleteEvent event object. (PowerShell#10323) - Fix performance regression from disabling debugger in system lockdown mode (PowerShell#10269) - Special case the posix locale in WildcardPattern (PowerShell#10186) - Use Platform.IsWindowsDesktop instead of checking both NanoServer and IoT (PowerShell#10205) * General Cmdlet Updates and Fixes - Enable Experimental Features by default on Preview builds (PowerShell#10228) - Enable -sta and -mta switches for pwsh (-sta is required for GUIs) (PowerShell#10061) - Make breakpoints display better over PowerShell remoting (PowerShell#10339) (Thanks @KirkMunro!) - Add support for AppX reparse points (PowerShell#10331) - Make module name matching for get-module -FullyQualifiedName case insensitive (PowerShell#10329) - Expose PreRelease label in PSModuleInfo formatter (PowerShell#10316) - Add -Raw switch to Select-String which allows returning only the string that was matched (PowerShell#9901) (Thanks @Jawz84!) - * Performance - Reduce allocations in MakePath() method (PowerShell#10027) (Thanks @iSazonov!) - Remove extra check that the system dll exists (PowerShell#10244) (Thanks @iSazonov!) - Avoid boxing when passing value type arguments to PSTraceSource.WriteLine (PowerShell#10052) (Thanks @iSazonov!) - Reduce allocations in Escape() and Unescape() (PowerShell#10041) (Thanks @iSazonov!) * Code Cleanup - Add the license header to anoserver.tests.ps1 (PowerShell#10171) - Mark -parallel and -throttlelimit reserved for oreach and switch statements (PowerShell#10328) (Thanks @KirkMunro!) - Deprecate workflow debugging code (PowerShell#10321) (Thanks @KirkMunro!) - Fix style issues in InternalCommands.cs (PowerShell#10352) (Thanks @iSazonov!) - Deprecate internal HelpCategory.Workflow enumeration (PowerShell#10319) (Thanks @KirkMunro!) - Update Microsoft.PowerShell.CoreCLR.Eventing to resolve conflict with System.Diagnostics.EventLog (PowerShell#10305) - Don't collect process start time as it's not being used on consolehost startup (PowerShell#10294) - .NET Core 3.0 now aborts the thread for us. Remove the ThreadAbortException code (PowerShell#10230) (Thanks @iSazonov!) - Use ameof() in LocationGlobber and PathInfo (PowerShell#10200) (Thanks @iSazonov!) * Tools - Fix Hungarian prefix my (PowerShell#9976) (Thanks @RDIL!) - Fix spelling error in issue template (PowerShell#10256) - Quote arguments in .vscode/tasks.json in case of spaces (PowerShell#10204) (Thanks @msftrncs!) * Tests - Remove markdownlint tests due to security issues (PowerShell#10163) - Add tests for WildcardPattern.Escape() and Unescape() (PowerShell#10090) (Thanks @iSazonov!) - Cleanup Docker release testing (PowerShell#10310) (Thanks @RDIL!) * Build and Packaging Improvements - Update Microsoft.Management.Infrastructure version to 2.0.0-preview.2 (PowerShell#10366) - Move to .NET Core 3.0 preview.8 (PowerShell#10351) (PowerShell#10227) (Thanks @bergmeister!) - Bump NJsonSchema from 10.0.21 to 10.0.22 (PowerShell#10364) - Add Microsoft.PowerShell.CoreCLR.Eventing.dll to exception list for build fix (PowerShell#10337) - Bump Microsoft.CodeAnalysis.CSharp from 3.1.0 to 3.2.1 (PowerShell#10273) (PowerShell#10330) - Revert the temporary AzDevOps artifact workaround (PowerShell#10260) - Fix macOS build break (PowerShell#10207) * Documentation and Help Content - Update docs for 7.0.0-preview.2 release (PowerShell#10160) (PowerShell#10176) - PSSA also includes formatting (PowerShell#10172) - Refactor security policy documentation so that they appear in the Security policy tab of GitHub (PowerShell#9905) (Thanks @bergmeister!) - Add tooling section to PR template (PowerShell#10144) - Update README.md and metadata.json for next releases (PowerShell#10087) - Update DotNet Support links (PowerShell#10145) - Update our language on our policy applying to security issues (PowerShell#10304) - Update dead links from powershell.com (PowerShell#10297) - Create Distribution_Request issue template (PowerShell#10253) - Fix: Removed dependency file with Dependabot (PowerShell#10212) (Thanks @RDIL!)
v7.0.0-preview.2 - 07/17/2019 * Breaking Changes - Cleanup workflow - remove `PSProxyJob` (PowerShell#10083) (Thanks @iSazonov!) - Disable `Enter-PSHostProcess` cmdlet when system in lock down mode (Internal 9168) * Engine Updates and Fixes - Consider `DBNull.Value` and `NullString.Value` the same as `$null` when comparing with `$null` and casting to bool (PowerShell#9794) (Thanks @vexx32!) - Allow methods to be named after keywords (PowerShell#9812) (Thanks @vexx32!) - Create `JumpList` in `STA` thread as some `COM` `APIs` are strictly `STA` only to avoid sporadic `CLR` crashes (PowerShell#9928) (PowerShell#10057) (Thanks @bergmeister!) - Skip `JumpList` on `NanoServer` and `IoT` (PowerShell#10164) - Display `COM` method signature with argument names (PowerShell#9858) (Thanks @nbkalex!) - Use the original precision (prior-dotnet-core-3) for double/float-to-string conversion (PowerShell#9893) - `Import-DscResource` should allow to overwrite DSC built-in resources. (PowerShell#9879) - Add ability to pass `InitialSessionState` to the `ConsoleShell.Start` (PowerShell#9802) (Thanks @asrosent!) - Have console host not enter command prompt mode when using `Read-Host -Prompt` (PowerShell#9743) - Fix use of `Start-Process http://bing.com` (PowerShell#9793) - Support negative numbers in `-split` operator (PowerShell#8960) (Thanks @ece-jacob-scott!) * General Cmdlet Updates and Fixes - Support DSC compilation on Linux. (PowerShell#9834) - Add alias for Service `StartType` (PowerShell#9940) (Thanks @NeoBeum!) - Add `-SecurityDescriptorSddl` parameter to `Set-Service` (PowerShell#8626) (Thanks @kvprasoon!) - Fix auto-download of files when enumerating files from a `OneDrive` folder (PowerShell#9895) - Set request headers when request body is empty in Web Cmdlets (PowerShell#10034) (Thanks @markekraus!) - Fix wrong comparison in `CertificateProvider` (PowerShell#9987) (Thanks @iSazonov!) - Sync docs changes into the embedded help for `pwsh` (PowerShell#9952) - Display Duration when displaying `HistoryInfo` (PowerShell#9751) (Thanks @rkeithhill!) - Update console startup and help `url` for PowerShell docs (PowerShell#9775) - Make `UseAbbreviationExpansion` and `TempDrive` official features (PowerShell#9872) - Fix `Get-ChildItem -Path` with wildcard `char` (PowerShell#9257) (Thanks @kwkam!) * Performance - Add another fast path to `WildcardPattern.IsMatch` for patterns that only have an asterisk in the end (PowerShell#10054) (Thanks @iSazonov!) - Move some of the creations of `WildcardPattern` in outer loop to avoid unnecessary allocation (PowerShell#10053) (Thanks @iSazonov!) - Make `Foreach-Object` 2 times faster by reducing unnecessary allocations and boxing (PowerShell#10047) - Use a static cache for `PSVersionInfo.PSVersion` to avoid casting `SemanticVersion` to `Version` every time accessing that property (PowerShell#10028) - Reduce allocations in `NavigationCmdletProvider.NormalizePath()` (PowerShell#10038) (Thanks @iSazonov!) - Add fast path for wildcard patterns that contains no wildcard characters (PowerShell#10020) - Avoid `Assembly.GetName()` in `ClrFacade.GetAssemblies(string)` to reduce allocations of `CultureInfo` objects (PowerShell#10024) (Thanks @iSazonov!) - Avoid the `int[]` and `int[,]` allocation when tokenizing line comments and matching wildcard pattern (PowerShell#10009) * Tools - Update change log generation tool to deal with private commits (PowerShell#10096) - Update `Start-PSBuild -Clean` logic of `git clean` to ignore locked files from `VS2019` (PowerShell#10071) (Thanks @bergmeister!) - Indent fix in `markdown-link.tests.ps1` (PowerShell#10049) (Thanks @RDIL!) - `Start-PSBuild -Clean` does not remove all untracked files (PowerShell#10022) (Thanks @vexx32!) - Add module to support Pester tests for automating debugger commands (`stepInto`, `stepOut`, etc.), along with basic tests (PowerShell#9825) (Thanks @KirkMunro!) - Remove `markdownlint` tests due to security issues (PowerShell#10163) * Code Cleanup - Cleanup `CompiledScriptBlock.cs` (PowerShell#9735) (Thanks @vexx32!) - Cleanup workflow code (PowerShell#9638) (Thanks @iSazonov!) - Use `AddOrUpdate()` instead of `Remove` then `Add` to register runspace (PowerShell#10007) (Thanks @iSazonov!) - Suppress `PossibleIncorrectUsageOfAssignmentOperator` rule violation by adding extra parenthesis (PowerShell#9460) (Thanks @xtqqczze!) - Use `AddRange` in `GetModules()` (PowerShell#9975) (Thanks @iSazonov!) - Code cleanup: use `IndexOf(char)` overload (PowerShell#9722) (Thanks @iSazonov!) - Move `consts` and methods to single `CharExtensions` class (PowerShell#9992) (Thanks @iSazonov!) - Cleanup: Use `EndsWith(char)` and `StartsWith(char)` (PowerShell#9994) (Thanks @iSazonov!) - Remove `LCIDToLocaleName` `P/Invoke` from `GetComputerInfoCommand` (PowerShell#9716) (Thanks @iSazonov!) - Cleanup Parser tests (PowerShell#9792) (Thanks @vexx32!) - Remove `EtwActivity` empty constructor and make minor style fixes (PowerShell#9958) (Thanks @RDIL!) - Fix style issues from last commits (PowerShell#9937) (Thanks @iSazonov!) - Remove dead code about `IsTransparentProxy` (PowerShell#9966) - Fix minor typos in code comments (PowerShell#9917) (Thanks @RDIL!) - Style fixes for `CimAsyncOperations` (PowerShell#9945) (Thanks @RDIL!) - Fix minor `CodeFactor` style issues in `ModuleCmdletBase` (PowerShell#9915) (Thanks @RDIL!) - Clean up the use of `SetProfileRoot` and `StartProfile` in ConsoleHost (PowerShell#9931) - Fix minor style issues come from last commits (PowerShell#9640) (Thanks @iSazonov!) - Improve whitespace for Parser tests (PowerShell#9806) (Thanks @vexx32!) - Use new `string.ConCat()` in `Process.cs` (PowerShell#9720) (Thanks @iSazonov!) - Code Cleanup: Tidy up `scriptblock.cs` (PowerShell#9732) (Thanks @vexx32!) * Tests - Mark `Set-Service` tests with password as `Pending` (PowerShell#10146) - Fix test password generation rule to meet Windows complexity requirements (PowerShell#10143) - Add test for `New-Item -Force` (PowerShell#9971) (Thanks @robdy!) - Fix gulp versions (PowerShell#9916) (Thanks @RDIL!) - Indentation fixes in `ci.psm1` (PowerShell#9947) (Thanks @RDIL!) - Remove some `Travis-CI` references (PowerShell#9919) (Thanks @RDIL!) - Improve release testing Docker images (PowerShell#9942) (Thanks @RDIL!) - Use `yarn` to install global tools (PowerShell#9904) (Thanks @RDIL!) - Attempt to work around the zip download issue in Azure DevOps Windows CI (PowerShell#9911) - Update PowerShell SDK version for hosting tests (Internal 9185) * Build and Packaging Improvements - Update the target framework for reference assemblies to `netcoreapp3.0` (PowerShell#9747) - Pin version of `netDumbster` to `2.0.0.4` (PowerShell#9748) - Fix daily `CodeCoverageAndTest` build by explicitly calling `Start-PSBootStrap` (PowerShell#9724) - Split the `fxdependent` package on Windows into two packages (PowerShell#10134) - Bump `System.Data.SqlClient` (PowerShell#10109) - Bump `System.Security.AccessControl` (PowerShell#10100) - Add performance tag to change log command (Internal) - Upgrade .Net Core 3 SDK from `preview5` to `preview6` and related out of band `Nuget` packages from `2.1` to `3.0-preview6` (PowerShell#9888) (Thanks @bergmeister!) - Add to `/etc/shells` on macOS (PowerShell#10066) - Bump `Markdig.Signed` from `0.17.0` to `0.17.1` (PowerShell#10062) - Update copyright symbol for `NuGet` packages (PowerShell#9936) - Download latest version `(6.2.0)` of `PSDesiredStateConfiguration` `nuget` package. (PowerShell#9932) - Add automated `RPM` signing to release build (PowerShell#10013) - Bump `ThreadJob` from `1.1.2` to `2.0.1` in `/src/Modules` (PowerShell#10003) - Bump `PowerShellGet` from `2.1.4` to `2.2` in /src/Modules (PowerShell#9933) (PowerShell#10085) - Bump `PackageManagement` from `1.4` to `1.4.3` in `/src/Modules` (PowerShell#9820) (PowerShell#9918) (PowerShell#10084) - Update to use `TSAv2` (PowerShell#9914) - Bump `NJsonSchema` from `9.14.1` to `10.0.21` (PowerShell#9805) (PowerShell#9843) (PowerShell#9854) (PowerShell#9862) (PowerShell#9875) (PowerShell#9885) (PowerShell#9954) (PowerShell#10017) - Bump `System.Net.Http.WinHttpHandler` from `4.5.3` to `4.5.4` (PowerShell#9786) - Bump `Microsoft.ApplicationInsights` from `2.9.1` to `2.10.0` (PowerShell#9757) - Increase timeout of NuGet job to workaround build timeout (PowerShell#9772) * Documentation and Help Content - Change log `6.1.4` (PowerShell#9759) - Change log for release `6.2.1` (PowerShell#9760) - Add quick steps for adding docs to cmdlets (PowerShell#9978) - Update readme `gitter` badge (PowerShell#9920) (Thanks @RDIL!) - Update `README` and `metadata.json` for `7.0.0-preview.1` release (PowerShell#9767)
v6.2.2 - 07/16/2019 * Breaking Changes - Disable `Enter-PSHostProcess` cmdlet when system in lock down mode (Internal 8969) * Engine Updates and Fixes - Create `JumpList` in STA thread as some COM APIs are strictly STA only to avoid sporadic CLR crashes (PowerShell#10057, PowerShell#9928) (Thanks @bergmeister!) * Build and Packaging Improvements - Update DotNet SDK and runtime framework version (Internal 9082, 9088, 9092) - Make `Hashtable` case insensitivity test use current culture rather than shell to set culture (Internal 8529) - Add automated RPM signing to release build (PowerShell#10013) - Update copyright symbol for NuGet packages (PowerShell#9936) - Bump `Microsoft.ApplicationInsights` from `2.9.1` to `2.10.0` (PowerShell#9757) - Switch from BMP to PNG for graphical MSI installer assets (PowerShell#9606) - Bump `System.Net.Http.WinHttpHandler` from `4.5.3` to `4.5.4` (PowerShell#9789) - Enable building of MSIX package (PowerShell#9289, PowerShell#9715)
v6.1.5 - 2019-07-16 * Breaking changes - Disable `Enter-PSHostProcess` cmdlet when system in lock down mode (Internal 8968) * Build and Packaging Improvements - Update DotNet SDK and runtime framework version (Internal 9087) - Add automated RPM signing to release build (PowerShell#10013) - Update copyright symbol for NuGet packages (PowerShell#9936) - Bump `System.Net.Http.WinHttpHandler` from `4.5.3` to `4.5.4` (PowerShell#9790) - Integrate building NuGet package in the coordinated build (PowerShell#8947) (PowerShell#9708) - Bump `Newtonsoft.Json` (PowerShell#9662)
PreviousNext