Skip to content

Releases: Oscabrera/model-repository

v2.0.5

24 Jun 13:39
6de645c
Compare
Choose a tag to compare

v2.0.5

βœ… Tests:

  • Added job to verify PHPStan in push

πŸ› Bug Fixes:

  • Bug fixes with PHPStan.

πŸ”§ Improvements:

  • Create Class Analyzer to validate tools with composer and git log.
  • Create PHP class PhpStanAnalyzer to validate PHPStan.
  • CIScripts namespace added to PHPStan.
  • PHPStan is added as a dependency in dev.
  • Set the LengthAwarePaginator type to Repository.stub.

βš™οΈ Refactoring

  • Removed use of ModelCreateException on created files.

⚠️ Breaking Changes:

  • Remove the ModelCreateException class, it is not required.

πŸ“š Documentation:

  • Add the PHPStan badge to see if it passes in README and VitePress.

What's Changed

Full Changelog: v2.0.4...v2.0.5

v2.0.4

20 Jun 23:45
8697c51
Compare
Choose a tag to compare

v2.0.4

πŸ› Bug Fixes

  • Correct exception is thrown to not process data in FailedValidationTrait
  • Fixed bug that showed all error messages on each entry in FailedValidationTrait

βš™οΈ Refactoring

  • Cleaned code to ensure PHP Mess detector test

πŸ“š Documentation

  • Documentation is improved

What's Changed

  • Fix src/Trait/FailedValidationTrait.php by @Oscabrera in #6

Full Changelog: v2.0.3...v2.0.4-

v2.0.3

18 Jun 02:09
8880183
Compare
Choose a tag to compare

v2.0.3

πŸš€ New Features

  • Change maker of request with command to stubs

πŸ“š Documentation

  • Add badge of VitePress public page

What's Changed

Full Changelog: v2.0.2...v2.0.3

v2.0.2

11 Jun 15:06
Compare
Choose a tag to compare

v2.0.2

πŸ› Bug Fixes

Correct mapping for methods in repository stubs

Full Changelog: v2.0.1...v2.0.2

v2.0.1

11 Jun 02:51
Compare
Choose a tag to compare

v2.0.1

πŸ› Bug Fixes

expose the BindingServiceProvider

πŸ“š Documentation

Updated documentation to reflect interfaces available

v2.0.0

11 Jun 01:27
Compare
Choose a tag to compare

Release Notes: Version 2.0.0

πŸš€ New Features

πŸ› Bug Fixes

  • Corrected the use of singular to plural in the URL endpoints.

πŸ”§ Improvements

  • Organized interfaces into services and repositories directories for better structure.
  • Switched to using interfaces instead of implementations in services and repositories.
  • Implemented the use of JsonApiPaginationTransformer and EntityResourceTransformer from the Oscabrera/laravel-json-api-format-paginate package, eliminating the use and creation of resource and collection classes.
  • Introduced BindingServices to associate implementations with interfaces via a configuration file, automatically mapped in the ServicesProvider.

βš™οΈ Refactoring

  • Created new interfaces for repositories and grouped them into logical folders.
  • Standardized the internal folder structure for better organization and maintainability.

πŸ›  Maintenance

  • Validation added to restrict the use of the command for regenerating the structure to the local environment.

πŸ“š Documentation

  • Updated documentation to reflect the new changes and integrations.

⚠️ Breaking Changes

  • Elimination of queryOptions: The queryOptions class has been removed and replaced with QueryFilters.
  • Resource and Collection Classes: Removed the use and creation of resource and collection classes in favor of JsonApiPaginationTransformer and EntityResourceTransformer.

v1.3.0

13 Apr 05:38
Compare
Choose a tag to compare
  • Add the --all option to facilitate the creation of resources.
  • Adding the --force option overwrites the resources.
  • Add aliases to commands.
  • Allow the creation of factories
  • Release project documentation, model-repository

1.2.1

18 Mar 05:51
Compare
Choose a tag to compare

1.2.1 add support for laravel 9 and 10

1.2.0

18 Mar 05:35
Compare
Choose a tag to compare