Steve Lee
5efd627e91
Expand ~ to $home on Windows with tab completion ( #21529 )
2024-04-24 16:03:11 -07:00
Steve Lee and 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
StepSecurity Bot and Travis Plunk
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
MartinGC94
a8457f8631
Don't complete parameter name and class member declarations ( #21182 )
2024-04-15 15:52:37 -07:00
Justin Grote
7ad43292a8
Add RecommendedAction to ConciseView of the error reporting ( #20826 )
2024-04-15 10:35:23 -07: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
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
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
4e357f129e
Fix PowerShell class to support deriving from an abstract class with abstract properties ( #21331 )
2024-03-13 14:44:57 -07: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
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
Aditya Patwardhan
8921a7dcad
Skip test on Windows Server 2012 R2 for no-nl ( #21265 )
2024-02-22 16:26:30 -08:00
Aditya Patwardhan
a145f47787
Bump to .NET 9 Preview 1 ( #21229 )
2024-02-16 03:15:11 +00:00
Jordan Borean
71035543e7
ConvertFrom-Json: Add -DateKind parameter ( #20925 )
...
Adds the -DateKind parameter to the ConvertFrom-Json that allows the
caller to control how DateTime strings are converted into an object. The
default behaviour is to create a DateTime value with the Kind being
Unspecified if no TZ is set, Utc if the TZ Z is set, Local (after
conversion) if an explicit TZ is set. This adds a Utc, Local to
explicitly set the Kind as desired as well as a Offset and String value
to create a DateTimeOffset or keep as a string.
2024-02-13 09:05:07 +05:00
dependabot[bot]
8dfe19e577
Bump XunitXml.TestLogger from 3.1.17 to 3.1.20 ( #21207 )
2024-02-12 12:02:46 -08:00
Dom Slee
c56a52b8c0
Add tilde expansion for windows native executables ( #20402 )
2024-02-12 09:58:27 -08:00
James Truher [MSFT]
0919240822
Rewrite the mac syslog tests to make them less flaky ( #21174 )
2024-02-07 13:09:41 -08:00
James Truher [MSFT]
e9682c151d
Fix using assembly to use Path.Combine when constructing assembly paths ( #21169 )
2024-02-01 09:49:20 -08:00
Dongbo Wang
783fb46e65
Validate the value for using namespace during semantic checks to prevent declaring invalid namespaces ( #21162 )
2024-02-01 09:42:37 -08:00
Jordan Borean
4f02a89906
Fix Get-Error serialization of array values ( #21085 )
...
Ensure Get-Error does not hang when attempting to serialize an exception
that contains a property whose type is an array of System.Type
instances. Also ensures that primitive types like System.Int32,
System.Boolean as well as System.String is formatted as a string rather
than an object with properties.
2024-01-24 08:41:18 +05:00
dependabot[bot]
023b1f565c
Bump xunit from 2.6.5 to 2.6.6 ( #21071 )
2024-01-16 12:39:24 -08:00
CarloToso
68204ae14f
Fix regression -Tail 0 -Wait ( #20734 )
2024-01-11 11:49:31 +05:00
Dongbo Wang
ac559185d0
Add Aliases to the properties shown up when formatting the help content of the parameter returned by Get-Help ( #20994 )
2024-01-09 11:21:31 -08:00
dependabot[bot]
c95557096a
Bump xunit from 2.6.4 to 2.6.5 ( #21008 )
2024-01-08 15:56:33 -08:00
Chris Dent
5282c9bb91
Add Import-LocalizedData implicit Localization fallback ( #19896 )
...
* Adds culture fallback to Import-LocalizedData
* Only add fallback if current culture is not en-US
* Pester 4 compatibility
* Missing param block in It
* Missed param block for It
* Skip UICulture name test for Linux and Mac
* Removed test fragment
2024-01-04 13:42:41 -05:00
dependabot[bot]
4200af1328
Bump xunit.runner.visualstudio from 2.5.5 to 2.5.6 ( #20966 )
...
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit ) from 2.5.5 to 2.5.6.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases )
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.5...2.5.6 )
---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
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-01-02 11:31:11 +05:00
dependabot[bot]
57b1c741b8
Bump xunit from 2.6.3 to 2.6.4 ( #20967 )
...
Bumps [xunit](https://github.com/xunit/xunit ) from 2.6.3 to 2.6.4.
- [Commits](https://github.com/xunit/xunit/compare/2.6.3...2.6.4 )
---
updated-dependencies:
- dependency-name: xunit
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-01-02 11:30:39 +05:00
dxk3355
71ae6070c2
Test-FileCatalog changes to use File.OpenRead to better handle when the file is executing or open Fix #20703 ( #20939 )
2023-12-21 22:28:36 +05:00
Armaan Mcleod
1b98bb0815
Added -Module completion for Save-Help/Update-Help commands ( #20678 )
2023-12-21 13:06:17 +05:00
Armaan Mcleod
103c945c32
Fix -OlderThan/-NewerThan parameters for Test-Path when using PathType and date range ( #20942 )
2023-12-20 22:32:57 +05:00
Armaan Mcleod
2ad03151f8
Add -Verb argument completer for Start-Process ( #20415 )
2023-12-19 21:18:04 +05:00
Armaan Mcleod
9383f554a2
Add -Scope argument completer for *-Variable, *-Alias & *-PSDrive commands ( #20451 )
2023-12-19 14:12:33 +05:00
Armaan Mcleod
0e18be6659
Add -Verb argument completer for Get-Verb/ Get-Command and refactor Get-Verb ( #20286 )
2023-12-16 21:34:51 +05:00
dependabot[bot]
d47df6024e
Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 ( #20660 )
2023-12-11 14:15:52 -08:00
Dongbo Wang
0adffa1470
Bump xUnit to 2.6.3 and disable the xUnit1031 warning ( #20899 )
2023-12-11 14:14:39 -08:00
dependabot[bot]
e4011d025c
Bump xunit.runner.visualstudio from 2.5.4 to 2.5.5 ( #20889 )
2023-12-11 12:59:00 -08:00
Chaz Beck
3eda139723
Fix Start-Process -PassThru to make sure the ExitCode property is accessible for the returned Process object ( #20749 )
2023-12-07 19:11:28 +00:00
dependabot[bot]
9489629f76
Bump xunit.runner.visualstudio from 2.5.3 to 2.5.4 ( #20729 )
2023-12-06 11:12:54 -08:00
Dongbo Wang
fb1f8e1d43
Bump .NET SDK to 8.0.0 RTM build and move the current preview changelog to 7.4.md ( #20850 )
2023-12-05 13:22:56 -08:00
Matthias Wolf
ac84c35820
Fix regression in #20608 . ( #20745 )
2023-11-30 10:13:06 +05:00
Steve Lee
14245e0405
Fix rendering of DisplayRoot for network PSDrive ( #20793 )
2023-11-29 14:08:11 +05:00
Aditya Patwardhan
094e22e97d
Update README and metadata.json for upcoming releases ( #20696 )
2023-11-16 10:04:58 -08:00
Anam Navied
9ff866d908
Update PSResourceGet version for 1.0.1 release ( #20652 )
2023-11-09 11:01:11 -08:00