Skip to content

Releases: dfinity/ic-js

2025.02.21-1530Z

21 Feb 15:30
c7e02a0
Compare
Choose a tag to compare

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 and list_topics in @dfinity/sns`.

2025.02.19-1030Z

19 Feb 10:31
86df564
Compare
Choose a tag to compare

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 to v0.25.0.

Chore

  • Add the zod-schemas library to the list of next versions.

Docs

  • Review JSDoc types for Icrc2ApproveRequest.

2025.01.30-0730Z

30 Jan 07:29
2c639e7
Compare
Choose a tag to compare

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 a certified 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

20 Jan 17:59
de6a4ac
Compare
Choose a tag to compare

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

20 Jan 10:30
cdd6532
Compare
Choose a tag to compare

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 and IcrcTransferFromError 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

23 Dec 12:12
0e5ec6f
Compare
Choose a tag to compare

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 and last_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 and deciding_voting_power in @dfinity/nns.
  • Add utility isEmptyString (the opposite of existing notEmptyString).
  • 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

27 Nov 12:29
3f203cf
Compare
Choose a tag to compare

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 DID Action declarations.

Fix

  • The IC management function install_chunked_code failed on mainnet because the target_canister was not mapped as effective_canister_id, as defined by the IC specification.

Chore

  • Enable eslint for tests.
  • Allow linter to permit underscore prefixes.

2024.11.22-1600Z

22 Nov 15:58
e661fbe
Compare
Choose a tag to compare

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

21 Nov 15:57
ceb11ea
Compare
Choose a tag to compare

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 and memoToNeuronAccountIdentifier.
  • 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

29 Oct 11:34
038841e
Compare
Choose a tag to compare

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 the canisterId option to be provided exclusively as
    a Principal.

Features

  • Add support for get_default_subnets to @dfinity/cmc.
  • Add class AgentManager in @dfinity/utils which caches HttpAgent instances for different identities.

Docs

  • Rename DFINITY LLC to DFINITY Stiftung in licences.