Releases: dfinity/agent-js
Release 1.1.0
What's Changed
- feat: adds fromPem method for identity-secp256k1 by @krpeacock in #816
- chore: switch changelog to markdown by @krpeacock in #853
- feat: replay attack prevention using watermarks by @krpeacock in #854
- fix: Remove ArrayBuffer checks from WebAuthnIdentity by @frederikrothenberger in #857
Full Changelog: v1.0.1...v1.1.0
Release 1.0.1
What's Changed
- chore: export
AuthClientStorage
to aid with custom implementations by @hpeebles in #848 - fix: ed25519KeyIdentity generates unique identities when no seed is provided by @krpeacock in #851
Full Changelog: v1.0.0...v1.0.1
Release 1.0.0
What's Changed
- feat: Export AgentHTTPResponseError by @kristoferlund in #823
- chore: adding new controller to mainnet test snapshots by @krpeacock in #841
- feat: customPath changes by @krpeacock in #840
- feat: introduces Observable Log for HttpAgent by @krpeacock in #842
- chore: update management canister interface by @krpeacock in #844
- fix: adds npm run build to publish script by @krpeacock in #845
- chore: npm audit fix by @krpeacock in #846
New Contributors
- @kristoferlund made their first contribution in #823
Full Changelog: v0.21.4...v1.0.0
Release 0.21.4
What's Changed
- fix: distinguish remote dev environments from known hosts by @rvanasa in #830
- feat: release automation changes by @krpeacock in #832
- chore: updating package-lock by @krpeacock in #831
- fix: export partial identity from index of @dfinity/identity by @krpeacock in #833
- fix: edit to the post-release script by @krpeacock in #834
- fix: edit to the post-release script by @krpeacock in #836
Full Changelog: v0.21.2...v0.21.4
Release 0.21.2
What's Changed
- fix: incorrectly propogated package-lock by @krpeacock in #828
Full Changelog: v0.21.1...v0.21.2
Release 0.21.1
Release 0.21.0
What's Changed
- fix: honor disableIdle flag by @ncpenke in #809
- fix: Limit the delegation depth of read_state certificates to 1 by @oggy-dfin in #813
- chore(deps-dev): bump vite from 4.5.0 to 5.0.5 by @dependabot in #810
- feat: introduces partial identity by @krpeacock in #812
- feat: replaces
secp256k1
npm package with@noble/curves
by @krpeacock in #814 - chore: GitHub actions warning cleanup by @krpeacock in #819
- chore: cleaning up linting and stricter CI by @krpeacock in #821
- feat: add
github.dev
andgitpod.io
to known hosts by @rvanasa in #822
New Contributors
Full Changelog: v0.20.2...v0.21.0
v0.20.2
What's Changed
- fix: restoring localhost to list of known hosts by @krpeacock in #805
- chore: locking prettier version for CI by @krpeacock in #806
Full Changelog: v0.20.1...v0.20.2
v0.20.1
What's Changed
- feat: retry query signature verification in case cache is stale by @krpeacock in #801
- style: refactor query promises by @krpeacock in #802
- chore: release 0.20.1 by @krpeacock in #803
Full Changelog: v0.20.0...v0.20.1
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