Skip to content

Commit dd647c5

Browse files
Release 0.0.16
1 parent 719a207 commit dd647c5

File tree

29 files changed

+219
-127
lines changed

29 files changed

+219
-127
lines changed

CHANGELOG.md

Lines changed: 54 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Changelog
22

3+
## 0.0.16 (2022-06-30)
4+
5+
### Added
6+
7+
- New WASM bindings:
8+
- `allNetworkNames()` lists all network names that are accepted as a parameter in some methods.
9+
- `Bip39.shortEntropy()`, `Bip39.shortPhrase()` improves compatibility with old wallets like Coinomi.
10+
- `wrapWithNonce()` helps adding extra entropy to a JSON document, where selective masking will be used.
11+
- `MorpheusPrivate.path` and `MorpheusPrivateKind.path` returns BIP32 derivation paths to allow compatibility with other wallets.
12+
- `MorpheusOperationSigner.signWithId()` makes it easier to sign with a key if only its identifier is known to the caller.
13+
- `JwtBuilder.timeToLive` property helps to override the default 5s expiration of tokens.
14+
- `new MorpheusSignableOperation(json)` and `new MorpheusSignedOperation(json)` mirrors `MorpheusSignableOperation.toJSON()` and
15+
`MorpheusSignedOperation.toJSON()`, so it is easier to build complex SSI transactions.
16+
- Documented all WASM methods in the SDK, except those related to Coeus for now.
17+
18+
### Changed
19+
20+
- Vault freshly created from a random seed is dirty (unsaved).
21+
- All crates are now using Rust edition 2021.
22+
23+
## 0.0.15 (2021-11-09)
24+
25+
### Fixed
26+
27+
- `JsSubtreePolicies` methods should not take ownership of self
28+
29+
### Added
30+
31+
- Exposed all 4 DID kinds (persona, device, group, resource) through WASM, FFI and vault file format.
32+
- Exposed SignedJson serialization format through WASM and FFI.
33+
- Made the native Rust SDK more usable by re-exporting symbols through it.
34+
- Morpheus node stores transaction ID of PoE SSI operations, so it can be queried in IBeforeProofHistory.
35+
- scripts/publish.sh helps publishing all crates in the correct order.
36+
337
## 0.0.14 (2021-07-21)
438

539
### Fixed
@@ -14,9 +48,11 @@
1448

1549
### Added
1650

17-
- You can now set the vendor field (aka. smart bridge field) and set a manual fee on Hydra core transactions using the 2 new optional arguments TypeScript SDK HydraTxBuilder factory methods got.
51+
- You can now set the vendor field (aka. smart bridge field) and set a manual fee on Hydra core transactions using the 2 new optional
52+
arguments TypeScript SDK HydraTxBuilder factory methods got.
1853
- Added some missing bindings to WASM and FFI, `SecpKeyId.toAddress` being the most important one.
19-
- Multicipher objects (`MPrivateKey`, `MPublicKey` and `MKeyId`) can be safely downcasted in Rust to secp256p1 and ed25519 cipher objects. Not supported in WASM and FFI yet.
54+
- Multicipher objects (`MPrivateKey`, `MPublicKey` and `MKeyId`) can be safely downcasted in Rust to secp256p1 and ed25519 cipher
55+
objects. Not supported in WASM and FFI yet.
2056

2157
### Changed
2258

@@ -27,19 +63,23 @@
2763

2864
### Added
2965

30-
- You can now set the vendor field (aka. smart bridge field) and set a manual fee on Hydra core transactions using the 2 new optional arguments TypeScript SDK HydraTxBuilder factory methods got.
66+
- You can now set the vendor field (aka. smart bridge field) and set a manual fee on Hydra core transactions using the 2 new optional
67+
arguments TypeScript SDK HydraTxBuilder factory methods got.
3168

3269
## 0.0.12 (2021-03-17)
3370

3471
### Added
3572

36-
- Crate `iop-sdk` now exports important types and is generally usable as an early draft in clients. Note that it currently does not follow any conventions of the Dart and Typescript SDKs but exposes some internal implementation details.
73+
- Crate `iop-sdk` now exports important types and is generally usable as an early draft in clients. Note that it currently does not
74+
follow any conventions of the Dart and Typescript SDKs but exposes some internal implementation details.
3775
- Hydra and Morpheus vault plugins are now thread-safe and thus easily usable in async environments as well.
3876

3977
### Changed
4078

41-
- BREAKING: renamed Hydra and Morpheus `vault::Plugin` function `rewind()` to `init()` for clarity. Naming changes also affect FFI and WASM interfaces.
42-
- BREAKING: suffixed functions that mutate Hydra and Morpheus vaults (by generating keys into them) with `_mut`. This does not affect FFI and WASM though.
79+
- BREAKING: renamed Hydra and Morpheus `vault::Plugin` function `rewind()` to `init()` for clarity. Naming changes also affect FFI
80+
and WASM interfaces.
81+
- BREAKING: suffixed functions that mutate Hydra and Morpheus vaults (by generating keys into them) with `_mut`. This does not affect
82+
FFI and WASM though.
4383
- updated dependencies
4484

