v0.20.0
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 yourHttpAgent
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
- feat: fetch node keys from subnet certificate by @krpeacock in #776
- feat: retry logic catches thrown errors by @krpeacock in #774
- chore: replaces use of localhost with 127.0.0.1 for better node 18 support by @krpeacock in #787
- feat: subnet metrics for canisterStatus by @krpeacock in #790
- ci: use
dfinity/setup-dfx
to installdfx
by @smallstepman in #791 - style: remove deprecated packages by @smallstepman in #785
- fix: bigint toJson trailing space by @dgdg-app in #764
- fix: correct spelling mistake by @jennifertrin in #778
- feat: round ingress expiry by @krpeacock in #788
- fix: service ordering must be alphabetical by @lastmjs in #781
- ci: release and publishing automation by @smallstepman in #786
- feat: refactor to remove nonce from queries by @krpeacock in #792
- chore: increases size limit for agent-js by @krpeacock in #793
- feat: node signature verification for queries by @krpeacock in #784
- feat: introduces ExpirableMap by @krpeacock in #794
- fix: canisterStatus returns full list of controllers by @krpeacock in #799
- chore: updating tests for node 20 compatibility by @krpeacock in #782
- feat: uses expirable map for subnet keys by @krpeacock in #796
- chore: release v0.20.0 by @krpeacock in #800
New Contributors
- @smallstepman made their first contribution in #791
- @dgdg-app made their first contribution in #764
- @jennifertrin made their first contribution in #778
- @lastmjs made their first contribution in #781
Full Changelog: v0.19.3...v0.20.0