Powershell/Powershell (Powershell/Powershell)
### [`v7.4.2`](https://togithub.com/PowerShell/PowerShell/releases/tag/v7.4.2): Release of PowerShell
[Compare Source](https://togithub.com/Powershell/Powershell/compare/v7.4.1...v7.4.2)
#### [7.4.2] - 2024-04-11
##### General Cmdlet Updates and Fixes
- Revert "Adjust PUT method behavior to POST one for default content type in WebCmdlets" ([#21049](https://togithub.com/Powershell/Powershell/issues/21049))
- Fix regression with `Get-Content` when `-Tail 0` and `-Wait` are both used ([#20734](https://togithub.com/Powershell/Powershell/issues/20734)) (Thanks [@CarloToso](https://togithub.com/CarloToso)!)
- Fix `Get-Error` serialization of array values ([#21085](https://togithub.com/Powershell/Powershell/issues/21085)) (Thanks [@jborean93](https://togithub.com/jborean93)!)
- Fix a regression in `Format-Table` when header label is empty ([#21156](https://togithub.com/Powershell/Powershell/issues/21156))
##### Engine Updates and Fixes
- Revert the PR [#17856](https://togithub.com/Powershell/Powershell/issues/17856) (Do not preserve temporary results when no need to do so) ([#21368](https://togithub.com/Powershell/Powershell/issues/21368))
- Make sure the assembly/library resolvers are registered at early stage ([#21361](https://togithub.com/Powershell/Powershell/issues/21361))
- Handle the case that `Runspace.DefaultRunspace` is `null` when logging for WDAC Audit ([#21344](https://togithub.com/Powershell/Powershell/issues/21344))
- Fix PowerShell class to support deriving from an abstract class with abstract properties ([#21331](https://togithub.com/Powershell/Powershell/issues/21331))
- Fix the regression when doing type inference for `$_` ([#21223](https://togithub.com/Powershell/Powershell/issues/21223)) (Thanks [@MartinGC94](https://togithub.com/MartinGC94)!)
##### Build and Packaging Improvements
Bump to .NET 8.0.4
Revert analyzer package back to stable
Update SDK, deps and cgmanifest for 7.4.2
Revert changes to packaging.psm1
Update PSResourceGet version from 1.0.2 to 1.0.4.1 (#21439)
Verify environment variable for OneBranch before we try to copy (#21441)
Remove surrogateFile setting of APIScan (#21238)
Add dotenv install as latest version does not work with current Ruby version (#21239)
Multiple fixes in official build pipeline (#21408)
Add back 2 transitive dependency packages (#21415)
Update PSReadLine to v2.3.5 for the next v7.4.x servicing release (#21414)
This PR contains the following updates:
7.4.1
->7.4.2
Release Notes
Powershell/Powershell (Powershell/Powershell)
### [`v7.4.2`](https://togithub.com/PowerShell/PowerShell/releases/tag/v7.4.2): Release of PowerShell [Compare Source](https://togithub.com/Powershell/Powershell/compare/v7.4.1...v7.4.2) #### [7.4.2] - 2024-04-11 ##### General Cmdlet Updates and Fixes - Revert "Adjust PUT method behavior to POST one for default content type in WebCmdlets" ([#21049](https://togithub.com/Powershell/Powershell/issues/21049)) - Fix regression with `Get-Content` when `-Tail 0` and `-Wait` are both used ([#20734](https://togithub.com/Powershell/Powershell/issues/20734)) (Thanks [@CarloToso](https://togithub.com/CarloToso)!) - Fix `Get-Error` serialization of array values ([#21085](https://togithub.com/Powershell/Powershell/issues/21085)) (Thanks [@jborean93](https://togithub.com/jborean93)!) - Fix a regression in `Format-Table` when header label is empty ([#21156](https://togithub.com/Powershell/Powershell/issues/21156)) ##### Engine Updates and Fixes - Revert the PR [#17856](https://togithub.com/Powershell/Powershell/issues/17856) (Do not preserve temporary results when no need to do so) ([#21368](https://togithub.com/Powershell/Powershell/issues/21368)) - Make sure the assembly/library resolvers are registered at early stage ([#21361](https://togithub.com/Powershell/Powershell/issues/21361)) - Handle the case that `Runspace.DefaultRunspace` is `null` when logging for WDAC Audit ([#21344](https://togithub.com/Powershell/Powershell/issues/21344)) - Fix PowerShell class to support deriving from an abstract class with abstract properties ([#21331](https://togithub.com/Powershell/Powershell/issues/21331)) - Fix the regression when doing type inference for `$_` ([#21223](https://togithub.com/Powershell/Powershell/issues/21223)) (Thanks [@MartinGC94](https://togithub.com/MartinGC94)!) ##### Build and Packaging ImprovementsBump to .NET 8.0.4
cgmanifest
for7.4.2
packaging.psm1
PSResourceGet
version from1.0.2
to1.0.4.1
(#21439)surrogateFile
setting ofAPIScan
(#21238)dotenv
install as latest version does not work with current Ruby version (#21239)PSReadLine
tov2.3.5
for the nextv7.4.x
servicing release (#21414)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.