Skip to content

Releases: iotaledger/identity.rs

v0.4.1

06 May 11:56
v0.4.1
1731026
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release

Patch

  • Fix compilation, enable local proof-of-work fallback #833

v0.5.0

31 Mar 16:47
v0.5.0
47581e6
Compare
Choose a tag to compare

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.

The main feature of this release is the introduction of WebAssembly (Wasm) bindings for the high-level Account API for Javascript/Typescript in both Node.js and the browser. This includes preliminary Stronghold storage bindings but only for Node.js, as it was determined that compiling Stronghold to Wasm for the browser would not be sufficiently secure. Stronghold offers best-effort secure software storage for cryptographic keys, written in Rust. To use the Stronghold storage package install @iota/identity-stronghold-nodejs and follow the instructions of the package README.

Note that all features related to diff chain updates are now marked as deprecated. Diff chains are a useful optimisation when publishing many updates to a DID Document. However, their design may be incompatible with upcoming changes to the IOTA network and should be considered unstable.

Another major change is the removal of the MerkleKeyCollection verification method type, which provided a compact representation for issuing and revoking Verifiable Credentials with multiple cryptographic keys. The MerkleKeyCollection suffered from disadvantages which limited scalability when managing more than a few thousand keys. While these disadvantages could be mitigated somewhat, the decision was made to replace it with one or more alternatives not affected by its fundamental limitations, upcoming in the next major release.

Changed

  • Add Wasm Proof, rename Signature structs to Proof #776
  • Replace MethodSecret with MethodContent enum #764
  • Change document metadata created, updated to be optional #753
  • Refactor Storage Signature #738
  • Add X25519 key and verification method support #735
  • Refactor KeyLocation #729
  • Move DID Document proof outside metadata #728
  • Combine resolve_method functions #709
  • Add separate identity-iota-core, identity-account-storage crates #693
  • Change IotaDocument::verify_document from a static function to a method #675
  • Make Wasm support dependent on target_arch rather than feature #666
  • Refactor CoreDocument, VerificationMethod, Service to use generic DID #655
  • Remove unused Account milestone option #645
  • Change document controller type to OneOrSet #638
  • Rename MethodQuery to DIDUrlQuery, move OrderedSet, KeyComparable #634
  • Change also_known_as type to OrderedSet #632
  • Move verification functionality from DocumentVerifier to CoreDocument #606
  • Fix dependent diff updates being rejected #605
  • Change Account::state visibility to pub(crate) #604
  • Overhaul CredentialValidator, add PresentationValidator #599
  • Remove JSON string escaping in diff messages #598
  • Replace ClientMap with new Resolver #594
  • Replace ClientMap with Client in Account #582
  • Add signature created, expires, challenge, domain, purpose #548
  • Refactor document metadata #540
  • Replace chrono with time #529
  • Enable access to the low-level API from the Account #522
  • Update to rsa 0.5 in libjose #517
  • Rename DocumentDiff to DiffMessage #511
  • Deterministic ordering of competing messages #506
  • Check for existence & duplication of methods in CoreDocument #504
  • Move dropsave from Account to Stronghold #500
  • Add ExplorerUrl to replace Network explorer methods #496
  • Update ServiceEndpoint to support sets and maps #485
  • Enable deep equality in OrderedSet #481
  • Add message compression and versioning #466
  • Update document signing key constraints and methods #458
  • Refactor the Account: internal state, one identity #453

Added

  • Expose Ed25519, X25519 length constants #772
  • Generify Account::client over Rc, Arc #707
  • Update Stronghold #691
  • Add Duration for Timestamp arithmetic #684
  • Add Client fallback to local PoW option #682
  • Set controller, alsoKnownAs fields from Account #658
  • Implement FromIterator for OneOrMany #602
  • Add account synchronization method #544
  • Filter out DiffMessages updating signing methods #519
  • Add publish with retry method #455

Patch

  • Fix panic when parsing an IotaDID with more than 2 method id segments #758
  • Update iota.rs to include timeout bugfix #712
  • Support verification methods with the same fragment #623
  • Fix diff properties (de)serialization #611
  • Enable local proof-of-work fallback #579
  • Add identity-diff derive feature gate #516
  • Improve client error messages #512
  • Make create_signature and sign async for RemoteEd25519 #491
  • Fix credential validation failing for documents with diff updates #490
  • Upgrade to the Rust 2021 edition #449

Deprecated

  • Deprecate diff chain features #759

Removed

  • Remove AccountStorage #774
  • Remove MerkleKeyCollection #755
  • Remove Storage::set_password #733
  • Remove publicKeyJwk #732
  • Remove DIDLease account feature #664

v0.5.0-dev.6

