Releases: proyectosbeta/TechWordTranslatorAPI
Releases · proyectosbeta/TechWordTranslatorAPI
v1.12.0
[v1.12.0] - 2025-06-12
Added
- Redis caching implementation:
- Added Redis service to Docker Compose
- Created
CacheService
for centralized cache management - Implemented cache layer for
/api/v1/words
endpoints - Added
CacheableWordRepository
using decorator pattern - Configured Redis as the default cache driver
- Added detailed Redis cache documentation in
docs/cache/redis.md
Changed
- Upgraded PHP-FPM from 8.4.7 to 8.4.8
- Upgraded Composer from 2.8.8 to 2.8.9
- Upgraded Laravel Framework from 11.42.2 to 11.42.7
- Upgraded JWT-Auth from 2.7.3 to 2.8.2
- Upgraded Sail from 1.41.0 to 1.41.1
- Upgraded PHPUnit from 10.5.45 to 10.5.46
Infrastructure
- Added Redis container configuration in
docker-compose.yml
- Set up Redis connection parameters in
.env.example
v1.11.0
v1.10.0
[v1.10.0] – 2025-05-10
Added
- Cursor-based pagination on
GET /api/v1/words
withper_page
andcursor
parameters for efficient infinite scrolling. WordIndexRequest
to validateper_page
andcursor
inputs on thewords
endpoint.WordResource
andWordCollection
for consistent, self-documented JSON output.CursorPaginationLinks
trait 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.md
with a top-level Pagination section and flow examples. -
Added SonarQube integration notes to
docs/development/README.md
. -
Refactored
WordService
: renamed constructor property from$wordRepository
to$repo
for uniformity. -
Refactored
WordRepository
: simplified constructor signature andgetAllWordsWithTranslations()
implementation. -
Updated
TODO.md
with current tasks and status. -
Changed
GET /api/v1/words/{id}
to returnWordResource
directly (nodata
wrapper).Example response
{ "id": 1, "word": "Computer", "locale": { "es": "Computadora / Ordenador", "de": "Computer / Rechner" } }
v1.9.1
[v1.9.1] - 2025-05-02
Documentation
- Added missing PHPUnit coverage command documentation:
- Added detailed instructions for generating coverage reports
- Documented coverage configuration for SonarQube integration
- Updated setup steps in SonarQube documentation
v1.9.0
[v1.9.0] - 2025-05-01
Added
- Integrated SonarQube for code quality and static analysis.
- Added PHPUnit coverage report generation (
coverage.xml
) for SonarQube integration. - Added a new item to the To-Do List feature.
- Added specific Docker images for PHP 8.4 and MySQL 8 in
docker-compose.yml
andDockerfile
.
Changed
- Updated PHP dependencies via
composer update
.
Documentation
- Enhanced README.md with:
- Added new badges for technologies (MySQL, Node, NPM, PHPUnit, Composer, SonarQube, JWT)
- Updated existing badges with logos and current versions
- Improved badge organization and readability
- Added SonarQube setup and configuration section
- Updated table of contents to include new sections
- Added comprehensive SonarQube documentation in
docs/development/sonarqube.md
:- Detailed setup instructions
- Configuration guidelines
- Best practices for token management
- Project improvements based on analysis
v1.8.0
[v1.8.0] - 2025-04-15
Added
- Introduced a new To-Do List feature.
- Added
WordServiceTest
using PHPUnit.
Fixed
- In
WordService
, movedDB::beginTransaction()
to the appropriate location indestroyWordWithTranslations
.
Security
- Updated security-related packages in
composer.json
.
Documentation
- Enhanced the README file with updated badges, a comprehensive table of contents, and improved formatting for clarity.