Releases: doofinder/php-doofinder
Releases · doofinder/php-doofinder
Raise Exception when API Key badly configured
v5.7.0 #24 Throw exception when api key is not correctly set
Make sure "&" is used to separate parameters
v5.6.3 #23 force http_buid_query to use & separator
Bugfixes
Fixed bug reading details from an error response.
Added exclusion filters to Search API
Thanks to @sPooKee.
Simplified getFacet method return value.
WARNING: Breaking changes
The getFacet('price')
has changed. Old functionality is available through getLegacyFacet('price')
.
New return values for getFacet()
are:
Terms Facets
array(
'count' => 232,
'terms' => array(
array(
'term' => 'France',
'count' => 23,
'selected' => false // if previously selected as a filter
),
array(
'term' => 'Spain',
'count' => 2,
'selected' => true
),
...
)
);
Range Facets
array(
'count' => 232,
'from' => 23.2,
'to' => 443.1,
'selected_from' => 44, // if se;ected as filter. false otherwise
'selected_to' => 401 // if selected as filter
);
Deleting a Datatype is now an async operation
Take a look at the README.
Delete Items in bulk
added deleteItems(type, idsArray) method.
PHPUnit Tests
- Some little rf
- PHPUnit Tests
bug fixes. a decent formatting. v5 by default
v5.4.3 Bugfixes, v5 API by default, updated documentation, cosmetic changes.…
PSR-4 Compliance
Complete rewrite of the file structure. one file per class to make it PSR-4 compliant.
Integration with packagist via composer