Releases: kununu/elasticsearch
Releases · kununu/elasticsearch
Update kununu/collections from 4.1 to 5.0
Changes
Backward Compatibility Breaks
Bugfixes
Added
- Update kununu/collections from 4.1 to 5.0
Improvements
Deprecated
Add Aggregate Composite By Query
Changes
Backward Compatibility Breaks
Bugfixes
Added
- Add Aggregate Composite By Query
Improvements
Deprecated
Drop support for PHP 8.0
Changes
Backward Compatibility Breaks
- Drop support for PHP 8.0 - PHP 8.1 is now the minimum version.
Bugfixes
Added
Improvements
- Upgraded PHPUnit to version 10.5
- Refactor some code to take advantage of PHP 8.1 features (read-only properties)
- Fix tests that used deprecated/removed features on PHPUnit 10.5
- Refactor tests to be more PHPUnit 10.5 compliant (e.g. using attributes for data providers, make all data providers static, etc.)
- Updated versions of continuous integration components
Deprecated
Send scroll_id in the body of the request in Repository::findByScrollId
Changes
Backward Compatibility Breaks
Bugfixes
Added
Improvements
- Send
scroll_id
in the body of the request inRepository::findByScrollId
to get rid of deprecation notices
Deprecated
Version 6.0
Changes
Backward Compatibility Breaks
AbstractBoolQuery
class is now strongly typed to only acceptCriteriaInterface
instances on constructor andcreate
methodQuery
class is now strongly typed to only acceptCriteriaInterface|AggregationInterface
instance on constructor andcreate
andcreateNested
methods- But those methods still will only properly accept
FilterInterface
,NestableQueryInterface
,SearchInterface
orAggregationInterface
implementations
- But those methods still will only properly accept
Bugfixes
Added
-
Added the following methods to
Repository
clearScrollId
- To clear a scroll id after running scroll operations (see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/clear-scroll-api.html)
deleteBulk
- To bulk delete all documents matching the given ids (see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/docs-bulk.html)
findByIds
- To bulk retrieve multiple documents based on the given ids (see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/docs-multi-get.html)
-
Added the following methods to
IndexManager
getSingleIndexByAlias
- To get a single index by an alias
Improvements
- Fixed code standards
- Refactor some code to take advantage of PHP 8.0 features (promoted properties, match, arrow functions, etc.)
- Split repository tests class into multiple classes (one per method) to simplify maintenance of tests
Deprecated
Added range aggregation
Added the possibility of using the range aggregation
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-range-aggregation.html
Fix deprectation warnings on PHP 8.1
v2.7.1 Fix deprectation warnings on PHP 8.1
Version 5.1.0
Backward Compatibility Breaks
Bugfixes
Added
- Added functionality for PrefixQuery. #88
Improvements
Deprecated
ES6 to ES7 migration release
This release is only to help on migrations from Elasticsearch 6 to Elasticsearch 7!
It allows IndexManager
and Repository
to use either the official Elasticsearch client or our fork with renamed namespaces
Drop support for PHP < 8 and ES 6 and remove support for mapping types
Backward Compatibility Breaks
- Removed support for mapping types in
IndexManager::putMapping()
(
see https://www.elastic.co/guide/en/elasticsearch/reference/7.17/removal-of-types.html)
Bugfixes
none
Added
- Config option for setting
scroll_context_keepalive
perRepository
and/or perQuery
(
see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/paginate-search-results.html#scroll-search-results)
Improvements
- Removed support for mapping types (
see https://www.elastic.co/guide/en/elasticsearch/reference/7.17/removal-of-types.html)
Deprecated
none