Skip to content

Releases: dfinity/agent-js

Release 0.21.0

22 Jan 19:41
c202d74
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.20.2...v0.21.0

v0.20.2

27 Nov 21:45
f14a8fb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.20.1...v0.20.2

v0.20.1

17 Nov 19:18
d03fd4f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.20.0...v0.20.1

v0.20.0

14 Nov 19:45
0d73ffd
Compare
Choose a tag to compare

Significant new features in this release!

Most notably, @dfinity/agent version 0.20.0 now handles query signature verification. All queries will automatically check for signatures in the state tree signed by the node that replies. This enables the client to verify that there have been no man-in-the-middle attacks without a developer needing to implement certified variables or use update calls.

note: if you are using a lower version of dfx than 0.15.2, you will need to set {verifyQuerySignatures: false} in your HttpAgent options, as the signatures were not present in earlier replica versions.

Additionally, this change replaces the package tweetnacl with @noble/curves for Ed25519 curve signatures and validation.

What's Changed

New Contributors

Full Changelog: v0.19.3...v0.20.0

v0.20.0-beta.0

07 Nov 22:27
963ef63
Compare
Choose a tag to compare
v0.20.0-beta.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.19.3...v0.20.0-beta.0

v0.19.3

25 Sep 22:02
8330773
Compare
Choose a tag to compare

What's Changed

Noteworthy change: Principal now contains a toJSON method, returning an object with {"__principal__": <principal-string>}. This is compatible with the JSON reviver that is provided in @dfinity/utils, allowing you to easily serialize and deserialize structures containing Principals into and out of JSON

Full Changelog: v0.19.2...v0.19.3

v0.19.2

25 Aug 17:59
b7abf4a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.19.1...v0.19.2

v0.19.1

24 Aug 15:52
ca2a1ad
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.19.0...v0.19.1

v0.19.0

22 Aug 18:52
2aa2edc
Compare
Choose a tag to compare

Notable Changes

Now sets a default host of https://icp-api.io for HttpAgent
Replaces js-sha256 with @noble/hash

Package sizes are reduced as a result of that dependency change!

Screenshot 2023-08-22 at 9 56 29 AM

What's Changed

Full Changelog: v0.18.1...v0.19.0

v0.18.1

24 Jul 17:26
67b1e38
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.18.0...v0.18.1