|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## [wasm-v0.5.0-dev.5](https://github.com/iotaledger/identity.rs/tree/wasm-v0.5.0-dev.5) (2022-03-21) |
| 4 | + |
| 5 | +[Full Changelog](https://github.com/iotaledger/identity.rs/compare/wasm-v0.5.0-dev.4...wasm-v0.5.0-dev.5) |
| 6 | + |
| 7 | +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. |
| 8 | + |
| 9 | +### Changed |
| 10 | + |
| 11 | +- Move DID Document proof outside metadata [\#728](https://github.com/iotaledger/identity.rs/pull/728) |
| 12 | +- Replace Wasm getters and setters with methods [\#706](https://github.com/iotaledger/identity.rs/pull/706) |
| 13 | +- Replace Wasm `Config` with `ClientConfig` interface [\#696](https://github.com/iotaledger/identity.rs/pull/696) |
| 14 | +- Change `IotaDocument::verify_document` from a static function to a method [\#675](https://github.com/iotaledger/identity.rs/pull/675) |
| 15 | +- Make Wasm support dependent on `target_arch` rather than feature [\#666](https://github.com/iotaledger/identity.rs/pull/666) |
| 16 | +- Refactor `CoreDocument`, `VerificationMethod`, `Service` to use generic DID [\#655](https://github.com/iotaledger/identity.rs/pull/655) |
| 17 | +- Overhaul `CredentialValidator`, add `PresentationValidator` [\#599](https://github.com/iotaledger/identity.rs/pull/599) |
| 18 | +- Replace `ClientMap` with new `Resolver` [\#594](https://github.com/iotaledger/identity.rs/pull/594) |
| 19 | + |
| 20 | +### Added |
| 21 | + |
| 22 | +- Add deep clone function in Wasm [\#705](https://github.com/iotaledger/identity.rs/pull/705) |
| 23 | +- Add `Duration` for `Timestamp` arithmetic [\#684](https://github.com/iotaledger/identity.rs/pull/684) |
| 24 | +- Add `Client` fallback to local PoW option [\#682](https://github.com/iotaledger/identity.rs/pull/682) |
| 25 | +- Add Wasm `Service` constructor and field getters [\#680](https://github.com/iotaledger/identity.rs/pull/680) |
| 26 | +- Complete `Document` Wasm bindings [\#679](https://github.com/iotaledger/identity.rs/pull/679) |
| 27 | +- Add `Document.signDocument` for Wasm [\#674](https://github.com/iotaledger/identity.rs/pull/674) |
| 28 | +- Add Wasm bindings for `set_controller` and `set_also_known_as` in the `Account` [\#668](https://github.com/iotaledger/identity.rs/pull/668) |
| 29 | +- Add NodeJs bindings for Stronghold `Storage` [\#660](https://github.com/iotaledger/identity.rs/pull/660) |
| 30 | +- Add Wasm `Account` `Storage` interface [\#597](https://github.com/iotaledger/identity.rs/pull/597) |
| 31 | +- Add Wasm bindings for the `Account` [\#574](https://github.com/iotaledger/identity.rs/pull/574) |
| 32 | + |
| 33 | +### Patch |
| 34 | + |
| 35 | +- Enable Wasm weak references for automatic garbage collection [\#694](https://github.com/iotaledger/identity.rs/pull/694) |
| 36 | +- Fix `WasmTimestamp` JSON serialization [\#688](https://github.com/iotaledger/identity.rs/pull/688) |
| 37 | + |
| 38 | +### Removed |
| 39 | + |
| 40 | +- Remove `publicKeyJwk` [\#732](https://github.com/iotaledger/identity.rs/pull/732) |
| 41 | + |
3 | 42 | ## [wasm-v0.5.0-dev.4](https://github.com/iotaledger/identity.rs/tree/wasm-v0.5.0-dev.4) (2022-02-14) |
4 | 43 |
|
5 | 44 | [Full Changelog](https://github.com/iotaledger/identity.rs/compare/wasm-v0.5.0-dev.3...wasm-v0.5.0-dev.4) |
|
0 commit comments