Releases: Oscabrera/model-repository
Releases Β· Oscabrera/model-repository
v2.0.5
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
- Delete-ModelCreateException by @Oscabrera in #7
- Feature/analyze phpstan action by @Oscabrera in #8
- add badge PHPStan by @Oscabrera in #9
Full Changelog: v2.0.4...v2.0.5
v2.0.4
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
v2.0.3
π New Features
- Change maker of request with command to stubs
π Documentation
- Add badge of VitePress public page
What's Changed
- use Request.stub by @Oscabrera in #1
- fix docs not use Authorize by @Oscabrera in #2
- add badge VitePress by @Oscabrera in #3
- change version by @Oscabrera in #4
Full Changelog: v2.0.2...v2.0.3
v2.0.2
v2.0.2
π Bug Fixes
Correct mapping for methods in repository stubs
Full Changelog: v2.0.1...v2.0.2
v2.0.1
v2.0.0
Release Notes: Version 2.0.0
π New Features
- Query Filters Integration: Replaced the
queryOptions
class withQueryFilters
from the Oscabrera/laravel-query-filters package. - JSON:API Pagination: Added JSON:API format pagination support using the Oscabrera/laravel-json-api-format-paginate package.
π Bug Fixes
- Corrected the use of singular to plural in the URL endpoints.
π§ Improvements
- Organized interfaces into
services
andrepositories
directories for better structure. - Switched to using interfaces instead of implementations in services and repositories.
- Implemented the use of
JsonApiPaginationTransformer
andEntityResourceTransformer
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 theServicesProvider
.
βοΈ 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
: ThequeryOptions
class has been removed and replaced withQueryFilters
. - Resource and Collection Classes: Removed the use and creation of resource and collection classes in favor of
JsonApiPaginationTransformer
andEntityResourceTransformer
.
v1.3.0
- 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
1.2.0
1.2.0
Full Changelog: https://github.com/Oscabrera/model-repository/commits/1.2.0