2020-03-06 20:13:17 +01:00
# Current preview release
2020-03-26 17:56:23 +01:00
2020-05-19 01:36:18 +02:00
## [7.1.0-preview.3] - 2020-05-14
### Breaking Changes
- Fix string parameter binding for `BigInteger` numeric literals (#11634) (Thanks @vexx32 !)
### Engine Updates and Fixes
- Set correct `PSProvider` full name at module load time (#11813) (Thanks @iSazonov !)
### Experimental Features
- Support passing `PSPath` to native commands (#12386)
### General Cmdlet Updates and Fixes
- Fix incorrect index in format string in ParameterBinderBase (#12630) (Thanks @powercode !)
- Copy the `CommandInfo` property in `Command.Clone()` (#12301) (Thanks @TylerLeonhardt !)
- Apply `-IncludeEqual` in `Compare-Object` when `-ExcludeDifferent` is specified (#12317) (Thanks @davidseibel !)
- Change `Get-FileHash` to close file handles before writing output (#12474) (Thanks @HumanEquivalentUnit !)
- Fix inconsistent exception message in `-replace` operator (#12388) (Thanks @jackdcasey !)
### Code Cleanup
< details >
< summary >
< p > We thank the following contributors!< / p >
< p > @xtqqczze, @RDIL , @powercode , @xtqqczze , @xtqqczze </ p >
< / summary >
< ul >
< li > Replace Unicode < code > non-breaking space</ code > character with space (#12576) (Thanks @xtqqczze !)</ li >
< li > Remove unused < code > New-DockerTestBuild.ps1</ code > (#12610) (Thanks @RDIL !)</ li >
< li > Annotate < code > Assert</ code > methods for better code analysis (#12618) (Thanks @powercode !)</ li >
< li > Use correct casing for cmdlet names and parameters in *.ps1 files throughout the codebase (#12584) (Thanks @xtqqczze !)</ li >
< li > Document why < code > PackageVersion</ code > is used in < code > PowerShell.Common.props</ code > (#12523) (Thanks @xtqqczze !)</ li >
< / ul >
< / details >
### Tools
- Update `@PoshChan` config to include `SSH` (#12526) (Thanks @vexx32 !)
- Update log message in `Start-PSBootstrap` (#12573) (Thanks @xtqqczze !)
- Add the `.NET SDK` installation path to the current process path in `tools/UpdateDotnetRuntime.ps1` (#12525)
### Tests
- Make CIM tab completion test case insensitive (#12636)
- Mark ping tests as Pending due to stability issues in macOS (#12504)
### Build and Packaging Improvements
< details >
< summary >
< p > We thank the following contributors!< / p >
< p > @jcotton42, @iSazonov , @iSazonov , @iSazonov </ p >
< / summary >
< ul >
< li > Update build to use the new .NET SDK < code > 5.0.100-preview.4.20258.7< / code > (#12637)< / li >
< li > Bump NJsonSchema from 10.1.14 to 10.1.15 (#12608)< / li >
< li > Bump NJsonSchema from 10.1.13 to 10.1.14 (#12598)< / li >
< li > Bump NJsonSchema from 10.1.12 to 10.1.13 (#12583)< / li >
< li > Update the build to sign any unsigned files as 3rd party Dlls (#12581)< / li >
< li > Update .NET SDK to < code > 5.0.100-preview.4.20229.10< / code > (#12538)< / li >
< li > Add ability to < code > Install-Dotnet< / code > to specify directory (#12469)< / li >
< li > Allow < code > /</ code > in relative paths for < code > using module</ code > (#7424) (#12492) (Thanks @jcotton42 !)</ li >
< li > Update dotnet metadata for next channel for automated updates (#12502)< / li >
< li > Bump .NET to 5.0.0-preview.4 (#12507)< / li >
< li > Bump < code > Microsoft.ApplicationInsights< / code > from < code > 2.13.1< / code > to < code > 2.14.0< / code > (#12479)< / li >
< li > Bump PackageManagement from 1.4.6 to 1.4.7 in /src/Modules (#12506)< / li >
< li > Bump < code > Xunit.SkippableFact< / code > from < code > 1.3.12< / code > to < code > 1.4.8< / code > (#12480)< / li >
< li > Fix quotes to allow variable expansion (#12512)< / li >
< li > Use new < code > TargetFramework</ code > as < code > net5.0</ code > in packaging scripts (#12503) (Thanks @iSazonov !)</ li >
< li > Use new value for < code > TargetFramework</ code > as < code > net5.0</ code > instead of < code > netcoreapp5.0</ code > (#12486) (Thanks @iSazonov !)</ li >
< li > Disable < code > PublishReadyToRun< / code > for framework dependent packages (#12450)< / li >
< li > Add < code > dependabot< / code > rules to ignore updates from .NET (#12466)< / li >
< li > Update < code > README.md< / code > and < code > metadata.json< / code > for upcoming release (#12441)< / li >
< li > Turn on < code > ReadyToRun</ code > (#12361) (Thanks @iSazonov !)</ li >
< li > Add summary to compressed sections of change log (#12429)< / li >
< / ul >
< / details >
### Documentation and Help Content
- Add link to life cycle doc to distribution request template (#12638)
- Update TFM reference in build docs (#12514) (Thanks @xtqqczze !)
- Fix broken link for blogs in documents (#12471)
2020-05-19 06:16:11 +02:00
## [7.1.0-preview.2] - 2020-04-23
### Breaking Changes
- On Windows, `Start-Process` creates a process environment with
all the environment variables from current session,
using `-UseNewEnvironment` creates a new default process environment (#10830) (Thanks @iSazonov !)
- Do not wrap return result to `PSObject` when converting ScriptBlock to delegate (#10619)
### Engine Updates and Fixes
- Allow case insensitive paths for determining `PSModulePath` (#12192)
- Add PowerShell version 7.0 to compatible version list (#12184)
- Discover assemblies loaded by `Assembly.Load(byte[])` and `Assembly.LoadFile` (#12203)
### General Cmdlet Updates and Fixes
- Fix `WinCompat` module loading to treat PowerShell 7 modules with higher priority (#12269)
- Implement `ForEach-Object -Parallel` runspace reuse (#12122)
- Fix `Get-Service` to not modify collection while enumerating it (#11851) (Thanks @NextTurn !)
- Clean up the IPC named pipe on PowerShell exit (#12187)
- Fix `<img />` detection regex in web cmdlets (#12099) (Thanks @vexx32 !)
- Allow shorter signed hex literals with appropriate type suffixes (#11844) (Thanks @vexx32 !)
- Update `UseNewEnvironment` parameter behavior of `Start-Process` cmdlet on Windows (#10830) (Thanks @iSazonov !)
- Add `-Shuffle` switch to `Get-Random` command (#11093) (Thanks @eugenesmlv !)
- Make `GetWindowsPowerShellModulePath` compatible with multiple PS installations (#12280)
- Fix `Start-Job` to work on systems that don't have Windows PowerShell registered as default shell (#12296)
- Specifying an alias and `-Syntax` to `Get-Command` returns the aliased commands syntax (#10784) (Thanks @ChrisLGardner !)
- Make CSV cmdlets work when using `-AsNeeded` and there is an incomplete row (#12281) (Thanks @iSazonov !)
- In local invocations, do not require `-PowerShellVersion 5.1` for `Get-FormatData` in order to see all format data. (#11270) (Thanks @mklement0 !)
- Added Support For Big Endian `UTF-32` (#11947) (Thanks @NoMoreFood !)
- Fix possible race that leaks PowerShell object dispose in `ForEach-Object -Parallel` (#12227)
- Add `-FromUnixTime` to `Get-Date` to allow Unix time input (#12179) (Thanks @jackdcasey !)
- Change default progress foreground and background colors to provide improved contrast (#11455) (Thanks @rkeithhill !)
- Fix `foreach -parallel` when current drive is not available (#12197)
- Do not wrap return result to `PSObject` when converting `ScriptBlock` to `delegate` (#10619)
- Don't write DNS resolution errors on `Test-Connection -Quiet` (#12204) (Thanks @vexx32 !)
- Use dedicated threads to read the redirected output and error streams from the child process for out-of-proc jobs (#11713)
### Code Cleanup
< details >
< summary >
< p > We thank the following contributors!< / p >
< p > @ShaydeNofziger, @RDIL </ p >
< / summary >
< ul >
< li > Fix erroneous comment in < code > tokenizer.cs</ code > (#12206) (Thanks @ShaydeNofziger !)</ li >
< li > Fix terms checker issues (#12189)< / li >
< li > Update copyright notice to latest guidance (#12190)< / li >
< li > CodeFactor cleanup (#12251) (Thanks @RDIL !)</ li >
< / ul >
< / details >
### Tools
- Update .NET dependency update script to include test `csproj` files (#12372)
- Scripts to update to .NET prerelease version (#12284)
### Tests
- Pin major Pester version to 4 to prevent breaking changes caused by upcoming release of v5 (#12262) (Thanks @bergmeister !)
### Build and Packaging Improvements
< details >
< summary >
< p > We thank the following contributors!< / p >
< p > @rkitover, @bergmeister </ p >
< / summary >
< ul >
< li > Add the < code > nuget.config< / code > from root to the temporary build folder (#12394)< / li >
< li > Bump System.IO.Packaging (#12365)< / li >
< li > Bump Markdig.Signed from 0.18.3 to 0.20.0 (#12379)< / li >
< li > Bump to .NET 5 Preview 3 pre-release (#12353)< / li >
< li > Bump PowerShellGet from 2.2.3 to 2.2.4 (#12342)< / li >
< li > Linux: Initial support for Gentoo installations. (#11429) (Thanks @rkitover !)</ li >
< li > Upgrade to .NET 5 Preview 2 (#12250) (Thanks @bergmeister !)</ li >
< li > Fix the < code > Sync PSGalleryModules to Artifacts< / code > build (#12277)< / li >
< li > Bump PSReadLine from 2.0.0 to 2.0.1 (#12243)< / li >
< li > Bump < code > NJsonSchema< / code > from < code > 10.1.11< / code > to < code > 10.1.12< / code > (#12230)< / li >
< li > Update change log generation script to support collapsible sections (#12214)< / li >
< / ul >
< / details >
### Documentation and Help Content
- Add documentation for `WebResponseObject` and `BasicHtmlWebResponseObject` properties (#11876) (Thanks @kevinoid !)
- Add Windows 10 IoT Core reference in `Adopters.md` (#12266) (Thanks @parameshbabu !)
- Update `README.md` and `metadata.json` for `7.1.0-preview.1` (#12211)
2020-05-19 18:17:32 +02:00
## [7.1.0-preview.1] - 2020-03-26
2020-03-26 17:56:23 +01:00
### Breaking Changes
- Use invariant culture string conversion for `-replace` operator (#10954) (Thanks @iSazonov !)
### Engine Updates and Fixes
- Revert the PRs that made `DBNull.Value` and `NullString.Value` treated as `$null` (#11648)
### Experimental Features
- Use invariant culture string conversion for `-replace` operator (#10954) (Thanks @iSazonov !)
### General Cmdlet Updates and Fixes
- Fix an operator preference order issue in binder code (#12075) (Thanks @DamirAinullin !)
- Fix `NullReferenceException` when binding common parameters of type `ActionPreference` (#12124)
- Fix default formatting for deserialized `MatchInfo` (#11728) (Thanks @iSazonov !)
- Use asynchronous streams in `Invoke-RestMethod` (#11095) (Thanks @iSazonov !)
- Address UTF-8 Detection In `Get-Content -Tail` (#11899) (Thanks @NoMoreFood !)
- Handle the `IOException` in `Get-FileHash` (#11944) (Thanks @iSazonov !)
2020-05-19 06:16:11 +02:00
- Change `PowerShell Core` to `PowerShell` in a resource string (#11928) (Thanks @alexandair !)
2020-03-26 17:56:23 +01:00
- Bring back `MainWindowTitle` in `PSHostProcessInfo` (#11885) (Thanks @iSazonov !)
- Miscellaneous minor updates to Windows Compatibility (#11980)
- Fix `ConciseView` to split `PositionMessage` using `[Environment]::NewLine` (#12010)
- Remove network hop restriction for interactive sessions (#11920)
- Fix `NullReferenceException` in `SuspendStoppingPipeline()` and `RestoreStoppingPipeline()` (#11870) (Thanks @iSazonov !)
- Generate GUID for `FormatViewDefinition` `InstanceId` if not provided (#11896)
- Fix `ConciseView` where error message is wider than window width and doesn't have whitespace (#11880)
- Allow cross-platform `CAPI-compatible` remote key exchange (#11185) (Thanks @silijon !)
- Fix error message (#11862) (Thanks @NextTurn !)
- Fix `ConciseView` to handle case where there isn't a console to obtain the width (#11784)
- Update `CmsCommands` to use Store vs certificate provider (#11643) (Thanks @mikeTWC1984 !)
- Enable `pwsh` to work on Windows systems where `mpr.dll` and STA is not available (#11748)
- Refactor and implement `Restart-Computer` for `Un*x` and macOS (#11319)
- Add an implementation of `Stop-Computer` for Linux and macOS (#11151)
- Fix `help` function to check if `less` is available before using (#11737)
- Update `PSPath` in `certificate_format_ps1.xml` (#11603) (Thanks @xtqqczze !)
- Change regular expression to match relation-types without quotes in Link header (#11711) (Thanks @Marusyk !)
- Fix error message during symbolic link deletion (#11331)
2020-05-19 06:16:11 +02:00
- Add custom `Selected.*` type to `PSCustomObject` in `Select-Object` only once (#11548) (Thanks @iSazonov !)
2020-03-26 17:56:23 +01:00
- Add `-AsUTC` to the `Get-Date` cmdlet (#11611)
- Fix grouping behavior with Boolean values in `Format-Hex` (#11587) (Thanks @vexx32 !)
- Make `Test-Connection` always use the default synchronization context for sending ping requests (#11517)
- Correct startup error messages (#11473) (Thanks @iSazonov !)
- Ignore headers with null values in web cmdlets (#11424) (Thanks @iSazonov !)
- Re-add check for `Invoke-Command` job dispose. (#11388)
- Revert "Update formatter to not write newlines if content is empty (#11193)" (#11342) (Thanks @iSazonov !)
- Allow `CompleteInput` to return results from `ArgumentCompleter` when `AST` or Script has matching function definition (#10574) (Thanks @M1kep !)
- Update formatter to not write new lines if content is empty (#11193)
### Code Cleanup
< details >
< ul >
< li > Use span-based overloads (#11884) (Thanks @iSazonov !)</ li >
< li > Use new < code > string.Split()</ code > overloads (#11867) (Thanks @iSazonov !)</ li >
< li > Remove unreachable DSC code (#12076) (Thanks @DamirAinullin !)</ li >
< li > Remove old dead code from FullCLR (#11886) (Thanks @iSazonov !)</ li >
< li > Use < code > Dictionary.TryAdd()</ code > where possible (#11767) (Thanks @iSazonov !)</ li >
< li > Use < code > Environment.NewLine< / code > instead of hard-coded linefeed in < code > ParseError.ToString< / code > (#11746)< / li >
< li > Fix < code > FileSystem</ code > provider error message (#11741) (Thanks @iSazonov !)</ li >
< li > Reformat code according to < code > EditorConfig</ code > rules (#11681) (Thanks @xtqqczze !)</ li >
< li > Replace use of throw < code > GetExceptionForHR</ code > with < code > ThrowExceptionForHR</ code > (#11640) (Thanks @xtqqczze !)</ li >
< li > Refactor delegate types to lambda expressions (#11690) (Thanks @xtqqczze !)</ li >
< li > Remove Unicode BOM from text files (#11546) (Thanks @xtqqczze !)</ li >
< li > Fix Typo in < code > Get-ComputerInfo</ code > cmdlet description (#11321) (Thanks @doctordns !)</ li >
< li > Fix typo in description for < code > Get-ExperimentalFeature</ code > < code > PSWindowsPowerShellCompatibility</ code > (#11282) (Thanks @alvarodelvalle !)</ li >
< li > Cleanups in command discovery (#10815) (Thanks @iSazonov !)</ li >
2020-05-19 06:16:11 +02:00
< li > Review < code > CurrentCulture</ code > (#11044) (Thanks @iSazonov !)</ li >
2020-03-26 17:56:23 +01:00
< / ul >
< / details >
### Tools
- Change recommended VS Code extension name from `ms-vscode.csharp` to `ms-dotnettools.csharp` (#12083) (Thanks @devlead !)
- Specify `csharp_preferred_modifier_order` in `EditorConfig` (#11775) (Thanks @xtqqczze !)
- Update `.editorconfig` (#11675) (Thanks @xtqqczze !)
- Enable `EditorConfig` support in `OmniSharp` (#11627) (Thanks @xtqqczze !)
- Specify charset in `.editorconfig` as `utf-8` (no BOM) (#11654) (Thanks @xtqqczze !)
- Configure the issue label bot (#11527)
- Avoid variable names that conflict with automatic variables (#11392) (Thanks @xtqqczze !)
### Tests
- Add empty `preview.md` file to fix broken link (#12041)
- Add helper functions for SSH remoting tests (#11955)
- Add new tests for `Get-ChildItem` for `FileSystemProvider` (#11602) (Thanks @iSazonov !)
- Ensure that types referenced by `PowerShellStandard` are present (#10634)
- Check state and report reason if it's not "opened" (#11574)
- Fixes for running tests on Raspbian (#11661)
- Unify pester test syntax for the arguments of `-BeOfType` (#11558) (Thanks @xtqqczze !)
- Correct casing for automatic variables (#11568) (Thanks @iSazonov !)
- Avoid variable names that conflict with automatic variables part 2 (#11559) (Thanks @xtqqczze !)
- Update pester syntax to v4 (#11544) (Thanks @xtqqczze !)
- Allow error 504 (Gateway Timeout) in `markdown-link` tests (#11439) (Thanks @xtqqczze !)
- Re-balance CI tests (#11420) (Thanks @iSazonov !)
- Include URL in the markdown-links test error message (#11438) (Thanks @xtqqczze !)
- Use CIM cmdlets instead of WMI cmdlets in tests (#11423) (Thanks @xtqqczze !)
### Build and Packaging Improvements
< details >
< ul >
< li > Put symbols in separate package (#12169)< / li >
< li > Disable < code > x86< / code > PDB generation (#12167)< / li >
< li > Bump < code > NJsonSchema< / code > from < code > 10.1.5< / code > to < code > 10.1.11< / code > (#12050) (#12088) (#12166)< / li >
< li > Create < code > crossgen< / code > symbols for Windows < code > x64< / code > and < code > x86< / code > (#12157)< / li >
< li > Move to < code > .NET 5 preview.1< / code > (#12140)< / li >
< li > Bump < code > Microsoft.CodeAnalysis.CSharp< / code > from < code > 3.4.0< / code > to < code > 3.5.0< / code > (#12136)< / li >
< li > Move to standard internal pool for building (#12119)< / li >
< li > Fix package syncing to private Module Feed (#11841)< / li >
< li > Add Ubuntu SSH remoting tests CI (#12033)< / li >
< li > Bump < code > Markdig.Signed< / code > from < code > 0.18.1< / code > to < code > 0.18.3< / code > (#12078)< / li >
< li > Fix MSIX packaging to determine if a Preview release by inspecting the semantic version string (#11991)< / li >
< li > Ignore last exit code in the build step as < code > dotnet< / code > may return error when SDK is not installed (#11972)< / li >
< li > Fix daily package build (#11882)< / li >
< li > Fix package sorting for syncing to private Module Feed (#11838)< / li >
< li > Set < code > StrictMode</ code > version < code > 3.0</ code > (#11563) (Thanks @xtqqczze !)</ li >
< li > Bump < code > .devcontainer</ code > version to dotnet < code > 3.1.101</ code > (#11707) (Thanks @Jawz84 !)</ li >
< li > Move to version 3 of < code > AzFileCopy< / code > (#11697)< / li >
< li > Update < code > README.md< / code > and < code > metadata.json< / code > for next release (#11664)< / li >
< li > Code Cleanup for environment data gathering in < code > build.psm1</ code > (#11572) (Thanks @xtqqczze !)</ li >
< li > Update Debian Install Script To Support Debian 10 (#11540) (Thanks @RandomNoun7 !)</ li >
< li > Update < code > ADOPTERS.md</ code > (#11261) (Thanks @edyoung !)</ li >
< li > Change back to use powershell.exe in 'SetVersionVariables.yml' to unblock daily build (#11207)< / li >
< li > Change to use pwsh to have consistent JSON conversion for < code > DateTime< / code > (#11126)< / li >
< / ul >
< / details >
### Documentation and Help Content
- Replace `VSCode` link in `CONTRIBUTING.md` (#11475) (Thanks @stevend811 !)
- Remove the version number of PowerShell from LICENSE (#12019)
- Add the 7.0 change log link to `CHANGELOG/README.md` (#12062) (Thanks @LabhanshAgrawal !)
- Improvements to the contribution guide (#12086) (Thanks @ShaydeNofziger !)
- Update the doc about debugging dotnet core in VSCode (#11969)
- Update `README.md` and `metadata.json` for the next release (#11918) (#11992)
- Update `Adopters.md` to include info on Azure Pipelines and GitHub Actions (#11888) (Thanks @alepauly !)
- Add information about how Amazon AWS uses PowerShell. (#11365) (Thanks @bpayette !)
- Add link to .NET CLI version in build documentation (#11725) (Thanks @joeltankam !)
2020-05-19 06:16:11 +02:00
- Added info about `DeploymentScripts` in `ADOPTERS.md` (#11703)
2020-03-26 17:56:23 +01:00
- Update `CHANGELOG.md` for `6.2.4` release (#11699)
- Update `README.md` and `metadata.json` for next release (#11597)
- Update the breaking change definition (#11516)
- Adding System Frontier to the PowerShell Core adopters list `ADOPTERS.md` (#11480) (Thanks @OneScripter !)
- Update `ChangeLog` , `README.md` and `metadata.json` for `7.0.0-rc.1` release (#11363)
- Add `AzFunctions` to `ADOPTERS.md` (#11311) (Thanks @Francisco -Gamino!)
- Add `Universal Dashboard` to `ADOPTERS.md` (#11283) (Thanks @adamdriscoll !)
- Add `config.yml` for `ISSUE_TEMPLATE` so that Doc, Security, Support, and Windows PowerShell issues go to URLs (#11153)
- Add `Adopters.md` file (#11256)
- Update `Readme.md` for `preview.6` release (#11108)
- Update `SUPPORT.md` (#11101) (Thanks @mklement0 !)
- Update `README.md` (#11100) (Thanks @mklement0 !)
2020-05-19 06:16:11 +02:00
2020-05-19 01:36:18 +02:00
[7.1.0-preview.3]: https://github.com/PowerShell/PowerShell/compare/v7.1.0-preview.2...v7.1.0-preview.3
2020-05-19 06:16:11 +02:00
[7.1.0-preview.2]: https://github.com/PowerShell/PowerShell/compare/v7.1.0-preview.1...v7.1.0-preview.2
2020-05-19 18:17:32 +02:00
[7.1.0-preview.1]: https://github.com/PowerShell/PowerShell/compare/v7.0.0-preview.6...v7.1.0-preview.1
2020-05-19 21:07:53 +02:00