Repository navigation
ci: link the migration guide and evaluate pull requests with the release configuration - #1326
Merged
Merged
Conversation
Releases with breaking changes now link the migration guide section of their major version as the first entry under "BREAKING CHANGES". The new "Migration Guide" check fails a pull request whose title is marked with "!" or whose description contains "BREAKING CHANGE" when it does not update docs/docs/operator/migration.mdx. The contribution guides describe the rule.
…tles The commit parser matched the BREAKING CHANGE footer without regard to case, so a description line starting with "Breaking change" triggered a major release. Commit analyzer and release notes generator now only accept the upper-case footer that Conventional Commits requires. The "Migration Guide" check uses the same patterns as the parser. The new "PR Title" check validates the PR title, which becomes the squash commit header. Both jobs live in the "Pull Request" workflow.
The PR Title check now runs .release/check-pull-request.mjs instead of a separate title action and bash patterns. The script parses the title with the commit parser and types of release.base.mjs and runs the commit analyzer on the prospective squash commit (title and description). Its result decides whether the Migration Guide check requires a guide update, and the job summary shows which release the PR results in. conventional-commits-parser becomes a direct dependency of the release tooling at the version that was already installed.
kimpenhaus
added a commit
that referenced
this pull request
Nov 11, 2026
## Problem The release notes of every breaking release now link the migration guide section of their major version (#1326), but the section "Upgrading from v13 to v14" only covered #1319. The breaking changes of #1285 and #1301 were missing. ## Changes `docs/docs/operator/migration.mdx`, section "Upgrading from v13 to v14": - **Introduction** summarizing the v14 changes. - **.NET 8 and .NET 9 no longer supported** (#1285): target `net10.0` or `net11.0` with the .NET 10 SDK or later, raise directly referenced `Microsoft.Extensions.*` / ASP.NET Core packages (otherwise `NU1605`), or stay on v13. - **`AddDevelopmentTunnel` removed** (#1301): start a tunnel and switch to `UseExternalWebhookEndpoint(...)`, with a before/after example, the configuration-based overload and `WithWebhookDevTunnel()` for Aspire; links to the tunnel and Aspire sections of the webhook docs. - **Webhooks derived through a base class of your own are registered** (#1301): such webhooks become active with the update; a duplicate validation or mutation webhook per entity kind, group and version fails the start. The existing sections for #1319 are unchanged. ## Verification - `npm run build` in `docs` (`onBrokenLinks: "throw"`): succeeded without broken links or anchors. - In the built page, the new links resolve to existing anchors: `packages/#supported-target-frameworks`, `building-blocks/webhooks#tunnel`, `#aspire`, `#webhook-classes`. - The `AddDevelopmentTunnel(ushort port, string hostname = "localhost")` signature in the example matches v13.
|
🎉 This PR is included in version 14.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This was referenced Nov 19, 2026
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
v14.0.0-prerelease.1listed three breaking changes, but did not point to the migration guide.migration.mdx.BREAKING CHANGEfooter without regard to case. PRs are squash-merged with the description as commit body, so a description line starting with "Breaking change" would have triggered a major release. Conventional Commits requires the footer in upper case.Changes
.release/release.base.mjsadds afinalizeContexthook to the release notes generator. Every release with breaking changes gets a link to the migration guide section of its major version (#upgrading-from-v{N-1}-to-v{N}) as the first entry under "⚠ BREAKING CHANGES". Releases without breaking changes are unchanged.notesPatternwithout the case-insensitive flag. OnlyBREAKING CHANGE/BREAKING-CHANGEin upper case count as breaking;!in the header works as before..release/check-pull-request.mjsevaluates a PR with the configuration ofrelease.base.mjs. It parses the title with the release's commit parser and checks the type againstpresetConfig.types, then runs the commit analyzer on the prospective squash commit (title and description). No type list or breaking-change pattern is maintained a second time.Pull Requestworkflow (.github/workflows/pull-request.yml), runs on open, edit and push:PR Title: installs the release tooling (npm ci --ignore-scripts, cached) and runs the script. The job summary shows which release the PR results in.Migration Guide: when the script reports a major release, fails unless the PR updatesdocs/docs/operator/migration.mdx.conventional-commits-parserbecomes a direct dependency of the release tooling, at the version that was already installed (6.4.0).CONTRIBUTING.mdlinks to it.The notes of
v14.0.0-prerelease.1were updated by hand with the migration guide link.Before merging
To make the checks block merges, add
PR TitleandMigration Guideas required status checks formain.Verification
v13.3.7-prerelease.2..v14.0.0-prerelease.1: identical to the published notes plus the migration guide linkv13.3.7-prerelease.1..v13.3.7-prerelease.2(no breaking change): no linkv13.3.6..mainas14.0.0: link to#upgrading-from-v13-to-v14check-pull-request.mjsagainst merged PRs matches the releases semantic-release produced: feat(core)!: add .NET 11 support and drop .NET 8 and .NET 9 #1285, feat(web)!: replace LocalTunnel with external webhook endpoints #1301, refactor(client)!: remove JsonPatch.Net and the synchronous client API #1319 major; deps(core): update dependency system.commandline to v3 #1323, deps(core): update dependency stylecop.analyzers to 1.3.180 #1324 (deps(core)) and fix(cli): write the kustomization as yaml for every output format #1316 (fix) patch; build: adopt central package management #1325 (build) and deps(test): update dotnet monorepo #1322 (deps(test)) no release. The non-conventional titles of Add --namespace parameter to kubeops generate operator #1110 and Fix reference to code of conduct. #1102 fail.BREAKING CHANGE:major,Breaking change:in afeatcommit minor (parser default: major), a## BREAKING CHANGEheading no major.PR Titlegreen ("no release"),Migration Guidegreen without the file lookup.actionlint: clean