Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions .spelling
Original file line number Diff line number Diff line change
Expand Up @@ -1367,6 +1367,13 @@ adamsitnik
msixbundle
PowerShell-Native#70
AppxManifest.xml
preview.9
ArmaanMcleod
entrypoint
lselden
SethFalco
CodeQL
slowy07
- CHANGELOG/7.0.md
codesign
release-BuildJson
Expand Down
96 changes: 95 additions & 1 deletion CHANGELOG/preview.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,99 @@
# Current preview release

## [7.2.0-preview.9] - 2021-08-23

### Breaking Changes

- Change the default value of `$PSStyle.OutputRendering` to `OutputRendering.Host` and remove `OutputRendering.Automatic` (#15882)
- Fix `CA1052` for public API to make classes static when they only have static methods (#15775) (Thanks @xtqqczze!)
- Update `pwsh.exe -File` to only accept `.ps1` script files on Windows (#15859)

### Engine Updates and Fixes

- Update .NET adapter to handle interface static members properly (#15908)
- Catch and handle unauthorized access exception when removing AppLocker test files (#15881)

### General Cmdlet Updates and Fixes

- Add `-PassThru` parameter to `Set-Clipboard` (#13713) (Thanks @ThomasNieto!)
- Add `-Encoding` parameter for `Tee-Object` (#12135) (Thanks @Peter-Schneider!)
- Update `ConvertTo-Csv` and `Export-Csv` to handle `IDictionary` objects (#11029) (Thanks @vexx32!)
- Update the parameters `-Exception` and `-ErrorRecord` for `Write-Error` to be position 0 (#13813) (Thanks @ThomasNieto!)
- Don't use `ArgumentList` when creating COM object with `New-Object` as it's not applicable to the COM parameter set (#15915)
- Fix `$PSStyle` list output to correctly show `TableHeader` (#15928)
- Remove the `PSImplicitRemotingBatching` experimental feature (#15863)
- Fix issue with `Get-Process -Module` failing to stop when it's piped to `Select-Object` (#15682) (Thanks @ArmaanMcleod!)
- Make the experimental features `PSUnixFileStat`, `PSCultureInvariantReplaceOperator`, `PSNotApplyErrorActionToStderr`, `PSAnsiRendering`, `PSAnsiProgressFeatureName` stable (#15864)
- Enhance `Remove-Item` to work with OneDrive (#15571) (Thanks @iSazonov!)
- Make global tool entrypoint class static (#15880)
- Update `ServerRemoteHost` version to be same as `PSVersion` (#15809)
- Make the initialization of `HttpKnownHeaderNames` thread safe (#15519) (Thanks @iSazonov!)
- `ConvertTo-Csv`: Quote fields with quotes and newlines when using `-UseQuotes AsNeeded` (#15765) (Thanks @lselden!)
- Forwarding progress stream changes from `Foreach-Object -Parallel` runspaces (#14271) (Thanks @powercode!)
- Add validation to `$PSStyle` to reject printable text when setting a property that only expects ANSI escape sequence (#15825)

### Code Cleanup

<details>

<summary>

<p>We thank the following contributors!</p>
<p>@xtqqczze</p>

</summary>

<ul>
<li>Avoid unneeded array allocation in module code (#14329) (Thanks @xtqqczze!)</li>
<li>Enable and fix analysis rules <code>CA1052</code>, <code>CA1067</code>, and <code>IDE0049</code> (#15840) (Thanks @xtqqczze!)</li>
<li>Avoid unnecessary allocation in formatting code (#15832) (Thanks @xtqqczze!)</li>
<li>Specify the analyzed API surface for all code quality rules (#15778) (Thanks @xtqqczze!)</li>
</ul>

</details>

### Tools

- Enable `/rebase` to automatically rebase a PR (#15808)
- Update `.editorconfig` to not replace tabs with spaces in `.tsv` files (#15815) (Thanks @SethFalco!)
- Update PowerShell team members in the change log generation script (#15817)

### Tests

- Add more tests to validate the current command error handling behaviors (#15919)
- Make `Measure-Object` property test independent of the file system (#15879)
- Add more information when a `syslog` parsing error occurs (#15857)
- Harden logic when looking for `syslog` entries to be sure that we select based on the process id (#15841)

### Build and Packaging Improvements

<details>

<summary>

<p>We thank the following contributors!</p>
<p>@xtqqczze</p>

</summary>

<ul>
<li>Disable implicit namespace imports for test projects (#15895)</li>
<li>Update language version to 10 and fix related issues (#15886)</li>
<li>Update <code>CodeQL</code> workflow to use Ubuntu 18.04 (#15868)</li>
<li>Bump the version of various packages (#15944, #15934, #15935, #15891, #15812, #15822) (Thanks @xtqqczze!)</li>
</ul>

</details>

### Documentation and Help Content

- Update `README` and `metadata files` for release `v7.2.0-preview.8` (#15819)
- Update change logs for 7.0.7 and 7.1.4 (#15921)
- Fix spelling in XML docs (#15939) (Thanks @slowy07!)
- Update PowerShell Committee members (#15837)

[7.2.0-preview.9]: https://github.com/PowerShell/PowerShell/compare/v7.2.0-preview.8...v7.2.0-preview.9

## [7.2.0-preview.8] - 2021-07-22

### Engine Updates and Fixes
Expand Down Expand Up @@ -86,7 +180,7 @@ Update .NET to version <code>v6.0.0-preview.6</code>
<li>Enable ARM64 packaging for macOS (#15768)</li>
<li>Make Microsoft Update opt-out/in check boxes work (#15784)</li>
<li>Add Microsoft Update opt out to MSI install (#15727)</li>
<li>Bump <code>NJsonSchema</code> from <code>10.4.4</code> to <code>10.4.5</code> (#15769) (Thanks @dependabot[bot]!)</li>
<li>Bump <code>NJsonSchema</code> from <code>10.4.4</code> to <code>10.4.5</code> (#15769)</li>
<li>Fix computation of SHA512 checksum (#15736)</li>
<li>Update the script to use quality parameter for <code>dotnet-install</code> (#15731)</li>
<li>Generate SHA512 checksum file for all packages (#15678)</li>
Expand Down