Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,105 @@
# Changelog

## v6.0.0-beta.5 - 2017-08-02

### Engine updates and fixes

* Fix the issue where PowerShell Core wasn't working on Windows 7 or Windows Server 2008 R2/2012 (non-R2). (#4463)
* `ValidateSetAttribute` enhancement: support set values to be dynamically generated from a custom `ValidateSetValueGenerator`. (#3784) (Thanks to @iSazonov!)
* Disable breaking into debugger on Ctrl+Break when running non-interactively. (#4283) (Thanks to @mwrock!)
* Give error instead of crashing if WSMan client library is not available. (#4387)
* Allow passing `$true`/`$false` as a parameter to scripts using `powershell.exe -File`. (#4178)
* Enable `DataRow`/`DataRowView` adapters in PowerShell Core to fix an issue with `DataTable` usage. (#4258)
* Fix an issue where PowerShell class static methods were being shared across `Runspace`s/`SessionState`s. (#4209)
* Fix array expression to not return null or throw error. (#4296)
* Fixes a CIM deserialization bug where corrupted CIM classes were instantiating non-CIM types. (#4234)
* Improve error message when `HelpMessage` property of `ParameterAttribute` is set to empty string. (#4334)
* Make `ShellExecuteEx` use STA. (#4362)

### General cmdlet updates and fixes

* Add `-SkipHeaderValidation` switch to `Invoke-WebRequest` and `Invoke-RestMethod` to support adding headers without validating the header value. (#4085)
* Add support for `Invoke-Item -Path <folder>`. (#4262)
* Fix `ConvertTo-Html` output when using a single column header. (#4276)
* Fix output of `Length` for `FileInfo` when using `Format-List`. (#4437)
* Fix an issue in implicit remoting where restricted sessions couldn't use `Get-FormatData –PowerShellVersion`. (#4222)
* Fix an issue where `Register-PSSessionConfiguration` fails if `SessionConfig` folder doesn't exist. (#4271)
* Remove the `*-Counter` cmdlets in `Microsoft.PowerShell.Diagnostics` due to the use of unsupported APIs until a better solution is found. (#4303)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we were going to highlight breaking changes? Same for LocalAccounts

* Remove the `Microsoft.PowerShell.LocalAccounts` due to the use of unsupported APIs until a better solution is found. (#4302)

### Installer updates

* Create script to install latest PowerShell from Microsoft package repositories (or Homebrew) on non-Windows platforms. (#3608) (Thanks to @DarwinJS!)
* Enable MSI upgrades rather than a side-by-side install. (#4259)
* Add a checkbox to open PowerShell after the Windows MSI installer has finished. (#4203) (Thanks to @bergmeister!)
* Add Amazon Linux compatibility to `install-powershell.sh`. (#4360) (Thanks to @DarwinJS!)
* Add ability to package all of PowerShell Core as a NuGet package. (#4363)

### Build/test and code cleanup

* Add build check for MFC for Visual C++ during Windows builds.
This fixes a long-standing (and very frustrating!) issue with missing build dependencies! (#4185) (Thanks to @KirkMunro!)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add one more item here:
#4335 - Separate Windows PSRP binary build out of Start-PSBuild
Starting from beta.5, Start-PSBuild doesn't build PSRP binary on windows. Instead, the PSRP binary is consumed from a NuGet package.

* Add tests for built-in type accelerators. (#4230) (Thanks to @dchristian3188!)
* Increase code coverage of `Get-ChildItem` on file system. (#4342) (Thanks to @jeffbi!)
* Increase test coverage for `Rename-Item` and `Move-Item`. (#4329) (Thanks to @jeffbi!)
* Add test coverage for Registry provider. (#4354) (Thanks to @jeffbi!)
* Fix C# tests for `ValidateSetValuesGenerator`. (#4253) (Thanks to @iSazonov!)
Copy link
Member

@daxian-dbw daxian-dbw Aug 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one can be removed, it's actually the same as the ValidateSetAttribute enhancement work we mentioned above.

* Fix warnings and errors thrown by PSScriptAnalyzer. (#4261) (Thanks to @bergmeister!)
* Fix regressions that cause implicit remoting tests to fail. (#4326)
* Disable legacy UTC and SQM Windows telemetry by enclosing the code in '#if LEGACYTELEMETRY'. (#4190)

#### Cleanup `#if CORE` code

PowerShell 6.0 will be exclusively built on top of CoreCLR,
so we are removing a large amount of code that's built only for FullCLR.
To read more about this, check out [this blog post](https://blogs.msdn.microsoft.com/powershell/2017/07/14/powershell-6-0-roadmap-coreclr-backwards-compatibility-and-more/).

* Cleanup `#if CORE` in `ManagedEntrance.cs` (#4373) (Thanks to @iSazonov!)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should combine these per contributor call out rather than list them all out. It's not useful to end users.

* Cleanup `#if CORE` - use `TimeZoneInfo` and `TimeZoneNotFoundException` from CoreFX (#4369) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `OrderObjectBase.cs` (#4371) (Thanks to @iSazonov!)
* Cleanup `#if CORE` - use `SecurityZone` from CoreFX (#4368) (Thanks to @iSazonov!)
* Cleanup `ClrFacade.cs` - remove `ClrFacade.StructureToPtr` (#4380)
* Cleanup `ClrFacade.cs` - remove `ClrFacade.DestroyStructure` (#4378)
* Remove `ClrFacade.GetUninitializedObject` and 'if CORECLR' cleanup (#4375)
* Cleanup `ClrFacade.cs` - remove `ClrFacade.SizeOf<T>()` (#4377)
* Cleanup `ClrFacade.cs` - remove `ClrFacade.PtrToStructure` (#4379)
* Cleanup `#if CORE` `in remoterunspace.cs` (#4431) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `PSVersionInfo.cs` (#4430) (Thanks to @iSazonov!)
* Cleanup `#if CORE` `ParameterBinderBase.cs` (#4427) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `ModuleIntrinsics.cs` (#4426) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `Utilities.cs` (#4425) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `InstructionFactory.cs` (#4424) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `DynamicInstructionN.cs` (#4423) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `ConnectionFactory.cs` (#4422) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `CommandProcessor.cs` (#4421) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `ExtensibleCompletion.cs` (#4420) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `CompletionCompleters.cs` (#4419) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `ComAdapter.cs` (#4418) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `CorePsStub.cs` (#4416) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `CurrentConfigurations.cs` (#4409) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `CorePsPlatform.cs` (#4415) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `CorePsExtensions.cs` (#4414) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `MshParameter.cs` (#4413) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `ILineOutput.cs` (#4412) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `cmdlets-over-objects.objectModel.autogen.cs` (#4411) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `Set-QuickConfig.cs` (#4410) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `CertificateProvider.cs` (#4408) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `HistoryQueue.cs` (#4407) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `Cmdlets.cs` (#4406) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `PInvokeDllNames.cs` (#4405) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `Native.cs` (#4404) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `PSUserAgent.cs` (#4403) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `GetComputerInfoCommand.cs` (#4401) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `cimConverter.cs` (#4400) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `PdhSafeHandle.cs` (#4399) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `CimIndicationWatcher.cs` (#4398) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `Utils.cs` (#4397) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `PInvokeDllNames.cs` (#4456) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `PSTelemetryMethods.cs` (#4452) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `ExtensionMethods.cs` (#4451) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `SessionStateExceptions.cs` (#4454) (Thanks to @iSazonov!)
* Cleanup `#if CORE` in `EtwActivity.cs` (#4455) (Thanks to @iSazonov!)

## v6.0.0-beta.4 - 2017-07-12

## Windows PowerShell backwards compatibility
Expand Down