Skip to content

Commit a9d399e

Browse files
authored
Merge branch 'dotnet:main' into main
2 parents 995a0ec + 4f97c6c commit a9d399e

File tree

1,087 files changed

+23023
-19174
lines changed

Some content is hidden

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

1,087 files changed

+23023
-19174
lines changed

.github/ISSUE_TEMPLATE/02-breaking-change.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@ body:
2323
options:
2424
- .NET 8
2525
- .NET 9
26-
- .NET 10 Preview 1
27-
- .NET 10 Preview 2
28-
- .NET 10 Preview 3
2926
- .NET 10 Preview 4
3027
- .NET 10 Preview 5
3128
- .NET 10 Preview 6
29+
- .NET 10 Preview 7
30+
- .NET 10 RC 1
31+
- .NET 10 RC 2
32+
- .NET 10 GA
33+
- .NET 11 Preview 1
34+
- .NEt 11 Preview 2
3235
- Other (please put exact version in description textbox)
3336
validations:
3437
required: true

.github/copilot-instructions.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
When you're assigned an issue, after you've completed your work and the workflows (status checks) have run, check to make sure there are no build warnings under the OpenPublishing.Build status check. If there are, open the build report (under View Details) and resolve any build warnings you introduced.
2+
13
When writing documentation, follow the following guidelines:
24

35
Unless otherwise specified, all .NET content refers to modern .NET (not .NET Framework).
@@ -24,7 +26,9 @@ Use "might" instead of "may" to indicate possibility. For example, "This method
2426

2527
Use the Oxford comma in lists of three or more items.
2628

27-
Number ordered list items all as "1." instead of "1.", "2.", etc. Use bullets for unordered lists.
29+
Number ordered list items all as "1." instead of "1.", "2.", etc.
30+
31+
Use bullets for unordered lists. Unless *all* the bullet list items are three words or less, each bullet item should end with a period.
2832

2933
Use **bold** when referring to UI elements. Use `code style` for file names and folders, custom types, and other text that should never be localized.
3034

.github/dependabot.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ updates:
933933
patterns:
934934
- "*" # Prefer a single PR per project update.
935935
- package-ecosystem: "nuget"
936-
directory: "/docs/ai/quickstarts/snippets/mcp-server" #MinimalMcpServer.csproj
936+
directory: "/docs/ai/quickstarts/snippets/mcp-server" #SampleMcpServer.csproj
937937
schedule:
938938
interval: "weekly"
939939
day: "wednesday"
@@ -1361,6 +1361,17 @@ updates:
13611361
dotnet:
13621362
patterns:
13631363
- "*" # Prefer a single PR per project update.
1364+
- package-ecosystem: "nuget"
1365+
directory: "/docs/core/diagnostics/snippets/resource-monitoring-with-manual-metrics" #resource-monitoring-with-manual-metrics.csproj
1366+
schedule:
1367+
interval: "weekly"
1368+
day: "wednesday"
1369+
open-pull-requests-limit: 5
1370+
groups:
1371+
# Group .NET updates together for projects.
1372+
dotnet:
1373+
patterns:
1374+
- "*" # Prefer a single PR per project update.
13641375
- package-ecosystem: "nuget"
13651376
directory: "/docs/core/diagnostics/snippets/resource-monitoring" #resource-monitoring.csproj
13661377
schedule:
@@ -2186,14 +2197,3 @@ updates:
21862197
dotnet:
21872198
patterns:
21882199
- "*" # Prefer a single PR per project update.
2189-
- package-ecosystem: "nuget"
2190-
directory: "/docs/core/resilience/snippets/resilience" #resilience.csproj
2191-
schedule:
2192-
interval: "weekly"
2193-
day: "wednesday"
2194-
open-pull-requests-limit: 5
2195-
groups:
2196-
# Group .NET updates together for projects.
2197-
dotnet:
2198-
patterns:
2199-
- "*" # Prefer a single PR per project update.

