github Azure/azure-sdk-for-java azure-core_1.40.0

latest releases: azure-resourcemanager-sql_2.39.0-beta.1, azure-resourcemanager-security_1.0.0-beta.7, azure-security-keyvault-jca_2.9.0-beta.1...
11 months ago

1.40.0 (2023-06-02)

Features Added

  • Added TracingOptions configurations allowing to pick a specific TracerProvider implementation if several are resolved by ServiceLoader.
  • Added MetricsOptions configurations allowing to pick a specific MeterProvider implementation if several are resolved by ServiceLoader.
  • Added CoreUtils.randomUuid to replace usage of UUID.randomUUID. In some cases UUID.randomUUID used a blocking
    call whereas CoreUtils.randomUuid should never block. (#34790)
  • Added support for prefixes in AzureKeyCredentialPolicy. (#35010)
  • Added the ability to configure a backoff strategy for FluxUtil.createRetriableDownloadFlux. Previous retries
    wouldn't backoff which could result in requests being sent to a service already at capacity and throttling. (#35035)

Bugs Fixed

  • Fixed a bug where a known length wasn't passed to BinaryData.fromStream resulting it being handled as a
    non-replayable BinaryData. (#34851)
  • Changed the design of how AsynchronousByteChannels were written to limit chances of race conditions between the
    writer thread and the Reactor thread handling onComplete and onError events. This results in more consistent
    behavior at the cost of lower throughput, which will be investigated in future releases. (#35004)

Other Changes

  • Changed how ResponseError is deserialized to support cases where the JSON wrapped the ResponseError with an
    error property. (#35052)

Dependency Updates

  • Upgraded Reactor Core from 3.4.27 to 3.4.29.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.