From 130da5ea3695b4ee738335ba4be32a1f61ba5680 Mon Sep 17 00:00:00 2001 From: Nano Taboada <87288+nanotaboada@users.noreply.github.com> Date: Tue, 5 May 2026 01:31:39 -0300 Subject: [PATCH 1/2] refactor(pre-release): tighten minor bump to API-surface additions only Co-authored-by: Claude Sonnet 4.6 --- .claude/commands/pre-release.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.claude/commands/pre-release.md b/.claude/commands/pre-release.md index 89c54e5..9cec9e6 100644 --- a/.claude/commands/pre-release.md +++ b/.claude/commands/pre-release.md @@ -28,8 +28,11 @@ proceeding. Never create a branch, commit, tag, or push without approval. - Any entry contains the word **BREAKING** (case-insensitive), a `BREAKING CHANGE:` token in a commit footer, or a `!` suffix after the commit type/scope (e.g. `feat!:` or `feat(scope)!:`) → **major** bump - - Any `### Added` subsection has entries → **minor** bump - - Otherwise (only `### Changed`, `### Fixed`, `### Removed`) → **patch** bump + - Any `### Added` entry introduces a **new endpoint, request parameter, or + client-visible API response** → **minor** bump. Test additions, documentation + (ADRs, README, Swagger regen), and internal tooling do **not** qualify. + - Otherwise (only `### Changed`, `### Fixed`, `### Removed`, or non-API + additions) → **patch** bump 5. Compute the next version: - **No tags yet** (step 2 found no matching tag): use `v0.1.0` as the base From d8f6c69ab52554aaae5eedca9165b1ea11821234 Mon Sep 17 00:00:00 2001 From: Nano Taboada <87288+nanotaboada@users.noreply.github.com> Date: Tue, 5 May 2026 01:34:29 -0300 Subject: [PATCH 2/2] docs(changelog): prepare release notes for v1.1.2-drogba Co-authored-by: Claude Sonnet 4.6 --- CHANGELOG.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54efa5b..c2b522c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,18 @@ Release codenames follow an A-Z sequence using Ballon d'Or award nominees surnam ### Added +### Changed + +### Fixed + +### Removed + +--- + +## [1.1.2 - Drogba] - 2026-05-02 + +### Added + - Field-level validation on `PlayerRequest` payloads using the `validator` crate (`#97`): all required string fields (`first_name`, `last_name`, `date_of_birth`, `position`, `abbr_position`, `team`, `league`) must be non-empty; `squad_number` must be in the range 1–99 - Six new route-level integration tests covering validation failure scenarios for POST and PUT endpoints (`#97`) @@ -156,7 +168,8 @@ Initial release. See [README.md](README.md) for complete feature list and docume --> -[unreleased]: https://github.com/nanotaboada/rust-samples-rocket-restful/compare/v1.1.1-cannavaro...HEAD +[unreleased]: https://github.com/nanotaboada/rust-samples-rocket-restful/compare/v1.1.2-drogba...HEAD +[1.1.2 - Drogba]: https://github.com/nanotaboada/rust-samples-rocket-restful/compare/v1.1.1-cannavaro...v1.1.2-drogba [1.1.1 - Cannavaro]: https://github.com/nanotaboada/rust-samples-rocket-restful/compare/v1.1.0-benzema...v1.1.1-cannavaro [1.1.0 - Benzema]: https://github.com/nanotaboada/rust-samples-rocket-restful/compare/v1.0.0-aguero...v1.1.0-benzema [1.0.0 - Agüero]: https://github.com/nanotaboada/rust-samples-rocket-restful/releases/tag/v1.0.0-aguero