Skip to content

Commit ff976ce

Browse files
Add release notes for 8.0.5 (#7213) (#7217)
* Add release notes for 8.0.5 * Fixes to release notes Co-authored-by: Steve Gordon <[email protected]>
1 parent a6de42f commit ff976ce

File tree

2 files changed

+100
-0
lines changed

2 files changed

+100
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
[[release-notes-8.0.5]]
2+
== Release notes v8.0.5
3+
4+
[discrete]
5+
=== Bug fixes
6+
7+
- https://github.com/elastic/elasticsearch-net/pull/7171[#7171] Fix code-gen for IndexTemplate (issue: https://github.com/elastic/elasticsearch-net/issues/7161[#7161])
8+
- https://github.com/elastic/elasticsearch-net/pull/7181[#7181] Fix MultiGet response deserialization for non-matched IDs (issue: https://github.com/elastic/elasticsearch-net/issues/7169[#7169])
9+
- https://github.com/elastic/elasticsearch-net/pull/7182[#7182] Implement Write method on SourceConfigConverter (issue: https://github.com/elastic/elasticsearch-net/issues/7170[#7170])
10+
- https://github.com/elastic/elasticsearch-net/pull/7205[#7205] Update to Elastic.Transport to 0.4.6 which improves the version detection used by the REST API compatibility Accept header
11+
12+
[discrete]
13+
=== Breaking changes
14+
15+
In the course of fixing the code-generation for index templates to avoid serialization failures, some breaking changes were introduced.
16+
17+
[discrete]
18+
==== IndexTemplate
19+
20+
`IndexTemplate` forms part of the `IndexTemplateItem` included on `GetIndexTemplateResponse`.
21+
22+
* The type for the `ComposedOf` property has changed from `IReadOnlyCollection<Elastic.Clients.Elasticsearch.Name>` to `IReadOnlyCollection<string>`
23+
* The type for the `IndexPatterns` property has changed from `Elastic.Clients.Elasticsearch.Names` to `IReadOnlyCollection<string>`
24+
25+
*_Before_*
26+
27+
[source,csharp]
28+
----
29+
public sealed partial class IndexTemplate
30+
{
31+
...
32+
public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Name> ComposedOf { get; init; }
33+
public Elastic.Clients.Elasticsearch.Names IndexPatterns { get; init; }
34+
...
35+
}
36+
----
37+
38+
*_After_*
39+
40+
[source,csharp]
41+
----
42+
public sealed partial class IndexTemplate
43+
{
44+
...
45+
public IReadOnlyCollection<string> ComposedOf { get; init; }
46+
public IReadOnlyCollection<string> IndexPatterns { get; init; }
47+
...
48+
}
49+
----
50+
51+
[discrete]
52+
==== SimulateIndexTemplateRequest
53+
54+
* The type for the `ComposedOf` property has changed from `IReadOnlyCollection<Elastic.Clients.Elasticsearch.Name>` to `IReadOnlyCollection<string>`
55+
56+
*_Before_*
57+
58+
[source,csharp]
59+
----
60+
public sealed partial class SimulateIndexTemplateRequest
61+
{
62+
...
63+
public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Name>? ComposedOf { get; set; }
64+
...
65+
}
66+
----
67+
68+
*_After_*
69+
70+
[source,csharp]
71+
----
72+
public sealed partial class SimulateIndexTemplateRequest
73+
{
74+
...
75+
public IReadOnlyCollection<string>? ComposedOf { get; set; }
76+
...
77+
}
78+
----
79+
80+
[discrete]
81+
==== SimulateIndexTemplateRequestDescriptor and SimulateIndexTemplateRequestDescriptor<T>
82+
83+
The `ComposedOf` method signature has changed to accept a parameter of `ICollection<string>?` instead of
84+
`ICollection<Elastic.Clients.Elasticsearch.Name>?`.
85+
86+
*_Before_*
87+
88+
[source,csharp]
89+
----
90+
public SimulateIndexTemplateRequestDescriptor<TDocument> ComposedOf(ICollection<Elastic.Clients.Elasticsearch.Name>? composedOf)
91+
----
92+
93+
*_After_*
94+
95+
[source,csharp]
96+
----
97+
public SimulateIndexTemplateRequestDescriptor<TDocument> ComposedOf(ICollection<string>? composedOf)
98+
----

docs/release-notes/release-notes.asciidoc

+2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
[discrete]
77
== Version 8.0
88

9+
* <<release-notes-8.0.5,Release notes v8.0.5>>
910
* <<release-notes-8.0.4,Release notes v8.0.4>>
1011
* <<release-notes-8.0.3,Release notes v8.0.3>>
1112
* <<release-notes-8.0.2,Release notes v8.0.2>>
1213
* <<release-notes-8.0.1,Release notes v8.0.1>>
1314
* <<release-notes-8.0.0,Release notes v8.0.0>>
1415

1516
include::breaking-change-policy.asciidoc[]
17+
include::release-notes-8.0.5.asciidoc[]
1618
include::release-notes-8.0.4.asciidoc[]
1719
include::release-notes-8.0.3.asciidoc[]
1820
include::release-notes-8.0.2.asciidoc[]

0 commit comments

Comments
 (0)