4585
### Fixed
@@ -81,17 +121,21 @@
81121

82122
## 0.0.6 (2020-11-06)
83123

84-
We're heavily refactoring our crate structure while implementing Coeus, our decentralized naming system as our second Layer-2 component. Our end goal is to make fine-grained crates for reducing dependency footprint for integrators by separating client/server sides and making Morpheus and Coeus optional plugins.
124+
We're heavily refactoring our crate structure while implementing Coeus, our decentralized naming system as our second Layer-2
125+
component. Our end goal is to make fine-grained crates for reducing dependency footprint for integrators by separating client/server
126+
sides and making Morpheus and Coeus optional plugins.
85127

86128
### Added
87129

88-
- Coeus: generic decentralized naming system built on top of a distributed ledger. Allows binding arbitrary data to names, allowing naming schemas, wallets, DIDs, devices, etc. This helps public figures and services to be more accessible and transparent. For more details, see the [IOP Developer Portal](https://developer.iop.technology/dns).
130+
- Coeus: generic decentralized naming system built on top of a distributed ledger. Allows binding arbitrary data to names, allowing
131+
naming schemas, wallets, DIDs, devices, etc. This helps public figures and services to be more accessible and transparent. For more
132+
details, see the [IOP Developer Portal](https://developer.iop.technology/dns).
89133

90134
### Changed
91135

92136
- BREAKING: changed crate hierarchy
93137
- coeus-core: a temporary crate with proto, sdk and node parts are not separated yet
94-
- coeus-core-wasm: WebAssembly bindings for Coeus, sdk and node parts are not separated yet
138+
- coeus-core-wasm: WebAssembly bindings for Coeus, sdk and node parts are not separated yet
95139
- hydra-proto: extracted hydra-dependent blockchain features (e.g. Morpheus and Coeus transactions) into their own crate
96140
- hydra-sdk: Hydra BIP32 subtree plugin for the Vault
97141
- morpheus-sdk-legacy: the old morpheus-sdk is now considered to be legacy code and was thus renamed
@@ -126,4 +170,4 @@ We're heavily refactoring our crate structure while implementing Coeus, our dece
126170

127171
## 0.0.2 (2020-07-28)
128172

129-
Initial release
173+
Initial release

coeus-node/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
22
name = "iop-coeus-node"
33
description = "Coeus layer-2 plugin implementation for Hydraledger"
4-
version = "0.0.15"
4+
version = "0.0.16"
55
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
6-
edition = "2018"
6+
edition = "2021"
77
license = "LGPL-3.0-or-later"
88
repository = "https://github.com/Internet-of-People/iop-rs"
99

1010

1111
[dependencies]
1212
anyhow = "1.0.57"
13-
iop-coeus-proto = "0.0.15"
14-
iop-journal-proto = "0.0.15"
15-
iop-keyvault = "0.0.15"
16-
iop-morpheus-proto = { version = "0.0.15", optional = true }
17-
json-digest = "0.0.15"
13+
iop-coeus-proto = "0.0.16"
14+
iop-journal-proto = "0.0.16"
15+
iop-keyvault = "0.0.16"
16+
iop-morpheus-proto = { version = "0.0.16", optional = true }
17+
json-digest = "0.0.16"
1818
serde = { version = "1.0.137", features = ["derive"] }
1919
serde_json = { version = "1.0.81", features = ["preserve_order"] }
2020
serde_str = "0.1.0"

coeus-proto/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
22
name = "iop-coeus-proto"
33
description = "Coeus protocol definitions used on both node and sdk side of the IOP Stack™"
4-
version = "0.0.15"
4+
version = "0.0.16"
55
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
6-
edition = "2018"
6+
edition = "2021"
77
license = "LGPL-3.0-or-later"
88

99

1010
[dependencies]
1111
anyhow = "1.0.57"
12-
iop-journal-proto = "0.0.15"
13-
iop-keyvault = "0.0.15"
14-
json-digest = "0.0.15"
12+
iop-journal-proto = "0.0.16"
13+
iop-keyvault = "0.0.16"
14+
json-digest = "0.0.16"
1515
serde = { version = "1.0.137", features = ["derive"] }
1616
serde_json = { version = "1.0.81", features = ["preserve_order"] }
1717
serde_bytes = "0.11.6"

hydra-proto/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "iop-hydra-proto"
33
description = "Hydra-core specific protocol definitions for the IOP Stack™"
4-
version = "0.0.15"
4+
version = "0.0.16"
55
authors = [
66
"IOP Ventures LLC <[email protected]>",
77
"Rache Bartmoss <[email protected]>",
88
99
]
1010
license = "LGPL-3.0-or-later"
11-
edition = "2018"
11+
edition = "2021"
1212
repository = "https://github.com/Internet-of-People/iop-rs"
1313
homepage = "https://developer.iop.technology/"
1414

@@ -17,11 +17,11 @@ homepage = "https://developer.iop.technology/"
1717
anyhow = "1.0.57"
1818
byteorder = "1.4.3"
1919
hex = "0.4.3"
20-
iop-coeus-proto = "0.0.15"
21-
iop-journal-proto = "0.0.15"
22-
iop-keyvault = "0.0.15"
23-
iop-morpheus-proto = "0.0.15"
24-
json-digest = "0.0.15"
20+
iop-coeus-proto = "0.0.16"
21+
iop-journal-proto = "0.0.16"
22+
iop-keyvault = "0.0.16"
23+
iop-morpheus-proto = "0.0.16"
24+
json-digest = "0.0.16"
2525
num-derive = "0.3.3"
2626
num-traits = "0.2.15"
2727
rand = { version = "0.8.5", features = ["getrandom"] }

hydra-sdk/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
22
name = "iop-hydra-sdk"
33
description = "Hydraledger specific modules for the IOP Stack™ SDK"
4-
version = "0.0.15"
4+
version = "0.0.16"
55
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
66
license = "LGPL-3.0-or-later"
7-
edition = "2018"
7+
edition = "2021"
88

99

1010
[dependencies]
1111
anyhow = "1.0.57"
1212
byteorder = "1.4.3"
1313
hex = "0.4.3"
14-
iop-hydra-proto = "0.0.15"
15-
iop-keyvault = "0.0.15"
16-
iop-morpheus-proto = "0.0.15"
17-
iop-vault = "0.0.15"
14+
iop-hydra-proto = "0.0.16"
15+
iop-keyvault = "0.0.16"
16+
iop-morpheus-proto = "0.0.16"
17+
iop-vault = "0.0.16"
1818
parking_lot = { version = "0.12.1", features = ["serde"] }
1919
rand = { version = "0.8.5", features = ["getrandom"] }
2020
serde = { version = "1.0.137", features = ["derive"] }

journal-proto/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "iop-journal-proto"
3-
version = "0.0.15"
3+
version = "0.0.16"
44
description = "Journal-independent abstract definitions for the IOP Stack™"
55
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
66
license = "LGPL-3.0-or-later"
7-
edition = "2018"
7+
edition = "2021"
88

99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

json-digest-wasm/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "json-digest-wasm"
3-
version = "0.0.15"
4-
edition = "2018"
3+
version = "0.0.16"
4+
edition = "2021"
55
description = "WebAssembly wrappers for the json-digest crate."
66
authors = [
77
"IOP Ventures LLC <[email protected]>",
@@ -20,7 +20,7 @@ categories = ["cryptography", "cryptography::cryptocurrencies", "wasm"]
2020
crate-type = ["cdylib", "rlib"]
2121

2222
[dependencies]
23-
json-digest = "0.0.15"
23+
json-digest = "0.0.16"
2424
serde = { version = "1.0.137", features = ["derive"] }
2525
serde_json = { version = "1.0.81", features = ["preserve_order"] }
2626
wasm-bindgen = { version = "0.2.81", features = ["serde-serialize"] }

json-digest/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

3-
## 0.0.13 (TODO)
3+
This file is deprecated, see the CHANGELOG in the repository root of iop-rs.
4+
5+
## 0.0.13 (2021-07-09)
46

57
### Change
68

@@ -38,4 +40,4 @@
3840

3941
## 0.0.5 (2020-09-21)
4042

41-
Initial release, extracted from iop-morpheus-core 0.0.4
43+
Initial release, extracted from iop-morpheus-core 0.0.4

json-digest/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "json-digest"
3-
version = "0.0.15"
3+
version = "0.0.16"
44
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
description = "Allow selective masking of JSON subdocuments for privacy, preserving the digest of the whole document."
77
license = "LGPL-3.0-or-later"
88
repository = "https://github.com/Internet-of-People/iop-rs"

keyvault-wasm/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "iop-keyvault-wasm"
3-
version = "0.0.15"
4-
edition = "2018"
3+
version = "0.0.16"
4+
edition = "2021"
55
description = "WebAssembly wrappers for the iop-keyvault crate."
66
authors = ["IOP Ventures LLC <[email protected]>", "wigy <[email protected]>", "Rache Bartmoss <[email protected]>"]
77
license = "LGPL-3.0-or-later"
@@ -14,6 +14,6 @@ categories = ["cryptography", "cryptography::cryptocurrencies", "wasm"]
1414
crate-type = ["cdylib", "rlib"]
1515

1616
[dependencies]
17-
iop-keyvault = "0.0.15"
17+
iop-keyvault = "0.0.16"
1818
serde = { version = "1.0.137", features = ["derive"] }
1919
wasm-bindgen = { version = "0.2.81", features = ["serde-serialize"] }

0 commit comments

Comments
 (0)