Skip to content

Releases: dfinity/sdk

0.27.0-beta.0

0.27.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 May 23:51
2c91c38

feat!: remove the 'native' replica

The native replica is no longer bundled with dfx; dfx only uses PocketIC for local networks. Accordingly dfx start --replica and dfx info replica-port now report an error. See the migration guide for more information.

chore: removes the outdated _language-service command

feat: Support 'follow' mode for 'dfx canister logs'

Support follow mode for dfx canister logs

  • --follow to fetch logs continuously until interrupted with Ctrl+C
  • --interval to specify the interval in seconds between log fetches

feat: Improve 'dfx canister logs' with several options

Improve dfx canister logs with several options

  • --tail <n> to show the last n log entries
  • --since to show the logs newer than a relative duration
  • --since-time to show the logs newer than a specific timestamp

Dependencies

Motoko

Updated Motoko to 0.14.9

Bitcoin canister

Upgraded Bitcoin canister to release/2024-08-30

Replica

Updated replica to elected commit f195ba756bc3bf170a2888699e5e74101fdac6ba.
This incorporates the following executed proposals:

0.26.1

Choose a tag to compare

@github-actions github-actions released this 01 May 20:36
d487510

fix: clear state when switching from shared to project network

dfx would try to reuse canister ids when switching from a shared network to a project network,
which would cause errors since those canister ids wouldn't exist. dfx now deletes the .dfx
directory if it was previously used with the shared local network.

feat: Set canister ids using dfx canister set-id <canister name> <principal>

Added the counterpart to dfx canister id <canister name>. Networks can be targeted as usual using --network <network name> or the --ic shorthand for mainnet.

chore: use account_balance instead of the legacy account_balance_dfx

Use the account_balance rather than the legacy account_balance_dfx on the ICP ledger.

feat: Extend dfx ledger transfer and dfx ledger balance to support ICRC-1 standard

Extend dfx ledger transfer and dfx ledger balance to support ICRC-1 standard.

Dependencies

Motoko

Updated Motoko to 0.14.8

Replica

Updated replica to elected commit 579b8ba3a31341f354f4ddb3d60ac44548a91bc2.
This incorporates the following executed proposals:

0.26.1-beta.1

0.26.1-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Apr 18:13
42febba

fix: clear state when switching from shared to project network

dfx would try to reuse canister ids when switching from a shared network to a project network,
which would cause errors since those canister ids wouldn't exist. dfx now deletes the .dfx
directory if it was previously used with the shared local network.

feat: Set canister ids using dfx canister set-id <canister name> <principal>

Added the counterpart to dfx canister id <canister name>. Networks can be targeted as usual using --network <network name> or the --ic shorthand for mainnet.

chore: use account_balance instead of the legacy account_balance_dfx

Use the account_balance rather than the legacy account_balance_dfx on the ICP ledger.

feat: Extend dfx ledger transfer and dfx ledger balance to support ICRC-1 standard

Extend dfx ledger transfer and dfx ledger balance to support ICRC-1 standard.

Dependencies

Motoko

Updated Motoko to 0.14.8

Replica

Updated replica to elected commit 579b8ba3a31341f354f4ddb3d60ac44548a91bc2.
This incorporates the following executed proposals:

0.26.1-beta.0

0.26.1-beta.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Apr 00:38
77b0f51

fix: clear state when switching from shared to project network

dfx would try to reuse canister ids when switching from a shared network to a project network,
which would cause errors since those canister ids wouldn't exist. dfx now deletes the .dfx
directory if it was previously used with the shared local network.

feat: Set canister ids using dfx canister set-id <canister name> <principal>

Added the counterpart to dfx canister id <canister name>. Networks can be targeted as usual using --network <network name> or the --ic shorthand for mainnet.

chore: use account_balance instead of the legacy account_balance_dfx

Use the account_balance rather than the legacy account_balance_dfx on the ICP ledger.

feat: Extend dfx ledger transfer and dfx ledger balance to support ICRC-1 standard

Extend dfx ledger transfer and dfx ledger balance to support ICRC-1 standard.

Dependencies

Motoko

Updated Motoko to 0.14.7

Replica

Updated replica to elected commit 579b8ba3a31341f354f4ddb3d60ac44548a91bc2.
This incorporates the following executed proposals:

0.26.0

Choose a tag to compare

@github-actions github-actions released this 07 Apr 23:35
6678bd3

feat!: dfx start uses --pocketic by default

As announced dfx start now runs PocketIC by default.
Running a local replica is still possible with --replica, but this option will be removed in the near future.

