Releases: Azure/azure-sdk-for-rust
Releases · Azure/azure-sdk-for-rust
[email protected]
0.28.0 (2025-09-16)
Features Added
- Credentials retry HTTP requests by default.
Breaking Changes
- Removed all ClientCertificateCredentialOptionsmethods
- Removed TokenCredentialOptions. 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.
- Replaced 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
[email protected]
0.7.0 (2025-09-11)
Other Changes
- Updated dependencies.
[email protected]
0.7.0 (2025-09-11)
Features Added
- Added RequestContent::from_slice().
- Added TryFrom<T> for RequestContent<T, JsonFormat>for JSON primitives.
- Added support for WASM to the async_runtimemodule.
Breaking Changes
- Added pipeline configuration options (PipelineOptions) totypespec_client_core::http::Pipeline::new()to enable customization of the options for an HTTP pipeline.
- Changed FromStr for RequestContent<T, F>toRequestContent::from_str().
- Changed TryFrom<&'static str> for RequestContent<T, F>toRequestContent::from_static().
- Changed TryFrom<Bytes> for RequestContent<T, F>toFrom<Bytes> for RequestContent<T, F>because it was already infallible.
- Removed TryFrom<Vec<u8>> for RequestContent<T, F>sinceRequestContent::from()already exists.
- Removed feature reqwest_rustls_tls. See README.md for alternative HTTP client configuration.
- Removed the fsmodule including theFileStreamandFileStreamBuildertypes. Moved toexamples/to copy if needed.
- Removed the settersmacro.
- Removed the cloud service specific retry headers from typespec_client_core.
- Renamed RawResponsetoBufResponse. NewRawResponsecontains complete body asBytesused inErrorKind::HttpResponse.
- Removed HttpError type from typespec_client_core because it is an azure_core construct.
[email protected]
0.8.0 (2025-09-11)
Features Added
- Added Bytes(moved fromtypespec_client_core).
- Added HeaderName::is_standard().
- Added jsonmodule if thejsonfeature is enabled (moved fromtypespec_client_core).
- Added RawResponsetoErrorKind::HttpResponsethat contains the HTTP status code, headers, and complete error response body.
- Added xmlfeature.
- Added xmlmodule if thexmlfeature is enabled (moved fromtypespec_client_core).
Other Changes
- Updated dependencies.
[email protected]
0.2.0 (2025-09-11)
Other Changes
- Updated dependencies.
[email protected]
0.2.0 (2025-09-11)
Other Changes
- Updated dependencies.
[email protected]
0.7.0 (2025-09-11)
Breaking Changes
- Distinguish remote disconnect and remote closed errors by origin
[email protected]
0.28.0 (2025-09-11)
Features Added
- Added RawResponsetoErrorKind::HttpResponsethat 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_runtimemodule.
- 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::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.
- Added support for a new azure_core::error::http::ErrorResponsestructure 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 anErrorKind::HttpResponse.
Breaking Changes
- Added a lifetime parameter to TokenRequestOptions.
- Added the ability to configure pipeline configuration independently from ClientOptions. This adds a new optionalPipelineOptionsparameter toazure_core::http::Pipeline::new(). If not specified, it defaults to the expected options forazure_coreservices.
- Changed FromStr for RequestContent<T, F>toRequestContent::from_str().
- Changed TryFrom<&'static str> for RequestContent<T, F>toRequestContent::from_static().
- Changed TryFrom<Bytes> for RequestContent<T, F>toFrom<Bytes> for RequestContent<T, F>because it was already infallible.
- Removed TryFrom<Vec<u8>> for RequestContent<T, F>sinceRequestContent::from()already exists.
- Removed feature reqwest_rustls_tls. See README.md for alternative HTTP client configuration.
- Removed the fsmodule including theFileStreamandFileStreamBuildertypes. Moved toexamples/fortypespec_client_coreto copy if needed.
- Removed the settersmacro.
- Renamed RawResponsetoBufResponse. NewRawResponsecontains complete body asBytesused inErrorKind::HttpResponse.
[email protected]
0.26.0 (2025-08-06)
[email protected]
0.4.0 (2025-08-05)
Bugs Fixed
- Fixed an issue where the Etagfield inBlobPropertiesInternalwas not deserialized properly.
- Re-exported previously inaccessible models referenced in options bags and response models for currently implemented features.
Breaking Changes
- Changed RequestContent<Bytes>request methods toRequestContent<T, NoFormat>to provide parity withResponse<T, NoFormat>.
- Changed RequestContent<T>XML models in client methods toRequestContent<T, XmlFormat>to provide parity withResponse<T, XmlFormat>.