Releases: dfinity/icp-js-core
Releases · dfinity/icp-js-core
v4.0.1
What's Changed
- docs: links and minor improvements by @ilbertt in #1122
- chore: explain Package Publishing Strategy in the contributing guidelines by @ilbertt in #1124
- feat!: deprecate
@dfinity/use-auth-clientby @ilbertt in #1125 - fix: only delete knot if it's the last entry of the
TypeTableby @ilbertt in #1123 - chore: rename
agent-jstoicp-js-coreby @ilbertt in #1126 - chore: update readme and contributing by @ilbertt in #1127
- docs: add library development guides by @ilbertt in #1128
- build: pnpm audit fix by @ilbertt in #1130
Full Changelog: v4.0.0...v4.0.1
v4.0.0
New @icp-sdk/core package
Publishes the new @icp-sdk/core package.
This package unifies the following packages:
@dfinity/agent@dfinity/candid@dfinity/identity@dfinity/identity-secp256k1@dfinity/principal
and re-exports them as @icp-sdk/core/* submodules.
The @icp-sdk/core package does not contain any other changes.
See the upgrading guide for more information.
What's Changed
Full Changelog: v3.2.2...v4.0.0
v3.2.2
What's Changed
- build: audit fix by @ilbertt in #1104
- test: update motoko actors to be
persistentby @ilbertt in #1109 - fix: add
bigintto theJsonValuetypes by @ilbertt in #1108 - docs: update theme and add overview page by @nathanosdev in #1110
- feat: upload docs to the dfinity/icp-js-sdk-docs repo by @ilbertt in #1095
- docs: update links to js.icp.build by @ilbertt in #1112
- fix: cross-package links normalization by @ilbertt in #1113
Full Changelog: v3.2.1...v3.2.2
v3.2.1
v3.2.0
What's Changed
- fix: do not subtract replica permitted drift by @ilbertt in #1075
- docs: add changelog to docs site by @nathanosdev in #1080
- fix: round ingress expiry before applying clock drift by @ilbertt in #1076
- build: fix audit by bumping
eslintto v9.32.0 by @ilbertt in #1084 - docs: preserve entities names casing by @ilbertt in #1086
- docs: move docs to js.icp.build/core by @ilbertt in #1085
- docs: copy 404.html to the root to make 404 work by @ilbertt in #1087
- fix: add declaration maps and source code to published package by @nathanosdev in #1088
- feat: enable type safety for Func and Service IDL types by @ilbertt in #1089
- fix: perform certificate delegation canister range check unconditionally by @ilbertt in #1083
- fix: account for clock drift in certificate freshness check by @ilbertt in #1081
- fix: use effective canister id to delete the node keys from the local map by @ilbertt in #1091
- docs: add dfinity starlight theme by @nathanosdev in #1090
- fix: enable certificate freshness check in canister status request by @ilbertt in #1082
- fix: avoid bigint overflow when decoding the time from the certificate by @ilbertt in #1093
- fix: enable certificate freshness checks for delegation certificates by @ilbertt in #1094
- fix: error handling of call responses by @ilbertt in #1092
- build: fix pnpm audit by @ilbertt in #1096
Full Changelog: v3.1.0...v3.2.0
v3.1.0
v3.0.2
What's Changed
- fix: canonicalizes record and variant labels during subtype checking by @christoph-dfinity in #1073
Full Changelog: v3.0.1...v3.0.2
v3.0.1
v3.0.0
Upgrading guide
For detailed upgrade guidelines, check out our upgrading guide.
Changelog
- chore: npm audit fix by @krpeacock in #998
- feat!: removes proxyagent and getDefaultAgent exports by @krpeacock in #992
- chore: formatting files and changelog by @krpeacock in #999
- ci: ubuntu latest for unit tests by @krpeacock in #1003
- test: cover invalid tree leaf structure case in
lookup_pathby @ilbertt in #1001 - style: fix linter errors and commands by @ilbertt in #1002
- fix: checks subtyping relation when decoding reference types in Candid by @christoph-dfinity in #994
- refactor: use new error system and error codes by @ilbertt in #1004
- feat!: breaking out readState into signed and unsigned by @krpeacock in #1000
- ci: node v22 for unit tests by @ilbertt in #1006
- feat!: use new error system in Agent and Actor by @ilbertt in #1005
- test: avoid skipping tests where possible, replace deprecated Jest assertions by @ilbertt in #1007
- feat!:
ExpiryJSON serialization and deserialization by @ilbertt in #1008 - feat:
isCertifiedflag on errors by @ilbertt in #1010 - feat!: make
lookup_pathcompliant with the spec and introducelookup_subtreeby @ilbertt in #1009 - chore: removes unused
bs58checkdependency from `@dfinity/identity-… by @krpeacock in #1013 - feat!: standardizes on uint8array for agent-js interfaces by @krpeacock in #1012
- fix: make isAuthenticated validate delegation expiry by @asabates-dfinity in #985
- refactor: remove unnecessary
uint8FromBufLikecalls by @ilbertt in #1017 - ci: prepare node action by @ilbertt in #1018
- feat: remove
base64-arraybufferdependency by @ilbertt in #1016 - feat!: replace
hashwithsha256from@noble/hashes/sha2to take advantage of existing dependencies by @ilbertt in #1019 - refactor: use
@noble/hashes/sha2consistently by @ilbertt in #1020 - feat!: replace
concatwithconcatBytesfrom@noble/hashes/utilsby @ilbertt in #1021 - refactor: use hex utils from
@noble/hashesby @ilbertt in #1022 - chore!: deprecate management canister by @krpeacock in #1023
- chore!: drop support for node v19 or lower, and for node v21 by @ilbertt in #1025
- refactor: update typescript config by @ilbertt in #1026
- ci: test docs builds by @ilbertt in #1029
- ci: use bundle command in size-limit action by @ilbertt in #1030
- fix: handle
response.arrayBuffer()throws in#requestAndRetryby @ilbertt in #1031 - feat: sync time with the network when an ingress expiry error was received by @nathanosdev in #1014
- test: re-add removed assertion by @nathanosdev in #1032
- feat: use new cbor library by @nathanosdev in #1015
- fix: mark
@noble/hashesas a dependency rather than a dev dependency by @hpeebles in #1034 - chore: update
@noble/*dependencies by @ilbertt in #1035 - chore: release 3.0.0 beta.1 by @nathanosdev in #1036
- chore: fix incremental typescript config by @nathanosdev in #1037
- chore: switch to pnpm by @nathanosdev in #1038
- chore: ignore
docsand.dfxfolders in eslint by @ilbertt in #1040 - feat: add @dfinity/icp monopackage by @nathanosdev in #1041
- chore: updates docs and package config by @nathanosdev in #1043
- feat: rename @dfinity/icp to @icp-sdk/core by @nathanosdev in #1046
- feat: remove assets from core package by @nathanosdev in #1047
- feat: remove watermark checks by @ilbertt in #1045
- chore: updates the version script to work with new pnpm workspaces by @krpeacock in #1048
- chore: replaces ts-node with
pnpm dlx tsxfor version management sc… by @krpeacock in #1049 - test: update tsconfig, cleanup (auth-client) by @ilbertt in #1052
- ci: cancel CI tests that become obsolete after a new commit is pushed in an open PR by @kitsiosk in #1042
- fix: use
loginOptionsfromAuthClient.createif none are provided toAuthClient.loginby @ilbertt in #1053 - fix: export ESM modules by @ilbertt in #1055
- docs: add initial starlight docs by @nathanosdev in #1051
- fix: support bigints in leb encoding by @ilbertt in #1059
- fix: use .ts extension for imports by @nathanosdev in #1054
- chore: release notes for v3 by @ilbertt in #1056
- chore: force
.tsextentions imports with TSConfig by @ilbertt in #1058 - chore: release 3.0.0-beta.3 by @nathanosdev in #1061
- docs: update release notes to describe when sync time occurs by default by @nathanosdev in #1060
- chore: release 3.0.0-beta.4 by @nathanosdev in #1062
- chore: release 3.0.0 by @nathanosdev in #1064
New Contributors
- @ilbertt made their first contribution in #1001
- @christoph-dfinity made their first contribution in #994
- @asabates-dfinity made their first contribution in #985
- @kitsiosk made their first contribution in #1042
Full Changelog: v2.4.1...v3.0.0
v3.0.0-beta.4
What's Changed
- chore: fix incremental typescript config by @nathanosdev in #1037
- chore: switch to pnpm by @nathanosdev in #1038
- chore: ignore
docsand.dfxfolders in eslint by @ilbertt in #1040 - feat: add @dfinity/icp monopackage by @nathanosdev in #1041
- chore: updates docs and package config by @nathanosdev in #1043
- feat: rename @dfinity/icp to @icp-sdk/core by @nathanosdev in #1046
- feat: remove assets from core package by @nathanosdev in #1047
- feat: remove watermark checks by @ilbertt in #1045
- chore: updates the version script to work with new pnpm workspaces by @krpeacock in #1048
- chore: replaces ts-node with
pnpm dlx tsxfor version management sc… by @krpeacock in #1049 - test: update tsconfig, cleanup (auth-client) by @ilbertt in #1052
- ci: cancel CI tests that become obsolete after a new commit is pushed in an open PR by @kitsiosk in #1042
- fix: use
loginOptionsfromAuthClient.createif none are provided toAuthClient.loginby @ilbertt in #1053 - fix: export ESM modules by @ilbertt in #1055
- docs: add initial starlight docs by @nathanosdev in #1051
- fix: support bigints in leb encoding by @ilbertt in #1059
- fix: use .ts extension for imports by @nathanosdev in #1054
- chore: release notes for v3 by @ilbertt in #1056
- chore: force
.tsextentions imports with TSConfig by @ilbertt in #1058 - docs: update release notes to describe when sync time occurs by default by @nathanosdev in #1060
- chore: release 3.0.0-beta.4 by @nathanosdev in #1062
New Contributors
Full Changelog: v3.0.0-beta.1...v3.0.0-beta.4