- Remove
stakeNeuronIcrc1
.
- Added
memoToNeuronSubaccount
andmemoToNeuronAccountIdentifier
. - Support new neuron field
voting_power_refreshed_timestamp_seconds
.
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 🔧️ |
- For consistency, the
CMCCanister.create
function now requires thecanisterId
option to be provided exclusively as aPrincipal
.
- Add support for
get_default_subnets
to@dfinity/cmc
. - Add class
AgentManager
in@dfinity/utils
which cachesHttpAgent
instances for different identities.
- Rename DFINITY LLC to DFINITY Stiftung in licences.
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 ⚙️ |
- Downgrade Agent-js to
^2.0.0
to let consumers pick the compatible version they wish to use.
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.1 | Maintained ⚙️ |
- Removed deprecated
OpenSnsTokenSwap
,SetSnsTokenSwapOpenTimeWindow
, andSetDefaultFollowees
fromProposalActionRequest
.
- 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
.
- Incorporate Agent-js patch
v2.1.2
.
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 ⚙️ |
- 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
.
- 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.
- Upgrade
agent-js
dependencies tov2.0.0
.
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 ⚙️ |
- 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.
updateNeuron
to not change the neuron subaccount.list_neurons
to use oldListNeurons
type for hardware wallet compatibility.
- Upgrade
agent-js
dependencies tov1.4.0
.
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 ⚙️ |
- Update ckETH Candid definition.
- Bump braces.
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 🔧 |
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.
- 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
.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.3.3 | Maintained ⚙️ |
@dfinity/cketh |
v3.0.1 | Maintained ⚙️ |
@dfinity/cmc |
v3.0.5 | Maintained ⚙️ |
@dfinity/ic-management |
v4.0.0 | Breaking Changes |
@dfinity/ledger-icp |
v2.2.4 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.3.1 | Maintained ⚙️ |
@dfinity/nns |
v5.1.0 | Enhanced 🔧 |
@dfinity/nns-proto |
v2.0.0 | Breaking Changes |
@dfinity/sns |
v3.0.4 | Maintained ⚙️ |
@dfinity/utils |
v2.3.0 | Enhanced 🔧 |
@dfinity/ic-management
functioncanisterInfo
removed because users cannot call this method ( see documentation).@dfinity/nns-proto
was updated with the most recent proto types, some of which were not backwards compatible.- The size of the nns-proto-js library has noticeably increased, as it now exposes all types instead of just a manually picked subset.
- Update Candid definition in ckBTC, ckETH, CMC, ICP and ICRC Ledgers, Nns and Sns.
- Add "Subnet Rental" to the list of
NnsFunction
and to topic support.
- Fixed
TokenAmountV2.fromNumber
for tokens with fewer than 8 decimals.
- Upgrade
agent-js
dependencies tov1.3.0
and revert the default retry times value to 10, given that the issue is fixed.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.3.2 | Maintained ⚙️ |
@dfinity/cketh |
v3.0.0 | Breaking Changes |
@dfinity/cmc |
v3.0.4 | Maintained ⚙️ |
@dfinity/ic-management |
v3.2.0 | Enhanced 🔧 |
@dfinity/ledger-icp |
v2.2.3 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.3.0 | Enhanced 🔧 |
@dfinity/nns |
v5.0.0 | Breaking Changes |
@dfinity/nns-proto |
v1.0.2 | Unchanged️ |
@dfinity/sns |
v3.0.3 | Maintained ⚙️ |
@dfinity/utils |
v2.2.0 | Enhanced 🔧 |
- Protocol buffers for hardware wallet transactions are no longer supported. Internet Computer Ledger app 2.4.9 or later is now required.
- GovernanceCanister.listNeurons no longer throws an error when called with
certified: false
for hardware wallet transactions. - Potential errors thrown by
withdrawEth
provide now unparsed details.
- ICP transactions, as provided by the Index canister, have been extended to include their block timestamp information.
- When no fee is specified when making an ICP transaction, use the mandatory fee of 10000 e8s (0.0001 ICP) instead of fetching the fee from the network.
- Remove hardware wallet specific code paths from
@dfinity/ledger-icp
. - Remove hardware wallet specific options from LedgerCanister.
- Remove dependency on
@dfinity/nns-proto
from@dfinity/ledger-icp
. - Remove hardware wallet specific code and
@dfinity/nns-proto
dependency from@dfinity/nns
. - Add support for
withdrawErc20
. - Additional fields related to ERC20 have been added to ckETH
minterInfo
. - Expose the function
ledger_id
for Index canister in theledger-icrc
library. - Set number of retries to 10 (as opposed to default 3) in
createAgent
utility to make the agent more resilient against watermark check failures.
- Upgrade
agent-js
dependencies tov1.2.1
. Note that it is advised to set the number of retries of the agent to 10 to prevent the potential issueTimestamp failed to pass the watermark after retrying the configured 3 times. We cannot guarantee the integrity of the response since it could be a replay attack.
( see thread on the forum). - Upgrade
didc
to0.3.7
that converts candid files into JS and TS.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.3.1 | Unchanged️️ |
@dfinity/cketh |
v2.0.1 | Unchanged️ |
@dfinity/cmc |
v3.0.3 | Unchanged️ |
@dfinity/ic-management |
v3.1.1 | Patched 🩹 |
@dfinity/ledger-icp |
v2.2.2 | Unchanged️️ |
@dfinity/ledger-icrc |
v2.2.1 | Unchanged️️ |
@dfinity/nns |
v4.0.2 | Unchanged️ |
@dfinity/nns-proto |
v1.0.2 | Unchanged️ |
@dfinity/sns |
v3.0.2 | Unchanged️️ |
@dfinity/utils |
v2.1.3 | Unchanged️ |
- Incorrect import path to utils in ic-management:
@dfinity/utils/src
.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.3.1 | Maintained ⚙️ |
@dfinity/cketh |
v2.0.1 | Maintained ⚙️ |
@dfinity/cmc |
v3.0.3 | Maintained ⚙️ |
@dfinity/ic-management |
v3.1.0 | Enhanced 🔧 |
@dfinity/ledger-icp |
v2.2.2 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.2.0 | Maintained ⚙️ |
@dfinity/nns |
v4.0.2 | Maintained ⚙️ |
@dfinity/nns-proto |
v1.0.2 | Maintained ⚙️ |
@dfinity/sns |
v3.0.2 | Maintained ⚙️ |
@dfinity/utils |
v2.1.3 | Maintained ⚙️ |
- Support for the installation of large canisters with chunked code of the Wasm module in
@dfinity/ic-management
. - Update most recent did files for ledgers (new optional field for initialization) and ckETH (new optional field in event).
- Expose Utxo types in
@dfinity/ckbtc
.
- Bump dev dependencies including esbuild and TypeScript.
- Bump
tsdoc-markdown
to parse optional result into READMEs.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.3.0 | Enhanced 🔧️ |
@dfinity/cketh |
v2.0.0 | Breaking Changes |
@dfinity/cmc |
v3.0.2 | Unchanged️ |
@dfinity/ic-management |
v3.0.0 | Breaking Changes |
@dfinity/ledger-icp |
v2.2.1 | Unchanged️ |
@dfinity/ledger-icrc |
v2.1.3 | Enhanced 🔧 |
@dfinity/nns |
v4.0.1 | Unchanged️ |
@dfinity/nns-proto |
v1.0.1 | Unchanged️ |
@dfinity/sns |
v3.0.1 | Maintained ⚙ |
@dfinity/utils |
v2.1.2 | Unchanged️ |
- Fix typo in
ic-management
interfaces (senderCanisterVerion
->senderCanisterVersion
). - ckETH
eip1559TransactionPrice
expect a parameters which can optionally be set to execute a query (new) or update call.
- Support for new ckETH endpoint
get_minter_info
which returns internal minter parameters such as the minimal withdrawal amount, the last observed block number, etc. - Add support for
bitcoin_get_utxos
andbitcoin_get_utxos_query
features to@dfinity/ic-management
library. - Support for new ckBTC endpoint
get_known_utxos
which returns UTXOs of the given account known by the minter. - New
IndexNgCanister
in@dfinity/ledger-icrc
, which can be used to interact with the newer version of the ICRC Index canister, notably exposinggetTransactions
as aquery
function.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.2.1 | Maintained ⚙️ |
@dfinity/cketh |
v1.0.2 | Maintained ⚙️ |
@dfinity/cmc |
v3.0.2 | Maintained ⚙️ |
@dfinity/ic-management |
v2.2.2 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.2.1 | Maintained ⚙️ |
@dfinity/ledger-icrc |
v2.1.3 | Maintained ⚙️ |
@dfinity/nns |
v4.0.1 | Maintained ⚙️ |
@dfinity/nns-proto |
v1.0.1 | Unchanged️ |
@dfinity/sns |
v3.0.0 | Breaking Changes |
@dfinity/utils |
v2.1.2 | Maintained ⚙️ |
- Update
listProposals
return type in sns governance canister.
- Bump agent-js
v1.0.1
to hook on their semantic versioning, adopt last improvements and rollout a security patch
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.2.0 | Enhanced 🔧 |
@dfinity/cketh |
v1.0.1 | Maintained ⚙️ |
@dfinity/cmc |
v3.0.1 | Maintained ⚙️ |
@dfinity/ic-management |
v2.2.1 | Maintained ⚙️ |
@dfinity/ledger-icp |
v2.2.0 | Enhanced 🔧 |
@dfinity/ledger-icrc |
v2.1.2 | Maintained ⚙️ |
@dfinity/nns |
v4.0.0 | Breaking Changes |
@dfinity/nns-proto |
v1.0.1 | Unchanged️ |
@dfinity/sns |
v2.1.2 | Maintained ⚙️ |
@dfinity/utils |
v2.1.1 | Maintained ⚙️ |
- Replace duplicate string type
AccountIdentifier
in@dfinity/nns
withAccountIdentifierHex
of@dfinity/ledger-icp
.
- Extend ckBTC
retrieveBtcStatusV2ByAccount
with optionalaccount
parameter. - Remove unused Uint8Array type
SubAccount
in@dfinity/nns
. - Modify the
@dfinity/ledger-icp
package'sSubAccount.formID
function to support more than 256 subaccounts, enabling it to handle larger numbers.
- Bump all dev dependencies of the ic-js workspace.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.1.1 | Patched 🩹 |
@dfinity/cketh |
v1.0.0 | Launched 🚀 |
@dfinity/cmc |
v3.0.0 | Breaking Changes |
@dfinity/ic-management |
v2.2.0 | Enhanced 🔧 |
@dfinity/ledger-icp |
v2.1.2 | Patched 🩹 |
@dfinity/ledger-icrc |
v2.1.1 | Maintained ⚙️ |
@dfinity/nns |
v3.1.1 | Maintained ⚙️ |
@dfinity/nns-proto |
v1.0.1 | Maintained ⚙️ |
@dfinity/sns |
v2.1.1 | Patched 🩹 |
@dfinity/utils |
v2.1.0 | Enhanced 🔧 |
- Upgrade candid files for cmc canister with new fields
subnet_selection
andsettings
.
- Add support for converting ckETH to ETH through the
withdrawEth
function and integrate useful features such aseip1559TransactionPrice
,encodePrincipalToEthAddress
, andretrieve_eth_status
. - Upgrade candid files for
ic-management
canister and support new fieldreserved_cycles_limit
. - Add "API Boundary Node Management" topic support.
- Add optional field
logo
toToken
type. - Update
sns-js
candid files with new fields in sns canisters. - Add public method
toE8s
toTokenAmountV2
.
- Various certified Candid IDL functions had their names trimmed of the keyword "query".
- Fixed script to generate certified IDL factory files to respect the keyword "query" when used in functions' names.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.1.0 | Unchanged |
@dfinity/cketh |
v0.0.1 | Unchanged |
@dfinity/cmc |
v2.1.0 | Unchanged |
@dfinity/ic-management |
v2.1.0 | Unchanged |
@dfinity/ledger-icp |
v2.1.1 | Patched 🤕 |
@dfinity/ledger-icrc |
v2.1.0 | Unchanged |
@dfinity/nns |
v3.1.0 | Unchanged |
@dfinity/nns-proto |
v1.0.0 | Unchanged |
@dfinity/sns |
v2.1.0 | Unchanged |
@dfinity/utils |
v2.0.0 | Unchanged️ |
- When
@dfinity/ledger-icp
is bundled with Rollup v4, it leads to an incompatibility issue with iOS 15.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.1.0 | Unchanged |
@dfinity/cketh |
v0.0.1 | New 🚀 |
@dfinity/cmc |
v2.1.0 | Unchanged |
@dfinity/ic-management |
v2.1.0 | Unchanged |
@dfinity/ledger-icp |
v2.1.0 | Unchanged |
@dfinity/ledger-icrc |
v2.1.0 | Unchanged |
@dfinity/nns |
v3.1.0 | Unchanged |
@dfinity/nns-proto |
v1.0.0 | Unchanged |
@dfinity/sns |
v2.1.0 | Unchanged |
@dfinity/utils |
v2.0.0 | Unchanged️ |
- Introduces an early first version of
@dfinity/cketh
, which is meant to provide functions for interfacing with ckETH. The library doesn't do much at the moment, but we're releasing it to integrate it into our pipelines, and features will be added iteratively as required.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.1.0 | Enhanced 🔧 |
@dfinity/cmc |
v2.1.0 | Enhanced 🔧 |
@dfinity/ic-management |
v2.1.0 | Enhanced 🔧 |
@dfinity/ledger-icp |
v2.1.0 | Enhanced 🔧 |
@dfinity/ledger-icrc |
v2.1.0 | Enhanced 🔧 |
@dfinity/nns |
v3.1.0 | Enhanced 🔧 |
@dfinity/nns-proto |
v1.0.0 | Unchanged |
@dfinity/sns |
v2.1.0 | Enhanced 🔧 |
@dfinity/utils |
v2.0.0 | Breaking Changes |
decimals
mandatory field inToken
.TokenAmount
rejects tokens withdecimals !== 8
.
- Substitute
?
fields withOption
fields in the converters related to NNS proposals. - Add retrieveBtcStatus to ckbtc minter canister.
- Add retrieveBtcStatusV2ByAccount to ckbtc minter canister.
- Make uint8ArrayToHexString also accept
number[]
as input. - Add a new type TokenAmountV2 which supports
decimals !== 8
. - Fix issue when converting token amount from small numbers with
TokenAmountV2
. - Bump agent-js to v0.20.2 in a non-breaking manner by introducing
verifyQuerySignatures
as an opt-in feature (for the time being). - Replace
https://ic0.app
byhttps://icp-api.io
as the default host for the default anonymous agent provided bydefaultAgent
.
- Utilize ICP Index
accountBalance
andgetTransactions
with account identifier hex directly, eliminating the need for conversion with Buffer and resolving usage in non-polyfilled environments.
- Add a cron job to periodically update IC candid files and typescript bindings.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v2.0.0 | Enhanced 🔧 |
@dfinity/cmc |
v2.0.0 | Enhanced 🔧 |
@dfinity/ic-management |
v2.0.0 | Enhanced 🔧 |
@dfinity/ledger-icp |
v2.0.0 | Enhanced 🔧 |
@dfinity/ledger-icrc |
v2.0.0 | Enhanced 🔧 |
@dfinity/nns |
v3.0.0 | Enhanced 🔧 |
@dfinity/nns-proto |
v1.0.0 | Unchanged |
@dfinity/sns |
v2.0.0 | Enhanced 🔧 |
@dfinity/utils |
v1.1.0 | Unchanged |
- Include timestamp and tags in the candid provenance record.
- Update ckbtc candid to ic commit
4de99bc27be74048f80d13200f3c75cf2a43438c
. - Include pending UTXOs in MinterNoNewUtxosError.
- Upgrade
didc
to0.3.5
that converts candid files into JS and TS.
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v1.1.0 | Enhanced 🔧 |
@dfinity/cmc |
v1.0.0 | Unchanged |
@dfinity/ic-management |
v1.0.0 | Unchanged |
@dfinity/ledger-icp |
v1.1.0 | Enhanced 🔧 |
@dfinity/ledger-icrc |
v1.0.1 | Patched 🩹 |
@dfinity/nns |
v2.1.0 | Enhanced 🔧 |
@dfinity/nns-proto |
v1.0.0 | Unchanged |
@dfinity/sns |
v1.0.2 | Patched 🩹 |
@dfinity/utils |
v1.1.0 | Enhanced 🔧 |
- add support for ICP Index canister to library
@dfinity/ledger-icp
. NewIndexCanister
functions:accountBalance
andgetTransactions
- expose few types - notably
BlockHeight
- for library@dfinity/ledger-icp
- support new fields from swap canister response types:
min_direct_participation_icp_e8s
,max_direct_participation_icp_e8s
andneurons_fund_participation
- support new fields in the
CreateServiceNervousSystem
proposal action:maximum_direct_participation_icp
,minimum_direct_participation_icp
andneurons_fund_participation
- support new filter field
omit_large_fields
inlist_proposals
- add support for
retrieve_btc_with_approval
in@dfinity/ckbtc
- new utility to convert seconds to a human-readable duration
- update
@dfinity/ledger-icrc
did files - update
@dfinity/sns
did files
The current status of the libraries at the time of the release is as follows:
Library | Version | Status |
---|---|---|
@dfinity/ckbtc |
v1.0.1 | Patched |
@dfinity/cmc |
v1.0.0 | Unchanged |
@dfinity/ic-management |
v1.0.0 | Unchanged |
@dfinity/ledger |
v1.0.0 | Deprecated ❌ |
@dfinity/ledger-icp |
v1.0.0 | New 🚀 |
@dfinity/ledger-icrc |
v1.0.0 | New 🚀 |
@dfinity/nns |
v2.0.0 | Breaking Changes |
@dfinity/nns-proto |
v1.0.0 | Unchanged |
@dfinity/sns |
v1.0.0 | Patched |
@dfinity/utils |
v1.0.0 | Unchanged |
- ckbtc
v1.0.1
- ledger-icp
v1.0.0
- ledger-icrc
v1.0.0
- nns
v2.0.0
- sns
v1.0.1
- ICP ledger-related features have been relocated from
@dfinity/nns
to a new dedicated library called@dfinity/ledger-icp
- ICRC ledger-related features have been moved as well. The library
@dfinity/ledger
has been deprecated, renamed, and replaced by@dfinity/ledger-icrc
- remove the
ICP
class, which was deprecated a long time ago, from@dfinity/nns
. Instead, utilize the token parsers from@dfinity/utils
@dfinity/sns
inherits the changes and now requires@dfinity/ledger-icrc
as a peer dependency@dfinity/nns
inherits the changes and now requires@dfinity/ledger-icp
as a peer dependency
- minter params
Subaccount
declared asUint8Array
instead of inheriting a type
- nns
v1.0.0
- sns
v1.0.0
- cmc
v1.0.0
- ledger
v1.0.0
- ckBTC
v1.0.0
- ic-management
v1.0.0
- utils
v1.0.0
- nns-proto
v1.0.0
- add support for
icrc2_transfer_from
,icrc2_approve
andicrc2_allowance
in@dfinity/ledger
- update index did definitions in ledger which provides more information in the transactions
- add support for icrc1_transfer on the ICP ledger canister in
@dfinity/nns
- bump did files in Cmc
- starting from this version, we commit to adhering to semantic versioning for any libraries published in ic-js
- nns
v0.16.7
- sns
v0.0.22
- cmc
v0.0.18
- ledger
v0.0.15
- ckBTC
v0.0.11
- ic-management
v0.0.8
- utils
v0.0.22
- nns-proto
v0.0.8
- replaces the
js-sha256
library with@noble/hashes
- nns
v0.16.6
- sns
v0.0.21
- cmc
v0.0.17
- ledger
v0.0.14
- ckBTC
v0.0.10
- ic-management
v0.0.7
- utils
v0.0.21
- nns-proto
v0.0.7
- bump agent-js
v0.19.2
to fix evaluation of subdomain whenhost
is not specified
- remove unused dependencies in
@dfinity/ic-management
- nns
v0.16.5
- sns
v0.0.20
- cmc
v0.0.16
- ledger
v0.0.13
- ckBTC
v0.0.9
- ic-management
v0.0.6
- utils
v0.0.20
- nns-proto
v0.0.6
- Reviver and replacer to interpret
BigInt
,Principal
, andUint8Array
inJSON.stringify|parse
- Add Sns disburse maturity function
- bump agent-js
v0.19.1
- nns
v0.16.4
- sns
v0.0.19
- cmc
v0.0.15
- ledger
v0.0.12
- ckBTC
v0.0.8
- ic-management
v0.0.5
- utils
v0.0.19
- nns-proto
v0.0.5
- update
nns/governance.did
andsns_wasm.did
for 1-proposal - update
ic.did
for@dfinity/ic-management
- update
icrc1_ledger.did
- bump agent-js
v0.18.1
- add mention that ICRC-22 is currently a draft
- nns
v0.16.3
- sns
v0.0.18
- cmc
v0.0.14
- ledger
v0.0.11
- ckBTC
v0.0.7
- ic-management
v0.0.4
- utils
v0.0.18
- nns-proto
v0.0.4
- move
convertStringToE8s
andTokenAmount
from Nns package to@dfinity/utils
- retire
TokenAmount.toProto()
- add a new utils function
decodePayment
to the@dfinity/ledger
library. Useful to decode payment through QR code that contains target address and amount - add provisional create canister with cycles method
CreateServiceNervousSystem
<->RawCreateServiceNervousSystem
transformations for Nns proposal- decode payment code (early support and not yet specified. see ICRC-22)
- bump
semver
- ic-management
v0.0.3
No particular changes. Resolve a version conflicts in npmjs.
- nns
v0.16.2
- sns
v0.0.17
- cmc
v0.0.13
- ledger
v0.0.10
- ckBTC
v0.0.6
- ic-management
v0.0.2
- utils
v0.0.17
- nns-proto
v0.0.3
- redo
global
polyfill for the browser - expose more types in new library
ic-management-js
- fix
ic-management-js
next dependencies and version
- various improvements in READMEs
- nns
v0.16.1
- sns
v0.0.16
- cmc
v0.0.12
- ledger
v0.0.9
- ckBTC
v0.0.5
- ic-management
v0.0.1
- utils
v0.0.16
- nns-proto
v0.0.2
- ckBTC
getDepositFee
has been deprecated. Instead, use the new featuregetMinterInfo
- introducing
@dfinity/ic-management
— a new library for interfacing with IC management canister - add
getMinterInfo
for ckBTC which returns internal minter parameters such as the minimal amount to retrieve BTC, minimal number of confirmations or KYT fee - add fee to nns stake neuron method
- expose Sns index canister id in wrapper
- add
simulateMergeNeurons
to Nns governance
- use
isNullish
andfromNullable
utils in Nnsgovernance.canister.ts
- remove
global
polyfill for the browser and addworker
conditions to bundle - improve docs generation in the CI
- update Candid types in Nns
- improve Sns README
- generate README docs for BTC utils
- nns
v0.16.0
- sns
v0.0.15
- cmc
v0.0.11
- ledger
v0.0.8
- ckBTC
v0.0.4
- utils
v0.0.15
- nns-proto
v0.0.1
- the protobuf dependencies of
@dfinity/nns
have been extracted to a new peer dependency called@dfinity/nns-proto
. In the NNS-dapp, we manually chunk the libraries. This change enables the dapp to load the required code of the hardware wallet only when necessary.
- update
sns-js
andnns-js
candid definitions - add
BitcoinSetConfig
to enumNnsFunction
- expose some more Sns types
- publish provenance to npm
- do not run size checker on main branch
- fix sample in
nns-js
README
- nns
v0.15.1
- sns
v0.0.14
- cmc
v0.0.10
- ledger
v0.0.7
- ckBTC
v0.0.3
- utils
v0.0.14
- correct absolute
utils
import inledger
library
- nns
v0.15.0
- sns
v0.0.13
- cmc
v0.0.9
- ledger
v0.0.6
- ckBTC
v0.0.2
- utils
v0.0.13
- new utils moved from NNS-dapp:
isNullish
,nonNullish
,notEmptyString
anddebounce
- added ckBTC
updateBalance
,getWithdrawalAccount
,retrieveBtc
,estimateWithdrawalFee
andgetDepositFee
functions - parse and validate bitcoin address
- review textual encoding for ICRC-1 account as in dfinity/ICRC-1#98
- add SNS action converters
- get latest reward event NNS Governance
- extend nnsFuncton enum with UpdateElectedReplicaVersions
- add total tokens supply endpoint
- new utils to convert hex to/from uint8array, crc and base32
- bump agent-js
v0.15.4
- bump all dev dependencies
- hook size limit plugin to check the size of the libraries with the CI
- nns
v0.14.0
- sns
v0.0.12
- cmc
v0.0.8
- ledger
v0.0.5
- ckBTC
v0.0.1
- utils
v0.0.12
index
canister moved from@dfinity/sns
to@dfinity/ledger
- related classes and types renamed from
Sns...
toIcrc...
- new
@dfinity/ckbtc
library for interfacing with ckBTC on the Internet Computer - export a constant for the Icrc1 metadata logo
- move and expose
assertPercentageNumber
to lib@dfinity/utils
- register Sns vote
- fix
utils
as peer dependency forcmc
- fix
sns
usingnns
dependencies - bump all dev dependencies
- bump Nns dependencies
- dependabot patch for json5 v1.0.2
- nns
v0.13.0
- sns
v0.0.11
- cmc
v0.0.7
- ledger
v0.0.4
- utils
v0.0.11
- add fee as param in SNS Stake neuron
- extend
NnsFunction
enum withInsertSnsWasmUpgradePathEntries
- encode ICRC-1 accounts
- nns
v0.12.1
- sns
v0.0.10
- cmc
v0.0.6
- ledger
v0.0.3
- utils
v0.0.10
utils
was wrongly referenced as a dependency instead of peer-dependency in last release ofcmc
- nns
v0.12.0
- sns
v0.0.9
- cmc
v0.0.5
- ledger
v0.0.1
- utils
v0.0.8
Introducing @dfinity/ledger
— A library for interfacing with ICRC ledgers on the Internet Computer.
An ICRC-1 ledger is not only used in Sns projects but, in ckBTC too. It can also be integrated in various other scenario need by developers on the IC.
That's why we are launching this new library and why we refactored Sns ledger related features to create this new library.
De facto, @dfinity/ledger
becomes a peer dependency of @dfinity/sns
.
- enable merge neurons for HW controlled neurons
- nns
v0.11.0
- sns
v0.0.8
- cmc
v0.0.4
- utils
v0.0.7
- new Sns features: increase stake neuron, split neuron, list and get proposals
- add support for the param
to_account
when disbursing Sns neuron - add
createAt
param for Nns ledger transfers - more Sns voting permissions
- bump
agent-js
peer dependencies tov0.15.1
- bump Nns (
crc
andgoogle-protobuf
) dependencies - bump dev dependencies
- nns
v0.10.0
- sns
v0.0.7
- cmc
v0.0.3
- utils
v0.0.6
- various neuron features for Sns - e.g. stake neuron, list and set followees, set dissolve delay, stake maturity etc.
- array utilities
bigIntToUint8Array
andnumberToUint8Array
- semantic version comparator
smallerVersion
- rounding conversion from
number
toToken
- nns
v0.9.0
- sns
v0.0.6
- cmc
v0.0.2
- utils
v0.0.5
token
param inTokenAmount
factory methods is mandatory instead of using ICPToken as default.TokenAmount.fromNumber
does not returnFromStringToTokenError
, onlyTokenAmount
.
- new NNS governance features:
stakeMaturity
andautoStakeMaturity
- various additional new NNS functions and proposal types
- new SNS
index
canister - new SNS ledger and wrapper feature:
transfer
andtransactionFee
- SNS did files updated with most recent commit in IC repo
- support join community fund for neurons controlled by Hardware Wallet.
- bump dev dependencies
- bump
agent-js
peer dependencies v0.14.0
- refreshed HACKING.md
- nns
v0.8.1
- sns
v0.0.5
- cmc
v0.0.1
- utils
v0.0.4
- the development dependency
didc
has been bumped which leads to some types having to be converted fromnumber[]
toUint8Array
- new fields
stakedMaturityE8sEquivalent
andautoStakeMaturity
inNeuron
- new library
@dfinity/cmc
- new nns governance commands and actions:
ChangeAutoStakeMaturity
,SetSnsTokenSwapOpenTimeWindow
andOpenSnsTokenSwap
- some new utilities added to transform arrays from various format to
Uint8Array
- new Sns utilities to encode and decode accounts to and from strings
disburse
Sns neuronscreateAgent
andprincipalToSubAccount
added to utils
- nns
v0.7.0
- sns
v0.0.3
- utils
v0.0.2
agent-js
dependencies set aspeerDependencies
- Sns canisters' classes renamed with prefix
Sns
- enums renamed with Pascal case for consistency reason
- new library
@dfinity/utils
- more Sns related features:
notifyParticipation
,getUserCommitment
, some Sns neurons related features and governancemetadata
- new nns governance features:
setDissolveDelay
andsetNodeProviderAccount
- new generic interface
Token
and classTokenAmount
- class
ICP
set as deprecated
- bump agent-js
v0.13.1
- publish
next
instead ofnightly-build
working versions - add manual trigger to GitHub Actions for npm publish
- nns
v0.6.0
- sns
v0.0.2
nns
libraryesm
canisters chunks renamed with suffix.canister
- new library
@dfinity/sns
- add
SetSnsTokenSwapOpenTimeWindow
proposal action support to request and response converters - add new property in Neuron type:
spawn_at_timestamp_seconds
- use the governance canister id of the class in converters. This allows to also have proper conversion on testnets.
- add
leaveCommunityFund
functionality to governance canister in@dfinity/nns
. - map
deadline_timestamp_seconds
to proposal object - new NNS proposal topic
SnsDecentralizationSale
- fix how the neuron account was converted to a
string
forproto
.
- bump dependencies including agent-js v0.12.0
- rename repo from
nns-js
toic-js
- transform repo into a mono-repo for packages
nns
,sns
and in the future more libraries
- Change "fromSubAccountId: string" param to "fromSubAccount: number[]"
- Remove payload, payloadBytes and nnsFunctionName fields from proposal of type ExecuteNnsFunction action (moved to nns-dapp)
- Use Candid interface by default for ledger canister and proto for hardware wallet
- New function transactionFee to query the current transaction fee
- update most recent candid payloads
- bump agent-js
v0.11.3
withsetBigUint64
for iOS < v15
- new methods
disburse
,mergeMaturity
andspawnNeuron
- expose account utilities
- expose account identifier utilities
- update most recent candid payloads
- remove principal toJSON workaround
- Hardware wallet compatibility with protobuf
- add support for
GenesisTokenCanister::claim_neurons
- bump dependencies
- Replace
notVotedNeurons
withvotableNeurons
[#77] - Serialize Principal rather than a byte array in JSON.
- Allow neurons with zero stake to pass through the filter.
- New methods splitNeuron, mergeNeurons, addHotkey and removeHotkey in Governance Service.
- Add options
memo
andfee
to ledgertransfer
function for hardware wallet compatibility. - Add
votableNeurons(..)
utility function. - Update dependencies and stop using now deprecated functions.
- variant return types dropped - i.e. functions now return effective result and throw errors in case of issues [#59]
- governance function
getNeurons
tolistNeurons
renamed [#55] - governance functions
getNeurons
andlistNeurons
change signature [#69] - Drop
isCurrentUserController
property fromNeuron
type [#69] - remove some converters that were not use internally [#62]
- governance new functions:
getProposal
stakeNeuron
registerVote
increaseDissolveDelay
getNeuron
setFollowees
- ledger
transfer
enhanced with support for subaccount - new utils to filter voted neurons and proposals
- export
common
types
- nns-dapp canister types removed
- nightly build job
- add test for protobuf files