Commit Graph
748 Commits
Author SHA1 Message Date
m1k0net 0067decae8 Fix Sort-Object -Stable -Unique to actually do stable sorting (#17189) 2022-04-26 16:58:37 -07:00
Aditya Patwardhan 9fc0e80fb7 Update dotnetmetadata.json to accept .NET 7 preview 3 builds (#17063) 2022-03-25 16:15:16 -07:00
MartinGC94 5e6e7ca449 Add OutputType attribute to various commands (#16962) 2022-03-24 15:54:08 -07:00
Aleksandr Chebotov 9c44c1c8c5 Fix typos in names of method (#17003) 2022-03-18 14:01:16 -07:00
Aditya Patwardhan 1268a0a04f Update .NET to 7.0.0-preview.2 build (#16930) 2022-03-18 09:10:53 -07:00
dependabot[bot]andTravis Plunk fbae40df83 Bump NJsonSchema from 10.5.2 to 10.6.9 (#16888)
* Bump NJsonSchema from 10.5.2 to 10.6.9

Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.5.2 to 10.6.9.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](https://github.com/RicoSuter/NJsonSchema/compare/v10.5.2...v10.6.9)

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Update cgmanifest.json

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2022-02-16 11:01:54 -08:00
Aditya Patwardhan 77caf718cd Update projects and scripts to use .NET 7 preview 1 pre-release builds (#16856)
* Update script to consume .NET 7 builds

* Update target framework

* Add dotnet metadata override value

* Update dependencies

* Update analyzer

* Conditionally add output argument

* Update files.wxs

* Fix tests

* Update Microsoft.PowerShell.Native to 7.3.0-preview.1

* Disable psget tests

* Update to latest build for .NET 7 preview 1

* Disable ready to run

* Update version of `Microsoft.AspNetCore.Mvc.NewtonsoftJson` package

* Update cgmanifest and startup test
2022-02-16 09:56:41 -08:00
Ilya 9f722ef950 Use more efficient platform detection API (#16760)
* Use more efficient platform detection API

Use static and const new OperatingSystem class API to avoid string comparisons and extra allocations.

* Remove unused variable
2022-01-27 08:53:52 -08:00
Mathias R. Jessen 686c84cccc Add new parameter to Start-Sleep: [-Duration] <timespan> (#16185) 2022-01-13 17:39:54 -08:00
KiwiThePoodle 83a809b1f0 Make Measure-Object ignore missing properties unless running in strict mode (#16589) 2022-01-13 09:33:43 -08:00
Steve Lee 7a2b44523b Fix web cmdlets so that an empty Get does not include a content-length header (#16587) 2022-01-03 11:20:33 -08:00
dependabot[bot]andTravis Plunk 7dc4587014 Bump Microsoft.CodeAnalysis.CSharp from 4.0.0-6.final to 4.0.1 (#16423)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2021-11-11 11:58:58 -08:00
Maksim Ivanyuk 674ef888a2 Add -HttpVersion parameter to web cmdlets (#15853) 2021-11-02 16:53:36 -07:00
Austin Farmer 107fd7ab1f Add support to web cmdlets for open-ended input tags (#16193) 2021-11-02 09:39:28 -07:00
Kev Ritchie 01426b2763 Fix ConvertTo-Json -Depth to allow 100 at maximum (#16197) 2021-10-28 11:56:55 -07:00
Aditya Patwardhan 52b6d89407 Update to latest .NET 6 GA build 6.0.100-rtm.21527.11 (#16309) 2021-10-28 11:40:52 -07:00
Travis Plunk 14ea042cec Revert "Update to use .NET 6 GA build (#16296)" (#16308)
This reverts commit 6302f4815a.
2021-10-26 15:57:59 -07:00
Aditya Patwardhan 6302f4815a Update to use .NET 6 GA build (#16296) 2021-10-22 23:12:00 +00:00
Aditya Patwardhan 66508053f5 Update version of Microsoft.PowerShell.Native and Microsoft.PowerShell.MarkdownRender packages (#16277) 2021-10-19 17:31:57 -07:00
Aditya Patwardhan 45b80a555a Update .NET 6 to version 6.0.100-rc.2.21505.57 (#16249) 2021-10-15 13:51:26 -07:00
Travis Plunk 3893c4d55b Disallow Add-Type in NoLanguage mode on a locked down machine (#16245) 2021-10-14 14:53:41 -07:00
Dongbo Wang a32700a1c1 Add clean block to script block as a peer to begin, process, and end to allow easy resource cleanup (#15177) 2021-10-11 14:49:09 -07:00
Aditya Patwardhan c4c312cc31 Update Microsoft.CodeAnalysis.CSharp version (#16138) 2021-09-23 07:04:14 -07:00
Aditya Patwardhan 55ccbb6803 Update .NET to 6.0.100-rc.1.21458.32 (#16066) 2021-09-13 16:45:10 -07:00
dependabot[bot] d3d8897619 Bump Microsoft.CodeAnalysis.CSharp from 4.0.0-3.final to 4.0.0-4.21430.4 (#16036) 2021-09-02 09:59:58 -07:00
Aditya Patwardhan 7fc60d1d5f Bump .NET to 6.0.100-rc.1.21430.44 (#16028) 2021-09-01 10:35:27 -07:00
xtqqczze fa50e4dcae Use bool?.GetValueOrDefault() in FormatWideCommand (#15988) 2021-08-30 08:51:07 -07:00
Steven Liekens 02b532fb1d Fix link header parsing to handle unquoted rel types (#15973) 2021-08-26 15:11:15 -07:00
github-actions[bot] d33b223674 Update .NET SDK version from 6.0.100-preview.6.21355.2 to 6.0.100-rc.1.21426.1 (#15648) 2021-08-26 13:07:43 -07:00
arfy slowy 55855fbe5d Fix spelling in XML docs (#15939) 2021-08-17 09:01:04 +05:00
Dongbo Wang 05e64135d2 Don't use ArgumentList when creating COM object as it's not applicable to the COM parameter set (#15915) 2021-08-14 07:32:51 -07:00
Paul Higinbotham 1ec61d955c Remove implicit remoting batch experimental feature (#15863)
It was decided by committee (#15862) to remove this experimental feature. It was an interesting idea but the implementation did not cover important cases, and could not be updated easily to do so.
2021-08-13 08:34:31 +05:00
Steve Lee cced56d75a Make PS-Committee reviewed experimental features stable (#15864) 2021-08-09 14:01:57 -07:00
dependabot[bot] 0a342601c8 Bump NJsonSchema from 10.5.1 to 10.5.2 (#15891)
Bumps NJsonSchema from 10.5.1 to 10.5.2.

---
updated-dependencies:
- dependency-name: NJsonSchema
  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>
2021-08-09 17:37:37 +05:00
dependabot[bot] a4181ab57e Bump NJsonSchema from 10.5.0 to 10.5.1 (#15883)
Bumps NJsonSchema from 10.5.0 to 10.5.1.

---
updated-dependencies:
- dependency-name: NJsonSchema
  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>
2021-08-06 13:09:51 +05:00
dependabot[bot] 61af30f3b1 Bump NJsonSchema from 10.4.6 to 10.5.0 (#15874)
Bumps NJsonSchema from 10.4.6 to 10.5.0.

---
updated-dependencies:
- dependency-name: NJsonSchema
  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>
2021-08-05 13:55:13 +05:00
Ilya aaaa0f2baa Thread-safe HttpKnownHeaderNames initialization (#15519) 2021-08-04 15:00:26 -07:00
3e86f9b287 ConvertTo-Csv: Quote fields with quotes and newlines when using -UseQuotes AsNeeded (#15765)
Co-authored-by: Ilya <darpa@yandex.ru>
Co-authored-by: lselden <luke.selden@vbrick.com>
2021-08-04 14:47:57 -07:00
dependabot[bot] 1a55208590 Bump NJsonSchema from 10.4.5 to 10.4.6 (#15822)
Bumps NJsonSchema from 10.4.5 to 10.4.6.

---
updated-dependencies:
- dependency-name: NJsonSchema
  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>
2021-07-30 21:18:45 +05:00
xtqqczze 0f2f23f67a Enable IDE0049 PreferBuiltInOrFrameworkType (#14491) 2021-07-28 12:39:14 -07:00
Peter Schneider de5dc63379 Encoding Parameter for Tee-Object (#12135) 2021-07-22 09:26:07 +05:00
Joel Sallow (/u/ta11ow) efa9b25193 ConvertTo-Csv / Export-Csv - Serialize IDictionary objects with key/value pairs as properties (#11029) 2021-07-22 04:05:17 +00:00
Thomas Nieto 05943c6c48 Add position 0 to Write-Error parameters (#13813) 2021-07-21 18:05:06 -07:00
xtqqczze 9ceed485af Implement IDisposable for ConvertToJsonCommand (#15787) 2021-07-20 13:26:28 -07:00
Aditya Patwardhan 31a4528302 Update to .NET 6 Preview 6 and use crossgen2 (#15763) 2021-07-19 16:06:39 -07:00
xtqqczze 883ca98dd7 Seal private classes (#15725)
* Seal private classes

* Fix CS0509

* Fix CS0628
2021-07-19 14:09:12 +05:00
dependabot[bot] b7d6ef2e50 Bump NJsonSchema from 10.4.4 to 10.4.5 (#15769) 2021-07-14 11:13:10 -07:00
Steve Lee adc236c598 Don't serialize to json ETS properties for DateTime and string types (#15665) 2021-07-12 10:56:33 -07:00
Konstantin Gukov 8dcd5a2e1c Use nameof to get parameter names when creating ArgumentNullException (#15604) 2021-07-05 22:04:13 -07:00
xtqqczze b77bbf8640 Enable CA1812 (#15674)
[CA1812: Avoid uninstantiated internal classes](https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
2021-06-27 20:16:17 +05:00