You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/prompts/release-notes.prompt.md
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,52 @@ This prompt uses the following skill:
58
58
- Identify the contributors for the "Contributors" section.
59
59
-**Assign each PR to one or more packages** using the identification rules in the Package Registry table. A PR may be relevant to multiple packages. PRs not matching any non-core package belong to `Microsoft.Data.SqlClient`.
60
60
61
+
### 2.1. Determine Target Framework (TFM) Scope Per Change
62
+
63
+
For each PR included in release notes, determine whether it applies to all supported TFMs for the package or only a subset.
64
+
65
+
Use source-level evidence (not assumptions) to classify scope:
66
+
67
+
-**TFM-specific files** indicate scoped impact (for example, `.netfx.cs`, `.netcore.cs`).
-**Project/build conditions** indicate scoped impact (for example, `TargetOs`, `NormalizedTargetOs`, or OS-conditional `ItemGroup`/`PropertyGroup` entries).
91
+
-**SNI implementation or native dependency gates** can imply OS scope when behavior changes only apply to native Windows SNI vs managed cross-platform paths.
92
+
-**Tests-only OS changes** should not be called out as customer-facing unless the behavior change is also present in product code.
93
+
94
+
When writing notes:
95
+
96
+
- If the change affects **all supported OS targets**, do not add an OS qualifier.
97
+
- If the change affects **only some OS targets**, include an explicit qualifier in the relevant bullet or section title.
98
+
- Use concise qualifiers like:
99
+
-`(Windows only)`
100
+
-`(Unix only)`
101
+
-`(Linux only)`
102
+
-`(macOS only)`
103
+
- If both TFM and OS are scoped, combine them in one qualifier, for example: `(net8.0/net9.0 on Windows only)`.
104
+
105
+
Do not infer OS scope from labels alone; verify from changed files and code paths.
106
+
61
107
### 3. Enrich Feature Sections with Issue Context
62
108
63
109
For significant features or bug fixes that reference a GitHub issue:
@@ -84,6 +130,7 @@ For each package that has relevant PRs in the milestone:
84
130
- Use the template from [release-notes/template/release-notes-template.md](release-notes/template/release-notes-template.md).
85
131
- Fill in the template following the instructions in each section.
86
132
- Only include sections (Added, Changed, Fixed, Removed) that have entries.
133
+
- For each Added/Changed/Fixed/Removed item, include TFM and OS scope qualifiers when Step 2.1 or Step 2.2 determines the change is not universal across the package's supported targets.
87
134
- Look up dependencies using the Dependency Sources from the lookup table above. Resolve concrete versions from [Directory.Packages.props](Directory.Packages.props).
88
135
- List dependencies per target framework. Use the project file's `<TargetFrameworks>` to determine which frameworks to list.
89
136
- Omit the Contributors section for packages with no public contributors.
0 commit comments