Skip to content

Commit 8ddb117

Browse files
authored
Merge pull request #305 from nanotaboada/release/v2.0.0-barcelona
docs(changelog): prepare release notes for v2.0.0-barcelona
2 parents 588534c + e07c3a4 commit 8ddb117

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@ Release names follow the **historic football clubs** naming convention (A–Z):
4040

4141
## [Unreleased]
4242

43+
### Added
44+
45+
### Changed
46+
47+
### Fixed
48+
49+
### Removed
50+
51+
---
52+
53+
## [2.0.0 - Barcelona] - 2026-04-06
54+
4355
### Changed
4456

4557
- Normalize data-state vocabulary in BDD-style test names: rename 12 `given*`
@@ -66,6 +78,10 @@ Release names follow the **historic football clubs** naming convention (A–Z):
6678
- `PUT /players/{squadNumber}` and `DELETE /players/{squadNumber}`: path
6779
variable changed from `Long id` to `Integer squadNumber` (#268)
6880
- `GET /players/{id}`: path variable changed from `Long` to `UUID` (#268)
81+
82+
**BREAKING CHANGE**: `PUT /players/{id}` and `DELETE /players/{id}` routes
83+
replaced by `PUT /players/{squadNumber}` and `DELETE /players/{squadNumber}`;
84+
`GET /players/{id}` path variable type changed from `Long` to `UUID` (#268)
6985
- `storage/players-sqlite3.db`: schema migrated to `id VARCHAR(36) PRIMARY KEY`,
7086
`squadNumber INTEGER NOT NULL UNIQUE`; 25 players preserved (#268)
7187
- `ddl.sql` and `dml.sql`: test schema and seed data updated for new structure (#268)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ Interactive API documentation is available via Swagger UI at `http://localhost:9
143143
| Method | Endpoint | Description | Status |
144144
| ------ | -------- | ----------- | ------ |
145145
| `GET` | `/players` | List all players | `200 OK` |
146-
| `GET` | `/players/{id}` | Get player by ID | `200 OK` |
146+
| `GET` | `/players/{id}` | Get player by UUID | `200 OK` |
147147
| `GET` | `/players/search/league/{league}` | Search players by league | `200 OK` |
148148
| `GET` | `/players/squadnumber/{squadNumber}` | Get player by squad number | `200 OK` |
149149
| `POST` | `/players` | Create new player | `201 Created` |
150-
| `PUT` | `/players/{id}` | Update player by ID | `204 No Content` |
151-
| `DELETE` | `/players/{id}` | Remove player by ID | `204 No Content` |
150+
| `PUT` | `/players/{squadNumber}` | Update player by squad number | `204 No Content` |
151+
| `DELETE` | `/players/{squadNumber}` | Remove player by squad number | `204 No Content` |
152152
| `GET` | `/actuator/health` | Health check | `200 OK` |
153153

154154
Error codes: `400 Bad Request` (validation failed) · `404 Not Found` (player not found) · `409 Conflict` (duplicate squad number on `POST`)

0 commit comments

Comments
 (0)