v7.5.0-preview.3
版本发布时间: 2024-05-25 02:32:19
PowerShell/PowerShell最新发布版本:v7.5.0-preview.4(2024-08-29 05:51:39)
7.5.0-preview.3 - 2024-05-16
Breaking Changes
- Remember installation options and used them to initialize options for the next installation (#20420) (Thanks @reduckted!)
-
ConvertTo-Json
: SerializeBigInteger
as a number (#21000) (Thanks @jborean93!)
Engine Updates and Fixes
- Fix generating
OutputType
when running in Constrained Language Mode (#21605) - Revert the PR #17856 (Do not preserve temporary results when no need to do so) (#21368)
- Make sure the assembly/library resolvers are registered at early stage (#21361)
- Fix PowerShell class to support deriving from an abstract class with abstract properties (#21331)
- Fix error formatting for pipeline enumeration exceptions (#20211)
General Cmdlet Updates and Fixes
- Added progress bar for
Remove-Item
cmdlet (#20778) (Thanks @ArmaanMcleod!) - Expand
~
to$home
on Windows with tab completion (#21529) - Separate DSC configuration parser check for ARM processor (#21395) (Thanks @dkontyko!)
- Fix
[semver]
type to passsemver.org
tests (#21401) - Don't complete when declaring parameter name and class member (#21182) (Thanks @MartinGC94!)
- Add
RecommendedAction
toConciseView
of the error reporting (#20826) (Thanks @JustinGrote!) - Fix the error when using
Start-Process -Credential
without the admin privilege (#21393) (Thanks @jborean93!) - Fix
Test-Path -IsValid
to check for invalid path and filename characters (#21358) - Fix build failure due to missing reference in
GlobalToolShim.cs
(#21388) - Fix argument passing in
GlobalToolShim
(#21333) (Thanks @ForNeVeR!) - Make sure both stdout and stderr can be redirected from a native executable (#20997)
- Handle the case that
Runspace.DefaultRunspace == null
when logging for WDAC Audit (#21344) - Fix a typo in
releaseTools.psm1
(#21306) (Thanks @eltociear!) -
Get-Process
: Remove admin requirement for-IncludeUserName
(#21302) (Thanks @jborean93!) - Fall back to type inference when hashtable key-value cannot be retrieved from safe expression (#21184) (Thanks @MartinGC94!)
- Fix the regression when doing type inference for
$_
(#21223) (Thanks @MartinGC94!) - Revert "Adjust PUT method behavior to POST one for default content type in WebCmdlets" (#21049)
- Fix a regression in
Format-Table
when header label is empty (#21156)
Code Cleanup
We thank the following contributors!
@xtqqczze
- Enable
CA1868
: Unnecessary call to 'Contains' for sets (#21165) (Thanks @xtqqczze!) - Remove
JetBrains.Annotations
attributes (#21246) (Thanks @xtqqczze!)
Tests
- Update
metadata.json
andREADME.md
(#21454) - Skip test on Windows Server 2012 R2 for
no-nl
(#21265)
Build and Packaging Improvements
Bump to .NET 9.0.0-preview.3
We thank the following contributors!
@alerickson, @tgauth, @step-security-bot, @xtqqczze
- Fix PMC publish and the file path for msixbundle
- Fix release version and stage issues in build and packaging
- Add release tag if the environment variable is set
- Update installation on Wix module (#23808)
- Updates to package and release pipelines (#23800)
- Update
PSResourceGet
to 1.0.5 (#23796) - Bump
actions/upload-artifact
from 4.3.2 to 4.3.3 (#21520) - Bump
actions/dependency-review-action
from 4.2.5 to 4.3.2 (#21560) - Bump
actions/checkout
from 4.1.2 to 4.1.5 (#21613) - Bump
github/codeql-action
from 3.25.1 to 3.25.4 (#22071) - Use feed with Microsoft Wix toolset (#21651) (Thanks @tgauth!)
- Bump to .NET 9 preview 3 (#21782)
- Use
PSScriptRoot
to find path to Wix module (#21611) - Create the
Windows.x64
global tool with shim for signing (#21559) - Update Wix package install (#21537) (Thanks @tgauth!)
- Add branch counter variables for daily package builds (#21523)
- Use correct signing certificates for RPM and DEBs (#21522)
- Revert to version available on
Nuget
forMicrosoft.CodeAnalysis.Analyzers
(#21515) - Official PowerShell Package pipeline (#21504)
- Add a PAT for fetching PMC cli (#21503)
- Bump
ossf/scorecard-action
from 2.0.6 to 2.3.1 (#21485) - Apply security best practices (#21480) (Thanks @step-security-bot!)
- Bump
Microsoft.CodeAnalysis.Analyzers
(#21449) - Fix package build to not check some files for a signature. (#21458)
- Update PSResourceGet version from 1.0.2 to 1.0.4.1 (#21439) (Thanks @alerickson!)
- Verify environment variable for OneBranch before we try to copy (#21441)
- Add back two transitive dependency packages (#21415)
- Multiple fixes in official build pipeline (#21408)
- Update
PSReadLine
tov2.3.5
(#21414) - PowerShell co-ordinated build OneBranch pipeline (#21364)
- Add file description to
pwsh.exe
(#21352) - Suppress MacOS package manager output (#21244) (Thanks @xtqqczze!)
- Update
metadata.json
andREADME.md
(#21264)
Documentation and Help Content
- Update the doc about how to build PowerShell (#21334) (Thanks @ForNeVeR!)
- Update the member lists for the Engine and Interactive-UX working groups (#20991) (Thanks @kilasuit!)
- Update CHANGELOG for
v7.2.19
,v7.3.12
andv7.4.2
(#21462) - Fix grammar in
FAQ.md
(#21468) (Thanks @CodingGod987!) - Fix typo in
SessionStateCmdletAPIs.cs
(#21413) (Thanks @eltociear!) - Fix typo in a test (#21337) (Thanks @testwill!)
- Fix typo in
ast.cs
(#21350) (Thanks @eltociear!) - Adding Working Group membership template (#21153)
SHA256 Hashes of the release artifacts
- hashes.sha256
- DEECB5DD5640A57A19AEA50A0C69BF644F1562708666211BC5CE6F8553D185E4
- powershell-7.5.0-preview.3-linux-arm32.tar.gz
- 6416F5400D890F6C77EEE7999DF53222E5D52A0F6AD724FBFE1FC92332F66D75
- powershell-7.5.0-preview.3-linux-arm64.tar.gz
- CB4360284601F220FFDD6BBE1C532AC1F8197BB37B9F228B131AE12AB4A1E501
- powershell-7.5.0-preview.3-linux-musl-x64.tar.gz
- 3D87A2106E44865C3058FE310DAF7217A79AC1A96FEDB5B381D5C76820F676AC
- powershell-7.5.0-preview.3-linux-x64-fxdependent.tar.gz
- 605D823AA119FE8343B3682173658FB60F19F5CC19C8A03EC3419EF030C9FDB2
- powershell-7.5.0-preview.3-linux-x64-musl-noopt-fxdependent.tar.gz
- 4F917BCF2838865E892AD95892B92FEDEBD38A6CB05CF435EF3645F87EDC3BA8
- powershell-7.5.0-preview.3-linux-x64.tar.gz
- 7D30425BDED55D8F395C81C11B50AE91C38C9F61F754277F980BF7D6F7EF43CF
- powershell-7.5.0-preview.3-osx-arm64.pkg
- 5E2365F24B8AB74FDFEB091BCA5E4F0CC69D88B9F060BE723426A214258691CE
- powershell-7.5.0-preview.3-osx-arm64.tar.gz
- 5368B313BD2C5D0DABCE865B3EE970B737AEA4ED1E07CB517EC9681208E9CDD1
- powershell-7.5.0-preview.3-osx-x64.pkg
- 62AF23021C3777F5844903458133AB787683E605CED0BB074B36DF5EDAFA5167
- powershell-7.5.0-preview.3-osx-x64.tar.gz
- 9B51026AD685C93446D258E927DD8A8587E4BF97E7E64AEC482C3DDDC74EE9A6
- PowerShell-7.5.0-preview.3-win-arm64.msi
- 8FBC6B127795300049208BE14ED1C1E56A43ED20A5EFC99C442CB7D2B6CA9FC2
- PowerShell-7.5.0-preview.3-win-arm64.zip
- 837EF2B709F093ECFADDFAEBB1E45BB4411ED2E6BF6F3A1B6F7290D4EAB21839
- PowerShell-7.5.0-preview.3-win-fxdependent.zip
- F92700C59F577592581A298855CB8820E9C57BA16F77133C01A8B0A553C45F21
- PowerShell-7.5.0-preview.3-win-fxdependentWinDesktop.zip
- EBDA477C577A3F02E9B2F2E2A58F2EDBE3FE2CB2104B86428AFCD917D17024BD
- PowerShell-7.5.0-preview.3-win-x64.msi
- 1D6A1A9E8A30CA99D2930767727788C38ACCABBEAD3BA4DB6E2E890DE7E14375
- PowerShell-7.5.0-preview.3-win-x64.zip
- B14C25B408A46639818CD8977BD159B3EF5E4BDDD67D359426A24271A14F51B4
- PowerShell-7.5.0-preview.3-win-x86.msi
- 358EEF98B9F0F2F25FFD912B7D2776665E3DC9E6079F1C39B52097526C02586B
- PowerShell-7.5.0-preview.3-win-x86.zip
- 7128B230EF0DCAEE0785DCE82538D5A59E5D005CD964A6925385A3FBC69762C3
- powershell-preview_7.5.0-preview.3-1.deb_amd64.deb
- 0B6861652FD5A3284B69C3E1BBB53E403067A0BE1E657F46BFDDCDFC2FEC3998
- powershell-preview-7.5.0_preview.3-1.cm.aarch64.rpm
- 8DFA5E602297480C8913DD65F3DA4B30DD47E892C02637F98358D9CE3BA98DAC
- powershell-preview-7.5.0_preview.3-1.cm.x86_64.rpm
- 1D74C134600D27C678278E711346DA8A78824C63082CDC55E12386B92983713E
- powershell-preview-7.5.0_preview.3-1.rh.x86_64.rpm
- 277D89A2038C41F8895973F23A764CE4E524A06D68B74DD9B1C26E8BC4B2F462
1、 hashes.sha256 2.44KB
2、 powershell-7.5.0-preview.3-linux-arm32.tar.gz 66.97MB
3、 powershell-7.5.0-preview.3-linux-arm64.tar.gz 66.35MB
4、 powershell-7.5.0-preview.3-linux-musl-x64.tar.gz 69MB
5、 powershell-7.5.0-preview.3-linux-x64-fxdependent.tar.gz 21.74MB
6、 powershell-7.5.0-preview.3-linux-x64-musl-noopt-fxdependent.tar.gz 21.72MB
7、 powershell-7.5.0-preview.3-linux-x64.tar.gz 68.96MB
8、 powershell-7.5.0-preview.3-osx-arm64.pkg 65.59MB
9、 powershell-7.5.0-preview.3-osx-arm64.tar.gz 65.43MB
10、 powershell-7.5.0-preview.3-osx-x64.pkg 68.55MB
11、 powershell-7.5.0-preview.3-osx-x64.tar.gz 68.38MB
12、 PowerShell-7.5.0-preview.3-win-arm64.msi 99.85MB
13、 PowerShell-7.5.0-preview.3-win-arm64.zip 101.48MB
14、 PowerShell-7.5.0-preview.3-win-fxdependent.zip 23.64MB
15、 PowerShell-7.5.0-preview.3-win-fxdependentWinDesktop.zip 22.25MB
16、 PowerShell-7.5.0-preview.3-win-x64.msi 105.03MB
17、 PowerShell-7.5.0-preview.3-win-x64.zip 106.89MB
18、 PowerShell-7.5.0-preview.3-win-x86.msi 96.94MB
19、 PowerShell-7.5.0-preview.3-win-x86.zip 98.54MB
20、 powershell-preview-7.5.0_preview.3-1.cm.aarch64.rpm 35.93MB
21、 powershell-preview-7.5.0_preview.3-1.cm.x86_64.rpm 37.21MB
22、 powershell-preview-7.5.0_preview.3-1.rh.x86_64.rpm 68.59MB
23、 powershell-preview_7.5.0-preview.3-1.deb_amd64.deb 69.05MB