- 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\Match
toFoolz\SphinxQL\MatchBuilder
(BREAKING CHANGE)
- Added exception code and previous throwable to errors
- Added
setType
method toSphinxQL
class - Added support for
MATCH
toDELETE
queries - Updated MySQLi driver to silence internal warnings by default
- Added support for Manticore
- Added
Percolate
class forManticore
- Added
orPhrase
method toMatch
class - Added
resetFacets
method toSphinxQL
class - Added support for multi-document snippet call
- Fixed
Connection
exception thrown - Fixed incorrect property accessibility/visibility
- Refactored
ResultSet
andMultiResultSet
classes to reduce duplicate code - Removed
Connection
error suppression - Removed
SphinxQL\Drivers\ResultSetAdapterInterface
constants - Removed static
SphinxQL::create
method - Removed deprecated
\Foolz\SphinxQL\Connection
- Removed support for PHP 5.3 and HHVM
- Updated fetch type for drivers to use
boolean
to 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\Connection
is now deprecated. - Refactored
ResultSet
andMultiResultSet
to 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 IN
condition inWHERE
statements
- Added named integer lists support to
OPTION
with associative array (@alpha0010) - Deprecated special case
OPTION
forfield_weights
andindex_weights
- Forced
Connection
to use utf8 charset (@t1gor)
Expression
support forOPTION
value
- 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
Helper
class to contain non-query-builder query methods, all returningSphinxQL
objects - Deprecated all non-query-builder query methods in
SphinxQL
class - Improved
$sq->enqueue()
inSphinxQL
class to have a parameter to append any customSphinxQL
objects - Added
$sq->query()
method toSphinxQL
to 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
static
keywords - 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
Sphinxql
prefix on Connection and Expression classes
- Added Queue support
- Fixed composer bootstrap
- Improved phpunit tests
- Initial release