Skip to content

Releases: elastic/elasticsearch-net

5.6.4

19 Sep 14:13
Compare
Choose a tag to compare

5.6.3...5.6.4

Bug Fixes

  • #3000 Failing to parse empty geo_centroid
  • #3342 Add a check on GeoCentroidAgg for the NEST client 5.x when analyzing StatsAgg
  • #3405 Fix #3404 bulk all improvements

Features & Enhancements

  • #3219 How to use the MultiTermVectorsAsync API
  • #3299 Long range query support
  • #3340 Include include_aliases in Snapshot Restore request
  • #3375 IBulkResponseItem does not contain a Result property
  • #3405 Fix #3404 bulk all improvements

Uncategorized

  • #3373 No Nest support for DynamicTemplate.MatchPattern (match_pattern property)
  • #3383 Include LatLongDetector on DetectorsDescriptor

View the full list of issues and PRs

6.3.0

11 Sep 08:36
Compare
Choose a tag to compare

6.2.0...6.3.0

This release brings feature parity with Elasticsearch 6.3.0. Support for the Roll Up API is not part of this release and will be forthcoming in 6.4.0 releases of the .NET clients.

This release also changes our supported TFM from net45 and netstandard1.3 to net461 and netstandard2.0.

netstandard2.0 will produce a cleaner dependency graph and we bumped to net461 as the new baseline for Full Framework so that we can reuse almost all the code between the two TFM's. The only difference between the two TFM's is that net461 uses an HttpConnection built on top of HttpWebRequest and netstandard2.0 builds on top of HttpClient. HttpWebRequest exists on .NET core 2.0 but should not be used.

For 6.4.0 we are investigating supporting a netcoreapp2.1 TFM which can take advantage of the new managed handler for HttpClient and will be looking to move our HttpClient based connection over to HttpClientFactory. Our implementation does much of the same HttpClientFactory does but why maintain if we can depend on something else. With these plans we felt the need to bump net45 to net461 to restrain our multi-platform support. We feel that most greenfield projects should be on net461 and later and the upgrade from net45 to net461 on servers is fully backwards compatible. Please let us know if you are in a situation where you are not able to upgrade.

Release notes


Comparison of 6.2.0...6.3.0

Features & Enhancements

  • #3359 Feature/node stats 6.3
  • #3394 scripts is now an SDK style project as well that is part of the solut…
  • #3383 Include LatLongDetector on DetectorsDescriptor
  • #3219 How to use the MultiTermVectorsAsync API
  • #3256 Add WKT Support to Geo
  • #3299 Long range query support
  • #3317 Add date format to DateHistogram source for Composite Aggregation
  • #3318 Support 3rd dimension (Z value) to points for geo_point and points in geo_shapes
  • #3320 Add Painles script execute API
  • #3321 Add support for allow_partial_search_results search request parameter
  • #3322 Add after_key to CompositeAggregation response
  • #3323 Add support for null_value on GeoPoint property
  • #3324 Add acknowledge request parameter to Start Trial API
  • #3325 Add support for zero_terms_query to match_phrase query
  • #3326 Add index_prefixes to Text property mapping
  • #3327 Add span_gap query for use with span_near query
  • #3328 Add periodic flush count to FlushStats
  • #3329 Add Adaptive selection statistics to NodeStats
  • #3330 Add Translog files age to TranslogStats
  • #3340 Include include_aliases in Snapshot Restore request
  • #3375 IBulkResponseItem does not contain a Result property

Bug Fixes

  • #3331 Warn FilterPath transforms the response and can break response parsing
  • #3357 Correctly deserialize JoinField
  • #3358 Fix #3330 Add additional translog properties as per elastic/elasticsearch#28613
  • #3360 Fix #3328 Add periodic flush count to FlushStats
  • #3361 Fix #3327 Add span_gap query for use with span_near query
  • #3362 fix #3326 Add index_prefixes to Text property mapping
  • #3363 Fix #3325 Add support for zero_terms_query to match_phrase query
  • #3364 Fix #3323 Add support for null_value, ignore_z_value on GeoPoint prop…
  • #3365 Fix #3318 Support 3rd dimension (Z value) to points for geo_point and…
  • #3367 Fix #3317 and #3322 add after_key support to composite aggregation re…
  • #3368 Fix #3315 obsolete the update_all_types querystring parameter
  • #3369 Fix #3316 allow generated enum members to be obsoleted
  • #3370 Fix #3320 Add Painless script execute API
  • #3373 No Nest support for DynamicTemplate.MatchPattern (match_pattern property)
  • #3393 Update TypeNameResolver.cs
  • #3396 Previous commits removed parent_node which needs to be obsoleted for …

