|
1 | 1 | # Current preview release |
2 | 2 |
|
| 3 | +## [7.2.0-preview.8] - 2021-07-22 |
| 4 | + |
| 5 | +### Engine Updates and Fixes |
| 6 | + |
| 7 | +- Add a Windows mode to `$PSNativeCommandArgumentPassing` that allows some commands to use legacy argument passing (#15408) |
| 8 | +- Use `nameof` to get parameter names when creating `ArgumentNullException` (#15604) (Thanks @gukoff!) |
| 9 | +- Test if a command is 'Out-Default' more thoroughly for transcribing scenarios (#15653) |
| 10 | +- Add `Microsoft.PowerShell.Crescendo` to telemetry allow list (#15372) |
| 11 | + |
| 12 | +### General Cmdlet Updates and Fixes |
| 13 | + |
| 14 | +- Use `$PSStyle.Formatting.FormatAccent` for `Format-List` and `$PSStyle.Formatting.TableHeader` for `Format-Table` output (#14406) |
| 15 | +- Highlight using error color the exception `Message` and underline in `PositionMessage` for `Get-Error` (#15786) |
| 16 | +- Implement a completion for View parameter of format cmdlets (#14513) (Thanks @iSazonov!) |
| 17 | +- Add support to colorize `FileInfo` file names (#14403) |
| 18 | +- Don't serialize to JSON ETS properties for `DateTime` and `string` types (#15665) |
| 19 | +- Fix `HyperVSocketEndPoint.ServiceId` setter (#15704) (Thanks @xtqqczze!) |
| 20 | +- Add `DetailedView` to `$ErrorView` (#15609) |
| 21 | + |
| 22 | +### Code Cleanup |
| 23 | + |
| 24 | +<details> |
| 25 | + |
| 26 | +<summary> |
| 27 | + |
| 28 | +<p>We thank the following contributors!</p> |
| 29 | +<p>@iSazonov, @xtqqczze</p> |
| 30 | + |
| 31 | +</summary> |
| 32 | + |
| 33 | +<ul> |
| 34 | +<li>Remove <code>consolehost.proto</code> file (#15741) (Thanks @iSazonov!)</li> |
| 35 | +<li>Implement <code>IDisposable</code> for <code>ConvertToJsonCommand</code> (#15787) (Thanks @xtqqczze!)</li> |
| 36 | +<li>Fix <code>IDisposable</code> implementation for <code>CommandPathSearch</code> (#15793) (Thanks @xtqqczze!)</li> |
| 37 | +<li>Delete IDE dispose analyzer rules (#15798) (Thanks @xtqqczze!)</li> |
| 38 | +<li>Seal private classes (#15725) (Thanks @xtqqczze!)</li> |
| 39 | +<li>Enable IDE0029: <code>UseCoalesceExpression</code> (#15770) (Thanks @xtqqczze!)</li> |
| 40 | +<li>Enable IDE0070: <code>UseSystemHashCode</code> (#15715) (Thanks @xtqqczze!)</li> |
| 41 | +<li>Enable IDE0030: <code>UseCoalesceExpressionForNullable</code> (#14289) (Thanks @xtqqczze!)</li> |
| 42 | +<li>Fix CA1846 and CA1845 for using <code>AsSpan</code> instead of <code>Substring</code> (#15738)</li> |
| 43 | +<li>Use <code>List<T>.RemoveAll</code> to avoid creating temporary list (#15686) (Thanks @xtqqczze!)</li> |
| 44 | +<li>Enable IDE0044: <code>MakeFieldReadonly</code> (#13880) (Thanks @xtqqczze!)</li> |
| 45 | +<li>Disable IDE0130 (#15728) (Thanks @xtqqczze!)</li> |
| 46 | +<li>Make classes sealed (#15675) (Thanks @xtqqczze!)</li> |
| 47 | +<li>Enable CA1043: Use integral or string argument for indexers (#14467) (Thanks @xtqqczze!)</li> |
| 48 | +<li>Enable CA1812 (#15674) (Thanks @xtqqczze!)</li> |
| 49 | +<li>Replace <code>Single</code> with <code>First</code> when we know the element count is 1 (#15676) (Thanks @xtqqczze!)</li> |
| 50 | +<li>Skip analyzers for <code>Microsoft.Management.UI.Internal</code> (#15677) (Thanks @xtqqczze!)</li> |
| 51 | +<li>Fix CA2243: Attribute string literals should parse correctly (#15622) (Thanks @xtqqczze!)</li> |
| 52 | +<li>Enable CA1401 (#15621) (Thanks @xtqqczze!)</li> |
| 53 | +<li>Fix CA1309: Use ordinal <code>StringComparison</code> in Certificate Provider (#14352) (Thanks @xtqqczze!)</li> |
| 54 | +<li>Fix CA1839: Use <code>Environment.ProcessPath</code> (#15650) (Thanks @xtqqczze!)</li> |
| 55 | +<li>Add new analyzer rules (#15620) (Thanks @xtqqczze!)</li> |
| 56 | +</ul> |
| 57 | + |
| 58 | +</details> |
| 59 | + |
| 60 | +### Tools |
| 61 | + |
| 62 | +- Add `SkipRoslynAnalyzers` parameter to `Start-PSBuild` (#15640) (Thanks @xtqqczze!) |
| 63 | +- Create issue template for issues updating PowerShell through Windows update. (#15700) |
| 64 | +- Add `DocumentationAnalyzers` to build (#14336) (Thanks @xtqqczze!) |
| 65 | +- Convert GitHub issue templates to modern forms (#15645) |
| 66 | + |
| 67 | +### Tests |
| 68 | + |
| 69 | +- Add more tests for `ConvertFrom-Json` (#15706) (Thanks @strawgate!) |
| 70 | +- Update `glob-parent` and `hosted-git-info` test dependencies (#15643) |
| 71 | + |
| 72 | +### Build and Packaging Improvements |
| 73 | + |
| 74 | +<details> |
| 75 | + |
| 76 | +<summary> |
| 77 | +Update .NET to version <code>v6.0.0-preview.6</code> |
| 78 | +</summary> |
| 79 | + |
| 80 | +<ul> |
| 81 | +<li>Add new package name for <code>osx-arm64</code> (#15813)</li> |
| 82 | +<li>Prefer version when available for dotnet-install (#15810)</li> |
| 83 | +<li>Make warning about MU being required dynamic (#15776)</li> |
| 84 | +<li>Add <code>Start-PSBootstrap</code> before running tests (#15804)</li> |
| 85 | +<li>Update to .NET 6 Preview 6 and use <code>crossgen2</code> (#15763)</li> |
| 86 | +<li>Enable ARM64 packaging for macOS (#15768)</li> |
| 87 | +<li>Make Microsoft Update opt-out/in check boxes work (#15784)</li> |
| 88 | +<li>Add Microsoft Update opt out to MSI install (#15727)</li> |
| 89 | +<li>Bump <code>NJsonSchema</code> from <code>10.4.4</code> to <code>10.4.5</code> (#15769) (Thanks @dependabot[bot]!)</li> |
| 90 | +<li>Fix computation of SHA512 checksum (#15736)</li> |
| 91 | +<li>Update the script to use quality parameter for <code>dotnet-install</code> (#15731)</li> |
| 92 | +<li>Generate SHA512 checksum file for all packages (#15678)</li> |
| 93 | +<li>Enable signing daily release build with lifetime certificate (#15642)</li> |
| 94 | +<li>Update metadata and README for 7.2.0-preview.7 (#15593)</li> |
| 95 | +</ul> |
| 96 | + |
| 97 | +</details> |
| 98 | + |
| 99 | +### Documentation and Help Content |
| 100 | + |
| 101 | +- Fix broken RFC links (#15807) |
| 102 | +- Add to bug report template getting details from `Get-Error` (#15737) |
| 103 | +- Update issue templates to link to new docs (#15711) |
| 104 | +- Add @jborean93 to Remoting Working Group (#15683) |
| 105 | + |
| 106 | +[7.2.0-preview.8]: https://github.com/PowerShell/PowerShell/compare/v7.2.0-preview.7...v7.2.0-preview.8 |
| 107 | + |
3 | 108 | ## [7.2.0-preview.7] - 2021-06-17 |
4 | 109 |
|
5 | 110 | ### Breaking Changes |
|
0 commit comments