Skip to content

v1.13.0

Choose a tag to compare

@josego85 josego85 released this 17 Jul 20:44
· 164 commits to main since this release
892af03

[v1.13.0] - 2025-07-17

Added

  • Integrated GraphQL support for querying Word and Translation entities.
  • Added GraphQL types for Word and Translation models.
  • Implemented GraphQL queries:
    • words and word(id: ID!) to fetch English words.
    • translations and translation(id: ID!) to fetch Spanish and German translations.
    • Query to fetch translations by word ID.
  • Added GraphQL schema definitions including types and query declarations (no custom resolvers).
  • Added Xdebug support for PHP debugging.
  • Added Nginx container as a web server for the PHP-FPM service.
  • Added index, show, update, store, and destroy methods to TranslationController.
  • Added custom FormRequest classes for validation in translation and word endpoints.
  • Added service and repository layers for managing Translation logic.
  • Added entrypoint.sh script to set proper permissions for Laravel storage and bootstrap folders.
  • Added Laravel Pint configuration.
  • Added Composer commands:
    • "pint-test": "./vendor/bin/pint --config=pint.json --test"
    • "pint": "./vendor/bin/pint --config=pint.json"

Changed

  • Updated README.md:
    • Refreshed version badges.
  • Updated TODO.md with completed and pending tasks.

Fixed

  • Fixed logic in index, show, update, store, and destroy methods in WordController.
  • Refactored word and translation request validation using custom FormRequest classes.
  • Fixed implementation in Word service and repository layers.
  • Fixed type casting issues:
    • Converted route parameter word from string to int in controller before passing to service.
    • Converted route parameter translation from string to int in controller before passing to service.
    • Updated IndexRequest::getCursor() to return a ?string instead of a Stringable.
  • Removed duplicate Xdebug extension line in xdebug.ini that caused the extension to load twice.
  • Fixed incorrect PHPStan configuration:
    • Updated phpstan.neon to reference vendor/larastan/larastan/extension.neon.

Refactored

  • Used PHPStan to refactor and improve code quality in TranslationService.
  • Refactored codebase using Laravel Pint with its configuration.

Updated

  • Updated package laravel/pint from version v1.11.0 to v1.24.0.

Removed

  • Removed package laravel/sail.

Replaced

  • Replaced abandoned package nunomaduro/larastan with larastan/larastan.