All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added response body to error classes.
- Some bugs with error classes in Management API (thanks to @arkadiuszzietek).
- Custom error classes for Management API.
- New client for Management API v2.
- Refactored client for Search API v5.
- Holds less state.
- Refactor some methods related to params processing.
- Client for Management API v1.
- Some methods related to facets and sorting in search client.
- Guarantee a max of 2 requests/s when getting search engines. Thanks to @magently.
- Now all exceptions inherit from a custom base exception (
DoofinderException
). Thanks to @julien-jean.
- Travis CI tests enhancements. Thanks to @julien-jean.
getItems()
method in order to deprecate the olditems()
method.- Deprecation message for
getDatatypes()
method in favor of thegetTypes()
method. getAllTypes()
method to retrieve all user and internal datatypes for a search engine.getInternalTypes()
method to retrieve internal datatypes only for a search engine.
getTypes()
now only returns user-defined datatypes and not internal ones so passing the result of that function todeleteType()
doesn't produce unexpected results (like removing all search suggestions).
- SearchEngines CRUD
- Support for multiple types deletion in a single request.
- Small refactoring to allow changing the endpoint easily for dev.
- Support for partial updates.
### Added
- TypeAlreadyExists error.
- Stats endpoint.
- Version in
composer.json
.
- Restored redirection in the response.
- Throw exception when api key is not correctly set.
- Force
http_buid_query
to use&
separator.
- Bug reading error response details.
### Added
- Support for exclusion filters (thanks to @sPooKee).
getFacet
method returns simplified array. BREAKING- Former
getFacet
method is now calledgetLegacyFacet
. BREAKING
- Added
deleteItems
method.
- Added phpUnit tests.
- Some small refactoring
- Autoload for those not using Composer.
- Some bugfixes.
- Decent formatting.
- Added to the Composer repository.
- Complete rewrite of the file structure: PSR-4 compliant.
- Added sort parameter.
- Stats retrieval.
### Changed
- Bugfixes.
- Bugfixes.
- Mainteinance release.
- Search Client:
getOptions
method.
- Search Client: HTTPS is mandatory now. BREAKING
- Allow unprefixed parameters.
- Allow custom query parameter name.
- API Key Authorization. API Key required in client constructor. BREAKING