Elasticsearch-dsl

Latest version: v8.13.1

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

7.4.0

------------------

* Added the ``ConstantKeyword``, ``RankFeatures`` field types (`1456`_, `1465`_)
* Added the ``ScriptScore`` query type (`1464`_)
* Added ``UpdateByQueryResponse.success()`` method (`1463`_)
* Added ``return_doc_meta`` parameter to ``Document.save()`` and ``Document.update()`` for
accessing the complete API response (`1466`_)
* Added support for ``calendar_interval`` and ``fixed_interval`` to ``DateHistogramFacet`` (`1467`_)
* Added ``Document.exists()`` method (`1447`_, contributed by `dem4ply`_)
* Added support for the ``year`` interval to ``DateHistogramFacet`` (`1502`_, contributed by `nrsimha`_)
* Fixed issue where ``to_dict()`` should be called recursively on ``Search.extras`` and ``**kwargs`` (`1458`_)
* Fixed inverse of an empty ``Bool`` query should be ``MatchNone`` (`1459`_)
* Fixed issue between ``retry_on_conflict`` and optimistic concurrency control within ``Document.update()`` (`1461`_, contributed by `armando1793`_)

.. _dem4ply: https://github.com/dem4ply
.. _nrsimha: https://github.com/nrsimha
.. _armando1793: https://github.com/armando1793
.. _1447: https://github.com/elastic/elasticsearch-dsl-py/pull/1447
.. _1456: https://github.com/elastic/elasticsearch-dsl-py/pull/1456
.. _1458: https://github.com/elastic/elasticsearch-dsl-py/pull/1458
.. _1459: https://github.com/elastic/elasticsearch-dsl-py/pull/1459
.. _1461: https://github.com/elastic/elasticsearch-dsl-py/pull/1461
.. _1463: https://github.com/elastic/elasticsearch-dsl-py/pull/1463
.. _1464: https://github.com/elastic/elasticsearch-dsl-py/pull/1464
.. _1465: https://github.com/elastic/elasticsearch-dsl-py/pull/1465
.. _1466: https://github.com/elastic/elasticsearch-dsl-py/pull/1466
.. _1467: https://github.com/elastic/elasticsearch-dsl-py/pull/1467
.. _1502: https://github.com/elastic/elasticsearch-dsl-py/pull/1502

7.3.0

------------------

* Added ``Intervals``, ``MatchBoolPrefix``, ``Shape``, and ``Wrapper`` queries (`1392`_, `1418`_)
* Added ``Boxplot``, ``RareTerms``, ``VariableWidthHistogram``, ``MedianAbsoluteDeviation``,
``TTest``, ``CumulativeCardinality``, ``Inference``, ``MovingPercentiles``,
and ``Normalize`` aggregations (`1416`_, `1418`_)
* Added ``__all__`` and removed all star imports from ``elasticsearch_dsl`` namespace
to avoid leaking unintended names (`1390`_)
* Fixed an issue where ``Object`` and ``Nested`` could mutate the inner
``doc_class`` mapping (`1255`_, contributed by `l1nd3r0th`_)
* Fixed a typo in query ``SpanContaining``, previously was ``SpanContainining`` (`1418`_)

.. _l1nd3r0th: https://github.com/l1nd3r0th
.. _1255: https://github.com/elastic/elasticsearch-dsl-py/pull/1255
.. _1390: https://github.com/elastic/elasticsearch-dsl-py/pull/1390
.. _1392: https://github.com/elastic/elasticsearch-dsl-py/pull/1392
.. _1416: https://github.com/elastic/elasticsearch-dsl-py/pull/1416
.. _1418: https://github.com/elastic/elasticsearch-dsl-py/pull/1418

7.2.1

------------------

* Fixed issue when slicing a Search that would result in a negative
``size`` instead of a ``size`` of 0. (`1360`_, contributed by `bk-equityzen`_)

.. _bk-equityzen: https://github.com/bk-equityzen
.. _1360: https://github.com/elastic/elasticsearch-dsl-py/pull/1360

7.2.0

------------------

* Added support for ``geotile_grid`` aggregation (`1350`_, contributed by `owrcasstevens`_)
* Added the ``DenseVector`` and ``SparseVector`` data types (`1278`_)
* Added the ``SearchAsYouType`` field (`1295`_, contributed by `dpasqualin`_)
* Fixed name of ``DoubleRange`` (`1272`_, contributed by `braunsonm`_)

.. _braunsonm: https://github.com/braunsonm
.. _dpasqualin: https://github.com/dpasqualin
.. _owrcasstevens: https://github.com/owrcasstevens
.. _1272: https://github.com/elastic/elasticsearch-dsl-py/pull/1272
.. _1278: https://github.com/elastic/elasticsearch-dsl-py/issues/1278
.. _1295: https://github.com/elastic/elasticsearch-dsl-py/pull/1295
.. _1350: https://github.com/elastic/elasticsearch-dsl-py/pull/1350

7.1.0

------------------

* Optimistic concurrent control for Document.delete
* Removing deprecated ``DocType``
* Proper count caching for ES 7.x
* Support for ``multiplexer`` token filter
* Don't substitute for ``__`` in ``FacetedSearch``

7.0.0

------------------

* Compatibility with Elasticsearch 7.x
* ``Document.save()`` now returns ``"created"`` or ``"updated"``
* Dropped support for Python 2.6, 3.2, and 3.3
* When using ``fields`` the values are no longer merged into the body of the
document and have to be accessed via ``.meta.fields`` only

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.