diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eba0ed491..9580edc0e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,27 @@ # Changelog +## [v0.5.0-dev.2](https://github.com/iotaledger/identity.rs/tree/v0.5.0-dev.2) (2022-01-14) + +[Full Changelog](https://github.com/iotaledger/identity.rs/compare/v0.5.0-dev.1...v0.5.0-dev.2) + +Changed + +- Replace `ClientMap` with `Client` in `Account` [\#582](https://github.com/iotaledger/identity.rs/pull/582) +- Add signature `created`, `expires`, `challenge`, `domain`, `purpose` [\#548](https://github.com/iotaledger/identity.rs/pull/548) + +Added + +- Add account synchronization method [\#544](https://github.com/iotaledger/identity.rs/pull/544) + +Patch + +- Enable local proof-of-work fallback [\#579](https://github.com/iotaledger/identity.rs/pull/579) + ## [v0.5.0-dev.1](https://github.com/iotaledger/identity.rs/tree/v0.5.0-dev.1) (2021-12-15) -[Full Changelog](https://github.com/iotaledger/identity.rs/compare/v0.3.0...v0.5.0-dev.1) +[Full Changelog](https://github.com/iotaledger/identity.rs/compare/v0.4.0...v0.5.0-dev.1) + +This release introduces multiple breaking changes to the structure of IOTA DID Documents and their Tangle messages, rendering any identity created with a prior version incompatible and unresolvable. A versioning system has been introduced so any new identities should hopefully be forward compatible with any future breaking changes to the message structure. Changed @@ -24,6 +43,7 @@ Changed Added - Filter out DiffMessages updating signing methods [\#519](https://github.com/iotaledger/identity.rs/pull/519) +- Add publish with retry method [\#455](https://github.com/iotaledger/identity.rs/pull/455) Patch @@ -31,10 +51,17 @@ Patch - Improve client error messages [\#512](https://github.com/iotaledger/identity.rs/pull/512) - Make `create_signature` and `sign` async for `RemoteEd25519` [\#491](https://github.com/iotaledger/identity.rs/pull/491) - Fix credential validation failing for documents with diff updates [\#490](https://github.com/iotaledger/identity.rs/pull/490) +- Upgrade to the Rust 2021 edition [\#449](https://github.com/iotaledger/identity.rs/pull/449) + +## [v0.4.0](https://github.com/iotaledger/identity.rs/tree/v0.4.0) (2021-11-01) + +[Full Changelog](https://github.com/iotaledger/identity.rs/compare/v0.3.0...v0.4.0) ## [v0.3.0](https://github.com/iotaledger/identity.rs/tree/v0.3.0) (2021-05-10) [Full Changelog](https://github.com/iotaledger/identity.rs/compare/v0.2.0...v0.3.0) + +This release introduces the high-level `Account` API for creating and managing IOTA identities. ## [v0.2.0](https://github.com/iotaledger/identity.rs/tree/v0.2.0) (2021-02-18) diff --git a/bindings/wasm/Cargo.toml b/bindings/wasm/Cargo.toml index 6ada324e3a..94326853cb 100644 --- a/bindings/wasm/Cargo.toml +++ b/bindings/wasm/Cargo.toml @@ -24,7 +24,7 @@ wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } wasm-bindgen-futures = { version = "0.4", default-features = false } [dependencies.identity] -version = "=0.5.0-dev.1" +version = "=0.5.0-dev.2" path = "../../identity" default-features = false features = ["wasm"] diff --git a/identity-account/Cargo.toml b/identity-account/Cargo.toml index 871b1b2026..4ec60b1e8a 100644 --- a/identity-account/Cargo.toml +++ b/identity-account/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity-account" -version = "0.5.0-dev.1" +version = "0.5.0-dev.2" authors = ["IOTA Stiftung"] edition = "2021" homepage = "https://www.iota.org" @@ -15,10 +15,10 @@ actix = { version = "0.12.0", optional = true } async-trait = { version = "0.1", default-features = false } futures = { version = "0.3" } hashbrown = { version = "0.11", features = ["serde"] } -identity-core = { version = "=0.5.0-dev.1", path = "../identity-core" } -identity-credential = { version = "=0.5.0-dev.1", path = "../identity-credential" } -identity-did = { version = "=0.5.0-dev.1", path = "../identity-did" } -identity-iota = { version = "=0.5.0-dev.1", path = "../identity-iota", default-features = false } +identity-core = { version = "=0.5.0-dev.2", path = "../identity-core" } +identity-credential = { version = "=0.5.0-dev.2", path = "../identity-credential" } +identity-did = { version = "=0.5.0-dev.2", path = "../identity-did" } +identity-iota = { version = "=0.5.0-dev.2", path = "../identity-iota", default-features = false } itoa = { version = "0.4" } log = { version = "0.4", default-features = false } once_cell = { version = "1.7", default-features = false, features = ["std"] } diff --git a/identity-comm/Cargo.toml b/identity-comm/Cargo.toml index 873e8ceecd..1f4768e17d 100644 --- a/identity-comm/Cargo.toml +++ b/identity-comm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity-comm" -version = "0.5.0-dev.1" +version = "0.5.0-dev.2" authors = ["IOTA Stiftung"] edition = "2021" homepage = "https://www.iota.org" @@ -11,10 +11,10 @@ repository = "https://github.com/iotaledger/identity.rs" description = "An implementation of the DIDComm Messaging Specification." [dependencies] -identity-core = { path = "../identity-core", version = "=0.5.0-dev.1" } -identity-credential = { path = "../identity-credential", version = "=0.5.0-dev.1" } -identity-did = { path = "../identity-did", version = "=0.5.0-dev.1" } -identity-iota = { path = "../identity-iota", version = "=0.5.0-dev.1", default-features = false } +identity-core = { path = "../identity-core", version = "=0.5.0-dev.2" } +identity-credential = { path = "../identity-credential", version = "=0.5.0-dev.2" } +identity-did = { path = "../identity-did", version = "=0.5.0-dev.2" } +identity-iota = { path = "../identity-iota", version = "=0.5.0-dev.2", default-features = false } libjose = { path = "../libjose", version = "=0.1.0" } paste = { version = "1.0" } serde = { version = "1.0", features = ["derive"] } diff --git a/identity-core/Cargo.toml b/identity-core/Cargo.toml index 611ffb0e5d..f126a06f75 100644 --- a/identity-core/Cargo.toml +++ b/identity-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity-core" -version = "0.5.0-dev.1" +version = "0.5.0-dev.2" authors = ["IOTA Stiftung"] edition = "2021" homepage = "https://www.iota.org" @@ -14,7 +14,7 @@ description = "The core traits and types for the identity-rs library." base64 = { version = "0.13", default-features = false, features = ["std"] } bs58 = { version = "0.4", default-features = false, features = ["std"] } hex = { version = "0.4", default-features = false } -identity-diff = { version = "=0.5.0-dev.1", path = "../identity-diff", default-features = false } +identity-diff = { version = "=0.5.0-dev.2", path = "../identity-diff", default-features = false } js-sys = { version = "0.3.55", default-features = false, optional = true } multibase = { version = "0.9", default-features = false, features = ["std"] } roaring = { version = "0.7", default-features = false } diff --git a/identity-credential/Cargo.toml b/identity-credential/Cargo.toml index 2533afeb2b..ea61b67ffb 100644 --- a/identity-credential/Cargo.toml +++ b/identity-credential/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity-credential" -version = "0.5.0-dev.1" +version = "0.5.0-dev.2" authors = ["IOTA Stiftung"] edition = "2021" homepage = "https://www.iota.org" @@ -11,8 +11,8 @@ repository = "https://github.com/iotaledger/identity.rs" description = "An implementation of the Verfiable Credentials standard." [dependencies] -identity-core = { version = "=0.5.0-dev.1", path = "../identity-core" } -identity-did = { version = "=0.5.0-dev.1", path = "../identity-did" } +identity-core = { version = "=0.5.0-dev.2", path = "../identity-core" } +identity-did = { version = "=0.5.0-dev.2", path = "../identity-did" } lazy_static = { version = "1.4", default-features = false } serde = { version = "1.0", default-features = false, features = ["std", "derive"] } strum = { version = "0.21", features = ["derive"] } diff --git a/identity-did/Cargo.toml b/identity-did/Cargo.toml index 130a598ed4..8225d36040 100644 --- a/identity-did/Cargo.toml +++ b/identity-did/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity-did" -version = "0.5.0-dev.1" +version = "0.5.0-dev.2" authors = ["IOTA Stiftung"] edition = "2021" homepage = "https://www.iota.org" @@ -14,7 +14,7 @@ description = "An implementation of the Decentralized Identifiers standard." async-trait = { version = "0.1", default-features = false } did_url = { version = "0.1", default-features = false, features = ["std", "serde"] } form_urlencoded = { version = "1.0.1", default-features = false } -identity-core = { version = "=0.5.0-dev.1", path = "../identity-core" } +identity-core = { version = "=0.5.0-dev.2", path = "../identity-core" } indexmap = { version = "1.7", default-features = false, features = ["std", "serde-1"] } serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] } strum = { version = "0.21", features = ["derive"] } diff --git a/identity-diff/Cargo.toml b/identity-diff/Cargo.toml index e183650b74..ca2592d5a9 100644 --- a/identity-diff/Cargo.toml +++ b/identity-diff/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity-diff" -version = "0.5.0-dev.1" +version = "0.5.0-dev.2" authors = ["IOTA Stiftung"] edition = "2021" homepage = "https://www.iota.org" @@ -12,7 +12,7 @@ description = "The `Diff` trait for the identity-rs library." [dependencies] did_url = { version = "0.1", default-features = false, features = ["alloc"] } -identity-diff-derive = { version = "=0.5.0-dev.1", path = "derive", optional = true } +identity-diff-derive = { version = "=0.5.0-dev.2", path = "derive", optional = true } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0" } strum = { version = "0.21", features = ["derive"] } diff --git a/identity-diff/derive/Cargo.toml b/identity-diff/derive/Cargo.toml index 0a134410ef..4ee57231ee 100644 --- a/identity-diff/derive/Cargo.toml +++ b/identity-diff/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity-diff-derive" -version = "0.5.0-dev.1" +version = "0.5.0-dev.2" authors = ["IOTA Stiftung"] edition = "2021" homepage = "https://www.iota.org" diff --git a/identity-iota/Cargo.toml b/identity-iota/Cargo.toml index e4b593c988..89300805e9 100644 --- a/identity-iota/Cargo.toml +++ b/identity-iota/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity-iota" -version = "0.5.0-dev.1" +version = "0.5.0-dev.2" authors = ["IOTA Stiftung"] edition = "2021" homepage = "https://www.iota.org" @@ -17,9 +17,9 @@ brotli = { version = "3.3", default-features = false, features = ["std"] } dashmap = { version = "4.0" } form_urlencoded = { version = "1.0" } futures = { version = "0.3" } -identity-core = { version = "=0.5.0-dev.1", path = "../identity-core" } -identity-credential = { version = "=0.5.0-dev.1", path = "../identity-credential" } -identity-did = { version = "=0.5.0-dev.1", path = "../identity-did" } +identity-core = { version = "=0.5.0-dev.2", path = "../identity-core" } +identity-credential = { version = "=0.5.0-dev.2", path = "../identity-credential" } +identity-did = { version = "=0.5.0-dev.2", path = "../identity-did" } itertools = { version = "0.10" } lazy_static = { version = "1.4", default-features = false } log = { version = "0.4", default-features = false } diff --git a/identity/Cargo.toml b/identity/Cargo.toml index 545cf188ea..6060b8ef26 100644 --- a/identity/Cargo.toml +++ b/identity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity" -version = "0.5.0-dev.1" +version = "0.5.0-dev.2" authors = ["IOTA Stiftung"] documentation = "https://wiki.iota.org/identity.rs/introduction" edition = "2021" @@ -12,12 +12,12 @@ repository = "https://github.com/iotaledger/identity.rs" description = "Tools for working with Self-sovereign Identity." [dependencies] -identity-account = { version = "=0.5.0-dev.1", path = "../identity-account", optional = true } -identity-comm = { version = "=0.5.0-dev.1", path = "../identity-comm", optional = true } -identity-core = { version = "=0.5.0-dev.1", path = "../identity-core", default-features = false } -identity-credential = { version = "=0.5.0-dev.1", path = "../identity-credential" } -identity-did = { version = "=0.5.0-dev.1", path = "../identity-did" } -identity-iota = { version = "=0.5.0-dev.1", path = "../identity-iota", default-features = false } +identity-account = { version = "=0.5.0-dev.2", path = "../identity-account", optional = true } +identity-comm = { version = "=0.5.0-dev.2", path = "../identity-comm", optional = true } +identity-core = { version = "=0.5.0-dev.2", path = "../identity-core", default-features = false } +identity-credential = { version = "=0.5.0-dev.2", path = "../identity-credential" } +identity-did = { version = "=0.5.0-dev.2", path = "../identity-did" } +identity-iota = { version = "=0.5.0-dev.2", path = "../identity-iota", default-features = false } [dev-dependencies] criterion = { version = "0.3" }