1.62.0 (2026-12-02)
Features Added
- Added
HttpProtocolVersionfor configuring the maximum HTTP protocol version in HTTP client builders. - Added
HttpClientOptions.getMaximumHttpVersionandsetMaximumHttpVersionfor transport-independent HTTP protocol
configuration. An unset or cleared maximum preserves the selected transport's existing default. - Added the
AZURE_NON_PROXY_PARSER_VERSIONenvironment variable and system property to opt in to corrected
ProxyOptionsnon-proxy host matching. (#51341) The
default,1, keeps the current matching, and2will become the default in a future release. Version2applies to
setNonProxyHosts,http.nonProxyHosts,http.proxy.non-proxy-hosts, andNO_PROXY. With it:storage1*no longer matchesstorage2.example.com, and10.*no longer matches100.64.0.1.192.168.no longer matches192.1689.0.1..example.commatchesexample.comand its subdomains, but notbadexample.com.- Bracketed IPv6 addresses such as
[::1]are matched literally instead of as a regex character class.
Bugs Fixed
- Fixed
RetryPolicysynchronous retry backoff not restoring the thread's interrupt status after catching
InterruptedException, which caused callers to silently lose the interruption signal. - Fixed
FluxUtil.toFluxByteBufferemitting each partial read backed by an array of the full chunk size, which caused
consumers that retain the emitted buffers, such as uploads from anInputStreamreturning small reads, to use many
times more memory than the data read and fail withOutOfMemoryError. Emitted buffers are now sized to the data
read. - Fixed
ProxyOptionsthrowingStringIndexOutOfBoundsExceptionfor non-proxy hosts such as.*.
Other Changes
- Added an internal
Contextkey,azure-stream-response-body, that lets a client library opt in to the
asynchronousRestProxystreaming aBinaryDataresponse body as it's consumed instead of buffering it, matching
the synchronousRestProxy. For such calls, the HTTP tracing span ends when the body has been consumed, fails, or
is cancelled. Default behavior is unchanged. - Added package-private multi-release implementations for hexadecimal formatting on Java 17 and later, and
range-based numeric parsing and direct Cleaner registration on Java 11 and later, retaining Java 8 fallbacks. - Added multi-release implementations for bulk
BinaryDatastream operations on Java 11 and later and
position-preservingByteBuffercopies on Java 13 and later, retaining Java 8 fallbacks. Stream operations preserve
ByteArrayInputStream,FileInputStream, andFileOutputStreamsubclass overrides, including through wrapped inputs,
and limit direct heap-buffer writes to 8 KiB.
Dependency Updates
- Upgraded Jackson from
2.18.11to2.18.12. - Upgraded
reactor-corefrom3.8.7to3.8.9.