Skip to content

Commit 2e31f50

Browse files
committed
Update release notes with serialization changes
1 parent 7668d99 commit 2e31f50

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

docs/release-notes/release-notes-8.0.6.asciidoc

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ enums with aliases (issue: https://github.com/elastic/elasticsearch-net/issues/7
1515
`Elastic.Transport` 0.4.7 which includes fixes for helpers used during application
1616
testing.
1717

18+
[discrete]
19+
=== Features
20+
21+
- https://github.com/elastic/elasticsearch-net/pull/7272[#7272] Support custom JsonSerializerOptions.
22+
1823
[discrete]
1924
=== Breaking changes
2025

@@ -88,4 +93,18 @@ public sealed partial class TypeMapping
8893
public ICollection<IDictionary<string, Elastic.Clients.Elasticsearch.Mapping.DynamicTemplate>>? DynamicTemplates { get; set; }
8994
...
9095
}
91-
----
96+
----
97+
98+
[discrete]
99+
==== SystemTextJsonSerializer
100+
101+
The `SystemTextJsonSerializer` is used as a base type for the built-in serializers. Two breaking changes have been made after adding better support for <<customizing-source-serialization, customizing source serialization>>.
102+
103+
The public `Options` property has been made internal.
104+
105+
A new public abstract method `CreateJsonSerializerOptions` has been added, which derived types must implement.
106+
107+
[source,csharp]
108+
----
109+
protected abstract JsonSerializerOptions CreateJsonSerializerOptions();
110+
----

0 commit comments

Comments
 (0)