Skip to content

Commit 4cf4870

Browse files
authored
Merge branch 'main' into merge/release/8.0-to-main
2 parents 78431a3 + 6c5eec8 commit 4cf4870

File tree

199 files changed

+1024
-887
lines changed

Some content is hidden

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

199 files changed

+1024
-887
lines changed

.azure/pipelines/ci.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,14 @@ variables:
144144
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
145145
- name: _SignType
146146
value: test
147-
- name: runCodeQL3000
148-
value: ${{ or(eq(variables['Build.Reason'], 'Schedule'), and(eq(variables['Build.Reason'], 'Manual'), eq(parameters.runCodeQL3000, 'true'))) }}
147+
- ${{ if or(eq(variables['Build.Reason'], 'Schedule'), and(eq(variables['Build.Reason'], 'Manual'), eq(parameters.runCodeQL3000, 'true'))) }}:
148+
- name: runCodeQL3000
149+
value: true
150+
- ${{ else }}:
151+
- name: runCodeQL3000
152+
value: false
153+
- name: Codeql.Enabled
154+
value: false
149155
- template: /eng/common/templates/variables/pool-providers.yml
150156

151157
stages:
@@ -277,17 +283,15 @@ stages:
277283
$(WindowsArm64LogArgs)
278284
displayName: Build ARM64
279285

280-
# Submit a manual build (in public or internal project) to validate changes to site extensions.
281-
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
282-
- script: .\src\SiteExtensions\build.cmd
283-
-ci
284-
-noBuildRepoTasks
285-
-pack
286-
-noBuildDeps
287-
-noBuildNative
288-
$(_BuildArgs)
289-
$(_InternalRuntimeDownloadArgs)
290-
displayName: Build SiteExtension
286+
- script: .\src\SiteExtensions\build.cmd
287+
-ci
288+
-noBuildRepoTasks
289+
-pack
290+
-noBuildDeps
291+
-noBuildNative
292+
$(_BuildArgs)
293+
$(_InternalRuntimeDownloadArgs)
294+
displayName: Build SiteExtension
291295

292296
# This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If
293297
# https://github.com/dotnet/arcade/issues/1957 is resolved, consider running code-signing inline with the other

.azure/pipelines/helix-matrix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ schedules:
1313
include:
1414
- release/6.0
1515
- release/7.0
16+
- release/8.0
1617
always: false
1718

1819
variables:

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"remoteEnv": {
3838
"PATH": "${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}",
3939
"DOTNET_MULTILEVEL_LOOKUP": "0",
40-
"TARGET": "net8.0",
40+
"TARGET": "net9.0",
4141
"DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER": "true"
4242
},
4343
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,23 @@ csharp_style_namespace_declarations = file_scoped
5555
# Brace settings
5656
csharp_prefer_braces = true # Prefer curly braces even for one line of code
5757

58+
# name all constant fields using PascalCase
59+
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
60+
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
61+
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
62+
dotnet_naming_symbols.constant_fields.applicable_kinds = field
63+
dotnet_naming_symbols.constant_fields.required_modifiers = const
64+
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
65+
66+
# internal and private fields should be _camelCase
67+
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
68+
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
69+
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
70+
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
71+
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
72+
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
73+
dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case
74+
5875
[*.{xml,config,*proj,nuspec,props,resx,targets,yml,tasks}]
5976
indent_size = 2
6077

.github/fabricbot.json

