Commit Graph
2885 Commits
Author SHA1 Message Date
Dongbo Wang 9acb52f78e [release/v7.5] Replace fpm with native rpmbuild for RPM package generation (#26793) 2026-02-12 13:44:31 -08:00
Dongbo Wang 8381df3f36 [release/v7.5] Fix the progress preference variable in script cmdlets (#26791) 2026-02-12 13:43:02 -08:00
Travis Plunk 7979a4bc2e [release/v7.5] Update the Update-Help tests to use -Force to remove read-only files (#26788) 2026-02-12 09:47:23 -08:00
PowerShell Team Bot e697a58c14 [release/v7.5] Fix up SSHConnectionInfo ssh PATH checks (#26165) 2026-02-12 09:41:20 -08:00
PowerShell Team Bot 083f2caf9f [release/v7.5] Update branch for release (#26195) 2025-10-15 01:47:49 +00:00
PowerShell Team Bot 423fd1978f [release/v7.5] Mark the 3 consistently failing tests as pending to unblock PRs (#26196) 2025-10-14 18:18:27 -07:00
PowerShell Team Bot ce08de8051 [release/v7.5] Ensure that socket timeouts are set only during the token validation (#26079) 2025-10-09 13:14:23 -07:00
PowerShell Team BotandPatrick Meinecke 8272044640 [release/v7.5] Suppress false positive PSScriptAnalyzer warnings in tests and build scripts (#26059)
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
2025-09-22 21:06:31 +00:00
Travis Plunk (HE/HIM) bcd6bc473f Fix race condition in RemoteHyperVSocket 2025-09-05 14:20:32 -07:00
PowerShell Team BotandTravis Plunk add10d83e5 [release/v7.5] Update branch for release (#25942)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-09-02 21:10:17 +00:00
PowerShell Team BotandAditya Patwardhan b69a479806 [release/v7.5] Fix updatable help test for new content (#25944)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2025-08-29 23:47:05 +00:00
Patrick Meinecke ff78f2582d Manually update SqlClient in TestService
The version bump from 4.8.6 to 4.9.0 is required for
Microsoft.Windows.Compatibility 9.0.6
2025-06-10 20:22:00 -04:00
PowerShell GitHub Bot b8ff7f9039 Update package references 2025-06-10 20:22:00 -04:00
cd6b4d8f53 [release/v7.5] Set standard handles explicitly when starting a process with -NoNewWindow (#25324)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-06-04 23:04:40 +00:00
PowerShell Team BotandMatthias Wolf 2240ac8f5a [release/v7.5] Make inherited protected internal instance members accessible in class scope. (#25547)
Co-authored-by: Matthias Wolf <78562192+mawosoft@users.noreply.github.com>
2025-06-03 13:09:50 -07:00
PowerShell Team BotandDongbo Wang 3ad624280b [release/v7.5] Remove the old fuzzy suggestion and fix the local script file name suggestion (#25330)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2025-06-03 13:05:54 -07:00
PowerShell Team Bot c2e858b9be [release/v7.5] Update to .NET SDK 9.0.203 (#25373) 2025-04-17 19:37:01 +00:00
PowerShell Team Bot 8cb9646d1a [release/v7.5] Update SDK to 9.0.201 (#25163) 2025-03-25 03:47:48 +00:00
PowerShell Team BotandTravis Plunk d9edb3d9be [release/v7.5] Update branch for release - Transitive - true - minor (#24994)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-12 00:25:35 +00:00
PowerShell Team Bot 39b96b5d9a [release/v7.5] Update branch for release - Transitive - true - minor (#24786)
* Update .NET SDK to latest version

* Update package references

* Update cgmanifest
2025-01-15 21:47:32 +00:00
PowerShell Team Bot a84ab3a1cb [release/v7.5] Update branch for release - Transitive - true - minor (#24576) 2024-11-13 01:16:23 +00:00
PowerShell Team Bot 0fe4b9fffc Update branch for release (#24535) 2024-10-31 22:09:49 +00:00
Aditya Patwardhan 8b94694726 Add a way to use only NuGet feed sources (#24528) (#24530) 2024-10-31 21:05:37 +00:00
Aditya Patwardhan 4020aac7a6 Revert "Update package references (#24414)" (#24532) (#24533)
This reverts commit 01ae632636.
2024-10-31 13:38:26 -07:00
Aditya Patwardhan ff03706831 Update package references (#24414) (#24513) 2024-10-30 23:10:21 -07:00
113e15ef34 Fix found during 7.5-preview.5 release (#24368)
* Merged PR 32689: Fix typo in release-MakeBlobPublic.yml

Fix typo in release-MakeBlobPublic.yml

* Merged PR 32693: Add back local NuGet source for test packages

Add back local NuGet source for test packages

* Merged PR 32696: Fixed Test Scenario for Compress-PSResource

The test was failing because a relative path was provided to parameter -DestinationPath.
Should update Compress-PSResource to accept relative paths for -DestinationPath.

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix for a failing test scenario.

#### PR Summary
This pull request fixes the test scenario for the `Compress-PSResource` function.
- `Microsoft.PowerShell.PSResourceGet.Tests.ps1`: Updated the path resolution for `$PublishedNupkgs` using `Resolve-Path` and added a missing line break in the test for compressing a module.

* Merged PR 32709: Changelog for v7.5.0-preview.5

Added 7.5.0-preview.5 change log

----
#### AI description  (iteration 1)
#### PR Classification
Changelog update for the new preview release.

#### PR Summary
This pull request updates the changelog for the v7.5.0-preview.5 release, documenting breaking changes, engine updates, new features, and other improvements.
- `ConvertTo-Json`: Treat large Enum values as numbers.
- `Import-Module`: Fix processor architecture validation.
- `Resolve-Path` and `Convert-Path`: Add `-Force` parameter to support wildcard hidden files.
- `PSResourceGet` test: Fix cleanup.
- Various build and packaging improvements, including updates to dependencies and test scenarios.

* fixed readme lint error

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
Co-authored-by: Justin Chung <t-juchung@microsoft.com>
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2024-10-02 17:59:44 +00:00
Aditya Patwardhan 508825bb40 Fix cleanup in PSResourceGet test (#24339) (#24345) 2024-09-25 11:43:17 -07:00
Aditya Patwardhan 20ad8f3fd7 Add -Force parameter to Resolve-Path and Convert-Path cmdlets to support wildcard hidden files (#20981) (#24344) 2024-09-25 11:02:35 -07:00
Aditya Patwardhan 5733a9c104 Update Microsoft.PowerShell.PSResourceGet to 1.1.0-preview2 (#24300) (#24337) 2024-09-24 09:19:11 -07:00
Aditya Patwardhan 8ff65501a4 Treat large Enum values as numbers in ConvertTo-Json (#20999) (#24304) 2024-09-20 14:55:44 -07:00
Aditya Patwardhan fd4e71b1fa Update and add new NuGet package sources for different environments. (#24264) (#24316) 2024-09-20 14:48:06 -07:00
Aditya Patwardhan f484c607d2 Bump .NET 9 to 9.0.100-rc.1.24452.12 (#24273) (#24320) 2024-09-20 12:43:27 -07:00
Aditya Patwardhan 95850df6e9 Fix how processor architecture is validated in Import-Module (#24265) (#24317) 2024-09-20 12:42:16 -07:00
Travis Plunk 5919a249a1 Fixes to Azure Public feed usage (#24149)
* Fix code PATs

* Fix feed PATs

* remove gallery commit

* update feed url

* Update to new variable groups

* Fix Variable name

* Fix credential template

* Disable Signing setup in prep stage

* Capture nuget source list

* lock down the firewall

* Add creds to feed switch to allow single switch location

* Use switch from build.psm1

* Use switch template instead of commands

* update to test feed

* disable codeql in jobs where we don't compile

* disable code sign validation for prep

* move capture steps to restore phase to see if it speeds things up

* remove duplicate capture of nuget config

* update test service

* Only build windows test service on windows

* warn when no config is generated

* try to fix test service

* fix web listener refs

* try removing dotnet tool

* update feedname with user info

* update package version that is not found

* try moving failing jobs to restore phase

* allow nuget inset in either phase

* update package ref

* use the right reporoot

* Move everything to restore

* Try adding build phase

* put nuget files in the right place

* move bootstrap into yaml

* remove onebranch agent items from macos build

* switch to environment variable

* bump a couple of packages

* fix formatting

* Fix static analysis issue

* update feed url to test restoring everything

* install the AzFeed cred provider

* fix binlog issues
2024-08-15 09:06:29 -07:00
alerickson 8c98b5cf60 Bump PSResourceGet to 1.1.0-preview1 (#24129) 2024-08-14 14:50:54 -07:00
Travis PlunkandDongbo Wang b409e5613a Add support for back porting PRs from GitHub or the Private Azure Repos (#20670)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>

---------

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2024-08-13 13:07:53 -07:00
Travis PlunkandJames Truher [MSFT] c11e4cf0d1 Move to 9.0.0-preview.6.24327.7 (#24133)
---------

Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com>
2024-08-13 10:18:39 -07:00
Justin Chung 13e9aac36f Fix Invoke-RestMethod to allow -PassThru and -Outfile work together (#24086) 2024-08-05 12:23:47 -07:00
Travis Plunk 8a8f2d4b23 Make Microsoft feeds the default (#24098) 2024-07-31 19:41:15 +00:00
Armaan Mcleod b39b5f4252 Add ConvertTo-CliXml and ConvertFrom-CliXml cmdlets (#21063) 2024-07-26 22:12:44 +05:00
Justin Chung 9995125454 Add OutFile property in WebResponseObject (#24047) 2024-07-23 21:04:20 +00:00
Jordan Borean c107c9c66b Set-Acl: Do not fail on untranslatable SID (#21096) 2024-07-15 18:33:41 -07:00
Dongbo Wang dcf6754445 Fix the extent of the parser error when a number constant is invalid (#24024) 2024-07-09 10:55:25 -07:00
Steve Lee 2d83b95539 Fix Move-Item to throw error when moving into itself (#24004) 2024-07-08 23:53:17 +00:00
Jordan Borean ecdf7805ca Fix up .NET method invocation with Optional argument (#21387) 2024-07-01 15:46:39 -07:00
CarloToso 86a7262a71 Fix WebCmdlets when -Body is specified but ContentType is not (#23952) 2024-07-01 15:35:23 -07:00
Jordan Borean ab43c19390 Improve .NET overload definition of generic methods (#21326) 2024-07-01 14:03:01 -07:00
Armaan Mcleod ec3840d6a1 Add IgnoreComments and AllowTrailingCommas options to Test-Json cmdlet (#23817) 2024-06-24 13:03:22 +05:00
167a492415 Redirecting to a variable should be possible (#20381)
* add tests

* fix formatting issues

* Make redirection to variable an experimental feature.

Update test to check for experimental feature status.
Set-Variable will still have the -append parameter, but if used when the experimental feature is disabled, a parameter binding error will result.

* Check to be sure provider is not null.

* update to use different FullyQualifiedErrorId

* use Experimental attribute for append parameter rather than runtime check.

* Revert "update to use different FullyQualifiedErrorId"

This reverts commit 8b34af1ac19ecdb821b34534e446ab129830c92f.

* Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs

Co-authored-by: Ilya <darpa@yandex.ru>

* Move remediation steps into resource.

Update Set-Variable -Append to be correct when -name and -value are used.
Add tests for the new behavior in Set-Variable.

* Change expected error for contrained language mode and redirection.

* Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs

Co-authored-by: Ilya <darpa@yandex.ru>

* Support redirection of native app.

Add tests to validate.

* testexe needs proper case to run on linux.

* Address codefactor issues 01.

* Update src/System.Management.Automation/engine/runtime/Operations/MiscOps.cs

Co-authored-by: Steve Lee <slee@microsoft.com>

* Update src/Microsoft.PowerShell.Commands.Utility/commands/utility/Var.cs

Co-authored-by: Steve Lee <slee@microsoft.com>

* Update src/System.Management.Automation/engine/runtime/Operations/MiscOps.cs

Co-authored-by: Steve Lee <slee@microsoft.com>

---------

Co-authored-by: Ilya <darpa@yandex.ru>
Co-authored-by: Steve Lee <slee@microsoft.com>
2024-06-11 12:42:04 -04:00
James Truher [MSFT] 7f99fa1bf3 Get-Help may report parameters with ValueFromRemainingArguments attribute as pipeline-able (#23871)
* Remove FromRemainingArguments as an inputs indicator.

The parameter attribute FromRemainingArguments is not an indicator of pipeline input.
2024-06-03 21:20:55 +05:00