Skip to content

fix(deps): update rust crate azure_core to 0.29.0#185

Merged
spotlightishere merged 1 commit intomasterfrom
renovate/azure-sdk-for-rust-monorepo
Oct 29, 2025
Merged

fix(deps): update rust crate azure_core to 0.29.0#185
spotlightishere merged 1 commit intomasterfrom
renovate/azure-sdk-for-rust-monorepo

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2025

This PR contains the following updates:

Package Type Update Change
azure_core dependencies minor 0.27.0 -> 0.29.0

Release Notes

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

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-03)

Features Added
  • Added Error::with_error_fn().
  • Added AsyncResponse<T> for responses that may stream the body outside the HTTP pipeline. This replaces Response<T, F> requiring an async read of the body that occurred outside the HTTP pipeline.
  • Added http::response::BufResponseBody, which also implements Stream.
  • Added a Pipeline::stream() to return a Result<BufResponse>.
  • Added RawResponse::deconstruct().
  • Added ResponseBody::into_string().
  • Added ResponseBody::from_bytes().
  • Added the cloud module with types for configuring clients to use different Azure clouds.
  • Implemented AsRef<[u8]> and Deref<Target = [u8]> for ResponseBody.
Breaking Changes
  • Changed ClientOptions::retry from Option<RetryOptions> to RetryOptions.
  • Changed DeserializeWith::deserialize_with() to be sync.
  • Changed Pipeline::send() to return a Result<RawResponse>.
  • Changed RawResponse::body() to return a &ResponseBody instead of &Bytes. ResponseBody wraps &Bytes, and implements AsRef<[u8]> and Deref<Target = [u8]>.
  • Changed RawResponse::into_body() to return a ResponseBody instead of Bytes. ResponseBody wraps &Bytes, and implements AsRef<[u8]> and Deref<Target = [u8]>.
  • Changed RawResponse::json() from async to a sync function. The body was already buffered.
  • Changed RawResponse::xml() from async to a sync function. The body was already buffered.
  • Changed Response<T, F> to fully sync; it holds a RawResponse that was already buffered entirely from the service so no longer needs or defines async functions.
  • Changed ResponseBody::json() and xml() to borrow self.
  • Removed create_extensible_enum and create_enum macros.
  • Removed BufResponse::json().
  • Removed BufResponse::xml().
  • Removed CustomHeadersPolicy from public API.
  • Removed ErrorKind::http_response(). Construct an ErrorResponse::HttpResponse variant instead.
  • Removed ExponentialRetryPolicy from public API.
  • Removed FixedRetryPolicy from public API.
  • Removed LoggingPolicy from public API.
  • Removed NoRetryPolicy from public API.
  • Removed implementation of Stream for ResponseBody.
  • Removed several unreferenced HTTP headers and accessor structures for those headers.
  • Renamed TransportOptions::new_custom_policy() to Transport::with_policy().
  • Renamed TransportOptions to Transport.
  • Renamed a number of construction functions for Error to align with guidelines"
    • Renamed Error::full() to Error::with_error().
    • Renamed Error::with_message() to Error::with_message_fn().
    • Renamed Error::message() to Error::with_message().
    • Renamed Error::with_context() to Error::with_context_fn().
    • Renamed Error::context() to Error::with_context().
    • Renamed ResultExt::map_kind() to ResultExt::with_kind().
    • Renamed ResultExt::with_context() to ResultExt::with_context_fn().
    • Renamed ResultExt::context() to ResultExt::with_context().
  • Replaced implementation of From<BufResponse> for Response<T, F> to From<RawResponse>.
  • Replaced implementation of From<Response<T, F>> for BufResponse to From<AsyncResponse<T>>.
Bugs Fixed
  • ErrorKind::HttpResponse { raw_response, .. } may have been incorrectly None.

v0.28.0

Compare Source

0.28.0 (2025-09-11)

Features Added
  • Added RawResponse to ErrorKind::HttpResponse that contains the HTTP status code, headers, and complete error response body.
  • Added RequestContent::from_slice().
  • Added TokenRequestOptions { method_options: ClientMethodOptions }.
  • Added TryFrom<T> for RequestContent<T, JsonFormat> for JSON primitives.
  • Added support for WASM to the async_runtime module.
  • Added logging policy to log HTTP requests and responses in the pipeline. As a part of this change, sanitization support was added to places which log HTTP headers and URLs. The azure_core::http::ClientOptions has been enhanced with a LoggingOptions which 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 the debug feature enabled.
  • Added support for a new azure_core::error::http::ErrorResponse structure which describes an error according to the Azure REST API guidelines.
  • Added a new azure_core::http::check_success(BufResponse) function to convert a buffered response to an ErrorKind::HttpResponse.
Breaking Changes
  • Added a lifetime parameter to TokenRequestOptions.
  • Added the ability to configure pipeline configuration independently from ClientOptions. This adds a new optional PipelineOptions parameter to azure_core::http::Pipeline::new(). If not specified, it defaults to the expected options for azure_core services.
  • Changed FromStr for RequestContent<T, F> to RequestContent::from_str().
  • Changed TryFrom<&'static str> for RequestContent<T, F> to RequestContent::from_static().
  • Changed TryFrom<Bytes> for RequestContent<T, F> to From<Bytes> for RequestContent<T, F> because it was already infallible.
  • Removed TryFrom<Vec<u8>> for RequestContent<T, F> since RequestContent::from() already exists.
  • Removed feature reqwest_rustls_tls. See README.md for alternative HTTP client configuration.
  • Removed the fs module including the FileStream and FileStreamBuilder types. Moved to examples/ for typespec_client_core to copy if needed.
  • Removed the setters macro.
  • Renamed RawResponse to BufResponse. New RawResponse contains complete body as Bytes used in ErrorKind::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.


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

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

@renovate renovate bot force-pushed the renovate/azure-sdk-for-rust-monorepo branch from ccf0784 to 34bffc6 Compare October 3, 2025 20:27
@renovate renovate bot changed the title fix(deps): update rust crate azure_core to 0.28.0 fix(deps): update rust crate azure_core to 0.29.0 Oct 3, 2025
@renovate renovate bot force-pushed the renovate/azure-sdk-for-rust-monorepo branch from 34bffc6 to 75b4be9 Compare October 29, 2025 01:09
@renovate renovate bot force-pushed the renovate/azure-sdk-for-rust-monorepo branch from 75b4be9 to f1a038b Compare October 29, 2025 02:08
@spotlightishere spotlightishere merged commit 32afa25 into master Oct 29, 2025
9 checks passed
@renovate renovate bot deleted the renovate/azure-sdk-for-rust-monorepo branch October 29, 2025 02:19
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