Releases: dfinity/ic-js
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.3 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.6.3 | 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.
2024.10.09-1140Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.1 | Maintained ⚙️ |
@dfinity/cketh |
v3.3.2 | Maintained ⚙️ |
@dfinity/cmc |
v3.2.2 | Maintained ⚙️ |
@dfinity/ic-management |
v5.2.2 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.6.1 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.6.1 | Maintained ⚙️ |
@dfinity/nns |
v7.0.1 | Maintained ⚙️ |
@dfinity/nns-proto |
v2.0.1 | Unchanged️ |
@dfinity/sns |
v3.2.2 | Maintained ⚙️ |
@dfinity/utils |
v2.5.2 | Maintained ⚙️ |
Build
- Downgrade Agent-js to
^2.0.0
to let consumers pick the compatible version they wish to use.
2024.09.30-1100Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.1.0 | Enhanced 🔧️ |
@dfinity/cketh |
v3.3.1 | Maintained ⚙️ |
@dfinity/cmc |
v3.2.1 | Maintained ⚙️ |
@dfinity/ic-management |
v5.2.1 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.6.0 | Enhanced 🔧️ |
@dfinity/ledger-icrc |
v2.6.0 | Enhanced 🔧️ |
@dfinity/nns |
v7.0.0 | Breaking Changes |
@dfinity/nns-proto |
v2.0.1 | Unchanged️ |
@dfinity/sns |
v3.2.1 | Maintained ⚙️ |
@dfinity/utils |
v2.5.0 | Maintained ⚙️ |
Breaking changes
- Removed deprecated
OpenSnsTokenSwap
,SetSnsTokenSwapOpenTimeWindow
, andSetDefaultFollowees
fromProposalActionRequest
.
Features
- Add support for
icrc21_canister_call_consent_message
to@dfinity/ledger-icp
and@dfinity/ledger-icrc
. - Add support for
"regtest"
inBitcoinNetwork
. - Expose
ledger-converters
utility modules in@dfinity/ledger-icp
and@dfinity/ledger-icrc
.
Build
- Incorporate Agent-js patch
v2.1.2
.
2024.09.02-0830Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v3.0.0 | Breaking Changes |
@dfinity/cketh |
v3.3.0 | Maintained ⚙️ |
@dfinity/cmc |
v3.2.0 | Maintained ⚙️ |
@dfinity/ic-management |
v5.2.0 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.5.0 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.5.0 | Maintained ⚙️ |
@dfinity/nns |
v6.0.0 | Breaking Changes |
@dfinity/nns-proto |
v2.0.1 | Maintained ⚙️️ |
@dfinity/sns |
v3.2.0 | Maintained ⚙️ |
@dfinity/utils |
v2.5.0 | Maintained ⚙️ |
Breaking changes
- Rename values of enum Topic and NnsFunction to match the backend values.
- Use different request/response types for NNS Governance proposals, and different fields for
InstallCode
proposals. - The
getUtxos
parameterfilter.min_confirmations
has been renamed tofilter.minConfirmations
for consistency with the general naming conventions used in@dfinity/ckbtc
. - Only queries to
getUtxos
of the Bitcoin canister can be executed by external users — i.e., update calls can only be performed by the canister. This is whygetUtxos
now only supports non-certified calls and has been renamed togetUtxosQuery
.
Features
- Provide a new utility to convert Candid
Nat
toBigInt
. This utility is useful for interpreting the fees provided by the SNS Aggregator. - Support conversion of
InstallCode
,StopOrStartCanister
andUpdateCanisterSettings
actions,SetVisibility
neuron operation, andNeuron::visibility
attribute. - Add function
getBalanceQuery
toBitcoinCanister
object of package@dfinity/ckbtc
, that implements thebitcoin_get_balance_query
method of the IC Bitcoin API.
Build
- Upgrade
agent-js
dependencies tov2.0.0
.
2024.07.22-0645Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.5.0 | Maintained ⚙️ |
@dfinity/cketh |
v3.2.0 | Enhanced 🔧️ |
@dfinity/cmc |
v3.1.0 | Maintained ⚙️ |
@dfinity/ic-management |
v5.1.0 | Enhanced 🔧️ |
@dfinity/ledger-icp |
v2.4.0 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.4.0 | Maintained ⚙️ |
@dfinity/nns |
v5.2.0 | Enhanced 🔧️ |
@dfinity/nns-proto |
v2.0.1 | Maintained ⚙️️ |
@dfinity/sns |
v3.1.0 | Maintained ⚙️ |
@dfinity/utils |
v2.4.0 | Maintained ⚙️ |
Features
- Add support for
wasm_memory_limit
in the canister settings. - Add optional
includeEmptyNeurons
parameter tolistNeurons
. - Extend
eip1559TransactionPrice
for Erc20. - Add "Protocol Canister Management" and "Service Nervous System Management" topics support.
- Add
asNonNullish
function, likeassertNonNullish
but returns the value.
Fix
updateNeuron
to not change the neuron subaccount.list_neurons
to use oldListNeurons
type for hardware wallet compatibility.
Build
- Upgrade
agent-js
dependencies tov1.4.0
.
2024.06.11-1630Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.4.1 | Maintained ⚙️ |
@dfinity/cketh |
v3.1.1 | Maintained ⚙️ |
@dfinity/cmc |
v3.0.7 | Maintained ⚙️ |
@dfinity/ic-management |
v5.0.1 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.3.1 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.3.3 | Maintained ⚙️ |
@dfinity/nns |
v5.1.2 | Maintained ⚙️ |
@dfinity/nns-proto |
v2.0.1 | Maintained ⚙️️ |
@dfinity/sns |
v3.0.6 | Maintained ⚙️ |
@dfinity/utils |
v2.3.1 | Maintained ⚙️ |
Features
- Update ckETH Candid definition.
Build
- Bump braces.
2024.06.05-0835Z
Overview
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.4.0 | Enhanced 🔧 |
@dfinity/cketh |
v3.1.0 | Enhanced 🔧 |
@dfinity/cmc |
v3.0.6 | Maintained ⚙️ |
@dfinity/ic-management |
v5.0.0 | Breaking Changes |
@dfinity/ledger-icp |
v2.3.0 | Enhanced 🔧 |
@dfinity/ledger-icrc |
v2.3.2 | Maintained ⚙️ |
@dfinity/nns |
v5.1.1 | Maintained ⚙️ |
@dfinity/nns-proto |
v2.0.0 | Unchanged️ |
@dfinity/sns |
v3.0.5 | Maintained ⚙️ |
@dfinity/utils |
v2.3.0 | Enhanced 🔧 |
Breaking changes
bitcoinGetUtxos
andbitcoinGetUtxosQuery
have been removed from the@dfinity/ic-management
library. Instead, usegetUtxos
from the new Bitcoin canister exposed in@dfinity/ckbtc
to access similar data.
Features
- Support for
getUtxos
endpoint in the new Bitcoin canister from@dfinity/ckbtc
. - Canister status response extended with query statistics.
- Add
metadata
function to ledger ICP. - Add optional parameters to ICP ledger
transactionFee
. - Add support for
icrc2_approve
on the ICP ledger canister in@dfinity/ledger-icp
.