Skip to content

Commit 769d8f5

Browse files
authored
Merge branch 'PowerShell:main' into main
2 parents 7f7f5c5 + 1a988a9 commit 769d8f5

File tree

67 files changed

+1641
-1940
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1641
-1940
lines changed

.git-blame-ignore-revs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Enable this file in your git config: git config blame.ignoreRevsFile .git-blame-ignore-revs
2+
# Enabled on GitHub automatically
3+
4+
# Close Over APIs, was mostly reformatting
5+
945d61634784db2e51f894c9606e785a099fd23d
6+
# Dotnet Format Style
7+
44387b36695607248cebb9467ad48061c19354cb
8+
# Formatting Fixup
9+
7233182585b63760992545c7407b17fb2965bc5c

.github/workflows/ci-test.yml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ on:
55
branches: [ main ]
66
pull_request:
77
branches: [ main ]
8-
merge_group:
9-
types: [ checks_requested ]
10-
schedule:
11-
# 6am UTC which should be after a new daily build posts
12-
- cron: "0 6 * * *"
138

149
jobs:
1510
ci:
@@ -30,36 +25,33 @@ jobs:
3025
with:
3126
cache: true
3227
cache-dependency-path: '**/*.csproj'
33-
dotnet-version: 6.0.x
34-
global-json-file: "./global.json"
28+
global-json-file: ./global.json
3529

3630
- name: Install PSResources
3731
shell: pwsh
3832
run: ./tools/installPSResources.ps1
3933

40-
- name: Download daily install script
41-
if: ${{ github.event_name == 'schedule' || github.event_name == 'merge_group' }}
34+
- name: Download PowerShell install script
4235
uses: actions/checkout@v4
4336
with:
4437
repository: PowerShell/PowerShell
4538
path: pwsh
4639
sparse-checkout: tools/install-powershell.ps1
4740
sparse-checkout-cone-mode: false
4841

49-
- name: Install daily
50-
if: ${{ github.event_name == 'schedule' || github.event_name == 'merge_group' }}
51-
continue-on-error: true
42+
- name: Install preview
5243
shell: pwsh
53-
run: ./pwsh/tools/install-powershell.ps1 -Daily
44+
run: ./pwsh/tools/install-powershell.ps1 -Preview -Destination ./preview
5445

55-
- name: Build and test
56-
shell: pwsh
57-
run: Invoke-Build -Configuration Release ${{ github.event_name == 'merge_group' && 'TestFull' || 'Test' }}
46+
- name: If debugging, start upterm for interactive pipeline troubleshooting
47+
if: ${{ runner.debug == 1 }}
48+
uses: lhotari/action-upterm@v1
49+
with:
50+
wait-timeout-minutes: 1
5851

59-
- name: Test daily
60-
if: ${{ github.event_name == 'schedule' }}
52+
- name: Build and test
6153
shell: pwsh
62-
run: Invoke-Build -Configuration Release TestE2EDaily
54+
run: Invoke-Build -Configuration Release TestFull
6355

6456
- name: Upload build artifacts
6557
if: always()

.pipelines/PowerShellEditorServices-Official.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ extends:
8888
inputs:
8989
packageType: runtime
9090
version: 6.x
91-
- pwsh: |
92-
Register-PSRepository -Name CFS -SourceLocation "https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/nuget/v2" -InstallationPolicy Trusted
93-
Install-Module -Repository CFS -Name Microsoft.PowerShell.PSResourceGet
94-
./tools/installPSResources.ps1 -PSRepository CFS
91+
- pwsh: ./tools/installPSResources.ps1 -PSRepository CFS
9592
displayName: Install PSResources
9693
- pwsh: Invoke-Build TestFull -Configuration $(BuildConfiguration) -PSRepository CFS
9794
displayName: Build and test
@@ -132,7 +129,6 @@ extends:
132129
**/Nerdbank.Streams.dll;
133130
**/Newtonsoft.Json.dll;
134131
**/OmniSharp.Extensions*.dll;
135-
**/Serilog*.dll;
136132
**/System.Reactive.dll;
137133
- task: ArchiveFiles@2
138134
displayName: Zip signed artifacts

ADOPTERS.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# PowerShell Editor Services Release History
22