feat: dfx will now report telemetry by default

dfx will now record information about each dfx command executed, and periodically senda
this information to a DFINITY server, by default.

For more information or to comment, please see https://forum.dfinity.org/t/dfx-telemetry-proposal-2025/41569.

You can see what data dfx collects by inspecting the file at dfx info telemetry-log-path.

You can disable this entirely with dfx config telemetry off or configure it to only collect
locally with dfx config telemetry local.

feat: dfx info telemetry-log-path

Displays the path of the telemetry log file.

fix: Warning and error messages now correctly suggest dfx info security-policy when suboptimal security policies get used

chore: updated the canister creation fee to 500B cycles

Updated the canister creation fee to 500B cycles as documented.

chore: improve the dfx build output

Improve the ouput of dfx build with the canister names that were built, example as below.

$ dfx build
Building canister 'hello_backend'.
Building canister 'hello_frontend'.
Finished building canisters.

feat: Add dfx ledger approve and dfx ledger transfer-from subcommands

Implement dfx ledger approve and dfx ledger transfer-from subcommands that comply with the ICRC-2 standard.

feat: Add dfx ledger allowance subcommand

Implement dfx ledger allowance subcommand that complies with the ICRC-2 standard.

feat: Enable VetKD for use with --replica

  • Add VetKD types and methods to management canister IDL
  • The VetKD test key id Bls12_381_G2:dfx_test_key is now enabled when starting dfx with --replica.

fix: dfx will no longer try to use a nonexistent wallet after changing backend settings without --clean

After running dfx start with different options, dfx would try to use a wallet that was created
on a previous run, which would fail. Now, dfx will create a new wallet if the settings have changed.

Dependencies

Motoko

Updated Motoko to 0.14.4

Replica

Updated replica to elected commit f6f5e0927d14886e4bd67f776ee889f31cec2364.
This incorporates the following executed proposals:

0.26.0-beta.2

0.26.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Apr 19:24
1e7d68f

feat!: dfx start uses --pocketic by default

As announced dfx start now runs PocketIC by default.
Running a local replica is still possible with --replica, but this option will be removed in the near future.

feat: dfx will now report telemetry by default

dfx will now record information about each dfx command executed, and periodically send
this information to a DFINITY server, by default.

For more information or to comment, please see https://forum.dfinity.org/t/dfx-telemetry-proposal-2025/41569.

You can see what data dfx collects by inspecting the file at dfx info telemetry-log-path.

You can disable this entirely with dfx config telemetry off or configure it to only collect
locally with dfx config telemetry local.

feat: dfx info telemetry-log-path

Displays the path of the telemetry log file.

fix: Warning and error messages now correctly suggest dfx info security-policy when suboptimal security policies get used

chore: updated the canister creation fee to 500B cycles

Updated the canister creation fee to 500B cycles as documented.

chore: improve the dfx build output

Improve the ouput of dfx build with the canister names that were built, example as below.

$ dfx build
Building canister 'hello_backend'.
Building canister 'hello_frontend'.
Finished building canisters.

feat: Add dfx ledger approve and dfx ledger transfer-from subcommands

Implement dfx ledger approve and dfx ledger transfer-from subcommands that comply with the ICRC-2 standard.

feat: Add dfx ledger allowance subcommand

Implement dfx ledger allowance subcommand that complies with the ICRC-2 standard.

feat: Enable VetKD for use with --replica

  • Add VetKD types and methods to management canister IDL
  • The VetKD test key id Bls12_381_G2:dfx_test_key is now enabled when starting dfx with --replica.

fix: dfx will no longer try to use a nonexistent wallet after changing backend settings without --clean

After running dfx start with different options, dfx would try to use a wallet that was created
on a previous run, which would fail. Now, dfx will create a new wallet if the settings have changed.

Dependencies

Motoko

Updated Motoko to 0.14.4

Replica

Updated replica to elected commit f6f5e0927d14886e4bd67f776ee889f31cec2364.
This incorporates the following executed proposals:

0.26.0-beta.1

0.26.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Mar 23:12
55468f6

feat!: dfx start uses --pocketic by default

As announced dfx start now runs PocketIC by default.
Running a local replica is still possible with --replica, but this option will be removed in the near future.

feat: dfx will now report telemetry by default

dfx will now record information about each dfx command executed, and periodically send
this information to a DFINITY server, by default.

For more information or to comment, please see https://forum.dfinity.org/t/dfx-telemetry-proposal-2025/41569.

