Elasticsearch-dsl

Latest version: v8.17.1

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

Scan your dependencies

Page 2 of 8

8.15.1

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

* Added support for the ``semantic_text`` field and ``semantic`` query type (`1881 <https://github.com/elastic/elasticsearch-dsl-py/pull/1881>`_)
* Removed extra ``__orig_class__`` attribute in aggregation responses (`1877 <https://github.com/elastic/elasticsearch-dsl-py/pull/1877>`_)

8.15.0

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

* Added the option to use Python types to declare document fields (`1845 <https://github.com/elastic/elasticsearch-dsl-py/pull/1845>`_)
* Added type annotations (`1533 <https://github.com/elastic/elasticsearch-dsl-py/pull/1533>`_)
* Added support for bulk document operations with ``Document.bulk()`` (`1864 <https://github.com/elastic/elasticsearch-dsl-py/pull/1864>`_)
* Added the ``ConstantKeyword`` field to the top-level package (`1843 <https://github.com/elastic/elasticsearch-dsl-py/pull/1843>`_)
* Added ``async_connections`` to the top-level package (`1865 <https://github.com/elastic/elasticsearch-dsl-py/pull/1865>`_)
* Added index creation to the aggregations example (`1862 <https://github.com/elastic/elasticsearch-dsl-py/pull/1862>`_)

8.14.0

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

* Added ``text_expansion`` query clause (`1837 <https://github.com/elastic/elasticsearch-dsl-py/pull/1837>`_)
* Added ``Response.search_after()`` and ``Search.search_after()`` methods for efficient iteration (`1829 <https://github.com/elastic/elasticsearch-dsl-py/pull/1829>`_)
* Added point in time support and the ``iterate()`` method in the ``Search`` class (`1833 <https://github.com/elastic/elasticsearch-dsl-py/pull/1833>`_)
* Added support for slicing multiple times in ``Search`` class (`1771 <https://github.com/elastic/elasticsearch-dsl-py/pull/1771>`_)
Added support for regular expressions in ``Completion.suggest()`` (`1836 <https://github.com/elastic/elasticsearch-dsl-py/pull/1836>`_)
* Fixed ``suggest()`` method of the ``Completion`` class to format requests correctly. (`1836 <https://github.com/elastic/elasticsearch-dsl-py/pull/1836>`_)
* Fixed ``Document.update()`` to accept fields set to ``None`` or empty (`1820 <https://github.com/elastic/elasticsearch-dsl-py/pull/1820>`_)
* Started work on type hints (Thanks Caio Fontes for leading this effort!)
* Added Type hints to ``function.py`` (`1827 <https://github.com/elastic/elasticsearch-dsl-py/pull/1827>`_)
* Added Type hints to ``query.py`` (`1821 <https://github.com/elastic/elasticsearch-dsl-py/pull/1821>`_)

8.13.1

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

* Added support for ``knn`` as a query option (`1770`_)
* Made the ``dims`` attribute of the dense vector type optional (`1776`_)
* Added missing ``inner_hits`` option to ``search.knn()`` method (`1777`_)
* Added support for detecting document updates in ``InnerDoc`` attributes (`1535`_)
* Changed ``_expand__to_dot`` setting to resolve at runtime (`1633`_)
* Added explicit error message when unsupported ``minimum_should_match`` values are used (`1774`_)
* Added the ``EmptySearch`` class (`1780`_)
* Added several missing aggregations:
* ``AdjacencyMatrix`` (`1553`_)
* ``CategorizeText`` (`1588`_)
* ``GeohexGrid`` (`1590`_)
* ``IPPrefix`` (`1592`_)
* ``RandomSampler`` (`1594`_)
* ``GeoLine`` (`1628`_)
* ``MatrixStats`` (`1630`_)
* ``TopMetrics`` (`1706`_)
* Added ``params`` option to the ``FacetedSearch`` object (`1500`_)
* Added support for passing a dictionary in the ``script`` option for a document update (`1560`_)
* Added ``keys()`` and ``items()`` methods to ``AttrDict`` class (`1784`_)
* Added a ``to_list()`` method to the ``AttrList`` class (`1584`_)
* Fixed various documentation issues and typos (`1769`_, `1615`_, `1585`_, `1318`_, `1223`_)
* Added a vector search example (`1778`_)

.. _1770: https://github.com/elastic/elasticsearch-dsl-py/pull/1770
.. _1776: https://github.com/elastic/elasticsearch-dsl-py/pull/1776
.. _1777: https://github.com/elastic/elasticsearch-dsl-py/pull/1777
.. _1535: https://github.com/elastic/elasticsearch-dsl-py/pull/1535
.. _1633: https://github.com/elastic/elasticsearch-dsl-py/pull/1633
.. _1774: https://github.com/elastic/elasticsearch-dsl-py/pull/1774
.. _1780: https://github.com/elastic/elasticsearch-dsl-py/pull/1780
.. _1553: https://github.com/elastic/elasticsearch-dsl-py/pull/1553
.. _1588: https://github.com/elastic/elasticsearch-dsl-py/pull/1588
.. _1590: https://github.com/elastic/elasticsearch-dsl-py/pull/1590
.. _1592: https://github.com/elastic/elasticsearch-dsl-py/pull/1592
.. _1594: https://github.com/elastic/elasticsearch-dsl-py/pull/1594
.. _1628: https://github.com/elastic/elasticsearch-dsl-py/pull/1628
.. _1630: https://github.com/elastic/elasticsearch-dsl-py/pull/1630
.. _1706: https://github.com/elastic/elasticsearch-dsl-py/pull/1706
.. _1500: https://github.com/elastic/elasticsearch-dsl-py/pull/1500
.. _1560: https://github.com/elastic/elasticsearch-dsl-py/pull/1560
.. _1784: https://github.com/elastic/elasticsearch-dsl-py/pull/1784
.. _1584: https://github.com/elastic/elasticsearch-dsl-py/pull/1584
.. _1769: https://github.com/elastic/elasticsearch-dsl-py/pull/1769
.. _1615: https://github.com/elastic/elasticsearch-dsl-py/pull/1615
.. _1585: https://github.com/elastic/elasticsearch-dsl-py/pull/1585
.. _1318: https://github.com/elastic/elasticsearch-dsl-py/pull/1318
.. _1223: https://github.com/elastic/elasticsearch-dsl-py/pull/1223
.. _1778: https://github.com/elastic/elasticsearch-dsl-py/pull/1778

8.13.0

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

* Added ``asyncio`` support (`1714`_)
* Dropped support for Python 3.7 (`1717`_)
* Stopped mixing body and parameters in ``UpdateByQuery`` (`1702`_)

.. _1714: https://github.com/elastic/elasticsearch-dsl-py/pull/1714
.. _1717: https://github.com/elastic/elasticsearch-dsl-py/pull/1717
.. _1702: https://github.com/elastic/elasticsearch-dsl-py/pull/1702

8.12.0

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

* Added ``Search.knn()`` method (`1691`_)
* Added ``Search.rank()`` method (undocumented as it still is in technical preview) (`1692`_)
* Fixed importing collapse from dictionary (`1689`_)

.. _1689: https://github.com/elastic/elasticsearch-dsl-py/pull/1689
.. _1691: https://github.com/elastic/elasticsearch-dsl-py/pull/1691
.. _1692: https://github.com/elastic/elasticsearch-dsl-py/pull/1692

Page 2 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.