Skip to content

Commit

Permalink
Release 0.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
wigy-opensource-developer committed Jul 21, 2021
1 parent a5c1ddb commit 6ed1424
Show file tree
Hide file tree
Showing 23 changed files with 129 additions and 97 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
# Changelog

## 0.0.13 (TODO)
## 0.0.14 (2021-07-21)

### Fixed

- DID documents generated were missing the `index` property in the objects in the `keys` list.

### Changed

- Separated `sign` and `signWithKey` methods on `MorpheusOperationSigner` both in WASM and FFI

## 0.0.13 (2021-07-09)

### Added

- 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.
- Added some missing bindings to WASM and FFI, `SecpKeyId.toAddress` being the most important one.
- 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.

### Changed

- Separated node-wasm and sdk-wasm, so hydra-core plugins can have code that does not bloat the SDK
- Merged morpheus-rust and keyvault-rust repositories as iop-rs

## 0.0.12-hotfix1 (2021-05-06)
Expand Down
12 changes: 6 additions & 6 deletions coeus-node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "iop-coeus-node"
version = "0.0.13"
version = "0.0.14"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
license = "LGPL-3.0-or-later"


[dependencies]
anyhow = "1.0.32"
iop-coeus-proto = "0.0.13"
iop-journal-proto = "0.0.13"
iop-keyvault = "0.0.13"
iop-morpheus-proto = { version = "0.0.13", optional = true }
json-digest = "0.0.13"
iop-coeus-proto = "0.0.14"
iop-journal-proto = "0.0.14"
iop-keyvault = "0.0.14"
iop-morpheus-proto = { version = "0.0.14", optional = true }
json-digest = "0.0.14"
serde = { version="1.0.121", features = ["derive"] }
serde_json = { version = "1.0.64", features = ["preserve_order"] }
serde_str = "0.1.0"
Expand Down
8 changes: 4 additions & 4 deletions coeus-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[package]
name = "iop-coeus-proto"
version = "0.0.13"
version = "0.0.14"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
license = "LGPL-3.0-or-later"


[dependencies]
anyhow = "1.0.32"
iop-journal-proto = "0.0.13"
iop-keyvault = "0.0.13"
json-digest = "0.0.13"
iop-journal-proto = "0.0.14"
iop-keyvault = "0.0.14"
json-digest = "0.0.14"
serde = { version="1.0.121", features = ["derive"] }
serde_json = { version = "1.0.64", features = ["preserve_order"] }
serde_bytes = "0.11.5"
Expand Down
12 changes: 6 additions & 6 deletions hydra-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iop-hydra-proto"
version = "0.0.13"
version = "0.0.14"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
license = "LGPL-3.0-or-later"
edition = "2018"
Expand All @@ -10,11 +10,11 @@ edition = "2018"
anyhow = "1.0.32"
byteorder = "1.3.4"
hex = "0.4.2"
iop-coeus-proto = "0.0.13"
iop-journal-proto = "0.0.13"
iop-keyvault = "0.0.13"
iop-morpheus-proto = "0.0.13"
json-digest = "0.0.13"
iop-coeus-proto = "0.0.14"
iop-journal-proto = "0.0.14"
iop-keyvault = "0.0.14"
iop-morpheus-proto = "0.0.14"
json-digest = "0.0.14"
num-derive = "0.3.2"
num-traits = "0.2.12"
rand = { version = "0.8.3", features = ["getrandom"] }
Expand Down
10 changes: 5 additions & 5 deletions hydra-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iop-hydra-sdk"
version = "0.0.13"
version = "0.0.14"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
license = "LGPL-3.0-or-later"
edition = "2018"
Expand All @@ -10,10 +10,10 @@ edition = "2018"
anyhow = "1.0.32"
byteorder = "1.3.4"
hex = "0.4.2"
iop-hydra-proto = "0.0.13"
iop-keyvault = "0.0.13"
iop-morpheus-proto = "0.0.13"
iop-vault = "0.0.13"
iop-hydra-proto = "0.0.14"
iop-keyvault = "0.0.14"
iop-morpheus-proto = "0.0.14"
iop-vault = "0.0.14"
parking_lot = { version = "0.11.1", features = ["serde", "wasm-bindgen"] }
rand = { version = "0.8.3", features = ["getrandom"] }
serde = { version="1.0.121", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion journal-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iop-journal-proto"
version = "0.0.13"
version = "0.0.14"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
license = "LGPL-3.0-or-later"
edition = "2018"
Expand Down
4 changes: 2 additions & 2 deletions json-digest-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json-digest-wasm"
version = "0.0.13"
version = "0.0.14"
edition = "2018"
description = "WebAssembly wrappers for the json-digest crate."
authors = ["IOP Ventures LLC <[email protected]>", "wigy <[email protected]>", "Rache Bartmoss <[email protected]>"]
Expand All @@ -16,7 +16,7 @@ categories = ["cryptography", "cryptography::cryptocurrencies", "wasm"]
crate-type = ["cdylib", "rlib"]

[dependencies]
json-digest = "0.0.13"
json-digest = "0.0.14"
serde = { version="1.0.121", features = ["derive"] }
serde_json = { version = "1.0.64", features = ["preserve_order"] }
wasm-bindgen = { version = "0.2.73", features = ["serde-serialize"] }
2 changes: 1 addition & 1 deletion json-digest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json-digest"
version = "0.0.13"
version = "0.0.14"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
description = "Allow selective masking of JSON subdocuments for privacy, preserving the digest of the whole document."
Expand Down
4 changes: 2 additions & 2 deletions keyvault-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iop-keyvault-wasm"
version = "0.0.13"
version = "0.0.14"
edition = "2018"
description = "WebAssembly wrappers for the iop-keyvault crate."
authors = ["IOP Ventures LLC <[email protected]>", "wigy <[email protected]>", "Rache Bartmoss <[email protected]>"]
Expand All @@ -14,6 +14,6 @@ categories = ["cryptography", "cryptography::cryptocurrencies", "wasm"]
crate-type = ["cdylib", "rlib"]

[dependencies]
iop-keyvault = "0.0.13"
iop-keyvault = "0.0.14"
serde_json = { version = "1.0.64", features = ["preserve_order"] }
wasm-bindgen = { version = "0.2.73", features = ["serde-serialize"] }
2 changes: 1 addition & 1 deletion keyvault/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iop-keyvault"
version = "0.0.13"
version = "0.0.14"
edition = "2018"
description = "A general-purpose hierarchical deterministic generator for asymmetric keys."
authors = ["IOP Ventures LLC <[email protected]>", "wigy <[email protected]>", "Rache Bartmoss <[email protected]>"]
Expand Down
12 changes: 6 additions & 6 deletions morpheus-node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iop-morpheus-node"
version = "0.0.13"
version = "0.0.14"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
license = "LGPL-3.0-or-later"
Expand All @@ -9,11 +9,11 @@ license = "LGPL-3.0-or-later"
[dependencies]
anyhow = "1.0.32"
chrono = { version = "0.4.15", features = ["wasmbind"] }
iop-hydra-proto = "0.0.13"
iop-journal-proto = "0.0.13"
iop-keyvault = "0.0.13"
iop-morpheus-proto = "0.0.13"
json-digest = "0.0.13"
iop-hydra-proto = "0.0.14"
iop-journal-proto = "0.0.14"
iop-keyvault = "0.0.14"
iop-morpheus-proto = "0.0.14"
json-digest = "0.0.14"
jwt-compact = { version = "0.2.0", default-features = false }
#multibase = "0.9.1"
rand = { version = "0.8.3", features = ["getrandom"] }
Expand Down
8 changes: 4 additions & 4 deletions morpheus-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iop-morpheus-proto"
version = "0.0.13"
version = "0.0.14"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
license = "LGPL-3.0-or-later"
Expand All @@ -10,9 +10,9 @@ license = "LGPL-3.0-or-later"
[dependencies]
anyhow = "1.0.32"
chrono = { version = "0.4.15", features = ["wasmbind"] }
iop-journal-proto = "0.0.13"
iop-keyvault = "0.0.13"
json-digest = "0.0.13"
iop-journal-proto = "0.0.14"
iop-keyvault = "0.0.14"
json-digest = "0.0.14"
jwt-compact = { version = "0.2.0", default-features = false }
serde = { version="1.0.121", features = ["derive"] }
serde_json = { version = "1.0.64", features = ["preserve_order"] }
Expand Down
2 changes: 1 addition & 1 deletion morpheus-core/README.md → morpheus-proto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Morpheus is a framework for decentralized identifiers (DID), key and right management and
cryptographically verifiable claims and credentials (VC) about such identities
based on a web of trust. For an in-depth description, please check our [developer portal](https://developer.iop.technology/).
based on a web of trust. For an in-depth description, please check our [developer portal](https://developer.iop.technology/).

Morpheus DIDs were based on the [W3C DID specification](https://w3c.github.io/did-core/) and
VCs on the [W3C VC specification](https://www.w3.org/TR/vc-data-model/).
Expand Down
10 changes: 5 additions & 5 deletions morpheus-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "iop-morpheus-sdk"
version = "0.0.13"
version = "0.0.14"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
license = "LGPL-3.0-or-later"
edition = "2018"


[dependencies]
anyhow = "1.0.32"
iop-keyvault = "0.0.13"
iop-vault = "0.0.13"
iop-keyvault = "0.0.14"
iop-vault = "0.0.14"
parking_lot = { version = "0.11.1", features = ["serde", "wasm-bindgen"] }
rand = { version = "0.8.3", features = ["getrandom"] }
serde = { version="1.0.121", features = ["derive"] }
Expand All @@ -19,8 +19,8 @@ typetag = "0.1.5"

[dev-dependencies]
chrono = { version = "0.4.15", features = ["wasmbind"] }
iop-morpheus-proto = "0.0.13"
json-digest = "0.0.13"
iop-morpheus-proto = "0.0.14"
json-digest = "0.0.14"
serde_json = { version = "1.0.64", features = ["preserve_order"] }


Expand Down
2 changes: 1 addition & 1 deletion node-wasm/.package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Rache Bartmoss <[email protected]>",
"wigy <[email protected]>"
],
"version": "0.0.13",
"version": "0.0.14",
"files": [
"browser/iop_node_wasm_bg.wasm",
"browser/iop_node_wasm_bg.js",
Expand Down
18 changes: 9 additions & 9 deletions node-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iop-node-wasm"
version = "0.0.13"
version = "0.0.14"
authors = [
"IOP Ventures LLC <[email protected]>",
"Rache Bartmoss <[email protected]>",
Expand All @@ -16,14 +16,14 @@ crate-type = ["cdylib", "rlib"]
normal = ["uuid"]

[dependencies]
iop-coeus-node = "0.0.13"
iop-coeus-proto = "0.0.13"
iop-journal-proto = "0.0.13"
iop-keyvault-wasm = "0.0.13"
iop-morpheus-node = "0.0.13"
iop-morpheus-proto = "0.0.13"
iop-proto-wasm = "0.0.13"
json-digest-wasm = "0.0.13"
iop-coeus-node = "0.0.14"
iop-coeus-proto = "0.0.14"
iop-journal-proto = "0.0.14"
iop-keyvault-wasm = "0.0.14"
iop-morpheus-node = "0.0.14"
iop-morpheus-proto = "0.0.14"
iop-proto-wasm = "0.0.14"
json-digest-wasm = "0.0.14"
serde = { version="1.0.121", features = ["derive"] }
serde_json = { version = "1.0.64", features = ["preserve_order"] }
# Force `wasm-bindgen` feature in transitive dependency `uuid` needed by `valico` in `iop-coeus-node`
Expand Down
14 changes: 7 additions & 7 deletions proto-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iop-proto-wasm"
version = "0.0.13"
version = "0.0.14"
authors = [
"IOP Ventures LLC <[email protected]>",
"Rache Bartmoss <[email protected]>",
Expand All @@ -17,12 +17,12 @@ normal = ["uuid"]

[dependencies]
anyhow = "1.0.32"
iop-coeus-proto = "0.0.13"
iop-hydra-proto = "0.0.13"
iop-journal-proto = "0.0.13"
iop-keyvault = "0.0.13"
iop-keyvault-wasm = "0.0.13"
iop-morpheus-proto = "0.0.13"
iop-coeus-proto = "0.0.14"
iop-hydra-proto = "0.0.14"
iop-journal-proto = "0.0.14"
iop-keyvault = "0.0.14"
iop-keyvault-wasm = "0.0.14"
iop-morpheus-proto = "0.0.14"
serde = { version="1.0.121", features = ["derive"] }
serde_json = { version = "1.0.64", features = ["preserve_order"] }
serde_str = "0.1.0"
Expand Down
25 changes: 22 additions & 3 deletions scripts/set-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,35 @@ function replace_toml() {
toml_file=$1
sed -i -E 's#^(\s*version\s*=\s*)".+"$#\1"'"$version"'"#g' "$toml_file"
sed -i -E 's#(iop-.*=.*)".+"#\1"'"$version"'"#g' "$toml_file"
sed -i -E 's#(json-digest\s*=.*)".+"#\1"'"$version"'"#g' "$toml_file"
sed -i -E 's#(json-digest.*=.*)".+"#\1"'"$version"'"#g' "$toml_file"
}

function replace_json() {
json_file=$1
sed -i -E 's#^(\s*"version"\s*:\s*)".+",$#\1"'"$version"'",#g' "$json_file"
}

declare -a crates=("coeus-core" "coeus-core-wasm" "hydra-proto" "hydra-sdk" "json-digest" "keyvault" "morpheus-core" "morpheus-core-wasm" "morpheus-sdk" "sdk" "sdk-ffi" "sdk-wasm" "vault")
declare -a wasm_packages=("coeus-core-wasm" "keyvault-wasm" "morpheus-core-wasm" "sdk-wasm")
declare -a crates=(
"coeus-node"
"coeus-proto"
"hydra-proto"
"hydra-sdk"
"journal-proto"
"json-digest"
"json-digest-wasm"
"keyvault"
"keyvault-wasm"
"morpheus-node"
"morpheus-proto"
"morpheus-sdk"
"node-wasm"
"proto-wasm"
"sdk"
"sdk-ffi"
"sdk-wasm"
"vault"
)
declare -a wasm_packages=("node-wasm" "sdk-wasm")

for crate in "${crates[@]}"; do
replace_toml "$crate/Cargo.toml"
Expand Down
Loading

0 comments on commit 6ed1424

Please sign in to comment.