Skip to content

Version 1.3.0

Compare
Choose a tag to compare
@MacFJA MacFJA released this 16 Mar 19:41
· 90 commits to main since this release

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 GROUPBY with no properties
  • Allow GROUPBY with no reducers
  • (dev) Replace php-parallel-lint lib.
  • (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_filter is 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\NotEnoughPropertiesException
  • MacFJA\RediSearch\Aggregate\Exception\NotEnoughReducersException

Thank to @myriacl & @pierrexp9 for reporting and fixing the index builder (PR#3)