2024.04.29-0930Z
peterpeterparker
released this
29 Apr 09:29
·
161 commits
to main
since this release
Overview
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 🔧 |
Breaking changes
- 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.
Features
- 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.
Build
- 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.