File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 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 66[discrete]
77== Version 8.0
88
9+ * <<release-notes-8.0.9,Release notes v8.0.9>>
910* <<release-notes-8.0.8,Release notes v8.0.8>>
1011* <<release-notes-8.0.7,Release notes v8.0.7>>
1112* <<release-notes-8.0.6,Release notes v8.0.6>>
1718* <<release-notes-8.0.0,Release notes v8.0.0>>
1819
1920include::breaking-change-policy.asciidoc[]
21+ include::release-notes-8.0.9.asciidoc[]
2022include::release-notes-8.0.8.asciidoc[]
2123include::release-notes-8.0.7.asciidoc[]
2224include::release-notes-8.0.6.asciidoc[]
You can’t perform that action at this time.
0 commit comments