7.0.0-alpha2
Pre-release
Pre-release
This is another alpha release of the .NET client, as we move a step closer to GA. Thank you for all your feedback on the 7.0.0-alpha1 client, it has been incredibly helpful in squashing bugs in the new serializer implementation.
Features
- #3680 Implement Intervals query
- #3698 Add properties currently missing on ClusterHealthResponse. Thanks @SpencerLN 👍
- #3714 Add SequenceNumber and PrimaryTerm to Hits, Get and MulitGetHit
- #3704 Add is_write_index to aliases on create index API
- #3668 Improve field resolver performance
Breaking Changes
-
#3670 Majority of response interfaces are gone
This reduces the interface type explosion within the client and simplifies the async API code paths. There is a discussion to keep interfaces for the most commonly mocked responses, like
ISearchResponse<T>
-
#3685 Strongly typed property expressions
Benchmarking demonstrates a performance improvement in using
Expression<Func<T, TValue>>
instead of `Expression<Func<T, object>>, particularly on .NET Framework.
Bug Fixes
- #3697 Fix
MoreLikeThis
query conditionless behaviour - #3715 Fix ExtendedStats and Percentiles aggregation deserialization
- #3717 Fix empty geo_bounds aggregation
- #3678 Fix DateHistogramBucket deserialization when there are no sub aggregations
- #3700 Generate API paths without leading forward slashes
- #3726 Remove _source_include and _source_exclude from generated types
- #3679 Fix utf8json escape characters
Misc
- #3730 Use the MemoryStream buffers, where possible, instead of copying byte array. Thanks @Henr1k80 👍
- #3677 Refactor ServerError, Error and ErrorCause
- #3702 Support deprecated Name property on ElasticsearchTypeAttribute
- #3666 Rename SynchronizedCollection