Skip to content

Update Rust crate azure_core to v1#2324

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-azure-sdk-for-rust-monorepo
Closed

Update Rust crate azure_core to v1#2324
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-azure-sdk-for-rust-monorepo

Conversation

@renovate

@renovate renovate Bot commented May 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
azure_core dependencies major 0.21.01.0.0

Release Notes

azure/azure-sdk-for-rust (azure_core)

v1.0.0

Compare Source

1.0.0 (2026-05-11)

Features Added
  • Initial stable release.
Breaking Changes
  • Added #[non_exhaustive] to AttributeArray, AttributeValue, SpanStatus, and SpanKind.
  • Bearer token authorization now requires TLS (https).

v0.35.0

Compare Source

0.35.0 (Unreleased)

Features Added
Breaking Changes
Bugs Fixed
Other Changes
  • Updated dependencies.

v0.34.0

Compare Source

0.34.0 (2026-04-08)

Other Changes
  • Upgraded dependencies

v0.33.0

Compare Source

0.33.0 (2026-03-05)

Features Added
  • Added ErrorKind::Connection for connection errors.
  • Added QueryBuilder, DEFAULT_ALLOWED_HEADER_NAMES, DEFAULT_ALLOWED_QUERY_PARAMETERS, and REDACTED_PATTERN to azure_core::http.
  • Added request_header!, request_option!, and request_query! macros.
  • Added SecretBytes to azure_core::credentials for securely passing byte secrets without printing them in Debug or Display output.
  • The reqwest HTTP client now classifies connection errors as ErrorKind::Connection.