You can see what data dfx collects by inspecting the file at dfx info telemetry-log-path.

You can disable this entirely with dfx config telemetry off or configure it to only collect
locally with dfx config telemetry local.

feat: dfx info telemetry-log-path

Displays the path of the telemetry log file.

fix: Warning and error messages now correctly suggest dfx info security-policy when suboptimal security policies get used

chore: updated the canister creation fee to 500B cycles

Updated the canister creation fee to 500B cycles as documented.

chore: improve the dfx build output

Improve the ouput of dfx build with the canister names that were built, example as below.

$ dfx build
Building canister 'hello_backend'.
Building canister 'hello_frontend'.
Finished building canisters.

feat: Add dfx ledger approve and dfx ledger transfer-from subcommands

Implement dfx ledger approve and dfx ledger transfer-from subcommands that comply with the ICRC-2 standard.

feat: Add dfx ledger allowance subcommand

Implement dfx ledger allowance subcommand that complies with the ICRC-2 standard.

feat: Enable VetKD for use with --replica

  • Add VetKD types and methods to management canister IDL
  • The VetKD test key id Bls12_381_G2:dfx_test_key is now enabled when starting dfx with --replica.

Dependencies

Motoko

Updated Motoko to 0.14.4

Replica

Updated replica to elected commit f6f5e0927d14886e4bd67f776ee889f31cec2364.
This incorporates the following executed proposals:

0.26.0-beta.0

0.26.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Mar 19:12
39f9325

feat!: dfx start uses --pocketic by default

As announced dfx start now runs PocketIC by default.
Running a local replica is still possible with --replica, but this option will be removed in the near future.

feat: dfx will now report telemetry by default

dfx will now record information about each dfx command executed, and periodically send
this information to a DFINITY server, by default.

For more information or to comment, please see https://forum.dfinity.org/t/dfx-telemetry-proposal-2025/41569.

You can see what data dfx collects by inspecting the file at dfx info telemetry-log-path.

You can disable this entirely with dfx config telemetry off or configure it to only collect
locally with dfx config telemetry local.

feat: dfx info telemetry-log-path

Displays the path of the telemetry log file.

fix: Warning and error messages now correctly suggest dfx info security-policy when suboptimal security policies get used

chore: updated the canister creation fee to 500B cycles

Updated the canister creation fee to 500B cycles as documented.

chore: improve the dfx build output

Improve the ouput of dfx build with the canister names that were built, example as below.

$ dfx build
Building canister 'hello_backend'.
Building canister 'hello_frontend'.
Finished building canisters.

feat: Add dfx ledger approve and dfx ledger transfer-from subcommands

Implement dfx ledger approve and dfx ledger transfer-from subcommands that comply with the ICRC-2 standard.

feat: Add dfx ledger allowance subcommand

Implement dfx ledger allowance subcommand that complies with the ICRC-2 standard.

feat: Enable VetKD for use with --replica

  • Add VetKD types and methods to management canister IDL
  • The VetKD test key id Bls12_381_G2:dfx_test_key is now enabled when starting dfx with --replica.

Dependencies

Motoko

Updated Motoko to 0.14.4

Replica

Updated replica to elected commit f6f5e0927d14886e4bd67f776ee889f31cec2364.
This incorporates the following executed proposals:

0.25.1

Choose a tag to compare

@github-actions github-actions released this 21 Mar 00:44
1fbe153

feat: skip_cargo_audit flag in dfx.json to skip cargo audit build step

fix: dfx canister install and dfx deploy with --no-asset-upgrade no longer hang indefinitely when wasm is not up to date

fix: dfx downloads .did files for remote canisters

feat: streamlined output during asset synchronization

chore: hide dfx wallet redeem-faucet-coupon

docs: fixed description of dfx cycles balance

Dependencies

Motoko

Updated Motoko to 0.14.2

Frontend canister

  • Module hash: 865eb25df5a6d857147e078bb33c727797957247f7af2635846d65c5397b36a6
  • #4095

Replica

Updated replica to elected commit 2f02a660f6f17b5a78c13d9b372f74c8228f79b8.
This incorporates the following executed proposals:

0.25.1-beta.1

0.25.1-beta.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Mar 01:58
b323bf3
  • Updates to Motoko 0.14.2

  • Updated replica to non-elected commit ebb190bf1da0dba3e486b78c95cf5a3c5542e2f3. This includes X_OC_JWT and X_OC_API_KEY cors headers in PocketIC HTTP gateway (see dfinity/ic#4154).