3+
## v4.3.0
4+
### Tuesday, March 18, 2025
5+
6+
See more details at the GitHub Release for [v4.3.0](https://github.com/PowerShell/PowerShellEditorServices/releases/tag/v4.3.0).
7+
8+
New packages!
9+
10+
## v4.2.0
11+
### Thursday, January 16, 2025
12+
13+
See more details at the GitHub Release for [v4.2.0](https://github.com/PowerShell/PowerShellEditorServices/releases/tag/v4.2.0).
14+
15+
Support PSScriptAnalyzer config in multi-root workspaces
16+
17+
## v4.1.0
18+
### Wednesday, December 04, 2024
19+
20+
See more details at the GitHub Release for [v4.1.0](https://github.com/PowerShell/PowerShellEditorServices/releases/tag/v4.1.0).
21+
22+
Debugger optimizations and incremental build support!
23+
24+
## v4.0.0
25+
### Monday, November 18, 2024
26+
27+
See more details at the GitHub Release for [v4.0.0](https://github.com/PowerShell/PowerShellEditorServices/releases/tag/v4.0.0).
28+
29+
Drop support for PowerShell <7.4 and logging overhaul
30+
31+
PowerShell 7.2 LTS and 7.3 are now past end-of-support and are now unsupported.
32+
This is an incompatible API change so we're bumping the major version.
33+
Please update to PowerShell 7.4 LTS going forward.
34+
35+
This release contains a logging overhaul which purposely removes our
36+
dependency on Serilog and should lead to improved stability with
37+
PowerShell 5.1 (by avoiding a major GAC assembly conflict).
38+
339
## v3.21.0
440
### Wednesday, October 30, 2024
541

Directory.Packages.props

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<Project>
22
<ItemGroup>
33
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
4-
<PackageVersion Include="Microsoft.Extensions.FileSystemGlobbing" Version="8.0.0" />
5-
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />
6-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
4+
<PackageVersion Include="Microsoft.Extensions.FileSystemGlobbing" Version="9.0.3" />
5+
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.3" />
6+
<PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="9.0.3" />
7+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
78
<PackageVersion Include="Microsoft.PowerShell.5.ReferenceAssemblies" Version="1.1.0" />
89
<PackageVersion Include="Microsoft.PowerShell.SDK" Version="7.4.6" />
910
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
@@ -12,17 +13,25 @@
1213
<PackageVersion Include="OmniSharp.Extensions.LanguageClient" Version="0.19.9" />
1314
<PackageVersion Include="OmniSharp.Extensions.LanguageServer" Version="0.19.9" />
1415
<PackageVersion Include="PowerShellStandard.Library" Version="5.1.1" />
15-
<PackageVersion Include="Serilog" Version="4.0.0" />
16-
<PackageVersion Include="Serilog.Extensions.Logging" Version="8.0.0" />
17-
<PackageVersion Include="Serilog.Sinks.Async" Version="2.0.0" />
18-
<PackageVersion Include="Serilog.Sinks.File" Version="6.0.0" />
16+
<PackageVersion Include="Roslynator.Analyzers" Version="4.12.10">
17+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
18+
<PrivateAssets>all</PrivateAssets>
19+
</PackageVersion>
20+
<PackageVersion Include="Roslynator.CodeAnalysis.Analyzers" Version="4.12.10">
21+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
22+
<PrivateAssets>all</PrivateAssets>
23+
</PackageVersion>
24+
<PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.12.10">
25+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
26+
<PrivateAssets>all</PrivateAssets>
27+
</PackageVersion>
1928
<PackageVersion Include="System.IO.Pipes.AccessControl" Version="5.0.0" />
2029
<PackageVersion Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
2130
<PackageVersion Include="System.Security.Principal" Version="4.3.0" />
2231
<PackageVersion Include="System.Security.Principal.Windows" Version="5.0.0" />
23-
<PackageVersion Include="System.ValueTuple" Version="4.5.0" />
24-
<PackageVersion Include="xunit" Version="2.9.0" />
32+
<PackageVersion Include="System.ValueTuple" Version="4.6.0" />
33+
<PackageVersion Include="xunit" Version="2.9.3" />
2534
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
26-
<PackageVersion Include="Xunit.SkippableFact" Version="1.4.13" />
35+
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.23" />
2736
</ItemGroup>
2837
</Project>

0 commit comments

Comments
 (0)