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

latest releases: azure-identity-broker_1.1.7, azure-identity_1.14.1, spring-cloud-azure-dependencies_5.18.0...
2 years ago

1.30.0 (2022-06-30)

Features Added

  • Added BinaryData.isReplayable() to indicate if multiple consumptions of the content are safe.
  • Added BinaryData.toReplayableBinaryData and BinaryData.toReplayableBinaryDataAsync to allow
    transforming BinaryData instances into replayable BinaryData for all content types.
  • Added support for sending synchronous requests using sendSync in HttpPipeline:
    • Added HttpPipelinePolicy.processSync(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) to allow processing policies synchronously.
    • Added HttpPipelineSyncPolicy to represent synchronous HttpPipelinePolicy.
    • Added HttpPipelineNextSyncPolicy to invoke the next synchronous policy in pipeline. to process synchronous policy pipeline.
    • Added HttpPipelineCallState to maintain request specific pipeline and contextual data.
  • Added ProgressReporter and ProgressListener to provide ability to track progress of I/O operations.
  • Added Contexts utility to manipulate known cross-cutting key-value pairs.
    • Added ability to get and set ProgressReporter on Context.
  • Added HttpPipelineCallContext.getContext().

Bugs Fixed

  • Fixed bug where BinaryData.fromFile(path).toFluxByteBuffer() and BinaryData.fromFile(path).toBytes()
    could block file deletion on Windows.
  • Fixed bug where Context.getData("key") throws if the null value has been set by calling Context.addData("key", null).

Other Changes

Dependency Updates

  • Upgraded Reactor from 3.4.17 to 3.4.19.
  • Upgraded Jackson from 2.13.2.2 to 2.13.3.

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

NewReleases is sending notifications on new releases.