Changelog¶
All notable changes to this guide and its configuration files are recorded here, newest first.
Each version lists its changes under [ADDED], [CHANGED] and [REMOVED]; an empty block reads N/A. Releases use Semantic Versioning.
For this guide, a version number means:
- Major: a change that can break an adopter's build or contradicts an earlier answer, such as a new rule that ships at
warning, a stricter severity, a raised SDK pin, or a retired rule whose replacement says something different. - Minor: new rules or pages that do not fail an existing build (
suggestionlevel, review-only rules), and new sections or examples. - Patch: wording, typo, link and example fixes that change no rule and no setting.
Rule IDs are stable. A retired rule keeps its heading and points to the rule that replaces it.
[v1.1.0] - 2026-12-02¶
[ADDED]
- GitHub Discussions templates for the Q&A and Rule proposals categories.
- Issue chooser links that send questions and rule proposals to Discussions.
- A link to GitHub Discussions in the README, under "Other lookups".
- The MIT license, and README badges for the site build, .NET, C#, the license and the website.
.gitattributeswith line-ending normalisation.
[CHANGED]
- N/A
[REMOVED]
- N/A
[v1.0.0] - 2026-11-30¶
[ADDED]
- Initial release of the C# code style guide for C# 14 on .NET 10.
- Pages 01 to 16: layout and formatting, naming, variables and types, language features, types and members, comments and documentation, exceptions and error handling, async and concurrency, testing, secure coding, data access, tooling and enforcement, and dependency injection and layering.
- Reference pages: the Rule Cross-Reference (page 90) and the Sources list (page 92).
- Rule levels DO, DO NOT, CONSIDER and AVOID, with stable rule IDs, correct and incorrect examples and a Why paragraph for each rule.
- Configuration in
config/:.editorconfig,Directory.Build.props,global.json(SDK 10.0.300,latestPatch) andstylecop.json. - The published site, built with MkDocs Material by the
pagesworkflow, andtools/build-site.ps1for a local strict build.
[CHANGED]
- N/A
[REMOVED]
- N/A