v1.10.0
[v1.10.0] – 2025-05-10
Added
- Cursor-based pagination on
GET /api/v1/wordswithper_pageandcursorparameters for efficient infinite scrolling. WordIndexRequestto validateper_pageandcursorinputs on thewordsendpoint.WordResourceandWordCollectionfor consistent, self-documented JSON output.CursorPaginationLinkstrait to centralize next/previous link generation.- API versioning: all routes now prefixed with
/api/v1.
Changed
-
Upgraded PHP-FPM from 8.4.6 to 8.4.7.
-
Updated PHP dependencies via
composer update. -
Slimmed down
README.md, offloading detailed REST, setup, GraphQL and pagination docs intodocs/. -
Enhanced
docs/guides/rest.mdwith a top-level Pagination section and flow examples. -
Added SonarQube integration notes to
docs/development/README.md. -
Refactored
WordService: renamed constructor property from$wordRepositoryto$repofor uniformity. -
Refactored
WordRepository: simplified constructor signature andgetAllWordsWithTranslations()implementation. -
Updated
TODO.mdwith current tasks and status. -
Changed
GET /api/v1/words/{id}to returnWordResourcedirectly (nodatawrapper).Example response
{ "id": 1, "word": "Computer", "locale": { "es": "Computadora / Ordenador", "de": "Computer / Rechner" } }