1.30.0 (2022-06-30)
Features Added
- Added
BinaryData.isReplayable()
to indicate if multiple consumptions of the content are safe. - Added
BinaryData.toReplayableBinaryData
andBinaryData.toReplayableBinaryDataAsync
to allow
transformingBinaryData
instances into replayableBinaryData
for all content types. - Added support for sending synchronous requests using
sendSync
inHttpPipeline
:- Added
HttpPipelinePolicy.processSync(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next)
to allow processing policies synchronously. - Added
HttpPipelineSyncPolicy
to represent synchronousHttpPipelinePolicy
. - 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
- Added
ProgressReporter
andProgressListener
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
onContext
.
- Added ability to get and set
- Added
HttpPipelineCallContext.getContext()
.
Bugs Fixed
- Fixed bug where
BinaryData.fromFile(path).toFluxByteBuffer()
andBinaryData.fromFile(path).toBytes()
could block file deletion on Windows. - Fixed bug where
Context.getData("key")
throws if thenull
value has been set by callingContext.addData("key", null)
.
Other Changes
Dependency Updates
- Upgraded Reactor from
3.4.17
to3.4.19
. - Upgraded Jackson from
2.13.2.2
to2.13.3
.