Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Releases: MindFlavor/AzureSDKForRust

Blob storage - Copy blob from URL function support

28 Apr 15:03
4eb1d2e
Compare
Choose a tag to compare

This release adds the Copy blob from URL function support to the Blob crate as requested by Matthias P. Braendli in issue #73.
As usual, please refer to the example folder for a working example on how to use it.

Better macro ergonomics

19 Apr 14:56
Compare
Choose a tag to compare

This release improves the ergonomics of some of the most used of the Core crate's macros .

CosmosDB - Attachments support

18 Apr 17:42
Compare
Choose a tag to compare

This release adds attachments support (both reference and slug) to the Cosmos DB crate. There are few small breaking changes (most notably the ConsistenctLevel enum now supports a Cow instead of a raw &str for better ergonomics so it loses the Copy auto trait). You should not be impacted by the changes, however (I hope!).
All the attachments methods are supported and there are E2E tests as well. As usual, please refer to the examples folder for how to use it (as this time there is this example: attachment00.rs).

Mixed crate release 20200402

02 Apr 14:33
ab0f301
Compare
Choose a tag to compare

This release includes these PRs:

  • Update service bus peek lock method to accept timeout. PR 247 thanks to Pedro Martin and his team.
  • Try to parse into a known error on fail. PR 248 thanks to Murph Murphy.
  • Add azure_sas associated function to TableClient. PR 249 thanks to Ben Sully.
  • Support for stream in list blobs. PR 252.

The other crates have compatible increments because of the updated reference of the core crate. The tag has a weird format because I could not find a common version for every crate. Every crate, however, is following its own versioning as explained in the README.

Maintenance release 0.42.0

04 Mar 15:46
Compare
Choose a tag to compare

Minor release. News:

CosmosDB: Stored procedure methods

23 Feb 10:03
7cac521
Compare
Choose a tag to compare

Implemented the stored procedure methods as per: #190, #191, #192, #193.

0.40.0

16 Feb 19:46
047b94d
Compare
Choose a tag to compare

This version incorporates:

  • All the newest Azure Table changes thanks to: gzp-crey. Many thanks man!
  • Fixed the dependencies using non alpha/beta crates (also thanks to: gzp-crey).
  • More CosmosDB methods (please refer to milestone 3 for CosmosDB progress).
  • Azure_aad_auth serde 1.0 compatible (PR #233 thanks to Jeffrey Shen).
  • Global breaking change on how the ranges are passed to Azure (now it is more idiomatic in Rust) (PR #222).

As usual if I forgot to properly give credit to someone please let me know!

Fix blob streaming

15 Jan 09:39
d8716f2
Compare
Choose a tag to compare

Attempt to fix issue #220.

PRs:

CosmosDB: implemented Permissions

10 Jan 19:38
688ad3f
Compare
Choose a tag to compare

Implemented features

  • All the Permission REST APIs methods have been implemented.
  • A new specific client has been created: PermissionClient.
  • Modified the authentication code to accept seamlessly either the master tokens (the one you get from the Azure Portal) and the user permission tokens (the one you get by explicitly granting access to a resource). Please refer to the examples as usual for how to create and use user permission tokens.

Breaking changes

  • Removed enum azure_sdk_cosmos::TokenType
  • Refactored struct azure_sdk_cosmos::AuthorizationToken into an enum to properly handle the permission based token. It also loses the account information (which goes into the azure_sdk_cosmos::Client struct instead). In practice you should replace in your code:
let authorization_token = AuthorizationToken::new(account, TokenType::Master, &master_key)?;	
let client = ClientBuilder::new(authorization_token)?;

with:

let authorization_token = AuthorizationToken::new_master(&master_key)?;
let client = ClientBuilder::new(account, authorization_token)?;

The other variant can be constructed from a azure_sdk_cosmos::PermissionToken struct (regardless on how obtained). For example:

    let new_authorization_token: AuthorizationToken = create_permission_response
        .permission
        .permission_token
        .into();

Issues closed

CosmosDB - User methods

07 Jan 20:22
752e0af
Compare
Choose a tag to compare

Implemented as per REST API specification

  • Create User
  • List Users
  • Delete User
  • Replace User
  • Get User

New structs