Deprecations

  • #3391 Obsolete HttpWebRequestConnection on .NET Core
  • #3315 Deprecate update_all_types parameter
  • #3316 Deprecate suggest enum member on NodesStatsIndexMetric

View the full list of issues and PRs

6.2.0

02 Jul 12:08
Compare
Choose a tag to compare

Features & Enhancements

  • #3279 6.x Performance Improvements
  • #3277 Associate an external id with a task, so that it can be cancelled later.
  • #3268 Update REST API json specifications to 6.2
  • #3288 Add _source to ReindexOnServer API source settings
  • #3233 Add CompositeAggregation
  • #3253 [6.2] Add scroll parameter to _reindex API
  • #3258 [6.2] Include include_global_state in Snapshot status API
  • #3292 Add DocValueFields to TopHits Aggregation
  • #3293 Add _ScriptedUpsert to BulkUpdateOperation
  • #3266 Feature/net abstractions backport 6.x
  • #3276 Include include_global_state in Snapshot status API. Closes #3258.
  • #3283 Feature/netcoreapp21 6x
  • #3290 Add ability to specify fields from _source to reindex
  • #3289 Add scroll parameter to reindex. Closes #3253

Bug Fixes

  • #3287 Assign instance to Aggregations property
  • #3291 Check stream is seekable when checking length
  • #3294 Support single or array of char filters and token filters
  • #3263 Rename jarowinkler to jaro_winkler.
  • #3264 Closes #3251. Rename levenstein to levenshtein.
  • #3232 Change RequestConfiguration.ThrowExceptions to bool? (#3231)
  • #3278 Respect JSON Dates from Elasticsearch when passing to SourceSerializer
  • #3107 "DataMember" attribute is not applied when deserializing searching query
  • #3237 Could not create an instance of type Nest.IHttpInputAuthentication while executed GetWatch
  • #3262 Error in parsing index settings
  • #3270 ScriptedUpsert has no effect on BulkUpdateOperation
  • #3274 TopHits aggregation is missing DocValueFields
  • #3286 NestedAggregation should expose sub aggregations through Aggregations property
  • #3306 Add BWC changes to client for 6.2 release.
  • #3304 Honour DataMember and DataContract attributes
  • #3302 net46 sets WebException as OriginalException where netcore sets Elast…
  • #3301 Update types and relations documentation
  • #3295 Integration test to verify version support for inner hits in field collapsing
  • #3249 [6.2] Backport delimited payload filter renaming
  • #3250 [6.2] Deprecating jarowinkler in favor of jaro_winkler
  • #3251 [6.2] Deprecating levenstein in favor of levensHtein
  • #3254 [6.2] Limit the analyzed text for highlighting
  • #3255 [6.2] Adds wait_for_no_initializing_shards to cluster health API
  • #3259 [6.2] Add ability to associate an ID with tasks
  • #3260 [6.2] Always include the _index and _id for nested search hits
  • #3261 [6.2] Add version support for inner hits in field collapsing

View the full list of issues and PRs

5.6.3

02 Jul 12:27
Compare
Choose a tag to compare

Features & Enhancements

  • #3288 Add _source to ReindexOnServer API source settings
  • #3293 Add _ScriptedUpsert to BulkUpdateOperation
  • #3292 Add DocValueFields to TopHits Aggregation

Bug Fixes

  • #3294 Support single or array of char filters and token filters
  • #3107 "DataMember" attribute is not applied when deserializing searching query
  • #3237 Could not create an instance of type Nest.IHttpInputAuthentication while executed GetWatch
  • #3262 Error in parsing index settings
  • #3270 ScriptedUpsert has no effect on BulkUpdateOperation
  • #3274 TopHits aggregation is missing DocValueFields

View the full list of issues and PRs

6.1.0

30 Apr 06:24
Compare
Choose a tag to compare

6.0.2...6.1.0

Features & Enhancements

Deprecations

  • #3178 Add nested sort and deprecate nested_path and nested_filter
  • #3179 Serialize IndicesBoost as array instead of object, allowing ordered precedence to boosting.
  • #3214 Obsolete IgnoreUnmapped on IGeoShape

Bug Fixes

  • #3096 #3100 Support the use of IGeoShape types on documents
  • #3103 Add Indexed property to GenericProperty to support correct index options
  • #3141 Add server_side_encryption to s3 repository settings
  • #3161 Honour JsonConverters added to JsonSerializerSettings
  • #3220 Ensure Scroll property in SearchRequest can be retrieved after assignment
  • #3218 Add Visit() methods to IPropertyVisitor and IMappingVisitior for range data types
  • #3210 Add missing values on Decision enum
  • #3101 Don't sent a Content-Type header for GET and HEAD messages

View the full list of issues and PRs

5.6.2

30 Apr 09:19
Compare
Choose a tag to compare

5.6.1...5.6.2

Features & Enhancements

Bug Fixes

  • #3096 #3100 Support the use of IGeoShape types on documents
  • #3103 Add Indexed property to GenericProperty to support correct index options
  • #3141 Add server_side_encryption to s3 repository settings
  • #3220 Ensure Scroll property in SearchRequest can be retrieved after assignment
  • #3218 Add Visit() methods to IPropertyVisitor and IMappingVisitior for range data types

View the full list of issues and PRs

6.0.2

14 Mar 11:13
Compare
Choose a tag to compare

6.0.1...6.0.2

This release bumps the JSON.NET dependency of NEST.JsonNetSerializer to 11.x (#3115)

Additional bug fixes:

  • Add token_limit and force_unigrams to phrase suggest (#3112)
  • Remove user from hipchat watcher config (#3111)
  • Set Body on low level response for BytesResponse (#3121)
  • Fix #3116 instances of gethashcode in equals implementation

5.6.1

14 Mar 12:03
Compare
Choose a tag to compare

5.6.0...5.6.1

This release bumps the JSON.NET dependency of NEST to 11.x (#3115)

Features:

  • add SkipProperty to visitor to easily prevent certain properties from being AutoMapped #3001
  • Add non-generic AutoMap overload (#2907)
  • Add token_limit and force_unigrams to phrase suggest (#3112)
  • Support slice in delete by query (#3014)

Additional bug fixes:

  • fix #2884 make sure that error objects are deserialized as errors not as aliases, earlier in the 5.x series this was always a string
  • Fix null reference exception for ExtendedBounds #2962
  • ProperyNameJsonConverter and field resolver for propertyname was new'ing an Inferrer (#3030)
  • fix #3019, converter should not nullify know keys in the base dictionary (#3046)
  • fix #3017 add docvalues_fields to innerhits (#3045)
  • fix on empty buckets (#3068)
  • Deserialize aggregation metadata to Dictionary<string,object> (#3073)
  • fix #3116 instances of gethashcode in equals implementation (#3117)

2.5.8

14 Mar 12:29
Compare
Choose a tag to compare

2.5.7...2.5.8

This marks the final 2.x release for NEST and Elasticsearch.NET as Elasticsearch 2.4 EOL'ed 2018-02-28. We wont be doing any more 2.x releases unless something absolutely critical pops up.

To sunset our 2.x branch we have updated the JSON.NET dependency to the latest greatest 11 🍰

Additional fixes:

  • Deserialize aggregation metadata to Dictionary<string,object> (#3073)

6.0.1

09 Feb 06:57
Compare
Choose a tag to compare

It is recommended to update to 6.0.1 due to #3084.

Features & Enhancements

  • #3076 Add non-generic Automap

Bug Fixes

  • #3068 Don't throw an exception when deserializing an empty aggregation bucket. Thanks @Zyklop 👍
  • #3073 Deserialize aggregation metadata to Dictionary<string,object>
  • #3084 Don't hide internal serialization errors when attempting to deserialize responses. Thanks @jonyadamit 👍

View the full list of issues and PRs