Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .claude/commands/pre-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)

Expand Down Expand Up @@ -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
Loading