Update Rust crate azure_core to v1#2324
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
Member
|
Upgrade this when we upgrade the rest of the azure bits to the new SDK |
auto-merge was automatically disabled
May 13, 2026 10:41
Pull request was closed
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.21.0→1.0.0Release Notes
azure/azure-sdk-for-rust (azure_core)
v1.0.0Compare Source
1.0.0 (2026-05-11)
Features Added
Breaking Changes
#[non_exhaustive]toAttributeArray,AttributeValue,SpanStatus, andSpanKind.v0.35.0Compare Source
0.35.0 (Unreleased)
Features Added
Breaking Changes
Bugs Fixed
Other Changes
v0.34.0Compare Source
0.34.0 (2026-04-08)
Other Changes
v0.33.0Compare Source
0.33.0 (2026-03-05)
Features Added
ErrorKind::Connectionfor connection errors.QueryBuilder,DEFAULT_ALLOWED_HEADER_NAMES,DEFAULT_ALLOWED_QUERY_PARAMETERS, andREDACTED_PATTERNtoazure_core::http.request_header!,request_option!, andrequest_query!macros.SecretBytestoazure_core::credentialsfor securely passing byte secrets without printing them inDebugorDisplayoutput.reqwestHTTP client now classifies connection errors asErrorKind::Connection.Breaking Changes
wasm32-unknown-unknownhas been removed (#3377)v0.32.0Compare Source
0.32.0 (2026-02-10)
Features Added
PagerContinuationforPagercontinuation.PollerContinuationforPollercontinuation.Breaking Changes
PagerContinuationand non-genericPagerState/PagerResulttypes.PollerContinuationand non-genericPollerState/PollerResulttypes.PagerOptions::continuation_tokentocontinuation.Pager::continuation_tokentocontinuation.Pager::into_continuation_tokentointo_continuation.PageIterator::continuation_tokentocontinuation.PageIterator::into_continuation_tokentointo_continuation.Pagercallbacks must now returnResult.v0.31.0Compare Source
0.31.0 (2026-01-16)
Features Added
Body::take().continuation_tokentoPagerOptions.BearerTokenAuthorizationPolicy.OnRequest,OnChallenge, andAuthorizertraits define callbacks for these features.with_on_request()andwith_on_challenge()builder methods set callbacks for a policy instance.Request::body_mut().UrlExt::set_query_pair()to simplify overwriting query parameter key values.QueryBuilder.Breaking Changes
CtoPagerdeclaration, defaulting toUrlso it can be elided in most existing declarations.Pager::from_callbackto take aPagerOptionsas the second parameter rather than aContextparameter.Pager::from_callbacktoPager::newwhich now requires the caller to return aPin<Box<dyn Future>>.Poller::from_callbacktoPoller::newwhich now requires the caller to return aPin<Box<dyn Future>>.PollerResult::nextfield toPollerResult::continuation_token.PollerStategeneric parameter fromNtoC.BearerTokenAuthorizationPolicyintoazure_core::http::policies::auth.ItemIterator::with_continuation_token(). Pass a continuation token toPagerOptions::continuation_tokeninstead.PageIterator::with_continuation_token(). Pass a continuation token toPagerOptions::continuation_tokeninstead.Pager::from_stream.Poller::from_stream.BoxedFuturetoPagerResultFutureinpagermodule.v0.30.1Compare Source
0.30.1 (2025-11-09)
Other Changes
v0.30.0Compare Source
0.30.0 (2025-11-07)
Features Added
Context::to_owned()to create a newly ownedContextfrom an existingContext.ItemIterator::continuation_token()andwith_continuation_token()to resume paging items. The current page is restarted until after all items have been iterated.PipelineOptions::retry_status_codesfor configuring which status codes should trigger a retry.Response<T, F>::body(&self) -> &ResponseBody.Response<T, F>::to_raw_response()function to create aRawResponsefrom cloned data.UrlExt::append_path().IntoFuturefor aPoller. Callawaiton a Poller to get the final model, orinto_stream()to get afutures::Streamto poll the operation manually.serde_json::Valueasazure_core::Value(#1687)Breaking Changes
Contextfield toPollerOptions. Client methods which returnPollerobjects should accept aPollerOptionsin theirmethod_optionsfield instead of aClientMethodOptions.F: Formattype parameter toPollerandPollerResult.Formatassociated type toStatusMonitor.Format::deserialize()function toFormattrait.Stype parameter toxml::from_xmlcongruent withjson::from_json().PollerOptions::frequencyfromOption<Duration>toDuration.base64::optionmodule.base64module now deserializes or serializes non-optional fields congruent with thetimemodule.constantsmodule.credentials::DEFAULT_SCOPE_SUFFIX.CustomHeaderspolicy.ErrorKind::MockFramework.Poller::wait()function. Callawaiton aPollerto wait for it to complete and, upon success, return the final model.xml::read_xml_str().BearerTokenCredentialPolicytoBearerTokenAuthorizationPolicy.BufResponsetoAsyncRawResponseso thatAsyncRawResponseis toRawResponseasAsyncIteratoris toIterator.BufResponseBodytoAsyncResponseBodyso thatAsyncResponseBodyis toResponseBodyasAsyncIteratoris toIterator.Response<T, F>::into_body(self) -> Result<Response<T>>tointo_model(self) -> Result<Response<T>>.into_body(self)now returns aResponseBody.RetryPolicy::get_retry_headers()toRetryPolicy::retry_headers()xml::read_xml()toxml::from_xml()congruent withjson::from_json().Bugs Fixed
ItemIterator::into_pages()now properly supports resuming from the current page until after all items have been iterated.v0.29.1Compare Source
0.29.1 (2025-10-06)
Breaking Changes
azurite_workaroundfeature (unused).Bugs Fixed
v0.29.0Compare Source
0.29.0 (2025-10-08)
Breaking Changes
ClientCertificateCredential::new()takesOption<ClientCertificateCredentialOptions>instead ofimpl Into<ClientCertificateCredentialOptions>.ClientCertificateCredential::new()parameterclient_certificate_passtoclient_certificate_password.authority_hostoptions withazure_core::cloud::CloudConfigurationconfigured viaClientOptions.cloud.v0.28.0Compare Source
0.28.0 (2025-09-16)
Features Added
Breaking Changes
ClientCertificateCredentialOptionsmethodsTokenCredentialOptions. HTTP client options are now set onClientOptions. Credentials which formerly got an authority host from this type now get it from anauthority_hostfield in their own options type.DefaultAzureCredentialwithDeveloperToolsCredential. This new type is excluded from WASM32 builds because it can't authenticate in a WASM runtime environment; however, neither couldDefaultAzureCredential, which wasn't properly excluded.Bugs Fixed
Other Changes
v0.27.0Compare Source
0.27.0 (2025-08-01)
Features Added
#[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_callbackandPageIterator::from_callbackdefine a parameter of typePagerState<C>instead ofOption<C>, whereNone=>InitialandSome(C)=>More(C).Poller::from_callbackdefines a parameter of typePollerState<N>instead ofOption<N>, whereNone=>InitialandSome(N)=>More(N).v0.26.0Compare Source
0.26.0 (2025-07-10)
Features Added
get_async_runtime()andset_async_runtime()to allow customers to replace the asynchronous runtime used by the Azure SDK.PageIterator::continuation_token()andPageIterator::with_continuation_token()to support reconstructing aPageIteratorin another process or on another machine to continue paging.Poller<T>for long-running operations (LROs).Request::set_method()to allow changing the HTTP method of a request.StatusMonitorfor long-running operations.Breaking Changes
http::PollerOptionsparameter tohttp::poller::get_retry_after.FromStrwhereFromStr::Err = InfallibleforPollerStatusinstead ofFrom<&str>.azure_core::http::Pipeline::newnow takes anazure_core::http::ClientOptionswhich is defined inazure_core, but convertible totypespec_client_core::http::ClientOptions.process::Executortoazure_identity.Pipeline::replace_policy.locationandbodymodules fromhttp::poller.azure_core::datetoazure_core::timeand addedazure_core::time::Durationas the standard "duration" type for the SDK.http::poller::body_contenttohttp::poller::body.PagerResult::More { next }tocontinuation.PollerStatus::OthertoPollerStatus::UnknownValuefollowing guidelines.TelemetryOptionstoUserAgentOptions.TelemetryPolicytoUserAgentPolicy.Other Changes
CustomHeadersPolicyis executed after the retry policy in thePipeline.v0.25.0Compare Source
0.25.0 (2025-06-06)
Features Added
#[safe]attribute helper forSafeDebugderive macro to show or hide types and members as appropriate.Pagetrait to facilitate theItemIterator.PageIteratorto asynchronously iterator all pages.Breaking Changes
Pagernow asynchronously iterates over items across all pages. CallPager::into_pages()to get aPageIteratorto asynchronously iterate over all pages.AccessToken::is_expired().PagerResult::ContinuetoMoreand itscontinuationfield tonext.PagerResult::CompletetoDone.PageStreamtoItemIterator.Bugs Fixed
BearerTokenCredentialPolicyreturns an error when a proactive token refresh attempt failsv0.24.0Compare Source
0.24.0 (2025-05-02)
Features Added
TaskSpawnerabstraction to spawn asynchronous tasks for different async runtimes. Defaults to optionaltokioruntime.Breaking Changes
PagerResultalways returns items of typeTinstead ofResponse<T>.Other Changes
SafeDebugformats non-exhaustive types by default. Enabledebugfeature to format normalDebugoutput.v0.23.0Compare Source
0.23.0 (2025-04-08)
Features Added
azure_core::process::Executorto run commands asynchronously.The
tokiofeature is disabled by default sostd::process::Commandis used; otherwise, if enabled,tokio::process::Commandis used.httpmodule containing all functions, modules, and types fromtypespec_client_core::http.azure_core::http::policies::ClientRequestIdPolicyto every pipeline. Client libraries can add with custom header name instead.Pagerfromtypespec_client_core::httptoazure_core::httpmodule since it is Azure-specific.Body,Request, andRequestContentfromhttp::requestmodule.create_enum,create_extensible_enummacros fromtypespec_client_core.ModelandResponsefromhttp::responsemodule.Breaking Changes
azure_core::credentials::TokenCredential::clear_cache()tokiofeatures into a single feature namedtokio. Traits remain separate buttokiosupport is enabled with a single feature.AppendToUrlQuerytype underhttpmodule.ByteStreamandSeekableStreamtypes understreammodule.ClientMethodOptionstype underhttpmodule.ClientOptionstype underhttpmodule.Contexttype underhttpmodule.Etagtype underhttpmodule.ExponentialRetryOptionstype underhttpmodule.FixedRetryOptionstype underhttpmodule.headersmodule underhttpmodule.HttpClienttype underhttpmodule.LeaseActiontype underhttpmodule.LeaseDurationtype underhttpmodule.LeaseStatetype underhttpmodule.LeaseStatustype underhttpmodule.Methodtype underhttpmodule.new_http_clientfunction underhttpmodule.Pipelinetype underhttpmodule.policiesmodule underhttpmodule.requestmodule underhttpmodule.responsemodule underhttpmodule.RetryOptionstype underhttpmodule.StatusCodetype underhttpmodule.TelemetryOptionstype underhttpmodule.TransportOptionstype underhttpmodule.Urltype underhttpmodule.content_typemodule.EMPTY_BODYconstant from root.future!()macro.Headerre-export fromhttpmodule. It is still defined in thehttp::headersmodule.parsingmodule.query_parammodule.RequestIdtype alias from root.SessionTokentype alias from root.lromodule tohttp::pollermodule.lromodule types with prefix "Lro" to prefix "Poller".tokiomodule tofssince it contained only thetypespec_client_core::fsmodule members.v0.22.0Compare Source
0.22.0 (2025-02-18)
Features Added
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.
This change is