Skip to content

v0.20.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Nov 19:45
· 114 commits to main since this release
0d73ffd

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