Skip to content

Commit 5a2cc86

Browse files
Bring 8.17.0 release to main (#1954)
1 parent 5de355e commit 5a2cc86

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

Changelog.rst

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
Changelog
44
=========
55

6+
8.17.0 (2024-12-13)
7+
-------------------
8+
9+
* Added support for quantized dense vector options (`#1948 <https://github.com/elastic/elasticsearch-dsl-py/pull/1948>`_)
10+
* Added support for composable index templates (`#1943 <https://github.com/elastic/elasticsearch-dsl-py/pull/1943>`_)
11+
612
8.16.0 (2024-11-13)
713
-------------------
814

elasticsearch_dsl/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
from .utils import AttrDict, AttrList, DslBase
103103
from .wrappers import Range
104104

105-
VERSION = (8, 16, 0)
105+
VERSION = (8, 17, 0)
106106
__version__ = VERSION
107107
__versionstr__ = ".".join(map(str, VERSION))
108108
__all__ = [

elasticsearch_dsl/types.py

+4-9
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ class AggregationRange(AttrDict[Any]):
3333
:arg to: End of the range (exclusive).
3434
"""
3535

36-
from_: Union[float, DefaultType]
36+
from_: Union[float, None, DefaultType]
3737
key: Union[str, DefaultType]
38-
to: Union[float, DefaultType]
38+
to: Union[float, None, DefaultType]
3939

4040
def __init__(
4141
self,
4242
*,
43-
from_: Union[float, DefaultType] = DEFAULT,
43+
from_: Union[float, None, DefaultType] = DEFAULT,
4444
key: Union[str, DefaultType] = DEFAULT,
45-
to: Union[float, DefaultType] = DEFAULT,
45+
to: Union[float, None, DefaultType] = DEFAULT,
4646
**kwargs: Any,
4747
):
4848
if from_ is not DEFAULT:
@@ -1226,7 +1226,6 @@ class HighlightField(AttrDict[Any]):
12261226
"""
12271227
:arg fragment_offset:
12281228
:arg matched_fields:
1229-
:arg analyzer:
12301229
:arg type:
12311230
:arg boundary_chars: A string that contains each boundary character.
12321231
Defaults to `.,!? \t\n` if omitted.
@@ -1300,7 +1299,6 @@ class HighlightField(AttrDict[Any]):
13001299
Sequence[Union[str, InstrumentedField]],
13011300
DefaultType,
13021301
]
1303-
analyzer: Union[str, Dict[str, Any], DefaultType]
13041302
type: Union[Literal["plain", "fvh", "unified"], DefaultType]
13051303
boundary_chars: Union[str, DefaultType]
13061304
boundary_max_scan: Union[int, DefaultType]
@@ -1332,7 +1330,6 @@ def __init__(
13321330
Sequence[Union[str, InstrumentedField]],
13331331
DefaultType,
13341332
] = DEFAULT,
1335-
analyzer: Union[str, Dict[str, Any], DefaultType] = DEFAULT,
13361333
type: Union[Literal["plain", "fvh", "unified"], DefaultType] = DEFAULT,
13371334
boundary_chars: Union[str, DefaultType] = DEFAULT,
13381335
boundary_max_scan: Union[int, DefaultType] = DEFAULT,
@@ -1362,8 +1359,6 @@ def __init__(
13621359
kwargs["fragment_offset"] = fragment_offset
13631360
if matched_fields is not DEFAULT:
13641361
kwargs["matched_fields"] = str(matched_fields)
1365-
if analyzer is not DEFAULT:
1366-
kwargs["analyzer"] = analyzer
13671362
if type is not DEFAULT:
13681363
kwargs["type"] = type
13691364
if boundary_chars is not DEFAULT:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
from setuptools import find_packages, setup
2121

22-
VERSION = (8, 16, 0)
22+
VERSION = (8, 17, 0)
2323
__version__ = VERSION
2424
__versionstr__ = ".".join(map(str, VERSION))
2525

0 commit comments

Comments
 (0)