.github/policies/label-issues.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,12 @@ configuration:
3131
* 'needs-more-info' label removed
3232
if:
3333
- payloadType: Issues
34-
- or:
35-
34+
- or:
3635
- or:
3736
- isAction:
3837
action: Opened
3938
- isAction:
40-
action: Reopened
41-
39+
action: Reopened
4240
- labelRemoved:
4341
label: 'needs-more-info'
4442
then:
@@ -57,8 +55,7 @@ configuration:
5755
- isAction:
5856
action: Closed
5957
- isActivitySender:
60-
issueAuthor: true
61-
58+
issueAuthor: true
6259
- labelAdded:
6360
label: ':world_map: reQUEST'
6461
then:
@@ -71,7 +68,6 @@ configuration:
7168
- or:
7269
- payloadType: Issues
7370
- payloadType: Pull_Request
74-
7571
- labelAdded:
7672
label: ':world_map: mapQUEST'
7773
then:
@@ -97,8 +93,7 @@ configuration:
9793
- isAction:
9894
action: Reopened
9995
- hasLabel:
100-
label: "won't fix"
101-
96+
label: "won't fix"
10297
then:
10398
- removeLabel:
10499
label: "won't fix"
@@ -109,8 +104,7 @@ configuration:
109104
- isAction:
110105
action: Closed
111106
- hasLabel:
112-
label: 'in-progress'
113-
107+
label: 'in-progress'
114108
then:
115109
- removeLabel:
116110
label: 'in-progress'
@@ -122,7 +116,9 @@ configuration:
122116
action: Closed
123117
- isActivitySender:
124118
issueAuthor: true
125-
119+
- not:
120+
activitySenderHasAssociation:
121+
association: Member
126122
then:
127123
- addLabel:
128124
label: resolved-by-customer

.github/prompts/whats-new-net.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
When you're assigned an issue where one label includes the word "Release" and you're given a link to an issue with this prompt file as context to update the what's new in .NET pages, follow these guidelines:
2+
3+
## Task
4+
5+
You'll update 4 articles. For .NET 10, you update these:
6+
7+
- https://github.com/dotnet/docs/blob/main/docs/core/whats-new/dotnet-10/overview.md
8+
- https://github.com/dotnet/docs/blob/main/docs/core/whats-new/dotnet-10/runtime.md
9+
- https://github.com/dotnet/docs/blob/main/docs/core/whats-new/dotnet-10/libraries.md
10+
- https://github.com/dotnet/docs/blob/main/docs/core/whats-new/dotnet-10/sdk.md
11+
12+
For other releases, replace "dotnet-10" in the preceding paths with the correct release. For example, use "dotnet-11" for the ".NET 11" releases.
13+
14+
## Source material
15+
16+
To learn what's new in the targeted release, use the corresponding release notes in the [dotnet core](https://github.com/dotnet/core) repository. The release notes will be in a subfolder of the "release-notes" folder.
17+
18+
For production releases, the path is `<major-release>/<release-number>`, where:
19+
20+
- `<major-release>` is the release number. For example, `8.0`, `9.0` or `10.0`.
21+
- `<minor-release>` is the three part release number. For example, `8.0.3`, `9.0.6` or `10.0.0`.
22+
23+
For preview releases, the path is `<major-release>/preview/preview<n>` where:
24+
25+
- `<major-release>` is the release number. For example, `8.0`, `9.0` or `10.0`.
26+
- `n` is the preview number. For example, `1`, `3`, or `6`.
27+
28+
The primary release notes are in the `README.MD` file in that folder. That file contains links to other release notes for components of .NET: libraries, runtime, SDK, languages, and so on. Use all that information for source.
29+
30+
## Updates for each file
31+
32+
- Each file should have its `ms.date` metadata field updated to match the date you're assigned the issue.
33+
- Ensure each file has the `ai-usage: ai-assisted` metadata field added.
34+
- Update phrasing on the latest update to reference the current release (preview, GA, or service release). Individual features shouldn't reference a given preview release, but the article should make it clear which was the last preview.
35+
- Search this repository for articles that have been recently updated pertaining to new features. Add links to those as you write about that feature. Or, add applicable information from the release notes into existing feature articles where it makes sense.
36+
- For the runtime and libraries articles, include extensive examples as well as links to recently updated articles related to the new feature. The examples should be at least as thorough as the examples from the source release notes.
37+
- Where applicable, the SDK article should include the samples.
38+
- The overview article generally doesn't include examples. Its purpose is to direct readers to more detailed information in other articles.
39+
- All APIs should be referenced using an `xref` style link, at least on first mention.
40+
- All links to article in the `dotnet/docs` repository should be file relative.
41+
- Spell out acronyms on first use in each file.
42+
- In general, don't mention specific contributors or pull requests to the product repos.
43+
44+
Next, create a pull request. In the description, include the text "Fixes #\<issue-number>", where "issue-number" is the GitHub issue number.

.github/workflows/check-for-build-warnings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
pull-requests: write
1717
steps:
1818
- name: Harden Runner
19-
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
19+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
2020
with:
2121
egress-policy: audit
2222

.github/workflows/cleanrepo-orphaned-articles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
20+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
2121
with:
2222
egress-policy: audit
2323

.github/workflows/cleanrepo-orphaned-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
20+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
2121
with:
2222
egress-policy: audit
2323

.github/workflows/cleanrepo-orphaned-includes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
20+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
2121
with:
2222
egress-policy: audit
2323

.github/workflows/cleanrepo-orphaned-snippets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
20+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
2121
with:
2222
egress-policy: audit
2323

0 commit comments

Comments
 (0)