File tree 2 files changed +36
-0
lines changed
2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ [[release-notes-8.0.9]]
2
+ == Release notes v8.0.9
3
+
4
+ [discrete]
5
+ === Bug fixes
6
+
7
+ - https://github.com/elastic/elasticsearch-net/pull/7446[#7446] Fix byte properties
8
+ in index stats types. (issue: https://github.com/elastic/elasticsearch-net/issues/7445[#7445])
9
+
10
+ [discrete]
11
+ === Enhancements
12
+
13
+ - https://github.com/elastic/elasticsearch-net/pull/7467[#7467] Source serialization
14
+ always sends fractional format for double and floats. (issue: https://github.com/elastic/elasticsearch-net/issues/7051[#7051])
15
+
16
+ [discrete]
17
+ === Breaking changes
18
+
19
+ [discrete]
20
+ ==== Source serialization of float and double properties
21
+
22
+ By default, when serializing `double` and `float` properties, the `System.Text.Json`
23
+ serializer uses the "G17" format when serializing double types. This format omits
24
+ the decimal point and/or trailing zeros if they are not required for the data to
25
+ roundtrip. This is generally correct, as JSON doesn't specify a type for numbers.
26
+
27
+ However, in the case of source serialization, mappings for numeric properties may
28
+ be incorrectly inferred if trailing zeros are omitted. In this release, we have
29
+ included a new custom converter for `float` and `double` types when serialized using
30
+ the default source serializer. These converters ensure that at least one precision
31
+ digit is included after a decimal point, even for round numbers.
32
+
33
+ You may therefore observe changes to the serialized source document after
34
+ upgrading to this version.
Original file line number Diff line number Diff line change 6
6
[discrete]
7
7
== Version 8.0
8
8
9
+ * <<release-notes-8.0.9,Release notes v8.0.9>>
9
10
* <<release-notes-8.0.8,Release notes v8.0.8>>
10
11
* <<release-notes-8.0.7,Release notes v8.0.7>>
11
12
* <<release-notes-8.0.6,Release notes v8.0.6>>
17
18
* <<release-notes-8.0.0,Release notes v8.0.0>>
18
19
19
20
include::breaking-change-policy.asciidoc[]
21
+ include::release-notes-8.0.9.asciidoc[]
20
22
include::release-notes-8.0.8.asciidoc[]
21
23
include::release-notes-8.0.7.asciidoc[]
22
24
include::release-notes-8.0.6.asciidoc[]
You can’t perform that action at this time.
0 commit comments