Repository navigation
deps(core): update dependency stylecop.analyzers to 1.3.180 - #1324
Merged
Merged
Conversation
kimpenhaus
added a commit
that referenced
this pull request
Nov 11, 2026
…ase configuration (#1326) ## Problem - The release notes of `v14.0.0-prerelease.1` listed three breaking changes, but did not point to the [migration guide](https://dotnet.github.io/dotnet-operator-sdk/docs/operator/migration#upgrading-from-v13-to-v14). - Nothing ensured that a breaking PR updates the guide: #1285 and #1301 were merged without a section in `migration.mdx`. - The commit parser matched the `BREAKING CHANGE` footer 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. - PR titles, which become the squash commit header, were not validated. ## Changes - **Release notes:** `.release/release.base.mjs` adds a `finalizeContext` hook 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. - **Upper-case footer only:** commit analyzer and release notes generator use a `notesPattern` without the case-insensitive flag. Only `BREAKING CHANGE` / `BREAKING-CHANGE` in upper case count as breaking; `!` in the header works as before. - **One set of rules for PRs and releases:** `.release/check-pull-request.mjs` evaluates a PR with the configuration of `release.base.mjs`. It parses the title with the release's commit parser and checks the type against `presetConfig.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 Request` workflow** (`.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 updates `docs/docs/operator/migration.mdx`. - `conventional-commits-parser` becomes a direct dependency of the release tooling, at the version that was already installed (6.4.0). - **Contribution guides:** the contribution page in the docs describes how to mark breaking changes and both checks; `CONTRIBUTING.md` links to it. The notes of `v14.0.0-prerelease.1` were updated by hand with the migration guide link. ## Before merging To make the checks block merges, add `PR Title` and `Migration Guide` as required status checks for `main`. ## Verification - Release notes rendered locally with the repository configuration and the real commits (no release published): - `v13.3.7-prerelease.2..v14.0.0-prerelease.1`: identical to the published notes plus the migration guide link - `v13.3.7-prerelease.1..v13.3.7-prerelease.2` (no breaking change): no link - `v13.3.6..main` as `14.0.0`: link to `#upgrading-from-v13-to-v14` - `check-pull-request.mjs` against merged PRs matches the releases semantic-release produced: #1285, #1301, #1319 major; #1323, #1324 (`deps(core)`) and #1316 (`fix`) patch; #1325 (`build`) and #1322 (`deps(test)`) no release. The non-conventional titles of #1110 and #1102 fail. - Footer samples: `BREAKING CHANGE:` major, `Breaking change:` in a `feat` commit minor (parser default: major), a `## BREAKING CHANGE` heading no major. - First run on this PR: `PR Title` green ("no release"), `Migration Guide` green without the file lookup. - `actionlint`: clean
|
🎉 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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
1.3.177-beta→1.3.180Release Notes
DotNetAnalyzers/StyleCopAnalyzers (StyleCop.Analyzers)
v1.3.180Compare Source
This is the first stable StyleCop.Analyzers release since 1.1.118. It includes the entire 1.2 beta line and the 1.3 revival: the analyzers now understand C# 8 through the C# 15 previews, many long-standing bugs are fixed, and the project is once again actively maintained. Thank you to everyone who contributed code, reviews, translations and bug reports over the long gap.
Highlights
allows ref struct, C# 14 extension blocks and thefieldkeyword, and C# 15 preview unions with theclosedandsafemodifiers, instead of ignoring that syntax or crashing on it. (#4142, #4139, #4137, #4163, #4148, #4191, #4193)?:) expressions are laid out consistently, SA1315 requires overriding and implementing parameters to keep their inherited names, SA1317 reports identifiers that use letters outside basic Latin A–Z, SA1653 reports<summary>documentation on more than one part of a partial type, and SA1654 reports escaped generic brackets increfs (for exampleList<T>vsList{T}). SX1412 is an opt-in alternative to SA1412 that requires UTF-8 without a BOM. All of these except SX1412 are on by default as warnings. (#3942, #4299, #4318, #4314, #4315, #4328).editorconfig. New settings includeorderingRules.memberKindOrder,orderingRules.accessibilityOrderandlayoutRules.allowBracelessIfStatements(bracelessifs are off by default; the accessibility order default is unchanged). (#4221, #3285, #4324, #4359, #4319)zh-CN) resources and documentation, finishes the Czech translations, and includes more translations of code-fix documentation text (Czech, Dutch, Russian and others). Rule documentation and status are published on GitHub Pages. (#4285, #4286, #3374, #3944, #3900, #4220, #4218)Behavior changes worth knowing about
Upgrading from 1.1.118, or from a 1.2 beta, may produce new or different diagnostics:
<summary>on more than one part, but ignores generated partial declarations such as WPF*.g.csfiles. (#4148, #4149, #4152, #4308, #4299, #4393)IntPtrandUIntPtrin XML documentationcrefs, or in shared source compiled for targets wherenintisn't equivalent. SA1121 and SA1125 also report System types in using alias targets. (#4287, #4395, #4175)includeInferredTupleElementNamesis off. (#4202)_forforeachvariables andusingdeclarations. (#4203)filemodifier as an access modifier. (#4198)protected readonlyfields when SA1307 is enabled. (#4217)&,|,^) and>>>. SA1408 reports??mixed with&&or||without parentheses. (#4289, #4323)extern aliasdirectives using the same placement setting asusingdirectives. (#4313)[NotNullWhen(true)] out string? foo. (#4321)maintainabilityRules.topLevelTypessetting. (#4281, #4301, #4316)documentInterfacessetting. WithdocumentInterfaces: false, public interfaces and their members are still required whendocumentExposedElementsis on. WithdocumentInterfaces: "exposed", members of interfaces that aren't actually exposed are not reported. (#3140, #4346, #4343)extern alias. (#4341)?and:lines line up and are indented past the condition's last line. The SA1143 code fix keeps multi-line branches intact. (#4336, #4374, #4392).symbols.nupkgis gone, because PDBs are now embedded in the DLLs. (#4173)All changes
Fixes
!) by @pantosha in #3071Configuration
📅 Schedule: (in timezone Europe/Zurich)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.