25 Mar 11:44
v0.5.0-dev.6
6d2ea40
Compare
Choose a tag to compare
v0.5.0-dev.6 Pre-release
Pre-release

Note that all features related to diff chain updates are now marked as deprecated. Diff chains are a useful optimisation when publishing many updates to a DID Document. However, their design may be incompatible with upcoming changes to the IOTA network and should be considered unstable. Another major change is the removal of the MerkleKeyCollection verification method type, which provided a compact representation for issuing and revoking Verifiable Credentials with multiple cryptographic keys. The MerkleKeyCollection suffered from disadvantages which limited scalability when managing more than a few thousand keys. While these disadvantages could be mitigated somewhat, the decision was made to replace it with one or more alternatives not affected by its fundamental limitations, upcoming in the next major release.

Changed

  • Refactor Storage Signature #738
  • Add X25519 key and verification method support #735
  • Combine resolve_method functions #709

Patch

  • Fix panic when parsing an IotaDID with more than 2 method id segments #758

Deprecated

  • Deprecate diff chain features #759

Removed

  • Remove MerkleKeyCollection #755
  • Remove Storage::set_password #733

v0.5.0-dev.5

21 Mar 10:57
v0.5.0-dev.5
a137a27
Compare
Choose a tag to compare
v0.5.0-dev.5 Pre-release
Pre-release

This release introduces a breaking change to the proof field of DID Documents created by versions v0.5.0-dev.1 through v0.5.0-dev.4, making all prior documents incompatible. The main feature of this release is the introduction of WebAssembly (Wasm) bindings for the high-level Account API for Javascript/Typescript in both Node.js and the browser. This includes Stronghold storage support but only for Node.js, as it was determined that compiling Stronghold to Wasm for private key storage in the browser would not be sufficiently secure.

Changed

  • Move DID Document proof outside metadata #728
  • Add separate identity-iota-core, identity-account-storage crates #693
  • Change IotaDocument::verify_document from a static function to a method #675
  • Make Wasm support dependent on target_arch rather than feature #666
  • Refactor CoreDocument, VerificationMethod, Service to use generic DID #655
  • Overhaul CredentialValidator, add PresentationValidator #599
  • Replace ClientMap with new Resolver #594

Added

  • Generify Account::client over Rc, Arc #707
  • Update Stronghold #691
  • Add Duration for Timestamp arithmetic #684
  • Add Client fallback to local PoW option #682
  • Set controller, alsoKnownAs fields from Account #658

Patch

  • Update iota.rs to include timeout bugfix #712

Removed

  • Remove publicKeyJwk #732
  • Remove DIDLease account feature #664

v0.5.0-dev.4

14 Feb 12:52
v0.5.0-dev.4
99243e5
Compare
Choose a tag to compare
v0.5.0-dev.4 Pre-release
Pre-release

Changed

  • Remove unused Account milestone option #645
  • Change document controller type to OneOrSet #638
  • Rename MethodQuery to DIDUrlQuery, move OrderedSet, KeyComparable #634
  • Change also_known_as type to OrderedSet #632

Patch

  • Support verification methods with the same fragment #623

v0.5.0-dev.3

25 Jan 13:26
v0.5.0-dev.3
cef9446
Compare
Choose a tag to compare
v0.5.0-dev.3 Pre-release
Pre-release

This release introduces a breaking change for diff updates created by versions v0.5.0-dev.1 and v0.5.0-dev.2 (previous diff updates from <=v0.4.0 are already incompatible due to breaking changes to the document and message structure in v0.5.0-dev.1). To migrate, please publish an integration update containing all diff changes to prevent unexpected changes to resolved DID Documents.

Changed

  • Move verification functionality from DocumentVerifier to CoreDocument #606
  • Fix dependent diff updates being rejected #605
  • Change Account::state visibility to pub(crate) #604
  • Remove JSON string escaping in diff messages #598

Added

  • Implement FromIterator for OneOrMany #602

Patch

  • Fix diff properties (de)serialization #611

v0.5.0-dev.2

14 Jan 10:00
v0.5.0-dev.2
fd1eefd
Compare
Choose a tag to compare
v0.5.0-dev.2 Pre-release
Pre-release

Changed

  • Replace ClientMap with Client in Account #582
  • Add signature created, expires, challenge, domain, purpose #548

Added

  • Add account synchronization method #544

Patch

  • Enable local proof-of-work fallback #579

v0.4.0

01 Nov 10:33
v0.4.0
0130452
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

