github Azure/azure-sdk-for-java com.azure+azure-core_1.62.0

latest releases: com.azure+azure-core-tracing-opentelemetry_1.0.0-beta.69, com.azure+azure-core-test_1.27.0-beta.21, com.azure+azure-core-serializer-json-jackson_1.7.1...
one hour ago

1.62.0 (2026-12-02)

Features Added

  • Added HttpProtocolVersion for configuring the maximum HTTP protocol version in HTTP client builders.
  • Added HttpClientOptions.getMaximumHttpVersion and setMaximumHttpVersion for transport-independent HTTP protocol
    configuration. An unset or cleared maximum preserves the selected transport's existing default.
  • Added the AZURE_NON_PROXY_PARSER_VERSION environment variable and system property to opt in to corrected
    ProxyOptions non-proxy host matching. (#51341) The
    default, 1, keeps the current matching, and 2 will become the default in a future release. Version 2 applies to
    setNonProxyHosts, http.nonProxyHosts, http.proxy.non-proxy-hosts, and NO_PROXY. With it:
    • storage1* no longer matches storage2.example.com, and 10.* no longer matches 100.64.0.1.
    • 192.168. no longer matches 192.1689.0.1.
    • .example.com matches example.com and its subdomains, but not badexample.com.
    • Bracketed IPv6 addresses such as [::1] are matched literally instead of as a regex character class.

Bugs Fixed

  • Fixed RetryPolicy synchronous retry backoff not restoring the thread's interrupt status after catching
    InterruptedException, which caused callers to silently lose the interruption signal.
  • Fixed FluxUtil.toFluxByteBuffer emitting each partial read backed by an array of the full chunk size, which caused
    consumers that retain the emitted buffers, such as uploads from an InputStream returning small reads, to use many
    times more memory than the data read and fail with OutOfMemoryError. Emitted buffers are now sized to the data
    read.
  • Fixed ProxyOptions throwing StringIndexOutOfBoundsException for non-proxy hosts such as .*.

Other Changes

  • Added an internal Context key, azure-stream-response-body, that lets a client library opt in to the
    asynchronous RestProxy streaming a BinaryData response body as it's consumed instead of buffering it, matching
    the synchronous RestProxy. 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 BinaryData stream operations on Java 11 and later and
    position-preserving ByteBuffer copies on Java 13 and later, retaining Java 8 fallbacks. Stream operations preserve
    ByteArrayInputStream, FileInputStream, and FileOutputStream subclass overrides, including through wrapped inputs,
    and limit direct heap-buffer writes to 8 KiB.

Dependency Updates

  • Upgraded Jackson from 2.18.11 to 2.18.12.
  • Upgraded reactor-core from 3.8.7 to 3.8.9.

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

NewReleases is sending notifications on new releases.