Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency elasticsearch-dsl to v8 #30

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

github-actions[bot]
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
elasticsearch-dsl project.dependencies major ~=7.4.1 -> ~=8.17.1

Release Notes

elasticsearch/elasticsearch-dsl-py (elasticsearch-dsl)

v8.17.1

Compare Source

  • Added support for the point and shape fields (#&#8203;1963 <https://github.com/elastic/elasticsearch-dsl-py/pull/1963>_)
  • Corrected typing hints for the FunctionScore query (#&#8203;1960 <https://github.com/elastic/elasticsearch-dsl-py/pull/1960>_)

v8.17.0

Compare Source

  • Added support for quantized dense vector options (#&#8203;1948 <https://github.com/elastic/elasticsearch-dsl-py/pull/1948>_)
  • Added support for composable index templates (#&#8203;1943 <https://github.com/elastic/elasticsearch-dsl-py/pull/1943>_)

v8.16.0

Compare Source

  • Autogenerate parts of the library using documentation and types from the Elasticsearch specification
    • query classes (#&#8203;1890 <https://github.com/elastic/elasticsearch-dsl-py/pull/1890>_)
    • aggregation classes (#&#8203;1918 <https://github.com/elastic/elasticsearch-dsl-py/pull/1918>_)
    • response classes (#&#8203;1929 <https://github.com/elastic/elasticsearch-dsl-py/pull/1929>_ #&#8203;1932 <https://github.com/elastic/elasticsearch-dsl-py/pull/1932>_)
  • Support pipe syntax to declare optional document fields (#&#8203;1937 <https://github.com/elastic/elasticsearch-dsl-py/pull/1937>_)
  • Ignore document attributes typed with ClassVar (#&#8203;1936 <https://github.com/elastic/elasticsearch-dsl-py/pull/1936>_)
  • Support Python 3.13 (#&#8203;1938 <https://github.com/elastic/elasticsearch-dsl-py/pull/1938>_)

v8.15.4

Compare Source

  • Fixed the use of dictionaries as values in Terms query (#&#8203;1920 <https://github.com/elastic/elasticsearch-dsl-py/issues/1920>_)

v8.15.3

Compare Source

  • Fixed regression introduced in Terms query class (#&#8203;1907 <https://github.com/elastic/elasticsearch-dsl-py/pull/1907>_)
  • Removed unnecessary filter argument in AggBase.__getitem__ (#&#8203;1903 <https://github.com/elastic/elasticsearch-dsl-py/pull/1903>_)
  • Fixed deserialization of datetime.date fields (#&#8203;1914 <https://github.com/elastic/elasticsearch-dsl-py/pull/1914>_)

v8.15.2

Compare Source

  • Added support for any iterables to The Terms query (#&#8203;1887 <https://github.com/elastic/elasticsearch-dsl-py/pull/1887>_)
  • Added back support for tuples and other iterables to Search.source() method (#&#8203;1895 <https://github.com/elastic/elasticsearch-dsl-py/pull/1895>_)
  • Added recursive option to AttrDict.to_dict() (#&#8203;1892 <https://github.com/elastic/elasticsearch-dsl-py/pull/1892>_)
  • Removed unused analyzer from search as you type example (#&#8203;1883 <https://github.com/elastic/elasticsearch-dsl-py/pull/1883>_)

v8.15.1

Compare Source

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

v8.15.0

Compare Source

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

v8.14.0

Compare Source

  • Added text_expansion query clause (#&#8203;1837 <https://github.com/elastic/elasticsearch-dsl-py/pull/1837>_)
  • Added Response.search_after() and Search.search_after() methods for efficient iteration (#&#8203;1829 <https://github.com/elastic/elasticsearch-dsl-py/pull/1829>_)
  • Added point in time support and the iterate() method in the Search class (#&#8203;1833 <https://github.com/elastic/elasticsearch-dsl-py/pull/1833>_)
  • Added support for slicing multiple times in Search class (#&#8203;1771 <https://github.com/elastic/elasticsearch-dsl-py/pull/1771>)
    Added support for regular expressions in Completion.suggest() (#&#8203;1836 <https://github.com/elastic/elasticsearch-dsl-py/pull/1836>
    )
  • Fixed suggest() method of the Completion class to format requests correctly. (#&#8203;1836 <https://github.com/elastic/elasticsearch-dsl-py/pull/1836>_)
  • Fixed Document.update() to accept fields set to None or empty (#&#8203;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 (#&#8203;1827 <https://github.com/elastic/elasticsearch-dsl-py/pull/1827>_)
    • Added Type hints to query.py (#&#8203;1821 <https://github.com/elastic/elasticsearch-dsl-py/pull/1821>_)

v8.13.1

Compare Source

  • 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/17700
.. _#1776https://github.com/elastic/elasticsearch-dsl-py/pull/177676
.. _#177https://github.com/elastic/elasticsearch-dsl-py/pull/1777777
.. _#15https://github.com/elastic/elasticsearch-dsl-py/pull/15351535
.. _#1https://github.com/elastic/elasticsearch-dsl-py/pull/1633/1633
.. _#https://github.com/elastic/elasticsearch-dsl-py/pull/1774l/1774
.. _https://github.com/elastic/elasticsearch-dsl-py/pull/1780ll/1780
.. [https://github.com/elastic/elasticsearch-dsl-py/pull/1553](https://redirect.github.com/elastic/elasticsearch-dsl-py/pull/1553)ull/1553
.. https://github.com/elastic/elasticsearch-dsl-py/pull/1588pull/1588
..https://github.com/elastic/elasticsearch-dsl-py/pull/1590/pull/1590
.https://github.com/elastic/elasticsearch-dsl-py/pull/1592y/pull/1592
https://github.com/elastic/elasticsearch-dsl-py/pull/1594py/pull/1594https://github.com/elastic/elasticsearch-dsl-py/pull/1628-py/pull/162https://github.com/elastic/elasticsearch-dsl-py/pull/1630l-py/pull/16https://github.com/elastic/elasticsearch-dsl-py/pull/1706sl-py/pull/1https://github.com/elastic/elasticsearch-dsl-py/pull/1500dsl-py/pull/https://github.com/elastic/elasticsearch-dsl-py/pull/1560-dsl-py/pullhttps://github.com/elastic/elasticsearch-dsl-py/pull/1784h-dsl-py/pulhttps://github.com/elastic/elasticsearch-dsl-py/pull/1584ch-dsl-py/puhttps://github.com/elastic/elasticsearch-dsl-py/pull/1769rch-dsl-py/phttps://github.com/elastic/elasticsearch-dsl-py/pull/1615arch-dsl-py/https://github.com/elastic/elasticsearch-dsl-py/pull/1585earch-dsl-pyhttps://github.com/elastic/elasticsearch-dsl-py/pull/1318search-dsl-phttps://github.com/elastic/elasticsearch-dsl-py/pull/1223csearch-dsl-https://github.com/elastic/elasticsearch-dsl-py/pull/1778icsearch-dsl-py/pull/1778

v8.13.0

Compare Source

  • 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/17144
.. _#1717https://github.com/elastic/elasticsearch-dsl-py/pull/171717
.. _#170https://github.com/elastic/elasticsearch-dsl-py/pull/1702702

v8.12.0

Compare Source

  • 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/16899
.. _#1691https://github.com/elastic/elasticsearch-dsl-py/pull/169191
.. _#169https://github.com/elastic/elasticsearch-dsl-py/pull/1692692

v8.11.0

Compare Source

  • Added support for Python 3.12 (#1680_)
  • Added Search.collapse() (#1649, contributed by @qcoumes)

.. _@​qcoumes: https://github.com/qcoumes
.. [https://github.com/elastic/elasticsearch-dsl-py/pull/1680](https://redirect.github.com/elastic/elasticsearch-dsl-py/pull/1680)ull/1680
.. https://github.com/elastic/elasticsearch-dsl-py/pull/1649pull/1649

v8.9.0

Compare Source

  • Added Elasticsearch 8.x support (#1664_)
  • Dropped support for Python 2.7 and 3.5 (#1606, contributed by @hugovk)
  • Added support for Python 3.10 and 3.11 (#1608, contributed by @hugovk)
  • Added the MultiTerms aggregation (#1543, contributed by @Telomeraz)
  • Added the CombinedFields query (#1557, contributed by @Telomeraz)

.. _@​Telomeraz: https://github.com/Telomeraz
.. _@​hugovk: https://github.com/hugo[https://github.com/elastic/elasticsearch-dsl-py/pull/1664](https://redirect.github.com/elastic/elasticsearch-dsl-py/pull/1664)sl-py/pull/1[https://github.com/elastic/elasticsearch-dsl-py/pull/1606](https://redirect.github.com/elastic/elasticsearch-dsl-py/pull/1606)dsl-py/pull/[https://github.com/elastic/elasticsearch-dsl-py/pull/1608](https://redirect.github.com/elastic/elasticsearch-dsl-py/pull/1608)-dsl-py/pull[https://github.com/elastic/elasticsearch-dsl-py/pull/1543](https://redirect.github.com/elastic/elasticsearch-dsl-py/pull/1543)h-dsl-py/pul[https://github.com/elastic/elasticsearch-dsl-py/pull/1557](https://redirect.github.com/elastic/elasticsearch-dsl-py/pull/1557)ch-dsl-py/pull/1557


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@victory-sokolov victory-sokolov merged commit 3acd7ce into master Jan 17, 2025
@victory-sokolov victory-sokolov deleted the renovate/elasticsearch-dsl-8.x branch January 17, 2025 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant