Skip to content

Commit cc07814

Browse files
committed
ts-web/core: add changelog
1 parent 59e62cd commit cc07814

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

client-sdk/ts-web/core/docs/changelog.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
## Unreleased changes
44

5+
Breaking changes:
6+
7+
- `signature.NaclSigner` is moved out to a new
8+
`@oasisprotocol/signer-tweetnacl` package.
9+
- `hdkey.HDKey.getAccountSigner` now returns a `signature.Signer` instead of
10+
a tweetnacl `SignKeyPair`.
11+
To get the private key, use the new `hdkey.HDKey.seedFromMnemonic` and
12+
`hdkey.HDKey.privateKeyFromSeed` functions.
13+
514
New features:
615

716
- Hashing and many related functions that internally need to compute a hash,
@@ -10,11 +19,19 @@ New features:
1019
We had implementations that used synchronous hashing libraries all along,
1120
but this is us giving up on eventually using the Web Crypto API for
1221
SHA-512/256.
22+
- For Ed25519 signing, there's a new `signature.WebCryptoSigner` taking the
23+
place of `signature.NaclSigner`.
24+
`await signature.WebCryptoSigner.generate(extractable)` is equivalent to
25+
`signature.NaclSigner.fromRandom(note)`, and
26+
`await signature.WebCryptoSigner.fromPrivateKey(priv)` is equivalent to
27+
`signature.NaclSigner.fromSeed(priv, note)`.
1328

1429
Little things:
1530

31+
- Removed dependency on tweetnacl.
1632
- We're switching lots of cryptography dependencies to noble cryptography
1733
libraries.
34+
- Ed25519 verification now uses the Web Crypto API.
1835

1936
## v1.1.0
2037

0 commit comments

Comments
 (0)