Skip to content

Commit

Permalink
Hotfix v1.0.1 (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 19, 2024
1 parent c11cd71 commit f7dbbfe
Show file tree
Hide file tree
Showing 19 changed files with 64 additions and 351 deletions.
288 changes: 1 addition & 287 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bindings/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ wasm-bindgen = { version = "0.2.85", features = ["serde-serialize"] }
wasm-bindgen-futures = { version = "0.4", default-features = false }

[dependencies.identity_iota]
version = "1.0.0"
version = "1.0.1"
path = "../../identity_iota"
default-features = false
features = ["client", "revocation-bitmap", "resolver", "domain-linkage"]
Expand Down
4 changes: 2 additions & 2 deletions examples/1_advanced/6_domain_linkage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ async fn main() -> anyhow::Result<()> {

// Get the domains included in the Linked Domain Service.
let domains: &[Url] = linked_domain_services
.get(0)
.first()
.ok_or_else(|| anyhow::anyhow!("expected a domain"))?
.domains();

let domain_foo: Url = domains
.get(0)
.first()
.ok_or_else(|| anyhow::anyhow!("expected a domain"))?
.clone();
assert_eq!(domain_foo, domain_1);
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "examples"
version = "1.0.0"
version = "1.0.1"
authors = ["IOTA Stiftung"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion identity_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_core"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand Down
12 changes: 6 additions & 6 deletions identity_credential/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_credential"
version = "1.0.0"
version = "1.0.1"
authors = ["IOTA Stiftung"]
edition = "2021"
homepage.workspace = true
Expand All @@ -15,10 +15,10 @@ description = "An implementation of the Verifiable Credentials standard."
dataurl = { version = "0.1.2", default-features = false, optional = true }
flate2 = { version = "1.0.23", default-features = false, features = ["rust_backend"], optional = true }
futures = { version = "0.3", default-features = false, optional = true }
identity_core = { version = "=1.0.0", path = "../identity_core", default-features = false }
identity_did = { version = "=1.0.0", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.0", path = "../identity_document", default-features = false }
identity_verification = { version = "=1.0.0", path = "../identity_verification", default-features = false }
identity_core = { version = "=1.0.1", path = "../identity_core", default-features = false }
identity_did = { version = "=1.0.1", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.1", path = "../identity_document", default-features = false }
identity_verification = { version = "=1.0.1", path = "../identity_verification", default-features = false }
indexmap = { version = "2.0", default-features = false, features = ["std", "serde"] }
itertools = { version = "0.11", default-features = false, features = ["use_std"], optional = true }
once_cell = { version = "1.18", default-features = false, features = ["std"] }
Expand All @@ -31,7 +31,7 @@ thiserror.workspace = true
url = { version = "2.4", default-features = false }

[dev-dependencies]
identity_eddsa_verifier = { version = "=1.0.0", path = "../identity_eddsa_verifier", default-features = false, features = ["ed25519"] }
identity_eddsa_verifier = { version = "=1.0.1", path = "../identity_eddsa_verifier", default-features = false, features = ["ed25519"] }
iota-crypto = { version = "0.23", default-features = false, features = ["ed25519", "std", "random"] }
proptest = { version = "1.0.0", default-features = false, features = ["std"] }
serde_json.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions identity_did/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_did"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition = "2021"
homepage.workspace = true
Expand All @@ -13,7 +13,7 @@ description = "Agnostic implementation of the Decentralized Identifiers (DID) st
[dependencies]
did_url = { version = "0.1", default-features = false, features = ["std", "serde"] }
form_urlencoded = { version = "1.2.0", default-features = false, features = ["alloc"] }
identity_core = { version = "=1.0.0", path = "../identity_core" }
identity_core = { version = "=1.0.1", path = "../identity_core" }
serde.workspace = true
strum.workspace = true
thiserror.workspace = true
Expand Down
8 changes: 4 additions & 4 deletions identity_document/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_document"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand All @@ -13,9 +13,9 @@ description = "Method-agnostic implementation of the Decentralized Identifiers (

[dependencies]
did_url = { version = "0.1", default-features = false, features = ["std", "serde"] }
identity_core = { version = "=1.0.0", path = "../identity_core" }
identity_did = { version = "=1.0.0", path = "../identity_did" }
identity_verification = { version = "=1.0.0", path = "../identity_verification", default-features = false }
identity_core = { version = "=1.0.1", path = "../identity_core" }
identity_did = { version = "=1.0.1", path = "../identity_did" }
identity_verification = { version = "=1.0.1", path = "../identity_verification", default-features = false }
indexmap = { version = "2.0", default-features = false, features = ["std", "serde"] }
serde.workspace = true
strum.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions identity_document/src/document/core_document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ mod tests {
let document: CoreDocument = document();

// Access methods by index.
assert_eq!(document.methods(None).get(0).unwrap().id().to_string(), "did:example:1234#key-1");
assert_eq!(document.methods(None).first().unwrap().id().to_string(), "did:example:1234#key-1");
assert_eq!(document.methods(None).get(2).unwrap().id().to_string(), "did:example:1234#key-3");
}

Expand All @@ -1164,7 +1164,7 @@ mod tests {
// VerificationMethod
let verification_methods: Vec<&VerificationMethod> = document.methods(Some(MethodScope::VerificationMethod));
assert_eq!(
verification_methods.get(0).unwrap().id().to_string(),
verification_methods.first().unwrap().id().to_string(),
"did:example:1234#key-1"
);
assert_eq!(
Expand All @@ -1180,7 +1180,7 @@ mod tests {
// Authentication
let authentication: Vec<&VerificationMethod> = document.methods(Some(MethodScope::authentication()));
assert_eq!(
authentication.get(0).unwrap().id().to_string(),
authentication.first().unwrap().id().to_string(),
"did:example:1234#auth-key"
);
assert_eq!(
Expand Down
4 changes: 2 additions & 2 deletions identity_eddsa_verifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_eddsa_verifier"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand All @@ -12,7 +12,7 @@ rust-version.workspace = true
description = "JWS EdDSA signature verification for IOTA Identity"

[dependencies]
identity_jose = { version = "=1.0.0", path = "../identity_jose", default-features = false }
identity_jose = { version = "=1.0.1", path = "../identity_jose", default-features = false }
iota-crypto = { version = "0.23", default-features = false, features = ["std"] }

[features]
Expand Down
18 changes: 9 additions & 9 deletions identity_iota/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_iota"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand All @@ -12,14 +12,14 @@ rust-version.workspace = true
description = "Framework for Self-Sovereign Identity with IOTA DID."

[dependencies]
identity_core = { version = "=1.0.0", path = "../identity_core", default-features = false }
identity_credential = { version = "=1.0.0", path = "../identity_credential", features = ["validator"], default-features = false }
identity_did = { version = "=1.0.0", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.0", path = "../identity_document", default-features = false }
identity_iota_core = { version = "=1.0.0", path = "../identity_iota_core", default-features = false }
identity_resolver = { version = "=1.0.0", path = "../identity_resolver", default-features = false, optional = true }
identity_storage = { version = "=1.0.0", path = "../identity_storage", default-features = false, features = ["iota-document"] }
identity_verification = { version = "=1.0.0", path = "../identity_verification", default-features = false }
identity_core = { version = "=1.0.1", path = "../identity_core", default-features = false }
identity_credential = { version = "=1.0.1", path = "../identity_credential", features = ["validator"], default-features = false }
identity_did = { version = "=1.0.1", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.1", path = "../identity_document", default-features = false }
identity_iota_core = { version = "=1.0.1", path = "../identity_iota_core", default-features = false }
identity_resolver = { version = "=1.0.1", path = "../identity_resolver", default-features = false, optional = true }
identity_storage = { version = "=1.0.1", path = "../identity_storage", default-features = false, features = ["iota-document"] }
identity_verification = { version = "=1.0.1", path = "../identity_verification", default-features = false }

[dev-dependencies]
anyhow = "1.0.64"
Expand Down
12 changes: 6 additions & 6 deletions identity_iota_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_iota_core"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand All @@ -14,11 +14,11 @@ description = "An IOTA Ledger integration for the IOTA DID Method."
[dependencies]
async-trait = { version = "0.1.56", default-features = false, optional = true }
futures = { version = "0.3", default-features = false }
identity_core = { version = "=1.0.0", path = "../identity_core", default-features = false }
identity_credential = { version = "=1.0.0", path = "../identity_credential", default-features = false, features = ["validator"] }
identity_did = { version = "=1.0.0", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.0", path = "../identity_document", default-features = false }
identity_verification = { version = "=1.0.0", path = "../identity_verification", default-features = false }
identity_core = { version = "=1.0.1", path = "../identity_core", default-features = false }
identity_credential = { version = "=1.0.1", path = "../identity_credential", default-features = false, features = ["validator"] }
identity_did = { version = "=1.0.1", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.1", path = "../identity_document", default-features = false }
identity_verification = { version = "=1.0.1", path = "../identity_verification", default-features = false }
iota-sdk = { version = "1.0.2", default-features = false, features = ["serde", "std"], optional = true }
num-derive = { version = "0.4", default-features = false }
num-traits = { version = "0.2", default-features = false, features = ["std"] }
Expand Down
4 changes: 2 additions & 2 deletions identity_jose/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_jose"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand All @@ -12,7 +12,7 @@ rust-version.workspace = true
description = "A library for JOSE (JSON Object Signing and Encryption)"

[dependencies]
identity_core = { version = "=1.0.0", path = "../identity_core", default-features = false }
identity_core = { version = "=1.0.1", path = "../identity_core", default-features = false }
iota-crypto = { version = "0.23", default-features = false, features = ["std", "sha"] }
serde.workspace = true
serde_json = { version = "1.0", default-features = false, features = ["std"] }
Expand Down
12 changes: 6 additions & 6 deletions identity_resolver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_resolver"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand All @@ -15,16 +15,16 @@ description = "DID Resolution utilities for the identity.rs library."
# This is currently necessary for the ResolutionHandler trait. This can be made an optional dependency if alternative ways of attaching handlers are introduced.
async-trait = { version = "0.1", default-features = false }
futures = { version = "0.3" }
identity_core = { version = "=1.0.0", path = "../identity_core", default-features = false }
identity_credential = { version = "=1.0.0", path = "../identity_credential", default-features = false, features = ["validator"] }
identity_did = { version = "=1.0.0", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.0", path = "../identity_document", default-features = false }
identity_core = { version = "=1.0.1", path = "../identity_core", default-features = false }
identity_credential = { version = "=1.0.1", path = "../identity_credential", default-features = false, features = ["validator"] }
identity_did = { version = "=1.0.1", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.1", path = "../identity_document", default-features = false }
serde = { version = "1.0", default-features = false, features = ["std", "derive"] }
strum.workspace = true
thiserror = { version = "1.0", default-features = false }

[dependencies.identity_iota_core]
version = "=1.0.0"
version = "=1.0.1"
path = "../identity_iota_core"
default-features = false
features = ["send-sync-client-ext", "iota-client"]
Expand Down
18 changes: 9 additions & 9 deletions identity_storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_storage"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand All @@ -14,12 +14,12 @@ description = "Abstractions over storage for cryptographic keys used in DID Docu
[dependencies]
async-trait = { version = "0.1.64", default-features = false }
futures = { version = "0.3.27", default-features = false, features = ["async-await"] }
identity_core = { version = "=1.0.0", path = "../identity_core", default-features = false }
identity_credential = { version = "=1.0.0", path = "../identity_credential", default-features = false, features = ["credential", "presentation"] }
identity_did = { version = "=1.0.0", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.0", path = "../identity_document", default-features = false }
identity_iota_core = { version = "=1.0.0", path = "../identity_iota_core", default-features = false, optional = true }
identity_verification = { version = "=1.0.0", path = "../identity_verification", default_features = false }
identity_core = { version = "=1.0.1", path = "../identity_core", default-features = false }
identity_credential = { version = "=1.0.1", path = "../identity_credential", default-features = false, features = ["credential", "presentation"] }
identity_did = { version = "=1.0.1", path = "../identity_did", default-features = false }
identity_document = { version = "=1.0.1", path = "../identity_document", default-features = false }
identity_iota_core = { version = "=1.0.1", path = "../identity_iota_core", default-features = false, optional = true }
identity_verification = { version = "=1.0.1", path = "../identity_verification", default_features = false }
iota-crypto = { version = "0.23", default-features = false, features = ["ed25519"], optional = true }
rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"], optional = true }
seahash = { version = "4.1.0", default_features = false }
Expand All @@ -29,8 +29,8 @@ thiserror.workspace = true
tokio = { version = "1.29.0", default-features = false, features = ["macros", "sync"], optional = true }

[dev-dependencies]
identity_credential = { version = "=1.0.0", path = "../identity_credential", features = ["revocation-bitmap"] }
identity_eddsa_verifier = { version = "=1.0.0", path = "../identity_eddsa_verifier", default-features = false, features = ["ed25519"] }
identity_credential = { version = "=1.0.1", path = "../identity_credential", features = ["revocation-bitmap"] }
identity_eddsa_verifier = { version = "=1.0.1", path = "../identity_eddsa_verifier", default-features = false, features = ["ed25519"] }
once_cell = { version = "1.18", default-features = false }
tokio = { version = "1.29.0", default-features = false, features = ["macros", "sync", "rt"] }

Expand Down
2 changes: 1 addition & 1 deletion identity_storage/src/key_storage/memstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ enum MemStoreKeyType {
}

impl JwkMemStore {
const ED25519_KEY_TYPE_STR: &str = "Ed25519";
const ED25519_KEY_TYPE_STR: &'static str = "Ed25519";
/// The Ed25519 key type.
pub const ED25519_KEY_TYPE: KeyType = KeyType::from_static_str(Self::ED25519_KEY_TYPE_STR);
}
Expand Down
8 changes: 4 additions & 4 deletions identity_stronghold/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_stronghold"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand All @@ -13,8 +13,8 @@ description = "Secure JWK storage with Stronghold for IOTA Identity"

[dependencies]
async-trait = { version = "0.1.64", default-features = false }
identity_storage = { version = "=1.0.0", path = "../identity_storage", default_features = false }
identity_verification = { version = "=1.0.0", path = "../identity_verification", default_features = false }
identity_storage = { version = "=1.0.1", path = "../identity_storage", default_features = false }
identity_verification = { version = "=1.0.1", path = "../identity_verification", default_features = false }
iota-crypto = { version = "0.23", default-features = false, features = ["ed25519"] }
iota-sdk = { version = "1.0.2", default-features = false, features = ["client", "stronghold"] }
iota_stronghold = { version = "2.0", default-features = false }
Expand All @@ -23,7 +23,7 @@ tokio = { version = "1.29.0", default-features = false, features = ["macros", "s
zeroize = { version = "1.6.0", default_features = false }

[dev-dependencies]
identity_did = { version = "=1.0.0", path = "../identity_did", default_features = false }
identity_did = { version = "=1.0.1", path = "../identity_did", default_features = false }
tokio = { version = "1.29.0", default-features = false, features = ["macros", "sync", "rt"] }

[features]
Expand Down
1 change: 0 additions & 1 deletion identity_stronghold/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ mod stronghold_key_id;
mod tests;

pub use stronghold_jwk_storage::*;
pub use stronghold_key_id::*;
8 changes: 4 additions & 4 deletions identity_verification/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "identity_verification"
version = "1.0.0"
version = "1.0.1"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
Expand All @@ -9,9 +9,9 @@ rust-version.workspace = true
description = "Verification data types and functionality for identity.rs"

[dependencies]
identity_core = { version = "=1.0.0", path = "./../identity_core", default-features = false }
identity_did = { version = "=1.0.0", path = "./../identity_did", default-features = false }
identity_jose = { version = "=1.0.0", path = "./../identity_jose", default-features = false }
identity_core = { version = "=1.0.1", path = "./../identity_core", default-features = false }
identity_did = { version = "=1.0.1", path = "./../identity_did", default-features = false }
identity_jose = { version = "=1.0.1", path = "./../identity_jose", default-features = false }
serde.workspace = true
strum.workspace = true
thiserror.workspace = true
Expand Down

0 comments on commit f7dbbfe

Please sign in to comment.