Commit Graph

10567 Commits

Author SHA1 Message Date
Steve Lee
4bcc3f41c0
Fix [semver] type to pass semver.org tests (#21401)
* Fix `[semver]` type to pass semver.org tests

* fix test to split per OS specific newline

* replace all regex with semver.org ones adding new one for build label, update tests

---------

Co-authored-by: Steve Lee (POWERSHELL HE/HIM) (from Dev Box) <slee@ntdev.microsoft.com>
2024-04-22 16:32:22 -04:00
Travis Plunk
b968e101b9
Add a PAT for fetching PMC cli (#21503)
* Use new pat

* remove trailing whitespaces
2024-04-18 16:28:53 -04:00
dependabot[bot]
870e0eed2a
Bump actions/dependency-review-action from 2.5.1 to 4.2.5 (#21484)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2.5.1 to 4.2.5.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](0efb1d1d84...5bbc3ba658)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 17:04:07 +00:00
dependabot[bot]
401b1eb236
Bump actions/checkout from 3.6.0 to 4.1.2 (#21482)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.1.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/v3.6.0...9bb56186c3b09b4f86b1c65136769dd318469633)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 10:01:31 -07:00
dependabot[bot]
6e05e2721d
Bump github/codeql-action from 2.25.0 to 3.25.1 (#21498)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.25.0 to 3.25.1.
- [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/v2.25.0...c7f9125735019aa87cfc361530512d50ea439c71)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 09:58:17 -07:00
dependabot[bot]
0f0b3a68da
Bump actions/upload-artifact from 3.1.3 to 4.3.2 (#21501)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](a8a3f3ad30...1746f4ab65)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 09:55:18 -07:00
dependabot[bot]
7c6d0313b6
Bump ossf/scorecard-action from 2.0.6 to 2.3.1 (#21485)
* Bump ossf/scorecard-action from 2.0.6 to 2.3.1

Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.6 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](99c53751e0...0864cf1902)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Update windows.yml

* Update linux.yml

* Update windows.yml

* Update mac.yml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-04-18 09:50:08 -07:00
StepSecurity Bot
c19b65133c
[StepSecurity] Apply security best practices (#21480)
* [StepSecurity] Apply security best practices

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>

* Update dependabot.yml

* Delete tools/releaseBuild/Images/microsoft_powershell_centos7 directory

* Delete tools/releaseBuild/Images/microsoft_powershell_ubuntu16.04 directory

* Delete tools/releaseBuild/Images/microsoft_powershell_ubuntu18.04 directory

* Delete tools/releaseBuild/Images/microsoft_powershell_windowsservercore/Dockerfile

---------

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-04-16 21:58:26 +00:00
Friedrich von Never
d370d7d586
Update the doc about how to build PowerShell (#21334) 2024-04-15 16:24:34 -07:00
MartinGC94
a8457f8631
Don't complete parameter name and class member declarations (#21182) 2024-04-15 15:52:37 -07:00
dependabot[bot]
5edab1c10a
Bump Microsoft.CodeAnalysis.Analyzers (#21449) 2024-04-15 10:48:28 -07:00
Ryan Yates
7a44d095d6
Update Engine & Interactive-UX Working Group Member lists (#20991) 2024-04-15 10:40:52 -07:00
Justin Grote
7ad43292a8
Add RecommendedAction to ConciseView of the error reporting (#20826) 2024-04-15 10:35:23 -07:00
Jordan Borean
588dff61a1
Fix the error when using Start-Process -Credential without the admin privilege (#21393) 2024-04-15 10:34:52 -07:00
Patrick Meinecke
6e99fd4c9d
Update CHANGELOG for v7.2.19, v7.3.12 and v7.4.2 (#21462) 2024-04-15 10:14:50 -07:00
Roshan Ganesh
14ad05d496
Fix grammar in FAQ.md (#21468)
Fix grammar in docs FAQ
2024-04-15 17:28:47 +05:00
Patrick Meinecke
d307df6142
Update metadata.json and README.md (#21454) 2024-04-12 13:48:26 -04:00
James Truher [MSFT]
d51f35e221
fix package build to not check some files for a signature. (#21458) 2024-04-11 23:46:51 +00:00
alerickson
9fe339bb3c
Update PSResourceGet version from 1.0.2 to 1.0.4.1 (#21439) 2024-04-05 15:38:59 -07:00
Aditya Patwardhan
b7c2f2d2a9
Verify environment variable for OneBranch before we try to copy (#21441) 2024-04-05 12:55:14 -07:00
Dongbo Wang
1a52a93345
Add back two transitive dependency packages (#21415) 2024-04-04 11:41:00 -07:00
Aditya Patwardhan
94d623169a
Multiple fixes in official build pipeline (#21408) 2024-04-03 15:06:04 -07:00
Dongbo Wang
dafe0a803c
Update PSReadLine to v2.3.5 for the next v7.4.x servicing release (#21414) 2024-04-03 13:57:07 -07:00
Ikko Eltociear Ashimine
9187ece875
Fix typo in SessionStateCmdletAPIs.cs (#21413)
hte -> the
2024-04-03 21:51:40 +05:00
Steve Lee
371ceff3b5
Fix Test-Path -IsValid to check for invalid path and filename characters (#21358) 2024-04-02 09:42:40 -07:00
guangwu
b23607ef8c
Fix typo in a test (#21337)
connectiong -> connecting
2024-03-29 08:51:37 +05:00
Aditya Patwardhan
61aeb56ab7
Fix build failure due to missing reference in GlobalToolShim.cs (#21388) 2024-03-28 10:07:40 -07:00
Friedrich von Never
ff3c847898
Fix argument passing in GlobalToolShim (#21333) 2024-03-26 13:58:57 -07:00
Aditya Patwardhan
6253933501
PowerShell co-ordinated build OneBranch pipeline (#21364) 2024-03-26 11:27:33 -07:00
Steve Lee
97e32829bb
Add file description to pwsh.exe (#21352) 2024-03-26 21:54:05 +05:00
Dongbo Wang
171d9dfa71
Revert the PR #17856 (Do not preserve temporary results when no need to do so) (#21368) 2024-03-25 14:09:11 -07:00
Dongbo Wang
ad7278bbff
Make sure the assembly/library resolvers are registered at early stage (#21361) 2024-03-21 16:25:12 -07:00
Ikko Eltociear Ashimine
a332481d7e
Fix typo in ast.cs (#21350)
statment -> statement
2024-03-21 08:20:15 +05:00
Patrick Meinecke
4faf52726d
Make sure both stdout and stderr can be redirected from a native executable (#20997) 2024-03-14 11:42:30 -07:00
Dongbo Wang
d67a82d833
Handle the case that Runspace.DefaultRunspace is null when logging for WDAC Audit (#21344) 2024-03-14 11:39:25 -07:00
Dongbo Wang
4e357f129e
Fix PowerShell class to support deriving from an abstract class with abstract properties (#21331) 2024-03-13 14:44:57 -07:00
Ikko Eltociear Ashimine
ad2bf787e4
Fix a typo in releaseTools.psm1 (#21306) 2024-03-05 10:40:43 -08:00
dependabot[bot]
bc07fc1395
Bump Microsoft.CodeAnalysis.Analyzers (#21305) 2024-03-05 10:13:07 -08:00
Jordan Borean
4e2682920a
Get-Process: Remove admin requirement for -IncludeUserName (#21302) 2024-03-04 21:48:19 -08:00
MartinGC94
aa97c515c8
Fall back to type inference when hashtable key value cannot be retrieved from safe expression (#21184) 2024-03-04 15:55:23 -08:00
Patrick Meinecke
1dc2ebe5bc
Fix error formatting for pipeline enumeration exceptions (#20211) 2024-03-04 12:58:06 -08:00
dependabot[bot]
6f0c9a58aa
Bump Microsoft.CodeAnalysis.CSharp from 4.9.0-3.final to 4.9.2 (#21298) 2024-03-04 12:47:43 -08:00
dependabot[bot]
5e9a3b9eeb
Bump Microsoft.CodeAnalysis.Analyzers (#21297) 2024-03-04 12:00:25 -08:00
xtqqczze
0e106faafe
Enable CA1868: Unnecessary call to 'Contains' for sets (#21165)
https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1868
2024-02-29 22:56:22 +05:00
xtqqczze
f8ca532dd7
Suppress MacOS package manager output (#21244) 2024-02-27 15:13:40 -08:00
xtqqczze
c3594c5969
Remove JetBrains.Annotations attributes (#21246) 2024-02-27 15:12:46 -08:00
Jordan Borean
fcf4953c3b
ConvertTo-Json: Serialize BigInteger as a number (#21000) 2024-02-27 14:52:58 -08:00
MartinGC94
338d1dcfa1
Fix the regression when doing type inference for $_ (#21223) 2024-02-26 15:11:19 -08:00
Steve Lee
05ed2f270c
Revert "Adjust PUT method behavior to POST one for default content type in WebCmdlets" (#21049) 2024-02-26 11:51:12 -08:00
Steve Lee
a880377d8a
Fix a regression in Format-Table when header label is empty (#21156) 2024-02-26 11:44:30 -08:00