fix(deps): update rust crate azure_core to 0.29.0#185
Merged
spotlightishere merged 1 commit intomasterfrom Oct 29, 2025
Merged
Conversation
ccf0784 to
34bffc6
Compare
34bffc6 to
75b4be9
Compare
75b4be9 to
f1a038b
Compare
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.27.0->0.29.0Release Notes
azure/azure-sdk-for-rust (azure_core)
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-03)
Features Added
Error::with_error_fn().AsyncResponse<T>for responses that may stream the body outside the HTTP pipeline. This replacesResponse<T, F>requiring an async read of the body that occurred outside the HTTP pipeline.http::response::BufResponseBody, which also implementsStream.Pipeline::stream()to return aResult<BufResponse>.RawResponse::deconstruct().ResponseBody::into_string().ResponseBody::from_bytes().cloudmodule with types for configuring clients to use different Azure clouds.AsRef<[u8]>andDeref<Target = [u8]>forResponseBody.Breaking Changes
ClientOptions::retryfromOption<RetryOptions>toRetryOptions.DeserializeWith::deserialize_with()to be sync.Pipeline::send()to return aResult<RawResponse>.RawResponse::body()to return a&ResponseBodyinstead of&Bytes.ResponseBodywraps&Bytes, and implementsAsRef<[u8]>andDeref<Target = [u8]>.RawResponse::into_body()to return aResponseBodyinstead ofBytes.ResponseBodywraps&Bytes, and implementsAsRef<[u8]>andDeref<Target = [u8]>.RawResponse::json()fromasyncto a sync function. The body was already buffered.RawResponse::xml()fromasyncto a sync function. The body was already buffered.Response<T, F>to fully sync; it holds aRawResponsethat was already buffered entirely from the service so no longer needs or defines async functions.ResponseBody::json()andxml()to borrowself.create_extensible_enumandcreate_enummacros.BufResponse::json().BufResponse::xml().CustomHeadersPolicyfrom public API.ErrorKind::http_response(). Construct anErrorResponse::HttpResponsevariant instead.ExponentialRetryPolicyfrom public API.FixedRetryPolicyfrom public API.LoggingPolicyfrom public API.NoRetryPolicyfrom public API.StreamforResponseBody.TransportOptions::new_custom_policy()toTransport::with_policy().TransportOptionstoTransport.Errorto align with guidelines"Error::full()toError::with_error().Error::with_message()toError::with_message_fn().Error::message()toError::with_message().Error::with_context()toError::with_context_fn().Error::context()toError::with_context().ResultExt::map_kind()toResultExt::with_kind().ResultExt::with_context()toResultExt::with_context_fn().ResultExt::context()toResultExt::with_context().From<BufResponse>forResponse<T, F>toFrom<RawResponse>.From<Response<T, F>>forBufResponsetoFrom<AsyncResponse<T>>.Bugs Fixed
ErrorKind::HttpResponse { raw_response, .. }may have been incorrectlyNone.v0.28.0Compare Source
0.28.0 (2025-09-11)
Features Added
RawResponsetoErrorKind::HttpResponsethat contains the HTTP status code, headers, and complete error response body.RequestContent::from_slice().TokenRequestOptions { method_options: ClientMethodOptions }.TryFrom<T> for RequestContent<T, JsonFormat>for JSON primitives.async_runtimemodule.azure_core::http::ClientOptionshas been enhanced with aLoggingOptionswhich allows a user/service client to specify headers or URL query parameters which should be allowed. Note that the sanitization feature is disabled if you build with thedebugfeature enabled.azure_core::error::http::ErrorResponsestructure which describes an error according to the Azure REST API guidelines.azure_core::http::check_success(BufResponse)function to convert a buffered response to anErrorKind::HttpResponse.Breaking Changes
TokenRequestOptions.ClientOptions. This adds a new optionalPipelineOptionsparameter toazure_core::http::Pipeline::new(). If not specified, it defaults to the expected options forazure_coreservices.FromStr for RequestContent<T, F>toRequestContent::from_str().TryFrom<&'static str> for RequestContent<T, F>toRequestContent::from_static().TryFrom<Bytes> for RequestContent<T, F>toFrom<Bytes> for RequestContent<T, F>because it was already infallible.TryFrom<Vec<u8>> for RequestContent<T, F>sinceRequestContent::from()already exists.reqwest_rustls_tls. See README.md for alternative HTTP client configuration.fsmodule including theFileStreamandFileStreamBuildertypes. Moved toexamples/fortypespec_client_coreto copy if needed.settersmacro.RawResponsetoBufResponse. NewRawResponsecontains complete body asBytesused inErrorKind::HttpResponse.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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.