Breaking Changes
  • Support for wasm32-unknown-unknown has been removed (#​3377)

v0.32.0

Compare Source

0.32.0 (2026-02-10)

Features Added
  • Added PagerContinuation for Pager continuation.
  • Added PollerContinuation for Poller continuation.
Breaking Changes
  • Changed our minimum supported Rust version (MSRV) from 1.85 to 1.88.
  • Changed paging APIs to use PagerContinuation and non-generic PagerState/PagerResult types.
  • Changed polling APIs to use PollerContinuation and non-generic PollerState/PollerResult types.
  • Renamed PagerOptions::continuation_token to continuation.
  • Renamed Pager::continuation_token to continuation.
  • Renamed Pager::into_continuation_token to into_continuation.
  • Renamed PageIterator::continuation_token to continuation.
  • Renamed PageIterator::into_continuation_token to into_continuation.
  • Pager callbacks must now return Result.

v0.31.0

Compare Source

0.31.0 (2026-01-16)

Features Added
  • Added Body::take().
  • Added continuation_token to PagerOptions.
  • Added extensible request authorization and authentication challenge handling to BearerTokenAuthorizationPolicy.
    • OnRequest, OnChallenge, and Authorizer traits define callbacks for these features.
    • with_on_request() and with_on_challenge() builder methods set callbacks for a policy instance.
  • Added Request::body_mut().
  • Added UrlExt::set_query_pair() to simplify overwriting query parameter key values.
  • Sort query parameters lexicographically in QueryBuilder.
Breaking Changes
  • Added type parameter C to Pager declaration, defaulting to Url so it can be elided in most existing declarations.
  • Changed Pager::from_callback to take a PagerOptions as the second parameter rather than a Context parameter.
  • Changed Pager::from_callback to Pager::new which now requires the caller to return a Pin<Box<dyn Future>>.
  • Changed Poller::from_callback to Poller::new which now requires the caller to return a Pin<Box<dyn Future>>.
  • Changed PollerResult::next field to PollerResult::continuation_token.
  • Changed PollerState generic parameter from N to C.
  • Moved BearerTokenAuthorizationPolicy into azure_core::http::policies::auth.
  • Removed ItemIterator::with_continuation_token(). Pass a continuation token to PagerOptions::continuation_token instead.
  • Removed PageIterator::with_continuation_token(). Pass a continuation token to PagerOptions::continuation_token instead.
  • Removed Pager::from_stream.
  • Removed Poller::from_stream.
  • Renamed BoxedFuture to PagerResultFuture in pager module.

v0.30.1

Compare Source

0.30.1 (2025-11-09)

Other Changes
  • Increment version for re-release following a fix to publishing.

v0.30.0

Compare Source

0.30.0 (2025-11-07)

Features Added
  • Added Context::to_owned() to create a newly owned Context from an existing Context.
  • Added ItemIterator::continuation_token() and with_continuation_token() to resume paging items. The current page is restarted until after all items have been iterated.
  • Added PipelineOptions::retry_status_codes for configuring which status codes should trigger a retry.
  • Added Response<T, F>::body(&self) -> &ResponseBody.
  • Added Response<T, F>::to_raw_response() function to create a RawResponse from cloned data.
  • Added UrlExt::append_path().
  • Implemented IntoFuture for a Poller. Call await on a Poller to get the final model, or into_stream() to get a futures::Stream to poll the operation manually.
  • Re-exported serde_json::Value as azure_core::Value (#​1687)
Breaking Changes
  • Added Context field to PollerOptions. Client methods which return Poller objects should accept a PollerOptions in their method_options field instead of a ClientMethodOptions.
  • Added F: Format type parameter to Poller and PollerResult.
  • Added Format associated type to StatusMonitor.
  • Added Format::deserialize() function to Format trait.
  • Added S type parameter to xml::from_xml congruent with json::from_json().
  • Changed PollerOptions::frequency from Option<Duration> to Duration.
  • Moved deserializers and serializers for optional base64-encoded bytes to base64::option module. base64 module now deserializes or serializes non-optional fields congruent with the time module.
  • Removed constants module.
  • Removed credentials::DEFAULT_SCOPE_SUFFIX.
  • Removed CustomHeaders policy.
  • Removed ErrorKind::MockFramework.
  • Removed Poller::wait() function. Call await on a Poller to wait for it to complete and, upon success, return the final model.
  • Removed xml::read_xml_str().
  • Renamed BearerTokenCredentialPolicy to BearerTokenAuthorizationPolicy.
  • Renamed BufResponse to AsyncRawResponse so that AsyncRawResponse is to RawResponse as AsyncIterator is to Iterator.
  • Renamed BufResponseBody to AsyncResponseBody so that AsyncResponseBody is to ResponseBody as AsyncIterator is to Iterator.
  • Renamed Response<T, F>::into_body(self) -> Result<Response<T>> to into_model(self) -> Result<Response<T>>. into_body(self) now returns a ResponseBody.
  • Renamed RetryPolicy::get_retry_headers() to RetryPolicy::retry_headers()
  • Renamed xml::read_xml() to xml::from_xml() congruent with json::from_json().
Bugs Fixed
  • ItemIterator::into_pages() now properly supports resuming from the current page until after all items have been iterated.

v0.29.1

Compare Source

0.29.1 (2025-10-06)

Breaking Changes
  • Removed the azurite_workaround feature (unused).
Bugs Fixed

v0.29.0

Compare Source

0.29.0 (2025-10-08)

Breaking Changes
  • ClientCertificateCredential::new() takes Option<ClientCertificateCredentialOptions> instead of impl Into<ClientCertificateCredentialOptions>.
  • Credential constructors return an error when given a non-HTTPS authority host.
  • Renamed ClientCertificateCredential::new() parameter client_certificate_pass to client_certificate_password.
  • Replaced credential-specific authority_host options with azure_core::cloud::CloudConfiguration configured via ClientOptions.cloud.

v0.28.0

Compare Source

0.28.0 (2025-09-16)

Features Added
  • Credentials retry HTTP requests by default.
Breaking Changes
  • Removed all ClientCertificateCredentialOptions methods
  • Removed TokenCredentialOptions. HTTP client options are now set on ClientOptions. Credentials which formerly got an authority host from this type now get it from an authority_host field in their own options type.
  • Replaced DefaultAzureCredential with DeveloperToolsCredential. This new type is excluded from WASM32 builds because it can't authenticate in a WASM runtime environment; however, neither could DefaultAzureCredential, which wasn't properly excluded.
Bugs Fixed
Other Changes

v0.27.0

Compare Source

0.27.0 (2025-08-01)

Features Added
  • Added support for distributed tracing macros in Azure service clients, including convenience macros #[tracing::new], #[tracing::client] and #[tracing::function] to reduce implementation details. See distributed tracing in rust for more information on distributed tracing.
Breaking Changes
  • Pager::from_callback and PageIterator::from_callback define a parameter of type PagerState<C> instead of Option<C>, where None => Initial and Some(C) => More(C).
  • Poller::from_callback defines a parameter of type PollerState<N> instead of Option<N>, where None => Initial and Some(N) => More(N).

v0.26.0

Compare Source

0.26.0 (2025-07-10)

Features Added
  • Added get_async_runtime() and set_async_runtime() to allow customers to replace the asynchronous runtime used by the Azure SDK.
  • Added PageIterator::continuation_token() and PageIterator::with_continuation_token() to support reconstructing a PageIterator in another process or on another machine to continue paging.
  • Added Poller<T> for long-running operations (LROs).
  • Added Request::set_method() to allow changing the HTTP method of a request.
  • Added StatusMonitor for long-running operations.
Breaking Changes
  • Added http::PollerOptions parameter to http::poller::get_retry_after.
  • Implemented FromStr where FromStr::Err = Infallible for PollerStatus instead of From<&str>.
  • Minimum supported Rust version (MSRV) is now 1.85.
  • azure_core::http::Pipeline::new now takes an azure_core::http::ClientOptions which is defined in azure_core, but convertible to typespec_client_core::http::ClientOptions.
  • Moved process::Executor to azure_identity.
  • Removed Pipeline::replace_policy.
  • Removed unused location and body modules from http::poller.
  • Renamed azure_core::date to azure_core::time and added azure_core::time::Duration as the standard "duration" type for the SDK.
  • Renamed http::poller::body_content to http::poller::body.
  • Renamed PagerResult::More { next } to continuation.
  • Renamed PollerStatus::Other to PollerStatus::UnknownValue following guidelines.
  • Renamed TelemetryOptions to UserAgentOptions.
  • Renamed TelemetryPolicy to UserAgentPolicy.
Other Changes
  • The CustomHeadersPolicy is executed after the retry policy in the Pipeline.

v0.25.0

Compare Source

0.25.0 (2025-06-06)

Features Added
  • Added #[safe] attribute helper for SafeDebug derive macro to show or hide types and members as appropriate.
  • Added Page trait to facilitate the ItemIterator.
  • Added PageIterator to asynchronously iterator all pages.
Breaking Changes
  • A Pager now asynchronously iterates over items across all pages. Call Pager::into_pages() to get a PageIterator to asynchronously iterate over all pages.
  • Removed AccessToken::is_expired().
  • Renamed PagerResult::Continue to More and its continuation field to next.
  • Renamed PagerResult::Complete to Done.
  • Renamed PageStream to ItemIterator.
Bugs Fixed
  • BearerTokenCredentialPolicy returns an error when a proactive token refresh attempt fails

v0.24.0

Compare Source

0.24.0 (2025-05-02)

Features Added
  • Added TaskSpawner abstraction to spawn asynchronous tasks for different async runtimes. Defaults to optional tokio runtime.
Breaking Changes
  • PagerResult always returns items of type T instead of Response<T>.
Other Changes
  • Deriving SafeDebug formats non-exhaustive types by default. Enable debug feature to format normal Debug output.
  • Updated dependencies.

v0.23.0

Compare Source

0.23.0 (2025-04-08)

Features Added
  • Added azure_core::process::Executor to run commands asynchronously.
    The tokio feature is disabled by default so std::process::Command is used; otherwise, if enabled, tokio::process::Command is used.
  • Added http module containing all functions, modules, and types from typespec_client_core::http.
  • Added azure_core::http::policies::ClientRequestIdPolicy to every pipeline. Client libraries can add with custom header name instead.
  • Moved Pager from typespec_client_core::http to azure_core::http module since it is Azure-specific.
  • Re-exported Body, Request, and RequestContent from http::request module.
  • Re-exported create_enum, create_extensible_enum macros from typespec_client_core.
  • Re-exported Model and Response from http::response module.
Breaking Changes
  • Removed azure_core::credentials::TokenCredential::clear_cache()
  • Consolidated all the tokio features into a single feature named tokio. Traits remain separate but tokio support is enabled with a single feature.
  • Moved AppendToUrlQuery type under http module.
  • Moved ByteStream and SeekableStream types under stream module.
  • Moved ClientMethodOptions type under http module.
  • Moved ClientOptions type under http module.
  • Moved Context type under http module.
  • Moved Etag type under http module.
  • Moved ExponentialRetryOptions type under http module.
  • Moved FixedRetryOptions type under http module.
  • Moved headers module under http module.
  • Moved HttpClient type under http module.
  • Moved LeaseAction type under http module.
  • Moved LeaseDuration type under http module.
  • Moved LeaseState type under http module.
  • Moved LeaseStatus type under http module.
  • Moved Method type under http module.
  • Moved new_http_client function under http module.
  • Moved Pipeline type under http module.
  • Moved policies module under http module.
  • Moved request module under http module.
  • Moved response module under http module.
  • Moved RetryOptions type under http module.
  • Moved StatusCode type under http module.
  • Moved TelemetryOptions type under http module.
  • Moved TransportOptions type under http module.
  • Moved Url type under http module.
  • Removed content_type module.
  • Removed EMPTY_BODY constant from root.
  • Removed future!() macro.
  • Removed Header re-export from http module. It is still defined in the http::headers module.
  • Removed parsing module.
  • Removed query_param module.
  • Removed RequestId type alias from root.
  • Removed SessionToken type alias from root.
  • Renamed lro module to http::poller module.
  • Renamed lro module types with prefix "Lro" to prefix "Poller".
  • Renamed tokio module to fs since it contained only the typespec_client_core::fs module members.

v0.22.0

Compare Source

0.22.0 (2025-02-18)

Features Added
  • Initial supported release.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


This change is Reviewable

@renovate renovate Bot enabled auto-merge (squash) May 12, 2026 21:54
@renovate renovate Bot temporarily deployed to production May 12, 2026 21:56 Inactive
@renovate renovate Bot temporarily deployed to production May 12, 2026 21:56 Inactive
@palfrey

palfrey commented May 13, 2026

Copy link
Copy Markdown
Member

Upgrade this when we upgrade the rest of the azure bits to the new SDK

@palfrey palfrey closed this May 13, 2026
auto-merge was automatically disabled May 13, 2026 10:41

Pull request was closed

@renovate

renovate Bot commented May 13, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 1.x releases. But if you manually upgrade to 1.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate Bot deleted the renovate/major-azure-sdk-for-rust-monorepo branch May 13, 2026 10:42
@palfrey palfrey restored the renovate/major-azure-sdk-for-rust-monorepo branch May 18, 2026 09:04
@renovate renovate Bot deleted the renovate/major-azure-sdk-for-rust-monorepo branch May 18, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant