Skip to content

Releases: elastic/elasticsearch-net

8.14.8

02 Aug 08:38
411aaee
Compare
Choose a tag to compare

What's Changed

  • Improve ToCamelCase to match STJ behavior by @flobernd in #8278
    • This changes the DefaultFieldNameInferrer behavior to produce the same names as the JsonNamingPolicy.CamelCase naming policy
    • This could be a breaking change, if strict mapping is enabled. Use the [JsonPropertyName("name")] attribute on any property to override its name.

Full Changelog: 8.14.7...8.14.8

Serverless 1.1.3

02 Aug 08:39
be5b5d2
Compare
Choose a tag to compare

What's Changed

  • Improve ToCamelCase to match STJ behavior by @flobernd in #8278
    • This changes the DefaultFieldNameInferrer behavior to produce the same names as the JsonNamingPolicy.CamelCase naming policy
    • This could be a breaking change, if strict mapping is enabled. Use the [JsonPropertyName("name")] attribute on any property to override its name.

Full Changelog: serverless-1.1.2...serverless-1.1.3

8.14.7

29 Jul 13:29
3d91fb9
Compare
Choose a tag to compare

What's Changed

  • Add support for GeoShapeQuery
  • Add support for ShapeQuery
  • Script is no longer an union and instead combines the properties of InlineScript and StoredScriptId (breaking change!)
  • Minor fixes and improvements to request/response classes and in-code documentation

Breaking Changes

Script is no longer an union and instead combines the properties of InlineScript and StoredScriptId.

All places that use InlineScript or StoredScriptId must be changed from e.g. .InlineScript(new InlineScript(...)) to .Script(new Script(...)). Construction of the union like e.g. new Script(new InlineScript(...)) or new Script(storedScriptId) is no longer required and should be replaced by just new Script(...).

Full Changelog: 8.14.6...8.14.7

Serverless 1.1.2

29 Jul 13:31
42af8fa
Compare
Choose a tag to compare

What's Changed

  • Add support for GeoShapeQuery
  • Add support for ShapeQuery
  • Add support for ES|QL
  • Script is no longer an union and instead combines the properties of InlineScript and StoredScriptId (breaking change!)
  • Minor fixes and improvements to request/response classes and in-code documentation

Breaking Changes

Script is no longer an union and instead combines the properties of InlineScript and StoredScriptId.

All places that use InlineScript or StoredScriptId must be changed from e.g. .InlineScript(new InlineScript(...)) to .Script(new Script(...)). Construction of the union like e.g. new Script(new InlineScript(...)) or new Script(storedScriptId) is no longer required and should be replaced by just new Script(...).

Full Changelog: serverless-1.1.1...serverless-1.1.2

8.14.6

10 Jul 13:58
4d6cf96
Compare
Choose a tag to compare

What's Changed

  • Update Elastic.Transport to 0.4.20 by @flobernd in #8261
    • Fixes a DoS vulnerability in the transient System.Text.Json dependency

Full Changelog: 8.14.5...8.14.6

8.14.5

10 Jul 07:55
5e78f8f
Compare
Choose a tag to compare

What's Changed

  • Implement common request query parameters for request descriptors by @flobernd in #8257
    • This change enables the use of common query parameters such as filter_path, human and pretty in the fluent API (descriptor-style) syntax

Full Changelog: 8.14.4...8.14.5

Serverless 1.1.1

10 Jul 14:01
9df36db
Compare
Choose a tag to compare

What's Changed

  • Regenerate client using the latest spec by @flobernd in #8245
    • Fixes deserialization of DynamicTemplate
    • Fixes deserialization of some "single-or-many" types
    • General specification driven improvements and bug-fixes
  • Generate untagged variants by @flobernd in #8249
    • This adds proper support for:
      • RangeQuery
      • DistanceFeatureQuery
      • DecayFunction
  • Implement common request query parameters for request descriptors by @flobernd in #8257
    • This change enables the use of common query parameters such as filter_path, human and pretty in the fluent API (descriptor-style) syntax
  • Update Elastic.Transport to 0.4.20 by @flobernd in #8261
    • Fixes a DoS vulnerability in the transiend System.Text.Json dependency

Full Changelog: serverless-1.1.0...serverless-1.1.1

Breaking Changes

RangeQuery is no longer a union. Usage changes from:

var response = await client.SearchAsync<Person>(q => q.Query(q => q.Range(new RangeQuery(new NumberRangeQuery("age"!))
{
    Gt = 42
})));

to:

var response = await client.SearchAsync<Person>(q => q.Query(q => q.Range(new NumberRangeQuery("age"!)
{
    Gt = 42
})));

or alternatively using a full descriptor based syntax:

await client.SearchAsync<Person>(q => q.Query(q => q.Range(r => r.NumberRange(n => n.Field("age"!).Gte(42)))));

The built-in range query types are: NumberRangeQuery, DateRangeQuery and TermRangeQuery. For an untyped version that accepts all object types, you can additionally use UntypedRangeQuery.

8.14.4

01 Jul 10:09
a51e869
Compare
Choose a tag to compare

What's Changed

  • Generate untagged variants by @flobernd in #8249
    • This adds proper support for:
      • RangeQuery
      • DistanceFeatureQuery
      • DecayFunction

Full Changelog: 8.14.3...8.14.4

Breaking Changes

RangeQuery is no longer a union. Usage changes from:

var response = await client.SearchAsync<Person>(q => q.Query(q => q.Range(new RangeQuery(new NumberRangeQuery("age"!))
{
    Gt = 42
})));

to:

var response = await client.SearchAsync<Person>(q => q.Query(q => q.Range(new NumberRangeQuery("age"!)
{
    Gt = 42
})));

or alternatively using a full descriptor based syntax:

await client.SearchAsync<Person>(q => q.Query(q => q.Range(r => r.NumberRange(n => n.Field("age"!).Gte(42)))));

The built-in range query types are: NumberRangeQuery, DateRangeQuery and TermRangeQuery. For an untyped version that accepts all object types, you can additionally use UntypedRangeQuery.

8.14.3

20 Jun 11:05
2015660
Compare
Choose a tag to compare

What's Changed

  • Regenerate client using the latest spec by @flobernd in #8245
    • Fixes deserialization of DynamicTemplate
    • Fixes deserialization of some "single-or-many" types
    • General specification driven improvements and bug-fixes

Full Changelog: 8.14.2...8.14.3

Serverless 1.1.0

28 Jun 12:02
a65b06b
Compare
Choose a tag to compare

What's Changed