4
4
[discrete]
5
5
=== Bug fixes
6
6
7
- - Fix MultiSearchTemplateRequest serialization (issue:
7
+ - Fix MultiSearchTemplateRequest body serialization (issue:
8
8
https://github.com/elastic/elasticsearch-net/issues/7006[#7006])
9
9
10
+ [discrete]
11
+ === Enhancements
12
+
13
+ - Seal union types for consistency
14
+
10
15
[discrete]
11
16
=== Breaking changes
12
17
@@ -28,9 +33,39 @@ original code-generated type not functioning correctly and therefore we have
28
33
determined that this should ship ASAP.
29
34
30
35
[discrete]
31
- === MultiSearch type changes
36
+ ==== MultiSearch type changes
32
37
33
38
The `Core.MSearch.SearchRequestItem` type has been sealed for consistency with
34
39
the design choices in the rest of the client. While technically breaking, we
35
40
have decided that this should be included in this release before any potential
36
- derived types may exist in consuming applications.
41
+ derived types may exist in consuming applications.
42
+
43
+ [discrete]
44
+ ==== Sealing union types
45
+
46
+ Code-generated types derived from `Union<T1, T2>` where incorrectly unsealed.
47
+ While technically breaking, we have decided that these should be sealed in this
48
+ patch release before any potential derived types may exist in consuming
49
+ applications. Sealing types by default aligns with our broader design choices
50
+ and this decision is described in the <<release-notes-8.0.0,8.0.0 release notes>>.
51
+
52
+ Affected types:
53
+ - `Aggregations.Buckets`
54
+ - `Aggregations.FieldDateMatch`
55
+ - `Aggregations.Percentiles`
56
+ - `Analysis.CharFilter`
57
+ - `Analysis.TokenFilter`
58
+ - `Analysis.Tokenizer`
59
+ - `ByteSize`
60
+ - `Fuzziness`
61
+ - `GeoHashPrecision`
62
+ - `MultiGetResponseItem`
63
+ - `MultiSearchResponseItem`
64
+ - `QueryDsl.Like`
65
+ - `QueryDsl.TermsQueryField`
66
+ - `Script`
67
+ - `Slices`
68
+ - `SourceConfig`
69
+ - `SourceConfigParam`
70
+ - `Tasks.TaskInfos`
71
+ - `TrackHits`
0 commit comments