v7.4.0-preview.2 Release of PowerShell #19329
adityapatwardhan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
7.4.0-preview.2 - 2023-03-14
Breaking Changes
ArgumentException
instead ofArgumentNullException
when the argument is an empty string (UseArgumentException.ThrowIfNullOrEmpty
part 1 #19215) (Thanks @xtqqczze!)-ProgressAction
to the common parameters (Add-ProgressAction
common parameter #18887)Engine Updates and Fixes
PlainText
output to correctly remove theReset
VT sequence without number (FixPlainText
output to correctly remove Reset VT sequence w/o number #19283)ConciseView
to handle customParserError
error records (FixConciseView
to handle customParserError
ErrorRecords #19239)VtSubstring
helper method to correctly check characters copied (Fix VtSubstring helper method to correctly check chars copied #19240)FeedbackProvider
interface to return structured data (Update theFeedbackProvider
interface to return structured data #19133)Performance
General Cmdlet Updates and Fixes
PSCustomObject
variable properties (Fix completion for PSCustomObject variable properties #18682) (Thanks @MartinGC94!)Get-Random
(Improve type inference for Get-Random #18972) (Thanks @MartinGC94!)-Encoding
parameter able to takeANSI
encoding in PowerShell (-Encoding add ANSI option #19298) (Thanks @CarloToso!)-Body
in webcmdlets without an encoding (Fix using xml -Body in webcmdlets without an encoding #19281) (Thanks @CarloToso!)Statement
property to$MyInvocation
(Add Statement property to $MyInvocation #19027) (Thanks @IISResetMe!)Start-Process
-Wait
with-Credential
(Fix Start-Process -Wait with -Credential #19096) (Thanks @jborean93!)PUT
method behavior toPOST
one for default content type in WebCmdlets (Adjust PUT method behavior to POST one for default content type in WebCmdlets #19152) (Thanks @CarloToso!)WebSession.MaximumRedirection
from changes (Preserve WebSession.MaximumRedirection from changes #19190) (Thanks @CarloToso!)ContentType
from Headers in WebCmdlets (Take into account ContentType from Headers in WebCmdlets #19227) (Thanks @CarloToso!)-Path
and-LiteralPath
parameters toTest-Json
cmdlet (Add-Path
and-LiteralPath
parameters toTest-Json
cmdlet #19042) (Thanks @ArmaanMcleod!)-PreserveHttpMethodOnRedirect
to Web cmdlets (Add PreserveHttpMethodOnRedirect switch to Web cmdlets #18894) (Thanks @CarloToso!)Invoke-WebRequest
(Build the relative URI for links from the response in Invoke-WebRequest #19092) (Thanks @CarloToso!)-CustomMethod
POST
in WebCmdlets (Fix redirection for -CustomMethod "POST" in WebCmdlets #19111) (Thanks @CarloToso!)Invoke-WebRequest
xml and json errors format (Improve Invoke-WebRequest xml and json errors format #18837) (Thanks @CarloToso!)-NoHeader
parameter toConvertTo-Csv
andExport-Csv
cmdlets (Add-NoHeader
parameter toConvertTo-Csv
andExport-Csv
cmdlets #19108) (Thanks @ArmaanMcleod!)Start-Process -Credential -Wait
to work on Windows (FixStart-Process -Credential -Wait
to work on Windows #19082)ValidateNotNullOrEmpty
toOutFile
andInFile
parameters of WebCmdlets (Add ValidateNotNullOrEmpty to OutFile and InFile parameters of WebCmdlets #19044) (Thanks @CarloToso!)NullReferenceException
when importing modules (Adding missing guard for telemetry optout to avoid NRE when importing modules #18949) (Thanks @powercode!)Copy-Item
(Add progress toCopy-Item
#18735)HttpKnownHeaderNames
update headers list (HttpKnownHeaderNames update headers list #18947) (Thanks @CarloToso!)KeepAuthorization
in Web cmdlets (Fix bug with managing redirection and keepAuthorization in Web cmdlets #18902) (Thanks @CarloToso!)Get-Error
to work with strict mode (FixGet-Error
to work with strict mode #18895)AllowInsecureRedirect
switch to Web cmdlets (Add AllowInsecureRedirect switch to Web cmdlets #18546) (Thanks @CarloToso!)Invoke-RestMethod
-FollowRelLink
fix links containing commas (Invoke-RestMethod -FollowRelLink fix links containing commas #18829) (Thanks @CarloToso!)-CommandWithArgs
parameter to pwsh (Add-CommandWithArgs
parameter to pwsh #18726)Format-Table -RepeatHeader
for property derived tables (FixFormat-Table -RepeatHeader
for property derived tables #18870)StatusCode
toHttpResponseException
(Add StatusCode to HttpResponseException #18842) (Thanks @CarloToso!)Code Cleanup
We thank the following contributors!
@CarloToso, @iSazonov, @xtqqczze, @turbedi, @syntax-tm, @eltociear, @ArmaanMcleod
CodeFactor
issues in the code base - part 4 (Fix codefactor if part 4 #19270) (Thanks @CarloToso!)ArgumentException.ThrowIfNullOrEmpty
as appropriate [part 1] (UseArgumentException.ThrowIfNullOrEmpty
part 1 #19215) (Thanks @xtqqczze!)using
variable to reduce the nested level (WebRequestPSCmdlet.Common.cs remove { } and indentation #19229) (Thanks @CarloToso!)ArgumentException.ThrowIfNullOrEmpty()
in more places (Use ArgumentException.ThrowIfNullOrEmpty() in more places #19213) (Thanks @CarloToso!)BitConverter.ToString
withConvert.ToHexString
where appropriate (Replace BitConverter.ToString(bytes).Replace("-", "") with Convert.ToHexString(bytes) #19216) (Thanks @turbedi!)Requires.NotNullOrEmpty(string)
withArgumentException.ThrowIfNullOrEmpty
(ReplaceRequires.NotNullOrEmpty(string)
withArgumentException.ThrowIfNullOrEmpty
#19197) (Thanks @xtqqczze!)ArgumentOutOfRangeException.ThrowIfNegativeOrZero
when applicable (ReplaceRequires.Condition
withArgumentOutOfRangeException.ThrowIfNegativeOrZero
#19201) (Thanks @xtqqczze!)CallerArgumentExpression
onRequires.NotNull
(UseCallerArgumentExpression
onRequires.NotNull
#19200) (Thanks @xtqqczze!)InitialSessionState.cs
(Fix typo in InitialSessionState.cs #19177) (Thanks @eltociear!)pwsh
help content (Fix a typo in thepwsh
help content #19153)WebRequestPSCmdlet.Common.cs
(Revert comment changes in WebRequestPSCmdlet.Common.cs #19136) (Thanks @CarloToso!)WebRequestPSCmdlet.Common.cs
(Merge partials in WebRequestPSCmdlet.Common.cs #19126) (Thanks @CarloToso!)Process.cs
(Added minor readability and refactoring fixes to Process.cs #19123) (Thanks @ArmaanMcleod!)SetRequestContent
in WebCmdlets (Rework SetRequestContent in WebCmdlets #18964) (Thanks @CarloToso!)StreamHelper.cs
,WebRequestPSCmdlet.Common.cs
andInvokeRestMethodCommand.Common.cs
(Cleanup StreamHelper.cs, WebRequestPSCmdlet.Common.cs and InvokeRestMethodCommand.Common.cs #18950) (Thanks @CarloToso!)GetHttpMethod
andHttpMethod
in WebCmdlets (Simplification of GetHttpMethod and httpMethod in WebCmdlets #18846) (Thanks @CarloToso!)ModuleCmdletBase.cs
(Fix typo in ModuleCmdletBase.cs #18933) (Thanks @eltociear!)RemoveNulls
(Fix regression in RemoveNulls #18881) (Thanks @iSazonov!)NotNull
withArgumentNullException.ThrowIfNull
( Requires.NotNull-->ArgumentNullException.ThrowIfNull #18820) (Thanks @CarloToso!)InvokeRestMethodCommand.Common.cs
(Cleanup InvokeRestMethodCommand.Common.cs #18861) (Thanks @CarloToso!)Tools
Tests
$input
(Update and enable test #18968) (Thanks @MartinGC94!)WebListener
(Increase the timeout for creating theWebListener
in testing #19268)Allowinsecureredirect
parameter in Web cmdlets (Add tests for Allowinsecureredirect parameter in Web cmdlets #18939) (Thanks @CarloToso!)get-help
pattern tests on Unix (EnableGet-Help
pattern tests on Unix #18855) (Thanks @xtqqczze!)Build and Packaging Improvements
We thank the following contributors!
@pwshBot, @bergmeister, @xtqqczze
Microsoft.CodeAnalysis.CSharp
from4.4.0
to4.6.0-2.23152.6
(Bump Microsoft.CodeAnalysis.CSharp from 4.5.0 to 4.6.0-2.23152.6 #19306)(Bump Microsoft.CodeAnalysis.CSharp from 4.4.0 to 4.5.0 #19233)Newtonsoft.Json
from13.0.2
to13.0.3
(Bump Newtonsoft.Json from 13.0.2 to 13.0.3 #19290)(Bump Newtonsoft.Json from 13.0.1 to 13.0.3 in /tools/packaging/projects/reference/Microsoft.PowerShell.Commands.Utility #19289)-Force
toMove-Item
to fix the GitHub workflow (Add '-Force' to Move-Item to fix the workflow #19262)Markdig.Signed
from0.30.4
to0.31.0
(Bump Markdig.Signed from 0.30.4 to 0.31.0 #19232)LangVersion
compiler option to11.0
(SetLangVersion
compiler option to11.0
#18877) (Thanks @xtqqczze!)Microsoft.NET.Test.Sdk
from17.4.0
to17.5.0
(Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 #18823)(Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 #19191)Microsoft.Extensions.ObjectPool
from7.0.1
to7.0.3
(Bump Microsoft.Extensions.ObjectPool from 7.0.1 to 7.0.2 #18925)(Bump Microsoft.Extensions.ObjectPool from 7.0.2 to 7.0.3 #19155)ubuntu-latest
#19113)XunitXml.TestLogger
from3.0.70
to3.0.78
(Bump XunitXml.TestLogger from 3.0.70 to 3.0.78 #19066)Microsoft.CodeAnalysis.Analyzers
from3.3.3
to3.3.4
(Bump Microsoft.CodeAnalysis.Analyzers from 3.3.3 to 3.3.4 #18975)BenchmarkDotNet
to0.13.3
(BumpBenchmarkDotNet
to0.13.3
#18878) (Thanks @xtqqczze!)Microsoft.PowerShell.Native
from7.4.0-preview.1
to7.4.0-preview.2
(Bump Microsoft.PowerShell.Native from 7.4.0-preview.1 to 7.4.0-preview.2 #18910)WinForms
/WPF
in all Windows builds (Update build to include WinForms/WPF in all Windows builds #18859)Documentation and Help Content
v7.2.10
andv7.3.3
releases (Pull in changelogs for 7.2.10 and 7.3.3 #19219)metadata
andREADME
(UpdateREADME.md
andmetadata.json
forv7.4.0-preview.1
release #18831)(Update tools metadata and README #19204)(Update metadata and readme for next releases #19014)README.md
(Fix for failure in Markdown link verifier github action #19187)7.2
and7.3
change logs (Add 7.2 and 7.3 change logs #19025)dotnet-tools/README.md
(Fix typo in dotnet-tools/README.md #19021) (Thanks @spaette!)v7.4.0-preview.1
release (Change log for v7.4.0-preview.1 release #18835)SHA256 Hashes of the release artifacts
This discussion was created from the release v7.4.0-preview.2 Release of PowerShell.
Beta Was this translation helpful? Give feedback.
All reactions