Release notes v8.0.2edit

Bug fixesedit

  • Add missing accessor properties for dictionary responses (issue: #7048)
  • Fix to ensure dynamic HTTP methods are used when available (issue: #7057)
  • Fix resolvable dictionary properties (issue: #7075)

Breaking changesedit

Some low-impact changes were made to existing types to fix the resolvable dictionary properties. We determined it worthwhile to retype the properties to prefer the interfaces over concrete types.

Changes to dictionary properties on generated typesedit

As part of fixing the resolvable dictionary properties some low-impact changes were made to the generated types. We determined it worthwhile to retype the properties to prefer the interfaces over concrete types.

Types that are immutable and only apply to server responses now use IReadOnlyDictionary for relevant properties. For mutable types, we prefer IDictionary.

HealthResponse.Indices has changed from a bespoke ReadOnlyIndexNameDictionary property to prefer IReadOnlyDictionary to improve ease of use and familiarity.

Internalise ReadOnlyIndexNameDictionaryedit

After changes for resolvable dictionaries, the ReadOnlyIndexNameDictionary type was made internal and is no longer part of the public API. Properties that previously used this type are now typed as IReadOnlyDictionary. This brings advantages in being more familiar for developers.

Remove IndexName.GetString(ITransportConfiguration settings) methodedit

This method is used internally by the client and should not be exposed to consuming applications. Instead, we prefer explicit interface implementation for IUrlParameter.GetString.

Remove Metric.GetString(ITransportConfiguration settings) methodedit

This method is used internally by the client and should not be exposed to consuming applications. Instead, we prefer explicit interface implementation for IUrlParameter.GetString.

Remove TimeStamp.GetString(ITransportConfiguration settings) methodedit

This method is used internally by the client and should not be exposed to consuming applications. Instead, we prefer explicit interface implementation for IUrlParameter.GetString.

Remove IndexUuid.GetString(ITransportConfiguration settings) methodedit

This method is used internally by the client and should not be exposed to consuming applications. Instead, we prefer explicit interface implementation for IUrlParameter.GetString.

Remove TaskId.GetString(ITransportConfiguration settings) methodedit

This method is used internally by the client and should not be exposed to consuming applications. Instead, we prefer explicit interface implementation for IUrlParameter.GetString.

The Metric type is now sealededit

This type has been sealed to align with other types for consistency. We don’t expect consumers to derive from this type.