IOTA Identity Beta-2 v0.4 (#473)

  • Docs/readme improvs (#257)

  • Update main readme

  • WASM readme update

  • Updated example with account

  • Rust examples readme

  • Bump wasm version

  • Revert "Bump wasm version"

This reverts commit 73d9d66.

  • consistent node version

  • Bump wasm version

  • Expand unit test coverage in bitset.rs, iota_did.rs, and iota_document.rs (#265)

  • Add some tests

  • Add IotaDocument::try_from_core() unit tests

  • Fix clippy error

  • read indexation payload from transaction payloads

  • Remove IotaDID->DID Deref anti-pattern. (#269)

  • Remove IotaDID->DID Deref anti-pattern.

  • Address l1h3r review comments.

  • Rework WASM examples to explicitly use client configs. (#275)

  • Rework WASM examples to explicitly use client configs.

  • Add explorer_util.js adn fix typo.

  • Fix explorer URL construction.

Inlined the prefix since it is no longer exported.

  • Bump dns-packet from 1.3.1 to 1.3.4 in /bindings/wasm (#277)

Bumps dns-packet from 1.3.1 to 1.3.4.

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Bump browserslist from 4.16.3 to 4.16.6 in /bindings/wasm (#278)

Bumps browserslist from 4.16.3 to 4.16.6.

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • Add IotaDocument::from_keypair_with_network() and WASM binding. (#276)

  • Add IotaDocument::from_keypair_with_network() and WASM binding.

  • Undo unintentional formatting in README.

  • Add optional network arg to from_keypair WASM binding.

  • Update API reference for fromKeyPair.

  • Update README.

  • Update bindings/wasm/src/wasm_document.rs

  • Use u32 for message delays (#281)

  • Use u32 for message delays

  • Update docs

  • Update version

  • Bump ws from 6.2.1 to 6.2.2 in /bindings/wasm (#282)

Bumps ws from 6.2.1 to 6.2.2.


updated-dependencies:

  • dependency-name: ws
    dependency-type: indirect
    ...

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • docs: Fix some typos in the method spec

  • docs: Describe build process for wasm bindings

  • Update iota-client (#270)

  • Update iota-client

  • Fix features

  • New client builder

  • New wasm client

  • Update examples

  • More common types (#283)

  • Fragment/UnixTimestamp -> core::common

  • clippy

  • Timestamp::now -> Timestamp::now_utc

  • Remove shard from DIDs (#280)

  • Remove shard from DIDs

  • wasm fixes

  • update yarn.lock

  • doctest

  • Version Bump

  • Restore checkCredential/checkPresentation WASM functions (#287)

  • Restore client.checkCredential/checkPresentation

  • doc: Serialize message_id for IotaDocuments

  • wasm: Fix incorrect path in example imports

  • client: Rename read_document to resolve

  • Revert "doc: Serialize message_id for IotaDocuments"

This reverts commit 26e2dcd.

  • wasm: Serialize message_id for resolve method

Co-authored-by: PhilippGackstatter philipp.gackstatter@iota.org

  • Add blake2b to wasm bindings (#288)

  • Add blake2b to wasm bindings

  • docs

  • core: Reimpl Key with generics

  • replace deleted method readDocument(id) with resolve(id) (#294)

  • account: Disable custom riker logging

  • Docs/setup docusaurus (#298)

  • setup docusarus template

  • add iota style and identity content

  • add gh deploy action

  • fix sidebar and titles

  • change build dir

  • fix folder name

  • add specs, fix links

  • fix images

  • fix base path and github link

  • add cname for security

  • Add publicKeyMultibase (#307)

  • Add publicKeyMultibase support

Add and expand base-encoding tests.

  • Remove publicKeyHex

  • Add verification method publicKeyMultibase test

  • Ignore wasm lint warning

  • setup documentation file structure in docusaurus

  • Example Cleanup (#292)

  • Default Network should be Mainnet

  • Use remote PoW by default

  • Always set a primary node

  • Client updates

  • Add TangleResolve for generic client implementations
  • Add Receipt return value with additional txn info
  • Rename Client::transaction_url -> Client::message_url
  • Appease clippy

  • Update examples

  • Add ability to configure account clients (#293)

  • Add ability to configure account clients

  • rename

  • stricter bound

  • Use dashmap

  • Explicit account test mode

  • Fix missed method

  • Ignore lint

  • faster tests

  • Minutes/2021 14 07 (#316)

  • 2021-07-14

  • 2021-07-14

  • final

  • Rename

Co-authored-by: HackMD no-reply@hackmd.io

  • add codeSnippet component

  • Update actions to pin Rust nightly version (#318)

Fix attempt for inconsistent Github Actions failures.

  • Wasm examples browser (#317)

  • create did through browser

  • add examples to create and resolve DID

  • add manipulate_did and create_vc

  • and merkle key and revocation

  • add missing index.html

  • move node examples to separate folder

  • update readme file

  • remove web.js and format browser examples

  • include node examples in git

  • update readme links of node examples

  • account: Add stronghold and re-export wasm feature (#291)

Signed-off-by: PhilippGackstatter philipp.gackstatter@iota.org

account: Complete stronghold feature integration

account: Enable new resolver to fix wasm target

account: Use tokio 1.5 & split async feature

account: Add note on Stronghold availability

builder: Apply cargo fmt
Signed-off-by: PhilippGackstatter philipp.gackstatter@iota.org

  • Fix cyclic dependency (#319)

Remove unused preserve_order serde_json feature flag.

  • update file paths

  • add remark-import-partial plugin

  • add missing doc files

  • update landing page

  • Fix inconsistent stronghold storage tests (#320)

Raise test timeouts and improve handling on slow systems.

  • update footer/add empty team page

  • remember selected programming language

  • fix rust Replit

  • change height of code snippet

  • add teams page

  • adjust team page

  • minor edits to landing page

  • Added DID Intro text

  • Moved meeting minutes

  • Remove mdbook docs

  • Renamed DocOps -> documentation

  • Updated deploy workflow documentation

  • Updated blogs

  • signature: Impl thread-safe Cell (#329)

Signed-off-by: PhilippGackstatter philipp.gackstatter@iota.org

  • update docusaurus.config.js

  • Docs/docusaurus (#324)

  • Docs/setup docusaurus (#298)

  • setup docusarus template

  • add iota style and identity content

  • add gh deploy action

  • fix sidebar and titles

  • change build dir

  • fix folder name

  • add specs, fix links

  • fix images

  • fix base path and github link

  • add cname for security

  • setup documentation file structure in docusaurus

  • add codeSnippet component

  • update file paths

  • add remark-import-partial plugin

  • add missing doc files

  • update landing page

  • update footer/add empty team page

  • remember selected programming language

  • fix rust Replit

  • change height of code snippet

  • add teams page

  • adjust team page

  • minor edits to landing page

  • Added DID Intro text

  • Moved meeting minutes

  • Remove mdbook docs

  • Renamed DocOps -> documentation

  • Updated deploy workflow documentation

  • Updated blogs

  • update docusaurus.config.js

Co-authored-by: huhn511 sehe89@gmail.com
Co-authored-by: JelleMillenaar Jelle.millenaar@iota.org

  • Fix workflow

  • Trigger workflow if itself changes

  • Moved latest meeting notes

  • Docs/docusaurus (#331)

  • Docs/setup docusaurus (#298)

  • setup docusarus template

  • add iota style and identity content

  • add gh deploy action

  • fix sidebar and titles

  • change build dir

  • fix folder name

  • add specs, fix links

  • fix images

  • fix base path and github link

  • add cname for security

  • setup documentation file structure in docusaurus

  • add codeSnippet component

  • update file paths

  • add remark-import-partial plugin

  • add missing doc files

  • update landing page

  • update footer/add empty team page

  • remember selected programming language

  • fix rust Replit

  • change height of code snippet

  • add teams page

  • adjust team page

  • minor edits to landing page

  • Added DID Intro text

  • Moved meeting minutes

  • Remove mdbook docs

  • Renamed DocOps -> documentation

  • Updated deploy workflow documentation

  • Updated blogs

  • update docusaurus.config.js

  • Fix workflow

  • Trigger workflow if itself changes

  • Moved latest meeting notes

Co-authored-by: huhn511 sehe89@gmail.com
Co-authored-by: Abdulrahim Al Methiab abdulrahim.almethiab@iota.org

  • replace package-lock

  • prevent broken links from failing the build

  • fix docusaurus base URL

  • Bump prismjs from 1.23.0 to 1.24.1 in /documentation (#330)

Bumps prismjs from 1.23.0 to 1.24.1.

Read more

v0.5.0-dev.1

15 Dec 11:14
v0.5.0-dev.1
0a4f2fb
Compare
Choose a tag to compare
v0.5.0-dev.1 Pre-release
Pre-release

Changed

  • Refactor document metadata #540
  • Replace chrono with time #529
  • Enable access to the low-level API from the Account #522
  • Update to rsa 0.5 in libjose #517
  • Rename DocumentDiff to DiffMessage #511
  • Deterministic ordering of competing messages #506
  • Check for existence & duplication of methods in CoreDocument #504
  • Move dropsave from Account to Stronghold #500
  • Add ExplorerUrl to replace Network explorer methods #496
  • Update ServiceEndpoint to support sets and maps #485
  • Enable deep equality in OrderedSet #481
  • Add message compression and versioning #466
  • Update document signing key constraints and methods #458
  • Refactor the Account: internal state, one identity #453

Added

  • Filter out DiffMessages updating signing methods #519

Patch

  • Add identity-diff derive feature gate #516
  • Improve client error messages #512
  • Make create_signature and sign async for RemoteEd25519 #491
  • Fix credential validation failing for documents with diff updates #490