Commit Graph
10824 Commits
Author SHA1 Message Date
Armaan Mcleod e127345820 Add -PropertyType argument completer for New-ItemProperty (#21117) 2024-12-25 17:27:44 +05:00
xtqqczze 8017195541 Seal internal type ClientRemoteSessionDSHandlerImpl (#24705)
* Seal internal type `ClientRemoteSessionDSHandlerImpl`

* Fix `CS0628: new protected member declared in sealed type`
2024-12-25 09:08:51 +05:00
xtqqczze b0fbfb74ce Seal classes in RemotingProtocol2 (#21164) 2024-12-24 11:25:08 +05:00
Aditya Patwardhan 617dbda8f4 Skip CIM ETS member test on older Windows platforms (#24681) 2024-12-19 10:10:17 -08:00
dependabot[bot] 0e62b7ae67 Bump super-linter/super-linter from 7.2.0 to 7.2.1 (#24678) 2024-12-16 15:52:25 -08:00
Justin ChungandJustin Chung 8217fe43d9 added justin chung as powershel team memeber on releaseTools.psm1 (#24672)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2024-12-13 13:20:37 -06:00
Brendan Burns 90b0149805 Fix a bug in how Write-Host handles XmlNode object (#24669) 2024-12-13 10:24:02 -08:00
dependabot[bot] a2ac229f8d Bump github/codeql-action from 3.27.7 to 3.27.9 (#24674) 2024-12-13 10:18:20 -08:00
Ryan Yates d4a789af85 Update cmdlets WG members (#24275) 2024-12-12 14:06:21 -08:00
dependabot[bot] 2398d28284 Bump super-linter/super-linter from 7.1.0 to 7.2.0 (#24604) 2024-12-12 13:27:37 -08:00
dependabot[bot] 0d0a4602f6 Bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#24607) 2024-12-12 13:27:18 -08:00
dependabot[bot] 88fdadf399 Bump github/codeql-action from 3.27.6 to 3.27.7 (#24659) 2024-12-12 13:26:28 -08:00
Justin ChungandJustin Chung da6384ca36 updated tpn (#24666)
Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2024-12-12 11:55:53 -08:00
b4b283b819 Deploy Box Update (#24632)
* reverted one time changes

* added ob_outputDirectory

* added mscode variable group

* forgot to move psm1 to ToolArtifact folder

* added pipeline name and passing toolartifact through context

* added tools

* PSPackagesOfficial

* removed tools clone

* added uploading CL

* verbose statements for release tag and release version

* trying to regerence variable with step name

* checking REPOROOT

* removed get child item

* Deploy box update

* nuget template context pipeline name correction

* changed other instances of releasetag

* added -Verbose to Copy-Item

* checkout task, instead of git clone

* changed to Build.SourcesDirectory

* removed path specification

* removed path

* added tsa and credscan

* not copying tools to artifacts

* official and production

---------

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-12-12 10:41:00 -08:00
MartinGC94 e489cec604 Remove Regex use 2024-12-12 11:17:44 -05:00
MartinGC94 1452374fbf Improve cim ETS member inference completion 2024-12-12 11:17:44 -05:00
Jordan Borean 7cc8a9ad32 Emit ProgressRecord in CLIXML minishell output
Instead of never emitting a ProgressRecord if stdout is redirected, continue to emit the CLIXML serialized record when pwsh was started with -OutputFormat xml regardless of redirection. This allows calling processes to receive the progress record from the spawned process when it captures the output.
2024-12-11 20:22:43 -05:00
Patrick Meinecke 36740ab4a2 Assign the value returned by the MaybeAdd method 2024-12-11 15:31:04 -05:00
Jordan Borean 294adb47f1 Add support for interface static abstract props
Add support for writing a PowerShell class that can implement an
interface that contains a static abstract property introduced in C# 11.
2024-12-10 14:02:11 -05:00
Jordan Borean 06e2093e8c Change call to optional add in the binder expression 2024-12-09 14:35:05 -05:00
Jordan Borean 89921dd500 Turn off AMSI member invocation on nix release builds
Turn off the AMSI member invocation logging for non-Windows release
builds. This is slightly more efficient as there's no extra work to
create the AMSI string.
2024-12-09 14:35:05 -05:00
dependabot[bot] 75961d5afb Bump github/codeql-action from 3.27.0 to 3.27.6 (#24639)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.0 to 3.27.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/662472033e021d55d94146f66f6058822b0b39fd...aa578102511db1f4524ed59b8cc2bae4f6e88195)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 10:19:54 -08:00
Jordan Borean 1e07bd0cb5 Add error for Get-PSSession -ComputerName on Unix (#21009) 2024-12-05 16:26:57 +05:00
Jordan BoreanandIlya 8aea111930 Update src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs
Co-authored-by: Ilya <darpa@yandex.ru>
2024-12-04 11:13:47 -05:00
Jordan BoreanandIlya ad8d13b2ac Apply suggestions from code review
Co-authored-by: Ilya <darpa@yandex.ru>
2024-12-04 11:13:47 -05:00
Jordan Borean 82341b0e3b Add remote runspace check for PushRunspace
Add explicit exception when attempting to call PushRunspace on a
runspace that is not remote. Instead of failing with a hard to
understand NullReferenceException an ArgumentException is raised with
information about what went wrong.
2024-12-04 11:13:47 -05:00
Matej Kafka b18eacaa83 Resolve symbolic link target relative to the symbolic link instead of the working directory (#15235) (#20943) 2024-12-03 15:00:00 -08:00
xtqqczze c24e8e4402 Set LangVersion compiler option to 13.0 (#24619) 2024-11-26 21:25:50 +05:00
Jordan Borean 22beba4a47 Fix up buffer management getting network roots (#24600)
Fixes the logic used when getting the PSDrive DisplayRoot for network PSDrive paths to exclude null terminators.
2024-11-26 11:59:34 +05:00
xtqqczze 060cbe3412 Set LangVersion compiler option to 13.0 (#24617) 2024-11-26 08:44:05 +05:00
Sean Wheeler a2b2d7e704 Update HelpInfoUri for 7.5 (#24610) 2024-11-22 09:58:44 -08:00
Aditya Patwardhan 7ca7aae1d1 Update metadata.json for PowerShell 7.5 RC1 release (#24589) 2024-11-15 16:15:00 -08:00
Aditya Patwardhan 5dbc3d564d Update nuget publish to use Deploy Box (#24596) 2024-11-15 15:44:12 -08:00
Justin Chung cc02e3119c Added Deploy Box Product Pathway to GitHub Release and NuGet Release Pipelines (#24583) 2024-11-15 15:14:44 -08:00
Aditya Patwardhan 435bd05d16 Update machine pool for copy blob and upload buildinfo stage (#24587) 2024-11-14 14:08:14 -08:00
PowerShell Team Bot c2f1ff00ae Bump .NET 9 and dependencies (#24573) 2024-11-12 15:57:38 -08:00
Jordan Borean ba238808fb Support PSObject wrapped values in ArgumentToEncodingTransformationAttribute (#24555) 2024-11-12 08:41:22 +05:00
dependabot[bot] 31b70ecd9f Bump actions/dependency-review-action from 4.3.4 to 4.4.0 (#24503)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/5a2ce3f5b92ee19cbb1541a4984c76d921601d7c...4081bf99e2866ebe428fc0477b69eb4fcda7220a)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 09:38:41 -08:00
dependabot[bot] 1061a2e9bc Bump actions/checkout from 4.2.1 to 4.2.2 (#24488)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871...11bd71901bbe5b1630ceea73d27597364c9af683)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 09:38:07 -08:00
dependabot[bot] 59fe1c8eb2 Bump agrc/reminder-action from 1.0.14 to 1.0.15 (#24384)
Bumps [agrc/reminder-action](https://github.com/agrc/reminder-action) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/agrc/reminder-action/releases)
- [Changelog](https://github.com/agrc/reminder-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/agrc/reminder-action/compare/b5cc06580b6a711baddf6a947131f85a422fa263...45201302ec0071cce809a483111bda4cdc7d10f2)

---
updated-dependencies:
- dependency-name: agrc/reminder-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 09:37:41 -08:00
dependabot[bot] ecae5077a3 Bump actions/upload-artifact from 4.4.0 to 4.4.3 (#24410)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/50769540e7f4bd5e21e526ee35c689e35e0d6874...b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 09:36:14 -08:00
dependabot[bot] a4552be9e3 Bump github/codeql-action from 3.26.10 to 3.27.0 (#24483)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/e2b3eafc8d227b0241d48be5f425d47c2d750a13...662472033e021d55d94146f66f6058822b0b39fd)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 09:32:16 -08:00
PowerShell Team BotandTravis Plunk 7db6a70b56 [master] Update branch for release (#24534)
* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-10-31 15:15:28 -07:00
Aditya Patwardhan 4b40e5f60e Revert "Update package references (#24414)" (#24532)
This reverts commit 01ae632636.
2024-10-31 13:29:49 -07:00
Travis Plunk adac4c7117 Add a way to use only NuGet feed sources (#24528)
* Update build.psm1

* update default feeds

* fix issue with cgmanifest having duplicate existing entries

* update pattern
2024-10-31 20:13:04 +00:00
Patrick Meinecke 3f51dfa603 Update changelog for v7.4.6 release (#24496) 2024-10-31 09:19:52 -07:00
alericksonandAditya Patwardhan c2dd2c0202 Update PSResourceGet to v1.1.0-RC2 (#24512)
* Update PSResourceGet to v1.1.0-RC2

* Fix windows packaging

* Update windows bom

* Update version string to be lowercase

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2024-10-31 07:27:47 +00:00
Aditya Patwardhan fac134832c Bump .NET to 9.0.100-rc.2.24474.11 (#24509) 2024-10-30 18:21:09 -07:00
Aditya Patwardhan 38c2258954 Fix seed max value for Container Linux CI (#24510) 2024-10-30 17:16:30 -07:00
Aditya Patwardhan 2f4f585e7f Update metadata.json for 7.2.24 and 7.4.6 releases (#24484) 2024-10-23 22:20:17 +00:00