Skip to content

Commit 4cdd3ed

Browse files
authored
Merge pull request #488 from nanotaboada/release/v2.1.2-frankfurt
docs(changelog): prepare release notes for v2.1.2-frankfurt
2 parents ad4b251 + cf30a2e commit 4cdd3ed

2 files changed

Lines changed: 32 additions & 11 deletions

File tree

.claude/commands/pre-release.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,35 @@ proceeding. Never create a branch, commit, tag, or push without approval.
5858
- `[unreleased]``.../compare/vX.Y.Z-{stadium}...HEAD`
5959
- Add `[X.Y.Z - StadiumName]``.../compare/v{prev-tag}...vX.Y.Z-{stadium}`
6060

61-
3. Show the full diff of `CHANGELOG.md` and propose this commit message:
61+
3. Show the full diff of `CHANGELOG.md`.
62+
63+
4. If `coderabbit` CLI is installed, run `coderabbit review --type uncommitted --prompt-only`
64+
on the uncommitted CHANGELOG changes:
65+
- If actionable/serious findings are reported, stop and address them before proceeding.
66+
- If only nitpick-level findings, report them and continue.
67+
- If `coderabbit` is not installed, skip with a note.
68+
69+
5. Propose this commit message:
6270

6371
```text
6472
docs(changelog): prepare release notes for vX.Y.Z-{stadium} (#issue)
6573
```
6674

6775
**Wait for explicit approval before committing.**
6876

69-
4. Run `/pre-commit`, manually skipping step 1 — do not re-run or re-attempt
70-
the CHANGELOG update; it was already completed above. Open with: "Skip
71-
step 1 — CHANGELOG was already updated as part of this release branch."
72-
Proceed directly with steps 2–5.
77+
6. Run `dotnet build --configuration Release` — must succeed.
78+
79+
7. Run `dotnet test --settings .runsettings` — all tests must pass.
80+
81+
8. If `dotnet csharpier` is available, run `dotnet csharpier --check .` — must pass
82+
(run `dotnet csharpier .` to auto-fix). Skip with a note if not installed.
83+
84+
9. Stage `CHANGELOG.md` and commit using the approved message from step 5.
7385

74-
5. Propose opening a PR from `release/vX.Y.Z-{stadium}` into `master`.
75-
**Wait for explicit approval before opening.**
86+
10. Propose opening a PR from `release/vX.Y.Z-{stadium}` into `master`.
87+
**Wait for explicit approval before opening.**
7688

77-
6. Open the PR with:
89+
11. Open the PR with:
7890
- Title: `docs(changelog): prepare release notes for vX.Y.Z-{stadium}`
7991
- Body summarising what is included in this release.
8092

CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,20 @@ This project uses famous football stadiums (A-Z) that hosted FIFA World Cup matc
4646

4747
### Changed
4848

49-
- Field validation failures now return `422 Unprocessable Entity` (RFC 4918) instead of `400 Bad Request`; `400 Bad Request` is now reserved for malformed requests (unparseable JSON, route/body mismatch); unsupported media types return `415 Unsupported Media Type` (RFC 9110 §15.5.16) via the `[Consumes]` attribute. Error responses follow the Problem Details format (RFC 9457).
50-
5149
### Fixed
5250

5351
### Removed
5452

53+
---
54+
55+
## [2.1.2 - Frankfurt] - 2026-04-26
56+
57+
### Changed
58+
59+
- Field validation failures now return `422 Unprocessable Entity` (RFC 4918) instead of `400 Bad Request`; `400 Bad Request` is now reserved for malformed requests (unparseable JSON, route/body mismatch); unsupported media types return `415 Unsupported Media Type` (RFC 9110 §15.5.16) via the `[Consumes]` attribute. Error responses follow the Problem Details format (RFC 9457).
60+
61+
### Removed
62+
5563
- Remove `## How to Release` section from `CHANGELOG.md`; capitalize release codenames in `##` version headers and reference links (#468)
5664

5765
---
@@ -207,7 +215,8 @@ Initial release. See [README.md](README.md) for complete feature list and docume
207215

208216
---
209217

210-
[unreleased]: https://github.com/nanotaboada/Dotnet.Samples.AspNetCore.WebApi/compare/v2.1.1-ekaterinburg...HEAD
218+
[unreleased]: https://github.com/nanotaboada/Dotnet.Samples.AspNetCore.WebApi/compare/v2.1.2-frankfurt...HEAD
219+
[2.1.2 - Frankfurt]: https://github.com/nanotaboada/Dotnet.Samples.AspNetCore.WebApi/compare/v2.1.1-ekaterinburg...v2.1.2-frankfurt
211220
[2.1.1 - Ekaterinburg]: https://github.com/nanotaboada/Dotnet.Samples.AspNetCore.WebApi/compare/v2.1.0-dusseldorf...v2.1.1-ekaterinburg
212221
[2.1.0 - Dusseldorf]: https://github.com/nanotaboada/Dotnet.Samples.AspNetCore.WebApi/compare/v2.0.0-centenario...v2.1.0-dusseldorf
213222
[2.0.0 - Centenario]: https://github.com/nanotaboada/Dotnet.Samples.AspNetCore.WebApi/compare/v1.1.0-bernabeu...v2.0.0-centenario

0 commit comments

Comments
 (0)