- Dropped support for PHP 7.3 and lower
- Fixed Exception Error for PDO Driver
- Dropped support for PHP 7.0 and lower
- Added support for PHP 8
- Dropped support for PHP 7.0 and lower
- Renamed
Foolz\SphinxQL\MatchtoFoolz\SphinxQL\MatchBuilder(BREAKING CHANGE)
- Added exception code and previous throwable to errors
- Added
setTypemethod toSphinxQLclass - Added support for
MATCHtoDELETEqueries - Updated MySQLi driver to silence internal warnings by default
- Added support for Manticore
- Added
Percolateclass forManticore - Added
orPhrasemethod toMatchclass - Added
resetFacetsmethod toSphinxQLclass - Added support for multi-document snippet call
- Fixed
Connectionexception thrown - Fixed incorrect property accessibility/visibility
- Refactored
ResultSetandMultiResultSetclasses to reduce duplicate code - Removed
Connectionerror suppression - Removed
SphinxQL\Drivers\ResultSetAdapterInterfaceconstants - Removed static
SphinxQL::createmethod - Removed deprecated
\Foolz\SphinxQL\Connection - Removed support for PHP 5.3 and HHVM
- Updated fetch type for drivers to use
booleanto return assoc/indexed arrays - Updated PHPDoc blocks
Note: This release contains breaking changes around the instantiation of the SphinxQL class with the removal of static methods. Please refer to the README for any API changes.
- Added support for
GROUP N BY - Refactored
Connection,\Foolz\SphinxQL\Connectionis now deprecated. - Refactored
ResultSetandMultiResultSetto reduce duplicate code
Note: This release contains breaking changes with the introduction of ResultSet and MultiResultSet changes. Please refer to the README for any API changes.
- Added support for unix sockets
- Added
NOT INcondition inWHEREstatements
- Added named integer lists support to
OPTIONwith associative array (@alpha0010) - Deprecated special case
OPTIONforfield_weightsandindex_weights - Forced
Connectionto use utf8 charset (@t1gor)
Expressionsupport forOPTIONvalue
- Replaced
getConnectionParams()andsetConnectionParams()withgetParam(),getParams(),setParam()(thanks to @FindTheBest) - Deprecated
getConnectionParams()andsetConnectionParams() - Added
ConnectionInterface
- HHVM support
- Added escaping of new MATCH features by lowercasing the search string
- Created
Helperclass to contain non-query-builder query methods, all returningSphinxQLobjects - Deprecated all non-query-builder query methods in
SphinxQLclass - Improved
$sq->enqueue()inSphinxQLclass to have a parameter to append any customSphinxQLobjects - Added
$sq->query()method toSphinxQLto allow setting SQL queries without executing them
- Deprecated SphinxQL::forge() with static Connection and implemented SphinxQL::create($conn)
- Added array and * support to MATCH columns (thanks to @FindTheBest)
- Added Expression support to MATCH value
- Refactored to be fully OOP
- Changed code style to be PSR-2 compliant
- Removed all unnecessary
statickeywords - Removed old bootstrap file for fuelphp
- Added Connection::ping()
- Added Connection::close()
- Fixed uncaught exception thrown by Connection::getConnection()
- Removed Array typehints
- Removed unsupported charset argument
- Fixed composer bootstrap
- Removed
Sphinxqlprefix on Connection and Expression classes
- Added Queue support
- Fixed composer bootstrap
- Improved phpunit tests
- Initial release