Version 1.3.0
Added
- Shorthand for Reducer functions
- Add Deprecated section in
CHANGELOG.md - Add Redis pipeline support
- Prefix properties name with
@in Aggregation's SortBy (keep BC) - Add more unit tests (Aggregation options, Field creation, DataHelper, RedisHelper)
- (dev) Add mutation testing
Changed
- Allow
GROUPBYwith no properties - Allow
GROUPBYwith no reducers - (dev) Replace
php-parallel-lintlib. - (dev) Add Php-Cs-Fixer on
tests/ - (dev) Improve Makefile
Fixed
- Fix namespace of tests
- Aggregation result can now be an array
- Fix Index builder options not preserved (PR#3)
- Aggregation SortBy allow 0 (not limit) as value for Max
- Fix helper removing "nullish" values (
array_filteris too lax by default) - Fix order in fields creation not being correct
- Don't allow empty facet in search query
Deprecated
MacFJA\RediSearch\Aggregate\Exception\NotEnoughPropertiesExceptionMacFJA\RediSearch\Aggregate\Exception\NotEnoughReducersException
Thank to @myriacl & @pierrexp9 for reporting and fixing the index builder (PR#3)