This repository was archived by the owner on Oct 6, 2020. It is now read-only.
Releases: MindFlavor/AzureSDKForRust
Releases · MindFlavor/AzureSDKForRust
Put block list
- Implemented Put Block list
- Minor bugfix for Put Block
- Created
IntoAzurePath
trait
Ref pull request: #44
Partial implementation of block blob streaming access
- Implemented streaming block blob get with arbitrary chunk size.
- Added relative e2e test and example.
Ref issue: #42
0.7.0
- Removed azure module from all paths.
- Partial flattening of a few sub modules under cosmos (to be continued).
- Support for replace and delete document.
- Switch to ring for signing.
- Removed
Deref
andAsRef
from API. It's bad practice: https://rust-lang-nursery.github.io/api-guidelines/predictability.html#only-smart-pointers-implement-deref-and-derefmut-c-deref. - Few Cosmos' methods have been renamed.
- Added nyato to the list of the crate authors in Crates.io.
v0.6.1
- Removed unnecessary lifetime in
impl Future
return in storage. - Removed unused lifetimes.
- Replaced
try!
with?
. - Removes unused tokio dependency. PR #35 by nayato.
- Removed
Cargo.lock
by nayato. - Update dependencies to state of the art (except
future 0.2.x
because ```Hyper`` does not support it yet). - Fixed
env_logger::init()
because it no longer returns aResult
. - RustFmt'd with latest
rustfmt-preview
fromrustup
.
PartitionKey
Breaking changes:
- Changed most Cosmos document functions to accept a
azure_sdk_for_rust::azure::cosmos::partition_key::PartitionKey
instead ofOption<Vec<&str>>
. The former is just a more pleasant way of describing the same thing tough.
Other changes:
- Updated dependencies to latest Cargo version.
v0.5.0
- Changed all the remaining
Box<Future>
inimpl Future
- Corrected a bug in lease blob: now we will pass 0 as
Content-Length
as required - Rustformatted all the code
- Clipped code (many minor changes, mostly cosmetic ones)
Minor API change
Breaking changes:
- Removed Azure attributes from returned JSON (field
QueryDocumentResponse<String>.results
).
The removed attributes are in this slice:
const AZURE_KEYS: [&'static str; 5] = ["_attachments", "_etag", "_rid", "_self", "_ts"];
Cosmos document query methods implementation
Implemented features:
- Added Cosmos query document (both a plan
JSON
andDeserializeOwned
implementing structs). - Added more examples.
Replaced tuple return values with single struct for ergonomics
Breaking changes:
- Changed return type from tuple to single struct to make methods more ergonomic. Issue #26.
Type bugfix
Bugfixes
- Corrected a type mistake in multiple
AsRef<str>
parameters. - Implemented
AsRef<str>
in Cosmos document and collection. - Fixed type mismatch in examples (in README.md too).