Skip to content

2.2.0

Latest
Compare
Choose a tag to compare
@MacFJA MacFJA released this 13 Aug 22:19
· 8 commits to main since this release

Added

  • Documentation on paginated responses
  • Throw custom exception is client is missing
  • Add compatibility for Predis version 2.x
  • LOAD ALL option on Aggregate command (RediSearch 2.0.13)
  • Profile command (RediSearch 2.2.0) (Issue#4)
  • Vector feature (RediSearch 2.4.0 / 2.4.2)
  • Add DIALECT option (RediSearch 2.4.3) (Issue#35)
  • (dev) Add make clean to remove all generated files
  • (dev) Add code coverage to \MacFJA\RediSearch\Index
  • (dev) Add integration test for document insertion

Fixed

  • Missing default values on highlight option (Issue#38)
  • Don't throw an exception if the result of the index definition is incorrect (Issue#46)
  • Phpredis extension don't return raw response (Issue#46)
  • Error with version reading if MODULE LIST command is protected (PR#42)

Changed

  • Rework paginated responses
  • Add warning for Predis commands initialization
  • Lazy load RediSearch version and index information in \MacFJA\RediSearch\Index
  • Allow to provide RediSearch version manually to \MacFJA\RediSearch\Index
  • (dev) Remove deprecated --no-suggest option of Composer in the Makefile
  • (dev) Update PHP-CS-Fixer version

Deprecated

  • \MacFJA\RediSearch\Redis\Response\AggregateResponseItem::getValue (use \MacFJA\RediSearch\Redis\Response\AggregateResponseItem::getFieldValue instead)

Thanks to @DvirDukhan, @iMactool, @gaohc001, @vlradstake for their contributions