Skip to content

Capture preview API changes in the release-notes skill#10473

Open
danroth27 wants to merge 1 commit into
mainfrom
skill/release-notes-preview-api-changes
Open

Capture preview API changes in the release-notes skill#10473
danroth27 wants to merge 1 commit into
mainfrom
skill/release-notes-preview-api-changes

Conversation

@danroth27

Copy link
Copy Markdown
Member

What

Updates the release-notes skill so preview-to-preview API changes (renames, reshapes, removals of APIs that haven''t shipped in a stable release) are captured and documented as migration notes, instead of being missed or mislabeled as breaking changes.

Motivated by the .NET 11 Preview 6 notes: EnvironmentBoundary (documented in Preview 1) was renamed to EnvironmentView in Preview 6, and the automatic CSRF default was initially framed as a breaking change. Preview notes are an upgrade guide from the previous preview, so these renames need migration notes — but a preview-to-preview rename is not a "breaking change" (nothing stable shipped yet).

Changes

  • references/editorial-rules.md — new "Preview API changes vs. breaking changes" section: use a dedicated Preview API changes section for preview renames; reserve Breaking changes for version-to-version breaks of shipped-stable APIs; new default behavior is a feature, not a break; check earlier previews for the original name before writing.
  • references/format-template.md — add a Preview API changes section to the component template and update the section rule.
  • references/api-verification.md — new "Capturing preview API changes" section describing the previous-preview → current-preview dotnet-inspect diff to surface renamed/removed public APIs.
  • references/changes-schema.md — note that breaking_changes: true also covers preview API changes, which the writing stage routes to the Preview API changes section.
  • SKILL.md — mention preview-API-change capture in the pipeline description.

Docs-only change to the skill; no code or release-notes content is affected.

Preview release notes are an upgrade guide from the previous preview, so
preview-to-preview API renames/reshapes/removals must be documented as
migration notes. Add explicit guidance distinguishing them from breaking
changes:

- editorial-rules.md: new 'Preview API changes vs. breaking changes' section
  (dedicated section, reserve Breaking changes for version-to-version breaks,
  new default behavior is a feature, check earlier previews for renames).
- format-template.md: add a 'Preview API changes' section to the template and
  update the section rule.
- api-verification.md: new 'Capturing preview API changes' section describing
  the previous-preview -> current-preview API diff.
- changes-schema.md: note that breaking_changes: true also covers preview API
  changes, routed to the Preview API changes section.
- SKILL.md: mention preview-API-change capture in the pipeline.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@jeffhandley

Copy link
Copy Markdown
Member

@danroth27 I'd really like to get Automate public API diff reports for in-development .NET releases (#10469) merged before we merge this; there is some overlap here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants