Skip to content

Commit ca66e71

Browse files
authored
Apply changesets & release (#202)
1 parent a780a96 commit ca66e71

File tree

28 files changed

+147
-77
lines changed

28 files changed

+147
-77
lines changed

.changeset/eleven-toys-buy.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/itchy-humans-look.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

.changeset/proud-pugs-walk.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/spotty-cows-smile.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/wild-snails-kick.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/client/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @iroha2/client
22

3+
## 7.1.0
4+
5+
### Minor Changes
6+
7+
- a780a96: **feat:** add full support of Query API, soft-deprecating previous improper implementation
8+
9+
The new implementation is available via `Client.query`, `Torii.queryWithParams`, and `doQuery` functions.
10+
11+
- 787a198: **refactor:** handle the major update of `@iroha2/crypto-core`
12+
- a780a96: **feat:** soft-deprecate `computeTransactionHash`; add `computeTransactionPayloadHash` & `computeSignedTransactionHash` instead, with descriptions which one to use and when
13+
14+
### Patch Changes
15+
16+
- Updated dependencies [787a198]
17+
- @iroha2/crypto-core@2.0.0
18+
- @iroha2/data-model@7.1.0
19+
320
## 7.0.0
421

522
### Major Changes

packages/client/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iroha2/client",
3-
"version": "7.0.0",
3+
"version": "7.1.0",
44
"module": "dist/lib.mjs",
55
"main": "dist/lib.cjs",
66
"types": "dist/lib.d.ts",
@@ -36,8 +36,8 @@
3636
"test:web": "pnpm --filter client-test-web test"
3737
},
3838
"dependencies": {
39-
"@iroha2/crypto-core": "workspace:^1.1.1",
40-
"@iroha2/data-model": "workspace:7.0.0",
39+
"@iroha2/crypto-core": "workspace:^2.0.0",
40+
"@iroha2/data-model": "workspace:7.1.0",
4141
"debug": "^4.3.4",
4242
"emittery": "^0.10.1",
4343
"json-bigint": "^1.0.0",

packages/client/test/integration/test-node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"typecheck": "tsc --noEmit"
77
},
88
"devDependencies": {
9-
"@iroha2/client": "workspace:^7.0.0",
10-
"@iroha2/crypto-target-node": "workspace:^1.1.1",
9+
"@iroha2/client": "workspace:^7.1.0",
10+
"@iroha2/crypto-target-node": "workspace:^2.0.0",
1111
"@iroha2/test-configuration": "workspace:^",
1212
"@iroha2/test-peer": "workspace:^0.0.1",
1313
"allure-vitest": "^2.14.0",

packages/client/test/integration/test-web/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
},
1212
"devDependencies": {
1313
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.0",
14-
"@iroha2/client": "workspace:^7.0.0",
15-
"@iroha2/crypto-core": "workspace:^1.1.1",
16-
"@iroha2/crypto-target-web": "workspace:^1.1.1",
17-
"@iroha2/data-model": "workspace:^7.0.0",
14+
"@iroha2/client": "workspace:^7.1.0",
15+
"@iroha2/crypto-core": "workspace:^2.0.0",
16+
"@iroha2/crypto-target-web": "workspace:^2.0.0",
17+
"@iroha2/data-model": "workspace:^7.1.0",
1818
"@iroha2/test-configuration": "workspace:^",
1919
"@iroha2/test-peer": "workspace:^0.0.1",
2020
"@scale-codec/util": "^1.1.2",

packages/crypto/packages/core/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @iroha2/crypto-core
22

3+
## 2.0.0
4+
5+
### Major Changes
6+
7+
- 787a198: **Breaking:** Complete rewrite of crypto WASM, and major update of the surrounding API.
8+
9+
- Now WASM is made from the original `iroha_crypto` from Iroha 2 repo. As one of the outcomes, binary blob size is reduced from 2mb to 600kb.
10+
- Remove `KeyGenConfiguration`. Use `KeyPair.deriveFromSeed`, `KeyPair.deriveFromPrivateKey`, and `KeyPair.random` instead.
11+
- Normalise API across `PublicKey`, `PrivateKey`, `KeyPair`, and `Signature` classes (JSON methods, raw conversion methods etc.)
12+
- Introduce `Bytes` utility to accept binary input either as `Bytes.array([1, 2, 3])` or `Bytes.hex('001122')`
13+
- Export more types¡
14+
15+
See the [issue](https://github.com/hyperledger/iroha-javascript/issues/186) for related context.
16+
17+
### Patch Changes
18+
19+
- Updated dependencies [787a198]
20+
- @iroha2/crypto-util@0.2.0
21+
- @iroha2/data-model@7.1.0
22+
323
## 1.1.1
424

525
### Patch Changes

0 commit comments

Comments
 (0)