Lines changed: 58 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,7 @@
14961496
]
14971497
},
14981498
{
1499-
"label": "area-runtime",
1499+
"label": "area-networking",
15001500
"pathFilter": [
15011501
"src/Servers/",
15021502
"src/Http/",
@@ -1633,7 +1633,7 @@
16331633
{
16341634
"name": "addedToMilestone",
16351635
"parameters": {
1636-
"milestoneName": ".NET 8 Planning"
1636+
"milestoneName": ".NET 9 Planning"
16371637
}
16381638
},
16391639
{
@@ -1649,12 +1649,12 @@
16491649
"issues",
16501650
"project_card"
16511651
],
1652-
"taskName": "Comment when an investigation issue moved to .NET 8 Planning",
1652+
"taskName": "Comment when an investigation issue moved to .NET 9 Planning",
16531653
"actions": [
16541654
{
16551655
"name": "addReply",
16561656
"parameters": {
1657-
"comment": "To learn more about what this message means, what to expect next, and how this issue will be handled you can read our [Triage Process document](https://github.com/dotnet/aspnetcore/blob/main/docs/TriageProcess.md).\nWe're moving this issue to the .NET 8 Planning milestone for future evaluation / consideration. Because it's not immediately obvious what is causing this behavior, we would like to keep this around to collect more feedback, which can later help us determine how to handle this. We will re-evaluate this issue, during our next planning meeting(s).\nIf we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact work."
1657+
"comment": "To learn more about what this message means, what to expect next, and how this issue will be handled you can read our [Triage Process document](https://github.com/dotnet/aspnetcore/blob/main/docs/TriageProcess.md).\nWe're moving this issue to the .NET 9 Planning milestone for future evaluation / consideration. Because it's not immediately obvious what is causing this behavior, we would like to keep this around to collect more feedback, which can later help us determine how to handle this. We will re-evaluate this issue, during our next planning meeting(s).\nIf we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact work."
16581658
}
16591659
}
16601660
]
@@ -2491,7 +2491,7 @@
24912491
{
24922492
"name": "addMilestone",
24932493
"parameters": {
2494-
"milestoneName": "8.0-rc1"
2494+
"milestoneName": "9.0-preview1"
24952495
}
24962496
}
24972497
],
@@ -2510,7 +2510,7 @@
25102510
{
25112511
"name": "addedToMilestone",
25122512
"parameters": {
2513-
"milestoneName": ".NET 8 Planning"
2513+
"milestoneName": ".NET 9 Planning"
25142514
}
25152515
},
25162516
{
@@ -2531,12 +2531,12 @@
25312531
"issues",
25322532
"project_card"
25332533
],
2534-
"taskName": "Comment when an issue is moved to `.NET 8 Planning` milestone",
2534+
"taskName": "Comment when an issue is moved to `.NET 9 Planning` milestone",
25352535
"actions": [
25362536
{
25372537
"name": "addReply",
25382538
"parameters": {
2539-
"comment": "Thanks for contacting us.\n\nWe're moving this issue to the `.NET 8 Planning` milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s). \nIf we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.\nTo learn more about what to expect next and how this issue will be handled you can read more about our triage process [here](https://github.com/dotnet/aspnetcore/blob/main/docs/TriageProcess.md)."
2539+
"comment": "Thanks for contacting us.\n\nWe're moving this issue to the `.NET 9 Planning` milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s). \nIf we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.\nTo learn more about what to expect next and how this issue will be handled you can read more about our triage process [here](https://github.com/dotnet/aspnetcore/blob/main/docs/TriageProcess.md)."
25402540
}
25412541
}
25422542
]
@@ -3236,7 +3236,7 @@
32363236
{
32373237
"name": "addMilestone",
32383238
"parameters": {
3239-
"milestoneName": "6.0.22"
3239+
"milestoneName": "6.0.23"
32403240
}
32413241
}
32423242
]
@@ -3280,7 +3280,7 @@
32803280
{
32813281
"name": "addMilestone",
32823282
"parameters": {
3283-
"milestoneName": "7.0.11"
3283+
"milestoneName": "7.0.12"
32843284
}
32853285
}
32863286
]
@@ -3304,7 +3304,7 @@
33043304
{
33053305
"name": "prTargetsBranch",
33063306
"parameters": {
3307-
"branchName": "release/8.0-preview7"
3307+
"branchName": "release/8.0-rc2"
33083308
}
33093309
}
33103310
]
@@ -3315,7 +3315,7 @@
33153315
"issues",
33163316
"project_card"
33173317
],
3318-
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/8.0-preview7 branch",
3318+
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/8.0-rc2 branch",
33193319
"actions": [
33203320
{
33213321
"name": "removeMilestone",
@@ -3324,7 +3324,51 @@
33243324
{
33253325
"name": "addMilestone",
33263326
"parameters": {
3327-
"milestoneName": "8.0-preview7"
3327+
"milestoneName": "8.0-rc2"
3328+
}
3329+
}
3330+
]
3331+
}
3332+
},
3333+
{
3334+
"taskType": "trigger",
3335+
"capabilityId": "IssueResponder",
3336+
"subCapability": "PullRequestResponder",
3337+
"version": "1.0",
3338+
"config": {
3339+
"conditions": {
3340+
"operator": "and",
3341+
"operands": [
3342+
{
3343+
"name": "isAction",
3344+
"parameters": {
3345+
"action": "merged"
3346+
}
3347+
},
3348+
{
3349+
"name": "prTargetsBranch",
3350+
"parameters": {
3351+
"branchName": "release/8.0"
3352+
}
3353+
}
3354+
]
3355+
},
3356+
"eventType": "pull_request",
3357+
"eventNames": [
3358+
"pull_request",
3359+
"issues",
3360+
"project_card"
3361+
],
3362+
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/8.0 branch",
3363+
"actions": [
3364+
{
3365+
"name": "removeMilestone",
3366+
"parameters": {}
3367+
},
3368+
{
3369+
"name": "addMilestone",
3370+
"parameters": {
3371+
"milestoneName": "8.0.0"
33283372
}
33293373
}
33303374
]
@@ -3357,7 +3401,7 @@
33573401
{
33583402
"name": "addReply",
33593403
"parameters": {
3360-
"comment": "Thank you for filing this issue. In order for us to investigate this issue, please provide [a minimalistic repro project](https://github.com/dotnet/aspnetcore/blob/main/docs/repro.md) that illustrates the problem."
3404+
"comment": "Thank you for filing this issue. In order for us to investigate this issue, please provide [a minimal repro project](https://github.com/dotnet/aspnetcore/blob/main/docs/repro.md) that illustrates the problem without unnecessary code. Please share with us in a public GitHub repo because we cannot open ZIP attachments, and don't include any confidential content."
33613405
}
33623406
},
33633407
{

.github/workflows/markdownlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- name: Use Node.js
1919
uses: actions/setup-node@v3
2020
with:

.github/workflows/runtime-sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
runs-on: windows-latest
2222
steps:
2323
- name: Checkout aspnetcore
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
# Test this script using changes in a fork
2727
repository: 'dotnet/aspnetcore'
2828
path: aspnetcore
2929
ref: main
3030
- name: Checkout runtime
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
# Test this script using changes in a fork
3434
repository: 'dotnet/runtime'

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<Project>
22
<Import Project="eng\Common.props" />
33

4+
<PropertyGroup>
5+
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
6+
</PropertyGroup>
7+
48
<PropertyGroup>
59
<!-- $(RepoRoot) is normally set globally and Arcade overrides it to ensure a trailing slash. -->
610
<RepoRoot Condition=" '$(RepoRoot)' == '' OR !HasTrailingSlash('$(RepoRoot)') ">$(MSBuildThisFileDirectory)</RepoRoot>

NuGet.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<clear />
55
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
66
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
7+
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
8+
<add key="dotnet9-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" />
79
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
810
<add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />
911
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" />

0 commit comments

Comments
 (0)