Tags: jwmoss/PowerShell
Tags
* Breaking Changes - `Get-ExperimentalFeature` no longer has `-ListAvailable` switch (PowerShell#8318) - `Debug` parameter now sets `DebugPreference` to `Continue` instead of `Inquire` (PowerShell#8195) (Thanks @KirkMunro!) * Engine Updates and Fixes - Improve PowerShell startup time by 24% (PowerShell#8341) (PowerShell#8396) - Remove extra newlines from formatting which resulted in unnecessary double newlines (PowerShell#8247) - Add `Enable-ExperimentalFeature` and `Disable-ExperimentalFeature` cmdlets (PowerShell#8318) - Fix `Export-ModuleMember` bug for a `ScriptBlock` having no context (PowerShell#8363) - Fix race condition to access `powershell.config.json` (PowerShell#8249) (Thanks @iSazonov!) - Add `SkipCA` and `SkipCN` check requirement to WinRM/OMI HTTPS connection (PowerShell#8279) - Add fix for `Start-Job` initialization script which should not be executed as trusted in system lockdown (PowerShell#8284) * General Cmdlet Updates and Fixes - Add `Enable-ExperimentalFeature` and `Disable-ExperimentalFeature` cmdlets (PowerShell#8318) - Add cmdlet `Join-String` for creating text from pipeline input (PowerShell#7660) (Thanks @powercode!) - Expose all cmdlets from `PSDiagnostics` if `logman.exe` is available (PowerShell#8366) - Fix `Get-Help` for advanced functions with MAML help content (PowerShell#8353) - Conditionally mark getter/setter implementations as virtual in generated classes (PowerShell#8303) (Thanks @IISResetMe!) - Fix for `PSDrive` creation with a UNC path with a trailing backslash or forward slash when combined with `-Persist` (PowerShell#8305) (Thanks @kvprasoon!) - Remove `Persist` parameter from `New-PSDrive` on non-Windows platform (PowerShell#8291) (Thanks @lukexjeremy!) - `Test-Path`: Return `$false` when given an empty or `$null` `-Path`/`-LiteralPath` value (PowerShell#8080) (Thanks @vexx32!) - Token calculation fix for `Get-Help` executed on `ScriptBlock` for comment help. (PowerShell#8238) (Thanks @hubuk!) - Support `Get-PSHostProcessInfo` and `Enter-PSHostProcess` on Unix platforms (PowerShell#8232) * Code Cleanup - Update `resgen`, `typegen` to use .Net Core 2.1 (PowerShell#8369) (Thanks @bergmeister!) - Change `Newtonsoft` deserializing bug comment to link to the new issue (PowerShell#8377) (Thanks @louistio!) - Cleanup `#if !CORECLR` code (PowerShell#8337) (Thanks @iSazonov!) - Cleanup `UpdatableHelpSystem` and enable XSD validation on MAML help content (PowerShell#8335) (Thanks @iSazonov!) - Remove old `customPSSnapInType` parameter from `PSSnapInInfo()` (PowerShell#8333) (Thanks @iSazonov!) - Cleanup `#if CORECLR` from some files (PowerShell#8332) (Thanks @iSazonov!) - Cleanup `AssemblyInfo` (PowerShell#8190) (Thanks @iSazonov!) - Fix `GetLocationCommand` output type parameter set and style issues (PowerShell#8324) (Thanks @Meir017!) * Tools - Remove `dependabot` attribution and generate changelog sections using `CL-*` labels (PowerShell#8386) * Tests - Update folder path for storing optimization profile and add test to validate loaded assemblies and libraries on startup (PowerShell#8406) - Fix an intermittent failure in macOS logging tests (PowerShell#8385) - Created a `csproj` to pin test modules and updated `build.psm1` accordingly (PowerShell#8350) - Update help content for `TabCompletion` tests only if it does not exist (PowerShell#8355) - Skip `Enter-PSHostProcess` tests on `AppVeyor` due to `PSReadline` issue (PowerShell#8317) * Build and Packaging Improvements - Remove `AmazonLinux` Dockerfile (PowerShell#8271) (Thanks @kiazhi!) - Make `install-powershell.sh` auto-detect if it should use `wget` or `curl` (PowerShell#8225) (Thanks @DarwinJS!) - Bump `NJsonSchema` from `9.12.2` to `9.13.1` (PowerShell#8319) (PowerShell#8328) (PowerShell#8412) (PowerShell#8371) (PowerShell#8384) - Bump `Microsoft.PowerShell.Native` from `6.2.0-preview.2` to `6.2.0-preview.3` (PowerShell#8411) - Update the name of the artifact to be unique per artifact (PowerShell#8405) - Create unified release build for macOS and Linux packages (PowerShell#8399) - Add Linux `ARM64` build support (PowerShell#8016) (Thanks @slide!) - Update the timeout of CI builds (PowerShell#8398) - Bump `PackageManagement` from `1.2.2` to `1.2.4` in `/src/Modules` (PowerShell#8320) (PowerShell#8383) - Bump `Newtonsoft.Json` from `11.0.2` to `12.0.1` (PowerShell#8348) - Enable pipeline to sync `PSGallery` modules to `AzArtifacts` feed (PowerShell#8316) - Build Alpine `tar.gz` package in release builds (PowerShell#8340) - Publish test package to `AppVeyor` daily build (PowerShell#8273) - Bump `Microsoft.CodeAnalysis.CSharp` from `2.9.0` to `2.10.0` (PowerShell#8294) - Bump `PowerShellGet` from `2.0.1` to `2.0.3` in `/src/Modules` (PowerShell#8321) - Enable `Open Here` context menu on Windows to work with root of a drive (PowerShell#8287) - Bump `System.Data.SqlClient` from `4.5.1` to `4.6.0` (PowerShell#8266) * Documentation and Help Content - Merge `changelogs` from `6.1.1` and `6.0.5` into master (PowerShell#8283) - Remove all reference to `AppVeyor` and `Travis CI` from docs (PowerShell#8376) - Change default issue template to use different categories (PowerShell#8203)
* Breaking Changes - Honor `-OutputFormat` if specified in non-interactive, redirected, encoded command used with `pwsh` (PowerShell#8115) - Load assembly from module base path before trying to load from the `GAC` (PowerShell#8073) - Remove tilde from Linux preview packages (PowerShell#8244) - Move processing of `-WorkingDirectory` before processing of profiles (PowerShell#8079) * Known Issues - PowerShell WSMan remoting does not work on Debian 9 due to missing symbolic links. For more information and a workaround see issue [PowerShell#7598](PowerShell#7598) * Engine Updates and Fixes - Enable case-insensitive tab completion for files and folders on case-sensitive filesystem (PowerShell#8128) - Experimental feature: Implicit remoting batching performance improvements (PowerShell#8038) - Add a path for checking `ZoneInformation` without throwing an exception (PowerShell#8025) (Thanks @powercode!) - Fix [CVE-2018-8256](https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8256), issues with expanding `ZIP` files with relative paths (PowerShell#8252) - Fix [CVE-2018-8415](https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8415), issue logging when the `scriptblock` has a null character (PowerShell#8253) - Make `PSVersionInfo.PSVersion` and `PSVersionInfo.PSEdition` public (PowerShell#8054) (Thanks @KirkMunro!) - Enable distinct `ModuleAnalysisCache` files for each installation of `pwsh` (PowerShell#8174) - Consolidation of all Windows PowerShell work ported to PowerShell Core (PowerShell#8257) - Fix incorrect name check when auto-loading required modules (PowerShell#8218) - Adding verbose output for experimental implicit remoting batching feature (PowerShell#8166) - Add Type Inference for `$_ / $PSItem in catch{ }` blocks (PowerShell#8020) (Thanks @vexx32!) - Fix static method invocation type inference (PowerShell#8018) (Thanks @SeeminglyScience!) * General Cmdlet Updates and Fixes - Reduce allocations in `Get-Content` cmdlet (PowerShell#8103) (Thanks @iSazonov!) - Enable `Set-Location -LiteralPath` to work with folders named `-` and `+` (PowerShell#8089) - Enable `Add-Content` to share read access with other tools while writing content (PowerShell#8091) - Add new `Offset` and `Count` parameters to `Format-Hex` and refactor the cmdlet (PowerShell#7877) (Thanks @iSazonov!) - Add `-Name`, `-NoUserOverrides` and `-ListAvailable` parameters to `Get-Culture` cmdlet (PowerShell#7702) (Thanks @iSazonov!) - Allow dynamic parameter to be returned even if path does not match any provider (PowerShell#7957) - Style fixes in `Format-Hex` (PowerShell#8083) (Thanks @iSazonov!) - Fix logic to rely on PowerShell major and minor version instead of build number to determine whether to output `formatdata` (PowerShell#8063) - Fix `Rename-Item -Path` with wildcard `char` (PowerShell#7398) (Thanks @kwkam!) - When using `Start-Transcript` and file exists, empty file rather than deleting (PowerShell#8131) (Thanks @paalbra!) - Error message enhancement for `Clear-Content` cmdlet when targeting a directory (PowerShell#8134) (Thanks @kvprasoon!) - Make `Select-String` faster by not doing extra work (PowerShell#7673) (Thanks @powercode!) - Remove `ShouldProcess` from `Format-Hex` (PowerShell#8178) * Code Cleanup - Remove clone of command-line arguments array (PowerShell#7910) (Thanks @iSazonov!) - Use `DefaultPathSeparator` `char` instead of `DefaultPathSeparatorString` (PowerShell#8082) (Thanks @iSazonov!) - Replace `StringComparision.CurrentCulture` with `StringComparision.Ordinal` (PowerShell#8068) (Thanks @iSazonov!) - Fix typo in `-icontains` description from `incase sensitive` to `case insensitive` (PowerShell#7840) (Thanks @StingyJack!) - Refactor module version/`GUID` comparison logic (PowerShell#7125) * Tools - Update `installpsh-amazonlinux.sh` for container specific issues (PowerShell#7907) (Thanks @DarwinJS!) - Update the `codeowners` file (PowerShell#8017) * Tests - Filter the `TestPackage` artifact upload by name to avoid other `ZIP` files being uploaded (PowerShell#8116) - Adding `fxdependent` PowerShell package tests (PowerShell#7830) - Fix Windows Feature tests running in Azure DevOps (PowerShell#8220) - Create `$PROFILE` if it does not exist for `-WorkingDirectory` processing test (PowerShell#8152) - Add test coverage for additional `Get-Module` parameters (PowerShell#8137) (Thanks @KevinMarquette!) - Fix conflict with `Get-AdlStoreChildItem` from `az` module in tab completion tests (PowerShell#8167) - Fix static secret in code (PowerShell#8186) * Build and Packaging Improvements - Bump `xunit.runner.visualstudio` from `2.4.0` to `2.4.1` (PowerShell#8139) - Bump `xunit` from `2.4.0` to `2.4.1` (PowerShell#8140) - Bump `Microsoft.ApplicationInsights` from `2.8.0` to `2.8.1` (PowerShell#8104) - Bump `NJsonSchema` from `9.11.1` to `9.12.1` (PowerShell#8183, PowerShell#8248) - Fix `Start-PSBuild -Output` (PowerShell#7504) (Thanks @kwkam!) - Adding `YML` for Linux builds (PowerShell#8168) - Publish test package at `AGENT_WORKFOLDER` if `TEMP` is not available (PowerShell#8108) - Fix `psmodulerestore` path when built in Visual Studio Code (PowerShell#8075) - Use approved verb instead of `Generate-CrossGenAssembly` (PowerShell#8151) (Thanks @kvprasoon!) - Add path filters to CI `YAML` (PowerShell#8222) - Update `SignType` in `signing.xml` (PowerShell#8223) - Update metadata for `6.0.5` and `6.1.1` releases (PowerShell#8259) - Port changes to allow Azure DevOps NuGet feeds for Mac build (Internal 5818) - Update version for dependencies (Internal 5822) - Add code to use private NuGet feeds when running in internal CI system (PowerShell#8187) - Add title to `Open Here` window for `MSI` installer (PowerShell#8164) - Remove build and documentation references to `git` submodules (PowerShell#8177) (Thanks @andschwa!) - Add function to create a new `nuget.config` file (PowerShell#8170) - Update macOS release build to create the `nuget.config` (PowerShell#8185) - Workaround for accessing Azure Artifacts (PowerShell#8188) - Fix script path for `PowerShellPackageVsts.ps1` (PowerShell#8189) - `Microsoft.PowerShell.Native` now has `MUSL` binaries for Alpine. * Documentation and Help Content - Fix grammar in `README.md` (PowerShell#8059) (Thanks @daviddreher2!) - Update `powershell-beginners-guide.md` to add alias for `Clear-Host` (PowerShell#7912) (Thanks @aavdberg!) - Add Microsoft Docs link to FAQ (PowerShell#8133) (Thanks @vongrippen!) - Added updated photo of Visual Studio Code due to new version of Code (PowerShell#8084) (Thanks @lassehastrup!) - Update `license.rtf` to only have major version (PowerShell#8127) - Updated Pester Syntax in Writing Tests Guide (PowerShell#8039) (Thanks @markwragg!) - Remove duplicate parts from license file (PowerShell#8143) (Thanks @azkarmoulana!) - Fix spellings in `CHANGELOG.md` (PowerShell#8062) - Update license RTF to 6.2 (PowerShell#8065) - Combine notes about `ITuple` changes in Change Log (PowerShell#8077) (Thanks @Jocapear!) - Correct typos in `powershell-beginners-guide.md` (PowerShell#8088) (Thanks @nycjan!) - Added `Learn Windows PowerShell in a Month of Lunches` as recommended reading (PowerShell#8067) (Thanks @tobvil!) - Update `README.md` for `v6.1.1` (PowerShell#8255) - Fix some typos (PowerShell#8206) (Thanks @jeis2497052!) - Promote `HTTPS` (PowerShell#8160) (Thanks @RDIL!) - Simple grammatical correction in `README.md` file (PowerShell#7978) (Thanks @iGotenz!) - Update URLs to use `HTTPS` instead of `HTTP` in the documentation (PowerShell#8165) (Thanks @RDIL!) - Remove PowerShell#7633 from `v6.2.0-preview.1` `CHANGELOG.md` updates. (PowerShell#8101) (Thanks @stknohg!)
v6.1.1 - 2018-11-13 * Engine Updates and Fixes - Fix issue with logging the null character in `ScriptBlock` logging (Internal 5607) - Consolidation of all Windows PowerShell work ported to 6.1 (Internal 5233) * General Cmdlet Updates and Fixes - Use `ZipFile` and `ExtractToDirectory` APIs to extract zip file (Internal 5608) * Build and Packaging Improvements - Update the Archive module version (Internal 5671) - Update to .NET Core `2.1.5` with SDK `2.1.403` (PowerShell#7936) (Thanks @iSazonov!) - Disable package major upgrade tests for release branch (Internal 5209) - Bump versions for dependencies (Internal 5612) - Port changes to allow `AzDevOps` NuGet feeds for macOS build (Internal 5716) - Port macOS changes from GitHub (PowerShell#8189, PowerShell#8188, PowerShell#8185) - Add function to create a new `nuget.config` file (PowerShell#8170) - Updated `wxs` file to match published packages (Internal 5660) * Tests - Change API to match cmdlet which is more reliable in `AzDevOps` Pipelines Windows (PowerShell#8003) - Fix conflict with `Get-AdlStoreChildItem` from `az` module in tab completion tests (PowerShell#8167)
v6.0.5 - 2018-11-13 * Engine updates and fixes - Fix issue with logging the null character in `ScriptBlock` logging (Internal 5605) * General cmdlet updates and fixes - Use `ZipFile` and `ExtractToDirectory` APIs to extract zip file (Internal 4802) * Build and Packaging Improvements - Update `SignType` in signing.xml (Internal 5721) - Port changes to pull PowerShell Gallery modules from Modules `csproj` (Internal 5713) - Port macOS Release build changes changes from GitHub (PowerShell#8189, PowerShell#8188, PowerShell#8185) - Fix script path for `PowerShellPackageVsts.ps1` (PowerShell#8189) - Workaround for accessing `AzDevOps` Artifacts (PowerShell#8188) - Bump various packages to latest patch version (Internal 5675) - Update PowerShell SDK NuGet various metadata description (Internal 4527, 4510, 4505)
* Breaking Changes - Do not add `PATHEXT` environment variable on Unix (PowerShell#7697) (Thanks @iSazonov!) * Known Issues - Remoting on Windows IOT ARM platforms has an issue loading modules. See [PowerShell#8053](PowerShell#8053) * Engine Updates and Fixes - Add C# style type accelerators and suffixes for `ushort`, `uint`, `ulong`, and `short` literals (PowerShell#7813) (Thanks @vexx32!) - Create inferred types for `Select-Object`, `Group-Object`, `PSObject` and `Hashtable` (PowerShell#7231) (Thanks @powercode!) - Fix .NET adapter to be able to get members from `System.IntPtr` (PowerShell#7808) - Fix .NET adapter to not throw when fails to create a `PSMethod` due to `ByRef-like` type (PowerShell#7788) - Support calling method with `ByRef-like` type parameters (PowerShell#7721) - Fix perf issue in provider by using `Refresh()` to update the status rather than instantiating `ServiceController` which has a significant perf degradation from .NET Framework (PowerShell#7680) - Update PowerShell to handle the case where the Windows PowerShell module path is already in the environment's `PSModulePath` (PowerShell#7727) - Ensure the `SSHClientSessionTransportManager` stream writer and reader fields are cleared after dispose. (PowerShell#7746) - Add unified attribute for completion for `Encoding` parameter. (PowerShell#7732) (Thanks @ThreeFive-O!) - Add support for Byte Literals (PowerShell#7901) (Thanks @vexx32!) - Fix Property and `ScriptBlock` expressions in `EntrySelectedBy` tags within custom controls (PowerShell#7913) (Thanks @SeeminglyScience!) - Fix `BeginInvoke`/`EndInvoke` to return results when `Stop` or `BeginStop`/`EndStop` was called previously (PowerShell#7917) - Allow root node of `format.ps1xml` to have attributes that are ignored (PowerShell#7987) - Use non-virtual call to invoke 'family or assembly' methods on base class from PowerShell class (PowerShell#7622) (PowerShell#7624) (Thanks @yurko7!) - Enable indexing operations on `System.Tuple` and `System.ValueTuple` (PowerShell#7633) (Thanks @SeeminglyScience!) - Enable indexing operations on objects that implement `ITuple` (PowerShell#7633) (Thanks @SeeminglyScience!) - Make the parameter to `ImportPSModule` use `params` so that it is easier to call (PowerShell#7933) (Thanks @iSazonov!) * General Cmdlet Updates and Fixes - Add `EscapeHandling` parameter in `ConvertTo-Json` cmdlet (PowerShell#7775) (Thanks @iSazonov!) - Make `Add-Type` open source files with `FileAccess.Read` and `FileShare.Read` explicitly (PowerShell#7915) (Thanks @IISResetMe!) - No longer skips a column without name if double quote delimiter is used in `Import-Csv` (PowerShell#7899) (Thanks @Topping!) - Add support for `cd +` (PowerShell#7206) (Thanks @bergmeister!) - Allow numeric Ids and name of registered code pages in `-Encoding` parameters (PowerShell#7636) (Thanks @iSazonov!) - Remove extra space in `LastWriteTime` format (PowerShell#7810) (Thanks @iSazonov!) - Fix `Enter-PSSession -ContainerId` for the latest Windows (PowerShell#7883) - `Get/Add-Content` throws improved error when targeting a container (PowerShell#7823) (Thanks @kvprasoon!) - Ensure `NestedModules` property gets populated by `Test-ModuleManifest` (PowerShell#7859) - Add `%F` case to `Get-Date -UFormat` (PowerShell#7630) (Thanks @britishben!) - Fix file blocking issue with web cmdlets (PowerShell#7676) (Thanks @Claustn!) - Improve error message on non-Windows when importing `clixml` with `securestring` (PowerShell#7997) - Add prompt to the use of less in the function 'help' to instruct user how to quit (PowerShell#7998) - Fix `Set-Service -Status Stopped` to stop services with dependencies (PowerShell#5525) (Thanks @zhenggu!) * Code Cleanup - Use `nameof()` in bound `parameters.contains key()` (PowerShell#7908) (Thanks @iSazonov!) - Cleanup all native code from repository (PowerShell#7892) - Add `XSDs` for Format and `Types.ps1xml` files (PowerShell#7832) (Thanks @felixfbecker!) - Remove unused commented out code (PowerShell#7935) (Thanks @vpondala!) - Add `.editorconfig` (PowerShell#7357) (Thanks @iSazonov!) - Remove unused stopwatch (PowerShell#7878) - Clean up `MshObject.cs` and `MshMemberInfo.cs` (PowerShell#7446) - Add `TimeToLive` and `Hops` aliases to `MaxHops` parameter of `Test-Connection` cmdlet. (PowerShell#7850) (Thanks @sethvs!) - Fix a typo in `Credential.cs` (PowerShell#7696) (Thanks @sethvs!) - Remove workaround on VSTS that is no longer needed (PowerShell#7666) - Improve code style of `Send-MailMessage` cmdlet (PowerShell#7723) (Thanks @ThreeFive-O!) - Cleanup `FileSystemProvider` from runtime checks (PowerShell#7655) (Thanks @iSazonov!) - Remove extra spaces in error messages in `Modules.resx` (PowerShell#7662) (Thanks @sethvs!) - Remove empty XML comment lines (missed in PowerShell#7401) (PowerShell#7641) (Thanks @kvprasoon!) - Remove `Suspend-Job` and `Resume-Job` cmdlets from compilation (PowerShell#7650) * Tools - Fix syntax error in `installpwsh-amazonlinux.sh` (PowerShell#7905) (Thanks @DarwinJS!) - Add tools for PowerShell perf analysis (PowerShell#7595) (Thanks @lzybkr!) - Started using [Dependabot](https://dependabot.com) to create PRs to update package and module versions * Tests - Add test for `$error[0]` tab completion (PowerShell#7924) (Thanks @iSazonov!) - Replace test certificates with self-signed certificate generating command (PowerShell#7875) - Standardize Pester syntax in `ReplaceOperator.Tests.ps1` (PowerShell#7963) (Thanks @sethvs!) - Updating `ModulePath.Tests` for `fxdependent` package (PowerShell#7772) - Add tests for `Import-Module -Force` (PowerShell#7491) - Updates to Docker package tests (PowerShell#7667) - Updating test gallery URL in `PackageManagement` tests (PowerShell#7879) - Add version checking tests for `Import-Module` (PowerShell#7499) - Update Markdown tests (PowerShell#7838) - Change locale of `mdspell` to `en-US` (PowerShell#7671) - Test changes needed for running in a container (PowerShell#7869) - Add daily build non-windows platforms (PowerShell#7683) - Remove workaround on VSTS that is no longer needed (PowerShell#7666) - Fix module specification `hashtable` in `ModuleSpecification.Tests.ps1` (PowerShell#7663) (Thanks @sethvs!) - Use `dotnet test` since the `dotnet xunit` test runner has been deprecated (PowerShell#7980) (Thanks @bergmeister!) - Fix pipeline test where `SmtpServer` key was set wrong in pipeline object (PowerShell#7745) (Thanks @ThreeFive-O!) - Change API to get host name to match cmdlet which is more reliable in Azure DevOps Pipelines `Hosted Windows VS2017` (PowerShell#8003) - Disable `travis-ci` (PowerShell#7766) - Make artifact upload only occur for non-PR builds (PowerShell#7657) - Change logic for downloading zip files based on job id (PowerShell#7653) - Add missing dependency for hosting xUnit tests * Build and Packaging Improvements - Change default of `Start-PSBuild` to include `-PSModuleRestore` (PowerShell#7881) - Specify verb, `pwsh`, for shell context menu to avoid overriding the default verb (PowerShell#7932) (Thanks @bergmeister!) - Converting aliases to cmdlets in `build.psm1` (PowerShell#7964) (Thanks @kvprasoon!) - Add dependencies for SUSE (PowerShell#7938) (Thanks @Jellyfrog!) - Wait for package manager not to be locked (PowerShell#7817) - Make `Start-PSPackage` give better message about how to fix `files.wxs` (PowerShell#7841) - Bump to .NET Core `2.1.5` with SDK `2.1.403` and latest packages (PowerShell#7646, PowerShell#7834, PowerShell#7922, PowerShell#7936) (Thanks @iSazonov!) - Bump `Markdig.Signed` NuGet package from `0.15.3` to `0.15.4` (PowerShell#7960) (Thanks @bergmeister!) - Bump `Microsoft.ApplicationInsights` from `2.7.2` to `2.8.0` (PowerShell#8002) - Bump `Microsoft.PowerShell.Native` from `6.1.0-rc.1` to `6.1.0` (PowerShell#7861) - Bump `NJsonSchema` from `9.10.71` to `9.11.1` (PowerShell#7705, PowerShell#7764, PowerShell#7990) - Bump `PackageManagement` from `1.1.7.2` to `1.2.2` in /src/Modules (PowerShell#8014, PowerShell#8029) - Bump `Pester` to use latest version (PowerShell#8015) - Bump `PowerShellGet` to `2.0.0` (PowerShell#7831) - Bump `PSReadLine` to `2.0.0-beta3` (PowerShell#7711) - Bump `Xunit.SkippableFact` from `1.3.6` to `1.3.12` (PowerShell#7972) - Make Windows MSI uninstallation shortcut remove work when more than one version is installed (PowerShell#7701) (Thanks @bergmeister!) - Update Docker files to use MCR (PowerShell#7726) - Update `metadata.json` in preparation for `6.1` release (PowerShell#7741) - Build and package framework dependent package (PowerShell#7729) - Make sure MSI build works when not preview (PowerShell#7752) - Remove `PDBs` from `fxdependent` package (PowerShell#8006) - Improve debugging of NuGet package generation and add type to filtering * Documentation and Help Content - Replace ambiguous `hang` term (PowerShell#7902, PowerShell#7931) (Thanks @iSazonov!) - Updating incorrect example of `PowerShell.Create()` (PowerShell#7926) (Thanks @1RedOne!) - Update `governance.md` (PowerShell#7927) (Thanks @tommymaynard!) - Add `cURL` to the Bash users list in `README.md` (PowerShell#7948) (Thanks @vmsilvamolina!) - Optimize image assets used in documentation (PowerShell#7874) (Thanks @RDIL!) - Update build badges (PowerShell#7792) - Remove packaging, building and installation scripts for Ubuntu 17.10 (PowerShell#7773) - Remove badges for master build as it reflects last PR which is not actionable from the `README` file (PowerShell#7816) - Improve Markdown formatting of beginners guide (PowerShell#7684) (Thanks @fbehrens!) - Fix the `Basic cookbooks` link (PowerShell#7934) (Thanks @vmsilvamolina!) - Update version for PowerShell release `6.1.0` (PowerShell#7751) - Add VSTS CI build badges for master branch to `README.md` (PowerShell#7691) (Thanks @bergmeister!) - Add a paragraph on `files.wxs` updating (PowerShell#7695) (Thanks @iSazonov!) - Update `CONTRIBUTION.md` about adding an empty line after the copyright header (PowerShell#7706) (Thanks @iSazonov!) - Update docs about .NET Core version `2.0` to be about version `2.x` (PowerShell#7467) (Thanks @bergmeister!)
v6.1.0 - 2018-09-13 * Engine Updates and Fixes - Enable indexing operations on `System.Tuple` and `System.ValueTuple` (PowerShell#7633) (Thanks @SeeminglyScience!) - Use non-virtual call to invoke 'family or assembly' methods on base class from PowerShell class (PowerShell#7624) (Thanks @yurko7!) - Handle operations with `ByRef-like` types gracefully in PowerShell (PowerShell#7533) - Make the `-settingfile` flag on `pwsh` work for `ScriptBlock` logging on windows (PowerShell#7631) - Ensure the `SSHClientSessionTransportManager` stream writer and reader fields are cleared after disposing (PowerShell#7746) - Add `LocationChangedAction` handler to support the Windows Compatibility module (PowerShell#7552) * General Cmdlet Updates and Fixes - Fix `Set-Service -Status Stopped` to stop services with dependencies (PowerShell#5525) (Thanks @zhenggu!) - Add the `Duration` property to `HistoryInfo` (PowerShell#5208) (Thanks @powercode!) - Fix null reference in `ConvertFrom-Markdown` when the markdown content is empty (PowerShell#7463) - Fix file blocking issue with WebCmdlets (PowerShell#7676) (Thanks @Claustn!) - Fix performance issue in `WSMan` provider by using `Refresh()` to update the status rather than instantiating `ServiceController` (PowerShell#7680) * Code Cleanup - Remove `Suspend-Job` and `Resume-Job` cmdlets from compilation on Unix platforms (PowerShell#7650) - Remove extra spaces in error messages in `Modules.resx` (PowerShell#7662) (Thanks @sethvs!) - Cleanup the platform runtime checks from `FileSystemProvider` (PowerShell#7655) (Thanks @iSazonov!) - Improve code style of `Send-MailMessage` cmdlet (PowerShell#7723) (Thanks @ThreeFive-O!) * Tools - Add tools for PowerShell performance analysis (PowerShell#7595) (Thanks @lzybkr!) - Update code coverage module to download zip files based on job ID (PowerShell#7653) * Tests - Update test which assumes all previews have the name preview in the version (PowerShell#7625) - Update Pester syntax in `Set-Location` test (PowerShell#7615) (Thanks @iSazonov!) - Add `ScriptBlock` logging test for Linux and macOS (PowerShell#7599) (PowerShell#7586) - Add tests to report when package references are out of date (PowerShell#7661) - Fix `ModuleSpecification.Tests.ps1` (PowerShell#7663) (Thanks @sethvs!) - Updates Docker package tests (PowerShell#7667) * Build and Packaging Improvements - Update to the latest package references, dotnet core SDK and framework (PowerShell#7646) (Thanks @iSazonov!) - Make the artifact upload only occur for non-PR builds (PowerShell#7657) - Change to not upload artifacts during pull request due to missing VSTS feature (PowerShell#7588) - Remove workaround on VSTS that is no longer needed (PowerShell#7666) - Update docker files to use MCR (PowerShell#7656) - Add symbolic links for `libssl` and `libcrypto` to Debian 9 build to make remoting work (PowerShell#7609) - Simplify the `StartupInfo` type used in Jumplist creation for faster `P/Invoke` (PowerShell#7580) (Thanks @powercode!) - Add VSTS CI for Windows (PowerShell#7536) - Update the version of `PowerShellGet` module to `1.6.7` (PowerShell#7564) - update the version of `PSReadLine` module to `2.0.0-beta3` (PowerShell#7711) - Make sure MSI build works for non-preview builds (PowerShell#7752) - Build and package framework dependent package (PowerShell#7729) - Change locale of `mdspell` to `en-US` (PowerShell#7671) - Add daily build on non-windows platforms (PowerShell#7683) - Fix Windows MSI to remove the `Uninstall` shortcut during an uninstall when more than one version is installed (PowerShell#7701) (Thanks @bergmeister!) - Fix docker image names for release build (PowerShell#7726) * Documentation and Help Content - Update the version of .NET Core in docs (PowerShell#7467) (Thanks @bergmeister!) - Fix links in `README.md` (PowerShell#7619) (Thanks @iSazonov!) - Add VSTS CI build badges for master branch to `README.md` (PowerShell#7691) (Thanks @bergmeister!) - Add a paragraph in `CONTRIBUTING.md` about updating `files.wxs` (PowerShell#7695) (Thanks @iSazonov!)
v6.1.0-rc.1 - 2018-08-22 * Engine Updates and Fixes - Fix to not duplicate the `System32` module path when starting `pwsh` from `pwsh` (PowerShell#7414) - Fix sequence point update for `switch/if/for/while/do-while/do-until` statements (PowerShell#7305) - Set the cursor to the place where a user hits tab key (PowerShell#7299) - Adding `LanguagePrimitives.TryCompare` to provide faster comparisons (PowerShell#7438) (Thanks @powercode!) - Improving performance of `LanguagePrimitives.TryConvertTo` (PowerShell#7418) (Thanks @powercode!) - Set `PowerShellVersion` to `3.0` for built-in modules to make Windows PowerShell work when starting from PowerShell Core (PowerShell#7365) - Avoid extra unnecessary allocations in `PSMemberInfoInternalCollection<T>` (PowerShell#7435) (Thanks @iSazonov!) - Enforce the `CompatiblePSEditions` check for modules from the legacy `System32` module path (PowerShell#7183) - Make sure that `SettingFile` argument is parsed before we load the settings (PowerShell#7449) - Default to `DefaultConsoleWidth` when DotNet says `WindowWidth` is 0 (PowerShell#7465) * General Cmdlet Updates and Fixes - Fix parameter name in the `Get-Variable` cmdlet error message (PowerShell#7384) (Thanks @sethvs!) - Fix `Move-Item -Path` with wildcard character (PowerShell#7397) (Thanks @kwkam!) - Ignore `Newtonsoft.Json` metadata properties in `ConvertFrom-Json` (PowerShell#7308) (Thanks @louistio!) - Fix several issues in Markdown cmdlets (PowerShell#7329) - Add support for parsing Link Header with variable whitespace (PowerShell#7322) - Change parameter order in `Get-Help` and help in order to get first `-Full` and then `-Functionality` when using Get-Help `-Fu` followed by pressing tab and help `-Fu` followed by pressing tab (PowerShell#7370) (Thanks @sethvs!) - Add support for passing files and Markdown directly to `Show-Markdown` (PowerShell#7354) - Add `-SkipIndex` parameter to `Select-Object` (PowerShell#7483) (Thanks @powercode!) - Improve performance of `Import-CSV` up to 10 times (PowerShell#7413) (Thanks @powercode!) - Update `Enable-PSRemoting` so configuration name is unique for Preview releases (PowerShell#7202) - Improve performance on JSON to PSObject conversion (PowerShell#7482) (Thanks @powercode!) - Fix error message for `Add-Type` when `-AssemblyName` with wildcard is not found (PowerShell#7444) - Make native globbing on Unix return an absolute path when it is given an absolute path (PowerShell#7106) - Improve the performance of `Group-Object` (PowerShell#7410) (Thanks @powercode!) - Remove one unneeded verbose output from `ConvertTo-Json` (PowerShell#7487) (Thanks @devblackops!) - Enable `Get-ChildItem` to produce `Mode` property even if cannot determine if hard link (PowerShell#7355) * Code Cleanup - Remove empty XML comment lines (PowerShell#7401) (Thanks @iSazonov!) - Cleanup Docker files (PowerShell#7328) - Correct the comment for `WSManReceiveDataResult.Unmarshal` (PowerShell#7364) - Format Utility `csproj` with updated `codeformatter` (PowerShell#7263) (Thanks @iSazonov!) - Bulk update format for files in Management folder with `codeformatter` (PowerShell#7346) (Thanks @iSazonov!) - Cleanup: replace `Utils.FileExists()/DirectoryExists()/ItemExists()` with DotNet methods (PowerShell#7129) (Thanks @iSazonov!) - Update `Utils.IsComObject` to use `Marshal.IsComObject` since CAS is no longer supported in DotNet Core (PowerShell#7344) - Fix some style issues in engine code (PowerShell#7246) (Thanks @iSazonov!) * Test - Use `-BeExactly` and `-HaveCount` instead of `-Be` in `BugFix.Tests.ps1` (PowerShell#7386) (Thanks @sethvs!) - Use `-BeExactly` and `-HaveCount` instead of `-Be` in `TabCompletion.Tests.ps1` (PowerShell#7380) (Thanks @sethvs!) - Update CI scripts to support running tests for experimental features (PowerShell#7419) - Use `-HaveCount` instead of `-Be` in `Where-Object.Tests.ps1` (PowerShell#7379) (Thanks @sethvs!) - Fix ThreadJob tests so that they will run more reliably (PowerShell#7360) - Make logging tests for macOS pending (PowerShell#7433) * Build and Packaging Improvements - Update Build script owners (PowerShell#7321) - Make `MUSL` NuGet package optional (PowerShell#7316) - Enable `pwsh-preview` to work on Windows (PowerShell#7345) - Fix SDK dependencies - Add back the `powershell-core` NuGet source for hosting tests - Fix typo in environment checker (PowerShell#7547 & PowerShell#7549) - Only remove the revision if it is `0` from module version when restoring modules (PowerShell#7538) - Update `WCF` and `NJsonSchema` NuGet packages to latest released patch version (PowerShell#7411) (Thanks @bergmeister!) - Add Linux and macOS VSTS CI (PowerShell#7490, PowerShell#7527, PowerShell#7535, PowerShell#7515 & PowerShell#7516) - Updated ThreadJob to version `1.1.2` (PowerShell#7522) - Add xUnit project to `PowerShell.sln` and make it runnable from within VisualStudio (PowerShell#7254) (Thanks @bergmeister!) - Update NuGet packaging code for the new markdown assembly (PowerShell#7431) - Update version of modules shipped with PowerShell (PowerShell#7531) - Retry restore on failure (PowerShell#7544 & PowerShell#7550) - Update `PowerShellGet` version - Update NuGet package metadata (PowerShell#7517) - Update reference to use packages from `NuGet.org` (PowerShell#7525) - `Start-DevPowerShell`: add `-Configuration` and handle `-ArgumentList` more properly (PowerShell#7300) (Thanks @jazzdelightsme!) - Add preview icon to macOS launcher (PowerShell#7448) (Thanks @thezim!) - Add `Microsoft.PowerShell.MarkdownRender` to `signing.xml` (PowerShell#7472) - Fix building on RedHat Enterprise Linux (PowerShell#7489) - Build: Also search PATH for `rcedit` (PowerShell#7503) (Thanks @kwkam!) - Save modules to un-versioned folder to enable servicing (PowerShell#7518 & PowerShell#7523) - Fix macOS launcher app to allow release and preview versions (PowerShell#7306) (Thanks @thezim!) * Documentation and Help Content - Fix docs comments in utility folder (PowerShell#7192) (Thanks @iSazonov!) - Fix a typo in `issue-management.md` (PowerShell#7393) (Thanks @alexandair!) - Fix casing of `GitHub` in `best-practice.md` (PowerShell#7392) (Thanks @alexandair!) - Fix typos in `docs/maintainers/README.md` (PowerShell#7390) (Thanks @alexandair!) - Add maintainer's best practice document and update maintainer list (PowerShell#7311) - Update Docker link to `PowerShell-Docker` (PowerShell#7351) (Thanks @JoshuaCooper!) - Add `Snapcraft` to spelling dictionary (PowerShell#7318) - Update `README.md` and `metadata.json` for release `v6.0.4` (PowerShell#7497) - Add `Former Repository Maintainers` section in `maintainers/README.md` (PowerShell#7475) - Update the `HelpUri` for `Get-ExperimentalFeature` (PowerShell#7466)
v6.0.4 - 2018-08-10 Build and Packaging Improvements - Aggregate native components into a single NuGet package Microsoft.PowerShell.Native. - Update the version of NuGet packages referenced by PowerShell. - Fix release build for macOS. Test - Fix xUnit tests. - Add new tests for hosting PowerShell SDK NuGet packages.
v6.1.0-preview.4 - 2018-07-19 * Breaking Changes - Remove the `VisualBasic` support from Add-Type (PowerShell#7284) - Update PowerShell Direct to try `pwsh` then fallback to `powershell` (PowerShell#7241) - Make pwsh able to start in a directory with wildcards in the name (PowerShell#7240) - Update `Enable-PSRemoting` so configuration name is unique for Preview releases (PowerShell#7202) - Enforce the `CompatiblePSEditions` check for modules from the legacy `System32` module path (PowerShell#7183) * Engine Updates and Fixes - Add support to experimental features (PowerShell#7242) - Fix error when using `Get-ChildItem c:` (PowerShell#7033) (Thanks @sethvs!) - Add location history for `Set-Location` to enable `cd -` scenario (issue PowerShell#2188) (PowerShell#5051) (Thanks @bergmeister!) - Fix padding for right aligned column in table formatting (PowerShell#7136) - Fix a performance regression to the `-replace` operator after adding `ScriptBlock` support (PowerShell#7135) - Fix tab expansion for `Get-Process` on macOS (PowerShell#7176) - When using PSRP, if we receive text instead of XML, output it as error to help troubleshoot (PowerShell#7168) - Fix trimming of whitespace when table is wrapped (PowerShell#7184) - Modified the `Group-Object -AsHashTable` to use the base object of `PSObject` as the key for the `Hashtable` (PowerShell#7123) - Add back ADSI and WMI type accelerators (PowerShell#7085) - Add `CompatiblePSEditions` to PowerShell Core built-in modules (PowerShell#7083) - Make `Start-Process -ArgumentList` to accept `@()` or `$null` (PowerShell#6597) - Avoid calling native APIs to check for existence of FileSystem items (PowerShell#6929) (Thanks @iSazonov!) - Add copy environment variables from `ProcessStartInfo` to key/pair array used in creating SSH process (PowerShell#7070) - Add markdown rendering feature assemblies to the trusted assembly list (PowerShell#7280) - Don't fail if `SaferPolicy` API is not available on Windows 10 IoT or NanoServer (PowerShell#7075) - Fix conditions for transcription of `Write-Information` command. (PowerShell#6917) (Thanks @hubuk!) - Fix a parsing error when `break` and `continue` are used in a switch statement in a finally block (PowerShell#7273) - Fix prompt string to be platform agnostic and keep its trailing spaces (PowerShell#7255) - Make progress panel display correctly on UNIX when the user is typing. (PowerShell#6972) - Revert change to have `SetLocation()` treat wildcarded path as literal if it exists (PowerShell#7101) - Make `Select-Object`/`ForEach-Object`/`Where-Object` see dynamic properties (PowerShell#6898) (Thanks @jazzdelightsme!) - Fix class searcher to ignore hidden properties (PowerShell#7188) - Update remote prompt when using SSH to show username if different (PowerShell#7191) - Remove `SemanticVersion` from `knowntypes` list in serialization code to enable interop between Windows PowerShell and PowerShell Core (PowerShell#7016) - Add more information to job process failure error (PowerShell#7251) - Use .Net Core `File.Delete()` method to remove symbolic links and alternate streams (PowerShell#7017) (Thanks @iSazonov!) - Enable `UseShellExecute` on all platforms (PowerShell#7198) - Methods with return type `[object]` should return `null` for an empty result (PowerShell#7138) * General Cmdlet Updates and Fixes - Add Markdown rendering cmdlets (PowerShell#6926) - `Send-MailMessage`: Update all parameters to support `ValueFromPipelineByPropertyName`. (PowerShell#6911) (Thanks @sethvs!) - Allow Basic Auth over HTTPS (PowerShell#6890) - Add `ThreadJob` module package and tests (PowerShell#7169) - Fix Windows Event Log channel isolation semantics (PowerShell#6956) (Thanks @Robo210!) - Make `Measure-Object` handle `scriptblock` properties. (PowerShell#6934) - Added functionality to retry in `Invoke-RestMethod` and `Invoke-WebRequest`. (PowerShell#5760) - Add type inference for `Select-Object` command (PowerShell#7171) (Thanks @powercode!) - Add `-AllStats` Switch parameter for `Measure-Object` cmdlet (PowerShell#7220) (Thanks @kvprasoon!) * Code Cleanup - Remove unneeded code that forces ARM platforms to run PowerShell in CL mode (PowerShell#7046) - Bulk update code base to put `null` on the right-hand-side of a comparison expression (PowerShell#6949) (Thanks @iSazonov!) - Remove `MapSecurityZoneWithUrlmon` method and related code (PowerShell#7103) - Cleanup: remove the unneeded type `RemotingCommandUtils` (PowerShell#7029) - Remove unneeded Windows-Full modules (PowerShell#7030) - CodeFactor code style cleanup: replace literal empty strings with `string.Empty` (PowerShell#6950) (Thanks @iSazonov!) - Remove dummy comments in Utility module files (PowerShell#7224) (Thanks @iSazonov!) - Use empty array for Functions/Cmdlets/`AliasesToExport` to follow the best practice (PowerShell#7108) - Refactor module code related to `Get-Module -ListAvailable` (PowerShell#7145) - Refactor module specification logic (PowerShell#7126) * Test - Add tests for module specifications (PowerShell#7140) - Update test string for better clarity in `Send-MailMessage.Tests.ps1` (PowerShell#7195) (Thanks @sethvs!) - Add test to verify filesystem provider isn't used when accessing root path in `PSDrive` (PowerShell#7173) - Fix to address `ThreadJob` tests reliability and speed (PowerShell#7270) - Add additional checks for test that passes inconsistently (PowerShell#7051) * Build and Packaging Improvements - `install-powershell.sh` filter pre-releases (when available), `params` documentation (PowerShell#6849) (Thanks @DarwinJS!) - Fedora 28 was released, Fedora 26 and 25 went end of life. (PowerShell#7079) (Thanks @adelton!) - Disambiguate icon on Windows for preview builds/installers to use `Powershell_av_colors` and make daily build use `Powershell_avatar` instead (PowerShell#7086) (Thanks @bergmeister!) - Update to build for Alpine (PowerShell#7139) - Update build and packaging modules for Alpine (PowerShell#7149) - Add ability to install previews side-by-side with production releases (PowerShell#7194) (Thanks @DarwinJS!) - Enable NuGet Package Registration for compliance (PowerShell#7053) - Fix the preview macOS package link (PowerShell#7061) - Remove PSReadLine from then `PowerShell.sln` file (PowerShell#7137) - Fix the file `PowerShell.sln` that was corrupted by accident (PowerShell#7288) - Fix the encoding of `PowerShell.sln` to be `utf-8` (PowerShell#7289) - Make sure all references to the Package ID for previews packages is powershell-preview (PowerShell#7066) - Update `internals.md` with the latest build changes (PowerShell#7058) - When installing using MSI, set the working directory of the shortcut to the user home directory (PowerShell#7072) - Move to dotnet core 2.1.1 (PowerShell#7161) (Thanks @iSazonov!) - Update to latest package references, runtime framework, and SDK (PowerShell#7272) - AppVeyor build matrix: more efficient build job split to reduce total time by another 5 minutes (PowerShell#7021) (Thanks @bergmeister!) - Build: Fix the source location of `PowerShell.Core.Instrumentation.dll` (PowerShell#7226) - Add Andrew to the default reviewers of the build related files (PowerShell#7019) - Build: Fix a check to avoid null argument in case `vcvarsall.bat` is absent (PowerShell#7218) (Thanks @PetSerAl!) - Update `releaseTag` in `tools/metadata.json` (PowerShell#7214) - Update `Start-PSPester` to make it more user friendly (PowerShell#7210) (Thanks @bergmeister!) - Make `Start-PSBuild -Clean` not prompt due to locked files when Visual Studio is open by excluding `sqlite3` folder and use `-x` instead of `-X` option on `git clean` (PowerShell#7235) (Thanks @bergmeister!) * Documentation and Help Content - Fix typos in `DOCSMIGRATION.md` (PowerShell#7094) (Thanks @alexandair!) - Add instructions to update Homebrew formula for the preview version PowerShell (PowerShell#7067) (Thanks @vors!) - Merge Third Party Notices and License updates (PowerShell#7203) - Update third party notices (PowerShell#7042) - Fix Markdown and spelling errors in `CHANGELOG.md` (PowerShell#7064) - Fix `New-TemporaryFile` online help URI (PowerShell#6608) - Fix links to PowerShell install docs (PowerShell#7001) (Thanks @jokajak!) - Update links that contain `en-us` culture (PowerShell#7013) (Thanks @bergmeister!) - Update docs for `ArgumentCompleterAttribute` class (PowerShell#7227) (Thanks @Meir017!) - Fix the name of a `Register-EngineEvent` test (PowerShell#7222) (Thanks @alexjordan6!) - Update README files for native code for migration (PowerShell#7248) - Comment about dynamic members for the `DotNetAdapter`, `GetMember` and `GetMembers` (PowerShell#7087) - Update the PowerShell executable location in building guide docs (PowerShell#7205) (Thanks @louistio!)
v6.0.3 - 2018-07-19 * Build and Packaging Improvements - Remove `PackageManagement` installed by `PowerShellGet` and pin `PackageManagement` to `1.1.7.0` to maintain the ability to patch - Pin `PowerShellGet` to `1.6.0` to maintain the ability to patch MSI installs - Update NuGet package references to the latest and get fix for CVE-2018-8356 - Enable NuGet Package Registration for compliance (PowerShell#7053) - Restore when building test projects - Update to DotNet Runtime Framework `2.0.8` - Specify the runtime when running 'dotnet restore' in 'Start-PSBuild' (PowerShell#6345) - Update version of `fpm` to resolve issues installing - MSI: Update path with proper value (PowerShell#6441) - MSI: Remove the version from the product name (PowerShell#6415) - Migrate the macOS official binary build to VSTS mac hosted preview (PowerShell#6363) * Test - Get newer xUnit Skippable Fact Package
PreviousNext