Skip to content

Commit b0ed177

Browse files
Add 8.0.2 release notes (#7085) (#7092)
Co-authored-by: Steve Gordon <[email protected]>
1 parent 22caf43 commit b0ed177

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
[[release-notes-8.0.2]]
2+
== Release notes v8.0.2
3+
4+
[discrete]
5+
=== Bug fixes
6+
7+
- Add missing accessor properties for dictionary responses (issue:
8+
https://github.com/elastic/elasticsearch-net/issues/7048[#7048])
9+
- Fix to ensure dynamic HTTP methods are used when available (issue:
10+
https://github.com/elastic/elasticsearch-net/issues/7057[#7057])
11+
- Fix resolvable dictionary properties (issue:
12+
https://github.com/elastic/elasticsearch-net/issues/7075[#7075])
13+
14+
[discrete]
15+
=== Breaking changes
16+
17+
Some low-impact changes were made to existing types to fix the resolvable
18+
dictionary properties. We determined it worthwhile to retype the properties to
19+
prefer the interfaces over concrete types.
20+
21+
[discrete]
22+
==== Changes to dictionary properties on generated types
23+
24+
As part of fixing the resolvable dictionary properties some low-impact changes
25+
were made to the generated types. We determined it worthwhile to retype the
26+
properties to prefer the interfaces over concrete types.
27+
28+
Types that are immutable and only apply to server responses now use
29+
`IReadOnlyDictionary` for relevant properties. For mutable types, we prefer
30+
`IDictionary`.
31+
32+
`HealthResponse.Indices` has changed from a bespoke `ReadOnlyIndexNameDictionary`
33+
property to prefer `IReadOnlyDictionary` to improve ease of use and familiarity.
34+
35+
[discrete]
36+
==== Internalise ReadOnlyIndexNameDictionary
37+
38+
After changes for resolvable dictionaries, the `ReadOnlyIndexNameDictionary` type
39+
was made internal and is no longer part of the public API. Properties that
40+
previously used this type are now typed as `IReadOnlyDictionary`. This brings
41+
advantages in being more familiar for developers.
42+
43+
[discrete]
44+
==== Remove IndexName.GetString(ITransportConfiguration settings) method
45+
46+
This method is used internally by the client and should not be exposed to
47+
consuming applications. Instead, we prefer explicit interface implementation for
48+
`IUrlParameter.GetString`.
49+
50+
[discrete]
51+
==== Remove Metric.GetString(ITransportConfiguration settings) method
52+
53+
This method is used internally by the client and should not be exposed to
54+
consuming applications. Instead, we prefer explicit interface implementation for
55+
`IUrlParameter.GetString`.
56+
57+
[discrete]
58+
==== Remove TimeStamp.GetString(ITransportConfiguration settings) method
59+
60+
This method is used internally by the client and should not be exposed to
61+
consuming applications. Instead, we prefer explicit interface implementation for
62+
`IUrlParameter.GetString`.
63+
64+
[discrete]
65+
==== Remove IndexUuid.GetString(ITransportConfiguration settings) method
66+
67+
This method is used internally by the client and should not be exposed to
68+
consuming applications. Instead, we prefer explicit interface implementation for
69+
`IUrlParameter.GetString`.
70+
71+
[discrete]
72+
==== Remove TaskId.GetString(ITransportConfiguration settings) method
73+
74+
This method is used internally by the client and should not be exposed to
75+
consuming applications. Instead, we prefer explicit interface implementation for
76+
`IUrlParameter.GetString`.
77+
78+
[discrete]
79+
==== The Metric type is now sealed
80+
81+
This type has been sealed to align with other types for consistency. We don’t
82+
expect consumers to derive from this type.

docs/release-notes/release-notes.asciidoc

+2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
* <<release-notes-8.0.0,Release notes v8.0.0>>
1010
* <<release-notes-8.0.1,Release notes v8.0.1>>
11+
* <<release-notes-8.0.2,Release notes v8.0.2>>
1112

1213
include::breaking-change-policy.asciidoc[]
1314
include::release-notes-8.0.0.asciidoc[]
1415
include::release-notes-8.0.1.asciidoc[]
16+
include::release-notes-8.0.2.asciidoc[]

0 commit comments

Comments
 (0)