|
1 | 1 | # Current preview release |
| 2 | + |
| 3 | +## [7.3.0-preview.1] - 2021-12-16 |
| 4 | + |
| 5 | +### Breaking Changes |
| 6 | + |
| 7 | +- Add `clean` block to script block as a peer to `begin`, `process`, and `end` to allow easy resource cleanup (#15177) |
| 8 | +- Change default for `$PSStyle.OutputRendering` to `Ansi` (Internal 18449) |
| 9 | + |
| 10 | +### Engine Updates and Fixes |
| 11 | + |
| 12 | +- Remove duplicate remote server mediator code (#16027) |
| 13 | +- Fix `PSVersion` parameter version checks and error messages for PowerShell 7 remoting (#16228) |
| 14 | +- Use the same temporary home directory when `HOME` env variable is not set (#16263) |
| 15 | +- Fix parser to generate error when array has more than 32 dimensions (#16276) |
| 16 | + |
| 17 | +### Performance |
| 18 | + |
| 19 | +- Avoid validation for built-in file extension and color VT sequences (#16320) (Thanks @iSazonov!) |
| 20 | + |
| 21 | +### General Cmdlet Updates and Fixes |
| 22 | + |
| 23 | +- Update `README.md` and `metadata.json` for next preview release (#16107) |
| 24 | +- Use `PlainText` when writing to a host that doesn't support VT (#16092) |
| 25 | +- Remove support for `AppExeCLinks` to retrieve target (#16044) |
| 26 | +- Move `GetOuputString()` and `GetFormatStyleString()` to `PSHostUserInterface` as public API (#16075) |
| 27 | +- Fix `ConvertTo-SecureString` with key regression due to .NET breaking change (#16068) |
| 28 | +- Fix regression in `Move-Item` to only fallback to `copy and delete` in specific cases (#16029) |
| 29 | +- Set `$?` correctly for command expression with redirections (#16046) |
| 30 | +- Use `CurrentCulture` when handling conversions to `DateTime` in `Add-History` (#16005) (Thanks @vexx32!) |
| 31 | +- Fix link header parsing to handle unquoted `rel` types (#15973) (Thanks @StevenLiekens!) |
| 32 | +- Fix a casting error when using `$PSNativeCommandUsesErrorActionPreference` (#15993) |
| 33 | +- Format-Wide: Fix `NullReferenceException` (#15990) (Thanks @DarylGraves!) |
| 34 | +- Make the native command error handling optionally honor `ErrorActionPreference` (#15897) |
| 35 | +- Remove declaration of experimental features in Utility module manifest as they are stable (#16460) |
| 36 | +- Fix race condition between `DisconnectAsync` and `Dispose` (#16536) (Thanks @i3arnon!) |
| 37 | +- Fix the `Max_PATH` condition check to handle long path correctly (#16487) (Thanks @Shriram0908!) |
| 38 | +- Update `HelpInfoUri` for 7.2 release (#16456) |
| 39 | +- Fix tab completion within the script block specified for the `ValidateScriptAttribute`. (#14550) (Thanks @MartinGC94!) |
| 40 | +- Update `README.md` to specify gathered telemetry (#16379) |
| 41 | +- Fix typo for "privacy" in MSI installer (#16407) |
| 42 | +- Remove unneeded call to `File.ResolveLinkTarget` from `IsWindowsApplication` (#16371) (Thanks @iSazonov!) |
| 43 | +- Add `-HttpVersion` parameter to web cmdlets (#15853) (Thanks @hayhay27!) |
| 44 | +- Add support to web cmdlets for open-ended input tags (#16193) (Thanks @farmerau!) |
| 45 | +- Add more tests to `Tee-Object -Encoding` (#14539) (Thanks @rpolley!) |
| 46 | +- Don't throw exception when trying to resolve a possible link path (#16310) |
| 47 | +- Fix `ConvertTo-Json -Depth` to allow 100 at maximum (#16197) (Thanks @KevRitchie!) |
| 48 | +- Fix for SSH remoting when banner is enabled on SSHD endpoint (#16205) |
| 49 | +- Disallow all COM for AppLocker system lock down (#16268) |
| 50 | +- Configure `ApplicationInsights` to not send cloud role name (#16246) |
| 51 | +- Disallow `Add-Type` in NoLanguage mode on a locked down machine (#16245) |
| 52 | +- Specify the executable path as `TargetObect` for non-zero exit code `ErrorRecord` (#16108) (Thanks @rkeithhill!) |
| 53 | +- Don't allow `Move-Item` with FileSystemProvider to move a directory into itself (#16198) |
| 54 | +- Make property names for the color VT sequences consistent with documentations (#16212) |
| 55 | +- Fix `PipelineVariable` to set variable in the right scope (#16199) |
| 56 | +- Invoke-Command: improve handling of variables with $using: expression (#16113) (Thanks @dwtaber!) |
| 57 | +- Change `Target` from a `CodeProperty` to be an `AliasProperty` that points to `FileSystemInfo.LinkTarget` (#16165) |
| 58 | + |
| 59 | +### Code Cleanup |
| 60 | + |
| 61 | +<details> |
| 62 | + |
| 63 | +<summary> |
| 64 | + |
| 65 | +<p>We thank the following contributors!</p> |
| 66 | +<p>@xtqqczze, @eltociear, @iSazonov</p> |
| 67 | + |
| 68 | +</summary> |
| 69 | + |
| 70 | +<ul> |
| 71 | +<li>Improve <code>CommandInvocationIntrinsics</code> API documentation and style (#14369)</li> |
| 72 | +<li>Use <code>bool?.GetValueOrDefault()</code> in <code>FormatWideCommand</code> (#15988) (Thanks @xtqqczze!)</li> |
| 73 | +<li>Remove 4 assertions which cause debug build test runs to fail (#15963)</li> |
| 74 | +<li>Fix typo in `Job.cs` (#16454) (Thanks @eltociear!)</li> |
| 75 | +<li>Remove unnecessary call to `ToArray` (#16307) (Thanks @iSazonov!)</li> |
| 76 | +<li>Remove the unused `FollowSymLink` function (#16231)</li> |
| 77 | +<li>Fix typo in `TypeTable.cs` (#16220) (Thanks @eltociear!)</li> |
| 78 | +<li>Fixes #16176 - replace snippet tag with code tag in comments (#16177)</li> |
| 79 | +</ul> |
| 80 | + |
| 81 | +</details> |
| 82 | + |
| 83 | +### Tools |
| 84 | + |
| 85 | +- Fix typo in build.psm1 (#16038) (Thanks @eltociear!) |
| 86 | +- Add `.stylecop` to `filetypexml` and format it (#16025) |
| 87 | +- Enable sending Teams notification when workflow fails (#15982) |
| 88 | +- Use `Convert-Path` for unknown drive in `Build.psm1` (#16416) (Thanks @matt9ucci!) |
| 89 | + |
| 90 | +### Tests |
| 91 | + |
| 92 | +- Add benchmark to test compiler performance (#16083) |
| 93 | +- Enable two previously disabled `Get-Process` tests (#15845) (Thanks @iSazonov!) |
| 94 | +- Set clean state before testing `UseMU` in the MSI (#16543) |
| 95 | +- Fix global tool and SDK tests in release pipeline (#16342) |
| 96 | +- Remove the outdated test (#16269) |
| 97 | +- Removed old not-used-anymore docker-based tests for PS release packages (#16224) |
| 98 | + |
| 99 | +### Build and Packaging Improvements |
| 100 | + |
| 101 | +<details> |
| 102 | + |
| 103 | +<summary> |
| 104 | + |
| 105 | +<p>We thank the following contributors!</p> |
| 106 | +<p>@github-actions[bot], @kondratyev-nv</p> |
| 107 | + |
| 108 | +</summary> |
| 109 | + |
| 110 | +<ul> |
| 111 | +<li>fix issue with hash file getting created before we have finished get-childitem (#16170)</li> |
| 112 | +<li>Add sha256 hashes to release (#16147)</li> |
| 113 | +<li>Change path for Component Governance for build to the path we actually use to build (#16137)</li> |
| 114 | +<li>Update <code>Microsoft.CodeAnalysis.CSharp</code> version (#16138)</li> |
| 115 | +<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#16070)</li> |
| 116 | +<li>Update .NET to <code>6.0.100-rc.1.21458.32</code> (#16066)</li> |
| 117 | +<li>Update minimum required OS version for macOS (#16088)</li> |
| 118 | +<li>Set locale correctly on Linux CI (#16073)</li> |
| 119 | +<li>Ensure locale is set correctly on Ubuntu 20.04 in CI (#16067)</li> |
| 120 | +<li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#16045)</li> |
| 121 | +<li>Update .NET SDK version from `6.0.100-rc.1.21430.44` to `6.0.100-rc.1.21455.2` (#16041) (Thanks @github-actions[bot]!)</li> |
| 122 | +<li>Fix the GitHub Action for updating .NET daily builds (#16042)</li> |
| 123 | +<li>Bump Microsoft.CodeAnalysis.CSharp from 4.0.0-3.final to 4.0.0-4.21430.4 (#16036)</li> |
| 124 | +<li>Bump .NET to `6.0.100-rc.1.21430.44` (#16028)</li> |
| 125 | +<li>Move from <code>PkgES</code> hosted agents to 1ES hosted agents (#16023)</li> |
| 126 | +<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#16021)</li> |
| 127 | +<li>Update Ubuntu images to use Ubuntu 20.04 (#15906)</li> |
| 128 | +<li>Fix the mac build by updating the pool image name (#16010)</li> |
| 129 | +<li>Use Alpine 3.12 for building PowerShell for alpine (#16008)</li> |
| 130 | +<li>Update .NET SDK version from `6.0.100-preview.6.21355.2` to `6.0.100-rc.1.21426.1` (#15648) (Thanks @github-actions[bot]!)</li> |
| 131 | +<li>Ignore error from <code>Find-Package</code> (#15999)</li> |
| 132 | +<li>Find packages separately for each source in <code>UpdateDotnetRuntime.ps1</code> script (#15998)</li> |
| 133 | +<li>Update metadata to start using .NET 6 RC1 builds (#15981)</li> |
| 134 | +<li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> (#15985)</li> |
| 135 | +<li>Merge the v7.2.0-preview.9 release branch back to GitHub master (#15983)</li> |
| 136 | +<li>Publish global tool package for stable releases (#15961)</li> |
| 137 | +<li>Bump <code>Microsoft.CodeAnalysis.NetAnalyzers</code> to newer version (#15962)</li> |
| 138 | +<li>Disabled Yarn cache in markdown.yml (#16599)</li> |
| 139 | +<li>Update cgmanifest (#16600)</li> |
| 140 | +<li>Fix broken links in markdown (#16598)</li> |
| 141 | +<li>Add explicit job name for approval tasks in Snap stage (#16579)</li> |
| 142 | +<li>Bring back <code>pwsh.exe</code> for framework dependent packages to support Start-Job (#16535)</li> |
| 143 | +<li>Fix NuGet package generation in release build (#16509)</li> |
| 144 | +<li>Add `Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute` to list of patterns to remove for generated ref assembly (#16489)</li> |
| 145 | +<li>Bump Microsoft.CodeAnalysis.CSharp from `4.0.0-6.final` to `4.0.1` (#16423)</li> |
| 146 | +<li>use different containers for different branches (#16434)</li> |
| 147 | +<li>Add import so we can use common GitHub workflow function. (#16433)</li> |
| 148 | +<li>Remove pre-release .NET 6 build sources (#16418)</li> |
| 149 | +<li>Update release instructions with link to new build (#16419)</li> |
| 150 | +<li>Bump <code>Microsoft.ApplicationInsights</code> from <code>2.18.0</code> to <code>2.19.0</code> (#16413)</li> |
| 151 | +<li>Update <code>metadata.json</code> to make 7.2.0 the latest LTS (#16417)</li> |
| 152 | +<li>Make static CI a matrix (#16397)</li> |
| 153 | +<li>Update <code>metadata.json</code> in preparation on <code>7.3.0-preview.1</code> release (#16406)</li> |
| 154 | +<li>Update cgmanifest (#16405)</li> |
| 155 | +<li>Add diagnostics used to take corrective action when releasing `buildInfoJson` (#16404)</li> |
| 156 | +<li>`vPack` release should use `buildInfoJson` new to 7.2 (#16402)</li> |
| 157 | +<li>Update the usage of metadata.json for getting LTS information (#16381)</li> |
| 158 | +<li>Add checkout to build json stage to get `ci.psm1` (#16399)</li> |
| 159 | +<li>Update CgManifest.json for 6.0.0 .NET packages (#16398)</li> |
| 160 | +<li>Add current folder to the beginning of the module import (#16353)</li> |
| 161 | +<li>Increment RC MSI build number by 100 (#16354)</li> |
| 162 | +<li>Bump <code>XunitXml.TestLogger</code> from 3.0.66 to 3.0.70 (#16356)</li> |
| 163 | +<li>Move PR Quantifier config to subfolder (#16352)</li> |
| 164 | +<li>Release build info json when it is preview (#16335)</li> |
| 165 | +<li>Add an approval for releasing build-info json (#16351)</li> |
| 166 | +<li>Generate manifest with latest public version of the packages (#16337)</li> |
| 167 | +<li>Update to the latest notices file (#16339) (Thanks @github-actions[bot]!)</li> |
| 168 | +<li>Use notice task to generate license assuming cgmanifest contains all components (#16340)</li> |
| 169 | +<li>Refactor cgmanifest generator to include all components (#16326)</li> |
| 170 | +<li>Fix issues in release build (#16332)</li> |
| 171 | +<li>Update feed and analyzer dependency (#16327)</li> |
| 172 | +<li>Bump <code>Microsoft.NET.Test.Sdk</code> from 16.11.0 to 17.0.0 (#16312)</li> |
| 173 | +<li>Update license and cgmanifest (#16325) (Thanks @github-actions[bot]!)</li> |
| 174 | +<li>Fix condition in cgmanifest logic (#16324)</li> |
| 175 | +<li>Add GitHub Workflow to keep notices up to date (#16284)</li> |
| 176 | +<li>Update to latest .NET 6 GA build <code> 6.0.100-rtm.21527.11</code> (#16309)</li> |
| 177 | +<li>Create compliance build (#16286)</li> |
| 178 | +<li>Move mapping file into product repo and add Debian 11 (#16316)</li> |
| 179 | +<li>Add a major-minor build info JSON file (#16301)</li> |
| 180 | +<li>Clean up <code>crossgen</code> related build scripts also generate native symbols for <code>R2R</code> images (#16297)</li> |
| 181 | +<li>Fix Windows build ZIP packaging (#16299) (Thanks @kondratyev-nv!)</li> |
| 182 | +<li>Revert "Update to use .NET 6 GA build (#16296)" (#16308)</li> |
| 183 | +<li>Add <code>wget</code> as a dependency for Bootstrap script (#16303) (Thanks @kondratyev-nv!)</li> |
| 184 | +<li>Fix issues reported by code signing verification tool (#16291)</li> |
| 185 | +<li>Update to use .NET 6 GA build (#16296)</li> |
| 186 | +<li>Revert "add GH workflow to keep the cgmanifest up to date." (#16294)</li> |
| 187 | +<li>Update ChangeLog for 7.2.0-rc.1 and also fix RPM packaging (#16290)</li> |
| 188 | +<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#16271)</li> |
| 189 | +<li>add GH workflow to keep the cgmanifest up to date.</li> |
| 190 | +<li>Update <code>ThirdPartyNotices.txt</code> (#16283)</li> |
| 191 | +<li>Update `testartifacts.yml` to use <code>ubuntu-latest</code> image (#16279)</li> |
| 192 | +<li>Update version of <code>Microsoft.PowerShell.Native</code> and <code>Microsoft.PowerShell.MarkdownRender</code> packages (#16277)</li> |
| 193 | +<li>Add script to generate <code>cgmanifest.json</code> (#16278)</li> |
| 194 | +<li>Add <code>cgmanifest.json</code> for generating correct third party notice file (#16266)</li> |
| 195 | +<li>Bump Microsoft.CodeAnalysis.NetAnalyzers from `6.0.0-rtm.21504.2` to `6.0.0-rtm.21516.1` (#16264)</li> |
| 196 | +<li>Only upload stable <code>buildinfo</code> for stable releases (#16251)</li> |
| 197 | +<li>Make RPM license recognized (#16189)</li> |
| 198 | +<li>Don't upload dep or tar.gz for RPM because there are none. (#16230)</li> |
| 199 | +<li>Add condition to generate release files in local dev build only (#16259)</li> |
| 200 | +<li>Update .NET 6 to version 6.0.100-rc.2.21505.57 (#16249)</li> |
| 201 | +<li>change order of try-catch-finally and split out arm runs (#16252)</li> |
| 202 | +<li>Ensure <code>psoptions.json</code> and <code>manifest.spdx.json</code> files always exist in packages (#16258)</li> |
| 203 | +<li>Update to vPack task version to 12 (#16250)</li> |
| 204 | +<li>Remove unneeded `NuGetConfigFile` resource string (#16232)</li> |
| 205 | +<li>Add Software Bill of Materials to the main packages (#16202)</li> |
| 206 | +<li>Sign third party exes (#16229)</li> |
| 207 | +<li>Upgrade <code>set-value</code> package for markdown test (#16196)</li> |
| 208 | +<li>Use Ubuntu 20.04 for SSH remoting test (#16225)</li> |
| 209 | +<li>Bump Microsoft.CodeAnalysis.NetAnalyzers (#16194)</li> |
| 210 | +<li>Bump `Microsoft.CodeAnalysis.NetAnalyzers` from `6.0.0-rc2.21458.5` to `6.0.0-rtm.21480.8` (#16183)</li> |
| 211 | +<li>Move vPack build to 1ES Pool (#16169)</li> |
| 212 | +<li>Fix Microsoft update spelling issue. (#16178)</li> |
| 213 | +</ul> |
| 214 | + |
| 215 | +</details> |
| 216 | + |
| 217 | +### Documentation and Help Content |
| 218 | + |
| 219 | +- Update Windows PowerShell issues link (#16105) (Thanks @andschwa!) |
| 220 | +- Remove Joey from Committee and WG membership (#16119) |
| 221 | +- Update more docs for `net6.0` TFM (#16102) (Thanks @xtqqczze!) |
| 222 | +- Change `snippet` tag to `code` tag in XML comments (#16106) |
| 223 | +- Update build documentation to reflect .NET 6 (#15751) (Thanks @Kellen-Stuart!) |
| 224 | +- Update `README.md` about the change logs (#16471) (Thanks @powershellpr0mpt!) |
| 225 | +- Update change log for 7.2.0 (#16401) |
| 226 | +- Update `metadata.json` and `README.md` for 7.2.0 release (#16395) |
| 227 | +- Update `README.md` and `metadata.json` files for `v7.2.0-rc.1` release (#16285) |
| 228 | +- Update the change logs for `v7.0.8` and `v7.1.5` releases (#16248) |
| 229 | + |
| 230 | +[7.3.0-preview.1]: https://github.com/PowerShell/PowerShell/compare/v7.2.0-preview.10...v7.3.0-preview.1 |
0 commit comments