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

Release 8.17.0 #1953

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
Changelog
=========

8.17.0 (2024-12-13)
-------------------

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

8.16.0 (2024-11-13)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion elasticsearch_dsl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
from .utils import AttrDict, AttrList, DslBase
from .wrappers import Range

VERSION = (8, 16, 0)
VERSION = (8, 17, 0)
__version__ = VERSION
__versionstr__ = ".".join(map(str, VERSION))
__all__ = [
Expand Down
13 changes: 4 additions & 9 deletions elasticsearch_dsl/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ class AggregationRange(AttrDict[Any]):
:arg to: End of the range (exclusive).
"""

from_: Union[float, DefaultType]
from_: Union[float, None, DefaultType]
key: Union[str, DefaultType]
to: Union[float, DefaultType]
to: Union[float, None, DefaultType]

def __init__(
self,
*,
from_: Union[float, DefaultType] = DEFAULT,
from_: Union[float, None, DefaultType] = DEFAULT,
key: Union[str, DefaultType] = DEFAULT,
to: Union[float, DefaultType] = DEFAULT,
to: Union[float, None, DefaultType] = DEFAULT,
**kwargs: Any,
):
if from_ is not DEFAULT:
Expand Down Expand Up @@ -1226,7 +1226,6 @@ class HighlightField(AttrDict[Any]):
"""
:arg fragment_offset:
:arg matched_fields:
:arg analyzer:
:arg type:
:arg boundary_chars: A string that contains each boundary character.
Defaults to `.,!? \t\n` if omitted.
Expand Down Expand Up @@ -1300,7 +1299,6 @@ class HighlightField(AttrDict[Any]):
Sequence[Union[str, InstrumentedField]],
DefaultType,
]
analyzer: Union[str, Dict[str, Any], DefaultType]
type: Union[Literal["plain", "fvh", "unified"], DefaultType]
boundary_chars: Union[str, DefaultType]
boundary_max_scan: Union[int, DefaultType]
Expand Down Expand Up @@ -1332,7 +1330,6 @@ def __init__(
Sequence[Union[str, InstrumentedField]],
DefaultType,
] = DEFAULT,
analyzer: Union[str, Dict[str, Any], DefaultType] = DEFAULT,
type: Union[Literal["plain", "fvh", "unified"], DefaultType] = DEFAULT,
boundary_chars: Union[str, DefaultType] = DEFAULT,
boundary_max_scan: Union[int, DefaultType] = DEFAULT,
Expand Down Expand Up @@ -1362,8 +1359,6 @@ def __init__(
kwargs["fragment_offset"] = fragment_offset
if matched_fields is not DEFAULT:
kwargs["matched_fields"] = str(matched_fields)
if analyzer is not DEFAULT:
kwargs["analyzer"] = analyzer
if type is not DEFAULT:
kwargs["type"] = type
if boundary_chars is not DEFAULT:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from setuptools import find_packages, setup

VERSION = (8, 16, 0)
VERSION = (8, 17, 0)
__version__ = VERSION
__versionstr__ = ".".join(map(str, VERSION))

Expand Down
Loading