Releases: Azure/azure-sdk-for-rust
Releases · Azure/azure-sdk-for-rust
[email protected]
0.4.0 (2025-06-06)
Features Added
- Added #[safe]attribute helper forSafeDebugderive macro to show or hide types and members as appropriate.
Breaking Changes
- Removed Modelderive macro.
[email protected]
0.4.0 (2025-06-06)
Features Added
- Added #[safe]attribute helper forSafeDebugderive macro to show or hide types and members as appropriate.
- Added module fmt::as_stringwhich is used to (de)serialize types in string format.
- Added Response<T, F>type to represent a response with a specific format and model type.
- Added RawResponsetype to represent a raw response without a specific model.
Breaking Changes
- Removed the Modeltrait and replaced it withResponse<T, F>, which moves the "format" information (JSON/XML/etc.) from the model to the service client method's return type. This allows for more flexibility in handling different response formats and user data types in Responses.
- Split ResponseintoResponse<T, F>andRawResponse(which carries the raw response data without a specific format).
[email protected]
0.5.0 (2025-06-06)
Other Changes
- Updated dependencies.
[email protected]
0.4.0 (2025-06-10)
Breaking Changes
- Event Message Properties is now an AmqpSimpleValuerather than anAmqpValueto more closely reflect the AMQP specification (AMQP ApplicationProperties cannot contain Map, List, or Array).
Other Changes
- Added performance tests for some Event Hubs APIs
- Use SafeDebugattribute for AMQP messages
- Test infrastructure is now deployed using a test-resources.bicepfile instead of atest-resources.jsonfile.
- Restructured internal logic to prepare for connection/session recovery.
[email protected]
0.4.0 (2025-06-06)
Breaking Changes
- 
AmqpClaimsBasedSecuritynow takes ownership of the associated session rather than simply referencing the associated session. This means that all CBS authentication operations should be performed on dedicated AmqpSession objects.
- 
AmqpOrderedMap::iternow iterates over references to key and value, not clones of the key and value, thus eliminating unnecessary clones.
Other Changes
- Use the SafeDebugmacro to hide potential PII from trace logs. The SafeDebug macro currently applies to theAmqpApplicationPropertiesandAmqpMessageBodytypes.
[email protected]
0.25.0 (2025-06-06)
Features Added
- Added #[safe]attribute helper forSafeDebugderive macro to show or hide types and members as appropriate.
- Added Pagetrait to facilitate theItemIterator.
- Added PageIteratorto asynchronously iterator all pages.
Breaking Changes
- A Pagernow asynchronously iterates over items across all pages. CallPager::into_pages()to get aPageIteratorto asynchronously iterate over all pages.
- Removed AccessToken::is_expired().
- Renamed PagerResult::ContinuetoMoreand itscontinuationfield tonext.
- Renamed PagerResult::CompletetoDone.
- Renamed PageStreamtoItemIterator.
Bugs Fixed
- BearerTokenCredentialPolicyreturns an error when a proactive token refresh attempt fails
[email protected]
0.3.0 (2025-05-07)
Features Added
- Added EventHubs token refresh.
- Added retries for failed EventHubs operations.
Breaking Changes
- The fully_qualified_domainparameter to theopenmethod on theProducerClientandConsumerClientbuilder now takes an&strinstead of aStringto better follow the Azure SDK for Rust API guidelines.
[email protected]
0.3.1 (2025-05-08)
Other Changes
- Added From<&AmqpValue>converters for fundamental types.
[email protected]
0.3.0 (2025-05-06)
Other Changes
- Updated dependencies.
[email protected]
0.3.0 (2025-05-06)
Other Changes
- Updated dependencies.