Release notes v8.0.5
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Release notes v8.0.5
editBug fixes
edit- #7171 Fix code-gen for IndexTemplate (issue: #7161)
- #7181 Fix MultiGet response deserialization for non-matched IDs (issue: #7169)
- #7182 Implement Write method on SourceConfigConverter (issue: #7170)
- #7205 Update to Elastic.Transport to 0.4.6 which improves the version detection used by the REST API compatibility Accept header
Breaking changes
editIn the course of fixing the code-generation for index templates to avoid serialization failures, some breaking changes were introduced.
IndexTemplate
editIndexTemplate forms part of the IndexTemplateItem included on GetIndexTemplateResponse.
-
The type for the
ComposedOfproperty has changed fromIReadOnlyCollection<Elastic.Clients.Elasticsearch.Name>toIReadOnlyCollection<string> -
The type for the
IndexPatternsproperty has changed fromElastic.Clients.Elasticsearch.NamestoIReadOnlyCollection<string>
Before
public sealed partial class IndexTemplate
{
...
public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Name> ComposedOf { get; init; }
public Elastic.Clients.Elasticsearch.Names IndexPatterns { get; init; }
...
}
After
public sealed partial class IndexTemplate
{
...
public IReadOnlyCollection<string> ComposedOf { get; init; }
public IReadOnlyCollection<string> IndexPatterns { get; init; }
...
}
SimulateIndexTemplateRequest
edit-
The type for the
ComposedOfproperty has changed fromIReadOnlyCollection<Elastic.Clients.Elasticsearch.Name>toIReadOnlyCollection<string>
Before
public sealed partial class SimulateIndexTemplateRequest
{
...
public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Name>? ComposedOf { get; set; }
...
}
After
public sealed partial class SimulateIndexTemplateRequest
{
...
public IReadOnlyCollection<string>? ComposedOf { get; set; }
...
}
SimulateIndexTemplateRequestDescriptor and SimulateIndexTemplateRequestDescriptor<T>
editThe ComposedOf method signature has changed to accept a parameter of ICollection<string>? instead of
ICollection<Elastic.Clients.Elasticsearch.Name>?.
Before
public SimulateIndexTemplateRequestDescriptor<TDocument> ComposedOf(ICollection<Elastic.Clients.Elasticsearch.Name>? composedOf)
After
public SimulateIndexTemplateRequestDescriptor<TDocument> ComposedOf(ICollection<string>? composedOf)