This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
Releases: Saritasa/php-laravel-repositories
Releases · Saritasa/php-laravel-repositories
4.0.0
3.8.0
3.7.0
Add ability to sort by multiple fields.
3.6.0
Changes:
- Add ability to create filters with check on relation existing
3.5.0
Changes:
- Add ability to use sorting when need to get cursor or paging result
3.4.0
Changes:
- Remove TypeHinting in Repository to make compatibility with other DB
- Use container resolver for dependencies into repositories factory
- Add ability to use 'or' statement between filter groups
3.3.0
Changed:
- Count method now can receive fieldValues array to filter results
- Repository methods create/save/delete/ now can throw an exception if given model type don't match with - served model by repository
- Repository findOrFail method now checks compliance types of given value and served model primary key.
- getPage and getCursorPage methods now use nested queries functionality as well as findWhere/getWhere/getWith
- Method getWithBuilder marked as deprecated
- Increased unit tests coverage
- Fixed small description issues
3.2.3
Changed:
- Comparing Dates in the Repository now compatible with Eloquent
3.2.2
Changed:
- Fix
dev-master
version in composer file
3.2.1
Fixed:
- Methods getWith/findWhere/getWhere call when as value uses Carbon\Carbon instance and as key field name, now not throws BadCriteriaException.