NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #5354 most downloaded on Packagist
Elasticsearch DSL library
Latest stable
v7.2.2
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.9 years
Nearly every release is documented
notes for 41 of 41 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
44 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
This release adds compatibility for php 8 and removes php 7.3 compatibility
This release adds compatibility for php 8 and removes php 7.3 compatibility
#349: Use Github Actions thanks to @shyim #350: Fixed for PHP 8 Compatibility thanks to @lernhart
This release only fixes compatibility for composer/composer:^2.0.
This release only fixes compatibility for composer/composer:^2.0.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add support for symfony serializer 5.0
This release only fixes compatibility for composer/composer:^2.0.
This release only fixes compatibility for composer/composer:^2.0.
Removed support for symfony serializer 5.0 due incompatibility issues between v5 and v4
There will be a v7.2 version of this library to support serializer v5
Add support for symfony serializer 5.0
### Changes in this release * Add support for the Symfony 5
Added support for Elasticsearch 7
Added support for Elasticsearch 7
Upgraded minimum PHP version requirement to 7.3
Add support for symfony serializer 5.0
Removed support for symfony serializer 5.0 due incompatibility issues between v5 and v4
There will be a v6.2 version of this library to support serializer v5
Add support for symfony serializer 5.0
### Changes in this release * Add support for the Symfony 5
added new NestedSort for replacing deprecated nested_filter and nested_path
track_total_hits (#273)Fixed coveralls phpunit tests coverage report
Allow all versions of random_compact library.
random_compact library.Added weight option to the decay function #262
New stable version for Elasticsaerch 6.
New stable version for Elasticsaerch 6.
elasticsearch/elasticsearch moved to composer required dev dependencies### Changes in this release * Dropped PHP 5 support * Added Elasticsearch 6 support
Added "Missing" support to Field Value Factor
Allow all versions of random_compact library.
random_compact library.### Changes in this release * Serializer improvements #268
Fixed bool query structure when the body is empty #263
Added weight option to the decay function #262
Allow lower random_compat version
Added missing scroll param to URL params
Deprecated aggregations removed. Check if the namespace is correct. All aggregations grouped to Bucketing, Metric and Pipeline namespaces.
New major version. The most important change is to add support for Elasticseach >=5.
To upgrade from 2.x to 5.x:
Compound, FullText, Geo, Joining, Span, Specialized and TermLevel.Search::setFields() and Search::getFields() were changed to Search::setStoredFields() and Search::getStoredFields().elasticsearch\elasticsearch to required dependency list in the composer.json.Bucketing, Metric and Pipeline namespaces.Search::getQueryParams() changed to Search::getUriParams(). All setter's for request URI parameters removed in favor of uriParams container. You can add URI parameters by addUriParam, and this function also has validation.FilterEndpoint was removed due to deprecated filters in elasticsearch.Compound, FullText, Geo, Joining, Span, Specialized and TermLevel.elasticsearch\elasticsearch to required dependency list in the composer.json.Bucketing, Metric and Pipeline namespaces.Search::getQueryParams() changed to Search::getUriParams(). All setter's for request URI parameters removed in favor of uriParams container. You can add URI parameters by addUriParam, and this function also has validation.Search::setFields() and Search::getFields() were changed to Search::setStoredFields() and Search::getStoredFields().FilterEndpoint was removed due to deprecated filters in elasticsearch.Changed query structure by grouping queries. #195
Like aggs, all queries are grouped to its domain level namespace (compound, term, etc). In 5.0 it will be removed.
Fixed function score for 2.x elastic.
Added support for elasticsearch 5.0 #166
ONGR\ElasticsearchDSL\Query\MatchAllQuery:toArray() now returns \std() instead of empty array. This is because elasticsearch 5.0 client now doesn't accept empty array.
Added check if BoolQuery has requested type queries #159
### Changes in this release - Minor fixes
Aggregations were moved to its type namespace to avoid duplications. Old ones deprecated and will be removed in 3.0
Fixed function score query #122
Fixed FiltersAggregation generates invalid array #91
[BC break] Aggregation name is not prefixed anymore
toArray() now returns array WITH query type[BC break] Aggregation name is not prefixed anymore
Fixed parameters handling in BoolQuery query
BoolQuery queryDeprecated FuzzyLikeThisQuery and FuzzyLikeThisFieldQuery queries
FuzzyLikeThisQuery and FuzzyLikeThisFieldQuery queriesFuzzyLikeThisQuery and FuzzyLikeThisFieldQuery queriesDeprecated DslTypeAwareTrait and FilterOrQueryDetectionTrait traits
DslTypeAwareTrait and FilterOrQueryDetectionTrait traitsFilters were deprecated due Elasticsearch filters and queries merge. Now every query can react the same way as a filter, see the docs for more info
ONGR Strict standard was deprecated and now we are checking and requiring only PSR2
~2.7 and ~3.0 are supporteddocs: https://github.com/ongr-io/ElasticsearchDSL/blob/v1.0.0/docs/index.md
docs: https://github.com/ongr-io/ElasticsearchDSL/blob/v1.0.0/docs/index.md
See docs for all supported features: https://github.com/ongr-io/ElasticsearchDSL/blob/v1.0.0-RC1/docs/index.md
See docs for all supported features: https://github.com/ongr-io/ElasticsearchDSL/blob/v1.0.0-RC1/docs/index.md
One column per quarter.