diff --git a/CHANGELOG.md b/CHANGELOG.md index 45d3fa510e..ab1b36f03b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [v1.4.0](https://github.com/iotaledger/identity.rs/tree/v1.4.0) (2024-09-23) + +[Full Changelog](https://github.com/iotaledger/identity.rs/compare/v1.3.1...v1.4.0) + +### Added + +- Add feature to support custom `now_utc` implementations [\#1397](https://github.com/iotaledger/identity.rs/pull/1397) +- Add support for `did:jwk` resolution [\#1404](https://github.com/iotaledger/identity.rs/pull/1404) +- Linked Verifiable Presentations [\#1398](https://github.com/iotaledger/identity.rs/pull/1398) +- Add support for custom JWS algorithms [\#1410](https://github.com/iotaledger/identity.rs/pull/1410) + +### Patch + +- Make `bls12_381_plus` dependency more flexible again [\#1393](https://github.com/iotaledger/identity.rs/pull/1393) +- Mark `js-sys` as optional for identity_core [\#1405](https://github.com/iotaledger/identity.rs/pull/1405) +- Remove dependency on `identity_core` default features [\#1408](https://github.com/iotaledger/identity.rs/pull/1408) + ## [v1.3.1](https://github.com/iotaledger/identity.rs/tree/v1.3.1) (2024-06-12) [Full Changelog](https://github.com/iotaledger/identity.rs/compare/v1.3.0...v1.3.1) @@ -8,8 +25,6 @@ - Pin and bump `bls12_381_plus` dependency [\#1378](https://github.com/iotaledger/identity.rs/pull/1378) -# Changelog - ## [v1.3.0](https://github.com/iotaledger/identity.rs/tree/v1.3.0) (2024-05-28) [Full Changelog](https://github.com/iotaledger/identity.rs/compare/v1.2.0...v1.3.0) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 9866115ad3..1a3d313705 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "examples" -version = "1.3.1" +version = "1.4.0" authors = ["IOTA Stiftung"] edition = "2021" publish = false diff --git a/identity_core/Cargo.toml b/identity_core/Cargo.toml index 239383c2f6..fcdd263cc7 100644 --- a/identity_core/Cargo.toml +++ b/identity_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_core" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true diff --git a/identity_credential/Cargo.toml b/identity_credential/Cargo.toml index aaba6c974e..62cb6d0a41 100644 --- a/identity_credential/Cargo.toml +++ b/identity_credential/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_credential" -version = "1.3.1" +version = "1.4.0" authors = ["IOTA Stiftung"] edition = "2021" homepage.workspace = true @@ -16,10 +16,10 @@ async-trait = { version = "0.1.64", default-features = false } bls12_381_plus = { workspace = true, optional = true } flate2 = { version = "1.0.28", default-features = false, features = ["rust_backend"], optional = true } futures = { version = "0.3", default-features = false, optional = true } -identity_core = { version = "=1.3.1", path = "../identity_core", default-features = false } -identity_did = { version = "=1.3.1", path = "../identity_did", default-features = false } -identity_document = { version = "=1.3.1", path = "../identity_document", default-features = false } -identity_verification = { version = "=1.3.1", path = "../identity_verification", default-features = false } +identity_core = { version = "=1.4.0", path = "../identity_core", default-features = false } +identity_did = { version = "=1.4.0", path = "../identity_did", default-features = false } +identity_document = { version = "=1.4.0", path = "../identity_document", default-features = false } +identity_verification = { version = "=1.4.0", 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 } json-proof-token = { workspace = true, optional = true } diff --git a/identity_did/Cargo.toml b/identity_did/Cargo.toml index e1025a9fcd..473ffc8860 100644 --- a/identity_did/Cargo.toml +++ b/identity_did/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_did" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition = "2021" homepage.workspace = true @@ -13,8 +13,8 @@ description = "Agnostic implementation of the Decentralized Identifiers (DID) st [dependencies] did_url_parser = { version = "0.2.0", features = ["std", "serde"] } form_urlencoded = { version = "1.2.0", default-features = false, features = ["alloc"] } -identity_core = { version = "=1.3.1", path = "../identity_core", default-features = false } -identity_jose = { version = "=1.3.1", path = "../identity_jose" } +identity_core = { version = "=1.4.0", path = "../identity_core", default-features = false } +identity_jose = { version = "=1.4.0", path = "../identity_jose" } serde.workspace = true strum.workspace = true thiserror.workspace = true diff --git a/identity_document/Cargo.toml b/identity_document/Cargo.toml index f87fc86c33..4bb50dd09d 100644 --- a/identity_document/Cargo.toml +++ b/identity_document/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_document" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -13,9 +13,9 @@ description = "Method-agnostic implementation of the Decentralized Identifiers ( [dependencies] did_url_parser = { version = "0.2.0", features = ["std", "serde"] } -identity_core = { version = "=1.3.1", path = "../identity_core", default-features = false } -identity_did = { version = "=1.3.1", path = "../identity_did" } -identity_verification = { version = "=1.3.1", path = "../identity_verification", default-features = false } +identity_core = { version = "=1.4.0", path = "../identity_core", default-features = false } +identity_did = { version = "=1.4.0", path = "../identity_did" } +identity_verification = { version = "=1.4.0", path = "../identity_verification", default-features = false } indexmap = { version = "2.0", default-features = false, features = ["std", "serde"] } serde.workspace = true strum.workspace = true diff --git a/identity_ecdsa_verifier/Cargo.toml b/identity_ecdsa_verifier/Cargo.toml index 654b8aebe3..6829d41ae0 100644 --- a/identity_ecdsa_verifier/Cargo.toml +++ b/identity_ecdsa_verifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_ecdsa_verifier" -version = "1.3.1" +version = "1.4.0" authors = ["IOTA Stiftung", "Filancore GmbH"] edition.workspace = true homepage.workspace = true @@ -15,7 +15,7 @@ description = "JWS ECDSA signature verification for IOTA Identity" workspace = true [dependencies] -identity_verification = { version = "=1.3.1", path = "../identity_verification", default-features = false } +identity_verification = { version = "=1.4.0", path = "../identity_verification", default-features = false } k256 = { version = "0.13.3", default-features = false, features = ["std", "ecdsa", "ecdsa-core"], optional = true } p256 = { version = "0.13.2", default-features = false, features = ["std", "ecdsa", "ecdsa-core"], optional = true } signature = { version = "2", default-features = false } diff --git a/identity_eddsa_verifier/Cargo.toml b/identity_eddsa_verifier/Cargo.toml index 97308beebf..b7da49295a 100644 --- a/identity_eddsa_verifier/Cargo.toml +++ b/identity_eddsa_verifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_eddsa_verifier" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -12,7 +12,7 @@ rust-version.workspace = true description = "JWS EdDSA signature verification for IOTA Identity" [dependencies] -identity_jose = { version = "=1.3.1", path = "../identity_jose", default-features = false } +identity_jose = { version = "=1.4.0", path = "../identity_jose", default-features = false } iota-crypto = { version = "0.23.2", default-features = false, features = ["std"] } [features] diff --git a/identity_iota/Cargo.toml b/identity_iota/Cargo.toml index 4e32790288..67933e0634 100644 --- a/identity_iota/Cargo.toml +++ b/identity_iota/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_iota" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -12,14 +12,14 @@ rust-version.workspace = true description = "Framework for Self-Sovereign Identity with IOTA DID." [dependencies] -identity_core = { version = "=1.3.1", path = "../identity_core", default-features = false } -identity_credential = { version = "=1.3.1", path = "../identity_credential", features = ["validator"], default-features = false } -identity_did = { version = "=1.3.1", path = "../identity_did", default-features = false } -identity_document = { version = "=1.3.1", path = "../identity_document", default-features = false } -identity_iota_core = { version = "=1.3.1", path = "../identity_iota_core", default-features = false } -identity_resolver = { version = "=1.3.1", path = "../identity_resolver", default-features = false, optional = true } -identity_storage = { version = "=1.3.1", path = "../identity_storage", default-features = false, features = ["iota-document"] } -identity_verification = { version = "=1.3.1", path = "../identity_verification", default-features = false } +identity_core = { version = "=1.4.0", path = "../identity_core", default-features = false } +identity_credential = { version = "=1.4.0", path = "../identity_credential", features = ["validator"], default-features = false } +identity_did = { version = "=1.4.0", path = "../identity_did", default-features = false } +identity_document = { version = "=1.4.0", path = "../identity_document", default-features = false } +identity_iota_core = { version = "=1.4.0", path = "../identity_iota_core", default-features = false } +identity_resolver = { version = "=1.4.0", path = "../identity_resolver", default-features = false, optional = true } +identity_storage = { version = "=1.4.0", path = "../identity_storage", default-features = false, features = ["iota-document"] } +identity_verification = { version = "=1.4.0", path = "../identity_verification", default-features = false } [dev-dependencies] anyhow = "1.0.64" diff --git a/identity_iota_core/Cargo.toml b/identity_iota_core/Cargo.toml index f44a3ca27c..73dcc4190e 100644 --- a/identity_iota_core/Cargo.toml +++ b/identity_iota_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_iota_core" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -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.3.1", path = "../identity_core", default-features = false } -identity_credential = { version = "=1.3.1", path = "../identity_credential", default-features = false, features = ["validator"] } -identity_did = { version = "=1.3.1", path = "../identity_did", default-features = false } -identity_document = { version = "=1.3.1", path = "../identity_document", default-features = false } -identity_verification = { version = "=1.3.1", path = "../identity_verification", default-features = false } +identity_core = { version = "=1.4.0", path = "../identity_core", default-features = false } +identity_credential = { version = "=1.4.0", path = "../identity_credential", default-features = false, features = ["validator"] } +identity_did = { version = "=1.4.0", path = "../identity_did", default-features = false } +identity_document = { version = "=1.4.0", path = "../identity_document", default-features = false } +identity_verification = { version = "=1.4.0", path = "../identity_verification", default-features = false } iota-sdk = { version = "1.1.5", 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"] } diff --git a/identity_jose/Cargo.toml b/identity_jose/Cargo.toml index 622ac4f347..73a7fa3cdb 100644 --- a/identity_jose/Cargo.toml +++ b/identity_jose/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_jose" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -13,7 +13,7 @@ description = "A library for JOSE (JSON Object Signing and Encryption)" [dependencies] bls12_381_plus.workspace = true -identity_core = { version = "=1.3.1", path = "../identity_core" } +identity_core = { version = "=1.4.0", path = "../identity_core" } iota-crypto = { version = "0.23.2", default-features = false, features = ["std", "sha"] } json-proof-token.workspace = true serde.workspace = true diff --git a/identity_resolver/Cargo.toml b/identity_resolver/Cargo.toml index a85969c286..d99158835d 100644 --- a/identity_resolver/Cargo.toml +++ b/identity_resolver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_resolver" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -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.3.1", path = "../identity_core", default-features = false } -identity_credential = { version = "=1.3.1", path = "../identity_credential", default-features = false, features = ["validator"] } -identity_did = { version = "=1.3.1", path = "../identity_did", default-features = false } -identity_document = { version = "=1.3.1", path = "../identity_document", default-features = false } +identity_core = { version = "=1.4.0", path = "../identity_core", default-features = false } +identity_credential = { version = "=1.4.0", path = "../identity_credential", default-features = false, features = ["validator"] } +identity_did = { version = "=1.4.0", path = "../identity_did", default-features = false } +identity_document = { version = "=1.4.0", 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.3.1" +version = "=1.4.0" path = "../identity_iota_core" default-features = false features = ["send-sync-client-ext", "iota-client"] diff --git a/identity_storage/Cargo.toml b/identity_storage/Cargo.toml index fbbe93b346..5331dc725f 100644 --- a/identity_storage/Cargo.toml +++ b/identity_storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_storage" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -16,12 +16,12 @@ anyhow = "1.0.82" async-trait = { version = "0.1.64", default-features = false } bls12_381_plus = { workspace = true, optional = true } futures = { version = "0.3.27", default-features = false, features = ["async-await"] } -identity_core = { version = "=1.3.1", path = "../identity_core", default-features = false } -identity_credential = { version = "=1.3.1", path = "../identity_credential", default-features = false, features = ["credential", "presentation", "revocation-bitmap"] } -identity_did = { version = "=1.3.1", path = "../identity_did", default-features = false } -identity_document = { version = "=1.3.1", path = "../identity_document", default-features = false } -identity_iota_core = { version = "=1.3.1", path = "../identity_iota_core", default-features = false, optional = true } -identity_verification = { version = "=1.3.1", path = "../identity_verification", default-features = false } +identity_core = { version = "=1.4.0", path = "../identity_core", default-features = false } +identity_credential = { version = "=1.4.0", path = "../identity_credential", default-features = false, features = ["credential", "presentation", "revocation-bitmap"] } +identity_did = { version = "=1.4.0", path = "../identity_did", default-features = false } +identity_document = { version = "=1.4.0", path = "../identity_document", default-features = false } +identity_iota_core = { version = "=1.4.0", path = "../identity_iota_core", default-features = false, optional = true } +identity_verification = { version = "=1.4.0", path = "../identity_verification", default-features = false } iota-crypto = { version = "0.23.2", default-features = false, features = ["ed25519", "random"], optional = true } json-proof-token = { workspace = true, optional = true } rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"], optional = true } @@ -33,8 +33,8 @@ tokio = { version = "1.29.0", default-features = false, features = ["macros", "s zkryptium = { workspace = true, optional = true } [dev-dependencies] -identity_credential = { version = "=1.3.1", path = "../identity_credential", features = ["revocation-bitmap"] } -identity_eddsa_verifier = { version = "=1.3.1", path = "../identity_eddsa_verifier", default-features = false, features = ["ed25519"] } +identity_credential = { version = "=1.4.0", path = "../identity_credential", features = ["revocation-bitmap"] } +identity_eddsa_verifier = { version = "=1.4.0", 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"] } diff --git a/identity_stronghold/Cargo.toml b/identity_stronghold/Cargo.toml index d6b0825cba..b7c61a998f 100644 --- a/identity_stronghold/Cargo.toml +++ b/identity_stronghold/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_stronghold" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -14,8 +14,8 @@ description = "Secure JWK storage with Stronghold for IOTA Identity" [dependencies] async-trait = { version = "0.1.64", default-features = false } bls12_381_plus = { workspace = true, optional = true } -identity_storage = { version = "=1.3.1", path = "../identity_storage", default-features = false } -identity_verification = { version = "=1.3.1", path = "../identity_verification", default-features = false } +identity_storage = { version = "=1.4.0", path = "../identity_storage", default-features = false } +identity_verification = { version = "=1.4.0", path = "../identity_verification", default-features = false } iota-crypto = { version = "0.23.2", default-features = false, features = ["ed25519"] } iota-sdk = { version = "1.1.5", default-features = false, features = ["client", "stronghold"] } iota_stronghold = { version = "2.1.0", default-features = false } @@ -28,8 +28,8 @@ zkryptium = { workspace = true, optional = true } [dev-dependencies] anyhow = "1.0.82" bls12_381_plus = { workspace = true } -identity_did = { version = "=1.3.1", path = "../identity_did", default-features = false } -identity_storage = { version = "=1.3.1", path = "../identity_storage", default-features = false, features = ["jpt-bbs-plus"] } +identity_did = { version = "=1.4.0", path = "../identity_did", default-features = false } +identity_storage = { version = "=1.4.0", path = "../identity_storage", default-features = false, features = ["jpt-bbs-plus"] } json-proof-token = { workspace = true } tokio = { version = "1.29.0", default-features = false, features = ["macros", "sync", "rt"] } zkryptium = { workspace = true } diff --git a/identity_verification/Cargo.toml b/identity_verification/Cargo.toml index 8990dd96e0..46fcc5ac24 100644 --- a/identity_verification/Cargo.toml +++ b/identity_verification/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "identity_verification" -version = "1.3.1" +version = "1.4.0" authors.workspace = true edition.workspace = true homepage.workspace = true @@ -10,9 +10,9 @@ rust-version.workspace = true description = "Verification data types and functionality for identity.rs" [dependencies] -identity_core = { version = "=1.3.1", path = "./../identity_core" } -identity_did = { version = "=1.3.1", path = "./../identity_did", default-features = false } -identity_jose = { version = "=1.3.1", path = "./../identity_jose", default-features = false } +identity_core = { version = "=1.4.0", path = "./../identity_core" } +identity_did = { version = "=1.4.0", path = "./../identity_did", default-features = false } +identity_jose = { version = "=1.4.0", path = "./../identity_jose", default-features = false } serde.workspace = true serde_json.workspace = true strum.workspace = true