Releases: dfinity/ic-js
Releases · dfinity/ic-js
2025.02.21-1530Z
Overview
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.8 | Maintained ⚙️ |
@dfinity/cketh |
v3.4.5 | Maintained ⚙️ |
@dfinity/cmc |
v5.0.1 | Maintained ⚙️ |
@dfinity/ic-management |
v6.0.5 | Unchanged️ |
@dfinity/ledger-icp |
v2.6.9 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.7.4 | Maintained ⚙️ |
@dfinity/nns |
v8.3.0 | Maintained ⚙️ |
@dfinity/nns-proto |
v2.0.2 | Unchanged️ |
@dfinity/sns |
v3.3.0 | Enhanced 🔧️ |
@dfinity/utils |
v2.10.1 | Unchanged️ |
@dfinity/zod-schemas |
v0.0.2 | Unchanged️ |
Features
- Support
topic
andlist_topics
in @dfinity/sns`.
2025.02.19-1030Z
Overview
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.8 | Maintained ⚙️ |
@dfinity/cketh |
v3.4.5 | Maintained ⚙️ |
@dfinity/cmc |
v5.0.1 | Maintained ⚙️ |
@dfinity/ic-management |
v6.0.5 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.6.9 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.7.4 | Maintained ⚙️ |
@dfinity/nns |
v8.3.0 | Enhanced 🔧️ |
@dfinity/nns-proto |
v2.0.2 | Unchanged️ |
@dfinity/sns |
v3.2.10 | Maintained ⚙️ |
@dfinity/utils |
v2.10.1 | Patched ⚙️ |
@dfinity/zod-schemas |
v0.0.2 | Unchanged️ |
Features
- Make methods of
AgentManager
usable after deconstruction. - Implement pagination for the
list_neurons
endpoint. - Update all Candid files to their latest versions.
Build
- Bump
esbuild
tov0.25.0
.
Chore
- Add the
zod-schemas
library to the list ofnext
versions.
Docs
- Review JSDoc types for
Icrc2ApproveRequest
.
2025.01.30-0730Z
Overview
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.7 | Maintained ⚙️ |
@dfinity/cketh |
v3.4.4 | Maintained ⚙️ |
@dfinity/cmc |
v5.0.0 | Breaking Changes |
@dfinity/ic-management |
v6.0.4 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.6.8 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.7.3 | Maintained ⚙️ |
@dfinity/nns |
v8.2.2 | Maintained ⚙️ |
@dfinity/nns-proto |
v2.0.2 | Maintained ⚙️ |
@dfinity/sns |
v3.2.9 | Maintained ⚙️ |
@dfinity/utils |
v2.10.0 | Enhanced 🔧️ |
@dfinity/zod-schemas |
v0.0.2 | Unchanged️ |
Breaking Changes
- Default
getIcpToCyclesConversionRate
to an update call while providing acertified
parameter for queries.
Features
- Support
NervousSystemParameters.automatically_advance_target_version
in@dfinity/sns
. - Add converters to encode or decode base64 string into Uint8Array.
2025.01.20-1800Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.6 | Maintained ⚙️ |
@dfinity/cketh |
v3.4.3 | Maintained ⚙️ |
@dfinity/cmc |
v4.1.1 | Maintained ⚙️ |
@dfinity/ic-management |
v6.0.3 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.6.7 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.7.2 | Maintained ⚙️ |
@dfinity/nns |
v8.2.1 | Maintained ⚙️ |
@dfinity/nns-proto |
v2.0.1 | Unchanged️ |
@dfinity/sns |
v3.2.8 | Maintained ⚙️ |
@dfinity/utils |
v2.9.0 | Enhanced 🔧️ |
@dfinity/zod-schemas |
v0.0.2 | Maintained ⚙️ |
Features
- Support
CanisterSettings.wasm_memory_threshold
in@dfinity/nns
. - Support
UpgradeSnsControlledCanister.chunked_canister_wasm
in@dfinity/sns
. - Add utility
fromNullishNullable
extracts the value from a nullish Candid-style variant representation.
2025.01.20-1030Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.5 | Unchanged️ |
@dfinity/cketh |
v3.4.2 | Unchanged️ |
@dfinity/cmc |
v4.1.0 | Unchanged️ |
@dfinity/ic-management |
v6.0.2 | Unchanged️ |
@dfinity/ledger-icp |
v2.6.6 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.7.1 | Maintained ⚙️ |
@dfinity/nns |
v8.2.0 | Enhanced 🔧️ |
@dfinity/nns-proto |
v2.0.1 | Unchanged️ |
@dfinity/sns |
v3.2.7 | Maintained ⚙️ |
@dfinity/utils |
v2.8.0 | Unchanged️ |
@dfinity/zod-schemas |
v0.0.1 | New 🚀 |
Features
- Expose types
IcrcApproveError
andIcrcTransferFromError
in@dfinity/ledger-icrc
. - Expose few additional did types in
@dfinity/ledger-icp
. - Introduce a new zod-schemas library to provide a collection of reusable Zod schemas and validators for common data patterns in ICP applications.
- Api get network economics parameters.
- Update
old_list_neurons_service.certified.idl.js
.
Fix
- Typo in renamed exposed type
IcrcTransferVariatError
.
2024.12.23-1215Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.5 | Maintained ⚙️ |
@dfinity/cketh |
v3.4.2 | Maintained ⚙️ |
@dfinity/cmc |
v4.1.0 | Enhanced 🔧️ |
@dfinity/ic-management |
v6.0.2 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.6.5 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.7.0 | Enhanced 🔧️ |
@dfinity/nns |
v8.1.0 | Enhanced 🔧️ |
@dfinity/nns-proto |
v2.0.1 | Unchanged️ |
@dfinity/sns |
v3.2.6 | Maintained ⚙️ |
@dfinity/utils |
v2.8.0 | Enhanced 🔧️ |
Features
- Support
RefreshVotingPower
in@dfinity/nns
. - Remove optional field
last_deposit_with_subaccount_scraped_block_number
from ckETH minter information. - Add optional field
deposit_with_subaccount_helper_contract_address
andlast_deposit_with_subaccount_scraped_block_number
in ckETH minter information. - Expose a few additional types related to snapshots in
ic-management
. - Add support for
get_subnet_types_to_subnets
to@dfinity/cmc
. - Support
VotingPowerEconomics
,potential_voting_power
anddeciding_voting_power
in@dfinity/nns
. - Add utility
isEmptyString
(the opposite of existingnotEmptyString
). - Add utility
mapTokenMetadata
in@dfinity/ledger-icrc
to map the token metadata information from a ledger response into a structured record.
2024.11.27-1230Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.4 | Maintained ⚙️ |
@dfinity/cketh |
v3.4.1 | Maintained ⚙️ |
@dfinity/cmc |
v4.0.2 | Maintained ⚙️ |
@dfinity/ic-management |
v6.0.1 | Patched 🩹 |
@dfinity/ledger-icp |
v2.6.4 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.6.4 | Unchanged️ |
@dfinity/nns |
v8.0.1 | Maintained ⚙️ |
@dfinity/nns-proto |
v2.0.1 | Unchanged️ |
@dfinity/sns |
v3.2.5 | Maintained ⚙️ |
@dfinity/utils |
v2.7.1 | Maintained ⚙️ |
Features
- Added definition for
AdvanceSnsTargetVersion
to the SNS governance DIDAction
declarations.
Fix
- The IC management function
install_chunked_code
failed on mainnet because thetarget_canister
was not mapped aseffective_canister_id
, as defined by the IC specification.
Chore
- Enable eslint for tests.
- Allow linter to permit underscore prefixes.
2024.11.22-1600Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.3 | Unchanged️ |
@dfinity/cketh |
v3.4.0 | Unchanged️ |
@dfinity/cmc |
v4.0.1 | Unchanged️ |
@dfinity/ic-management |
v6.0.0 | Breaking Changes |
@dfinity/ledger-icp |
v2.6.3 | Unchanged️ |
@dfinity/ledger-icrc |
v2.6.3 | Unchanged️ |
@dfinity/nns |
v8.0.0 | Unchanged️ |
@dfinity/nns-proto |
v2.0.1 | Unchanged️ |
@dfinity/sns |
v3.2.4 | Unchanged️ |
@dfinity/utils |
v2.7.0 | Unchanged️ |
Breaking changes
- Inherits canister installation code arguments from Candid.
2024.11.21-1600Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.3 | Maintained ⚙️ |
@dfinity/cketh |
v3.4.0 | Enhanced 🔧️ |
@dfinity/cmc |
v4.0.1 | Maintained ⚙️ |
@dfinity/ic-management |
v5.3.0 | Enhanced 🔧️ |
@dfinity/ledger-icp |
v2.6.3 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.6.3 | Maintained ⚙️ |
@dfinity/nns |
v8.0.0 | Breaking Changes |
@dfinity/nns-proto |
v2.0.1 | Unchanged️ |
@dfinity/sns |
v3.2.4 | Maintained ⚙️ |
@dfinity/utils |
v2.7.0 | Enhanced 🔧️ |
Breaking changes
- Remove
stakeNeuronIcrc1
.
Features
- Added
memoToNeuronSubaccount
andmemoToNeuronAccountIdentifier
. - Support new neuron field
voting_power_refreshed_timestamp_seconds
. - Add support for fetching the canister logs in
@dfinity@ic-management
. - Add support for snapshot features in
@dfinity@ic-management
. - Add
nowInBigIntNanoSeconds
to@dfinity/utils
, a trivial function that is actually used across all our dapps.
Build
- Update the dev dependencies of the
ic-js
workspace.
2024.10.29-1130Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.2 | Maintained ⚙️ |
@dfinity/cketh |
v3.3.3 | Maintained ⚙️ |
@dfinity/cmc |
v4.0.0 | Breaking Changes |
@dfinity/ic-management |
v5.2.3 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.6.2 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.6.2 | Maintained ⚙️ |
@dfinity/nns |
v7.0.2 | Maintained ⚙️ |
@dfinity/nns-proto |
v2.0.1 | Unchanged️ |
@dfinity/sns |
v3.2.3 | Maintained ⚙️ |
@dfinity/utils |
v2.6.0 | Enhanced 🔧️ |
Breaking Changes
- For consistency, the
CMCCanister.create
function now requires thecanisterId
option to be provided exclusively as
aPrincipal
.
Features
- Add support for
get_default_subnets
to@dfinity/cmc
. - Add class
AgentManager
in@dfinity/utils
which cachesHttpAgent
instances for different identities.
Docs
- Rename DFINITY LLC to DFINITY Stiftung in licences.