- update dependencies for Laravel and Lumen 9.x.x compatibility
- add functions
* sum()
- add functions to work with cache trait
* count()
* sum()
- compatibility with PHP version 8.x (updated composer.json file)
- DateCriteria now accept "column" parameter
- add new criteria
* FindWhereOrWhereCriteria
* FindWhereNotIn
- update ext-json version to "*" in composer.json file
- update dependencies for Laravel and Lumen 8.x.x compatibility
- remove unnecessary composer.lock file
- add new functions
* doesntHave($relation, $boolean, $callback)
* orDoesntHave($relation)
* hasMorph($relation, $types, $operator, $count, $boolean, $callback)
* orHasMorph($relation, $types, $operator, $count)
* doesntHaveMorph($relation, $types, $boolean, $callback)
* orDoesntHaveMorph($relation, $types)
* whereHasMorph($relation, $types, $callback, $operator, $count)
* orWhereHasMorph($relation, $types, $callback, $operator, $count)
* whereDoesntHaveMorph($relation, $types, $callback)
* orWhereDoesntHaveMorph($relation, $types, $callback)
- add missing applyCriteria() in chunk() function
- add new functions
* has($relation, $operator, $count, $bolean, $callback) - where has relation
* orHas($relation, $operator, $count) - or where has relation
* whereHas($relation, $callback, $operator, $count)
* orWhereHas($relation, $callback, $operator, $count)
* whereDoesntHave($relation, $callback)
* orWhereDoesntHave($relation, $callback)
* withCount($relations)
- add withTrashed() and onlyTrashed() moethods for Soft deleted entities
- add possibility to manualy clear cache for repository
- add possibility to manually set user tag in WithCache trait - for caching data for given user
when is not autheniticated (i.e. in Jobs, Commands)
- update criteria serialization in WithCache trait to prevent Closure serialization error
- possibility to disable cache from .env
- update WithCache trait
- fix problem when Model was not reset after function call
- update dependencies for Laravel and Lumen 7.x.x compatibility
- add paginate() and simplePaginate() functions - both with caching option
- fix popCriteria() function - applied criteria was not cleared properly
- fix misspell in first() function in WithCache trait
- fix clearCriteria() function
- fix first() function in WithCache trait
- fix wrong configuration file name
- update create cache key - now is namespace of repository class insted of name. This
prevent overwrite if you have multi repository with this same class name.
- fix problem with flushing cache in Repository - now is flushed separately for
each repository class