Skip to content

Releases: dfinity/sdk

0.16.1-cargodist.4

05 Feb 20:06
Compare
Choose a tag to compare
0.16.1-cargodist.4 Pre-release
Pre-release

Release Notes

feat: query stats support

When using dfx canister status, the output now includes the new query statistics. Those might initially be 0, if the feature is not yet enabled on the subnet the canister is installed in.

fix: Candid parser when parsing vec {number} with blob type

Fix the bug that when parsing vec {1;2;3} with blob type, dfx silently ignores the numbers.

fix: support import for local did file

If the local did file contains import or init args, dfx will rewrite the did file when storing in canister metadata.
Due to current limitations of the Candid parser, comments will be dropped during rewriting.
If the local did file doesn't contain import or init args, we will not perform the rewriting, thus preserving the comments.

fix: subtyping check reports the special opt rule as error

fix: can now run several dfx canister commands outside of a project

The following commands now work outside of a project:

  • dfx canister start <specific canister id>
  • dfx canister stop <specific canister id>
  • dfx canister deposit-cycles <amount> <specific canister id>
  • dfx canister uninstall-code <specific canister id>

Dependencies

Replica

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

Candid UI

Module hash: e5f049a97041217554c1849791c093c4103a6844625be3d6453df2e91abeed35

Fix the HTTP header for deploying in remote environments

Download dfx 0.16.1-cargodist.4

File Platform Checksum
dfx-x86_64-apple-darwin.tar.gz macOS Intel checksum
dfx-x86_64-pc-windows-msvc.zip Windows x64 checksum
dfx-x86_64-unknown-linux-gnu.tar.gz Linux x64 checksum

0.16.1

31 Jan 17:15
c25e0cd
Compare
Choose a tag to compare

feat: query stats support

When using dfx canister status, the output now includes the new query statistics. Those might initially be 0, if the feature is not yet enabled on the subnet the canister is installed in.

fix: Candid parser when parsing vec {number} with blob type

Fix the bug that when parsing vec {1;2;3} with blob type, dfx silently ignores the numbers.

fix: support import for local did file

If the local did file contains import or init args, dfx will rewrite the did file when storing in canister metadata.
Due to current limitations of the Candid parser, comments will be dropped during rewriting.
If the local did file doesn't contain import or init args, we will not perform the rewriting, thus preserving the comments.

fix: subtyping check reports the special opt rule as error

fix: can now run several dfx canister commands outside of a project

The following commands now work outside of a project:

  • dfx canister start <specific canister id>
  • dfx canister stop <specific canister id>
  • dfx canister deposit-cycles <amount> <specific canister id>
  • dfx canister uninstall-code <specific canister id>

Dependencies

Replica

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

Candid UI

Module hash: e5f049a97041217554c1849791c093c4103a6844625be3d6453df2e91abeed35

Fix the HTTP header for deploying in remote environments

0.16.1-beta.0

31 Jan 04:02
63d69c2
Compare
Choose a tag to compare
0.16.1-beta.0 Pre-release
Pre-release

feat: query stats support

When using dfx canister status, the output now includes the new query statistics. Those might initially be 0, if the feature is not yet enabled on the subnet the canister is installed in.

fix: Candid parser when parsing vec {number} with blob type

Fix the bug that when parsing vec {1;2;3} with blob type, dfx silently ignores the numbers.

fix: support import for local did file

If the local did file contains import or init args, dfx will rewrite the did file when storing in canister metadata.
Due to current limitations of the Candid parser, comments will be dropped during rewriting.
If the local did file doesn't contain import or init args, we will not perform the rewriting, thus preserving the comments.

fix: subtyping check reports the special opt rule as error

fix: can now run several dfx canister commands outside of a project

The following commands now work outside of a project:

  • dfx canister start <specific canister id>
  • dfx canister stop <specific canister id>
  • dfx canister deposit-cycles <amount> <specific canister id>
  • dfx canister uninstall-code <specific canister id>

Dependencies

Replica

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

Candid UI

Module hash: e5f049a97041217554c1849791c093c4103a6844625be3d6453df2e91abeed35

Fix the HTTP header for deploying in remote environments

0.16.0

24 Jan 20:46
b74a890
Compare
Choose a tag to compare

feat: large canister modules now supported

When using dfx deploy or dfx canister install, previously WASM modules larger than 2MiB would be rejected.
They are now automatically submitted via the chunking API if they are large enough.
From a user perspective the limitation will simply have been lifted.

feat: dfx deps: wasm_hash_url and loose the hash check

Providers can provide the hash through wasm_hash_url instead of hard coding the hash directly.

If the hash of downloaded wasm doesn’t match the provided hash (wasm_hash, wasm_hash_url or read from mainnet state tree), dfx deps won’t abort. Instead, it will print a warning message.

feat!: update dfx cycles commands with mainnet cycles-ledger canister ID

The dfx cycles command no longer needs nor accepts the --cycles-ledger-canister-id <canister id> parameter.

chore: removed the dfx start --emulator mode

This was deprecated in dfx 0.15.1.

chore: removed ic-ref from the binary cache

chore: updated dependencies for new rust projects

Updated to candid 0.10, ic-cdk 0.12, and ic-cdk-timers 0.6

fix: store playground canister acquisition timestamps with nanosecond precision on all platforms

They've always been stored with nanosecond precisions on Linux and Macos.
Now they are stored with nanosecond precision on Windows too.

fix: dfx canister delete, when using an HSM identity, no longer fails by trying to open two sessions to the HSM

Previously, this would fail with a PKCS#11: CKR_CRYPTOKI_ALREADY_INITIALIZED error.

Dependencies

Motoko

Updated Motoko to 0.10.4

Frontend canister

Module hash: 3c86d912ead6de7133b9f787df4ca9feee07bea8835d3ed594b47ee89e6cb730

Candid UI

Module hash: b91e3dd381aedb002633352f8ebad03b6eee330b7e30c3d15a5657e6f428d815

Fix the routing error when deploying to gitpod/github workspace.
Fix that Candid UI cannot be opened using localhost URL.

Replica

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

0.16.0-beta.0

22 Jan 23:33
53a3053
Compare
Choose a tag to compare
0.16.0-beta.0 Pre-release
Pre-release

feat: large canister modules now supported

When using dfx deploy or dfx canister install, previously WASM modules larger than 2MiB would be rejected.
They are now automatically submitted via the chunking API if they are large enough.
From a user perspective the limitation will simply have been lifted.

feat: dfx deps: wasm_hash_url and loose the hash check

Providers can provide the hash through wasm_hash_url instead of hard coding the hash directly.

If the hash of downloaded wasm doesn’t match the provided hash (wasm_hash, wasm_hash_url or read from mainnet state tree), dfx deps won’t abort. Instead, it will print a warning message.

feat!: update dfx cycles commands with mainnet cycles-ledger canister ID

The dfx cycles command no longer needs nor accepts the --cycles-ledger-canister-id <canister id> parameter.

chore: removed the dfx start --emulator mode

This was deprecated in dfx 0.15.1.

chore: removed ic-ref from the binary cache

chore: updated dependencies for new rust projects

Updated to candid 0.10, ic-cdk 0.12, and ic-cdk-timers 0.6

fix: store playground canister acquisition timestamps with nanosecond precision on all platforms

They've always been stored with nanosecond precisions on Linux and Macos.
Now they are stored with nanosecond precision on Windows too.

fix: dfx canister delete, when using an HSM identity, no longer fails by trying to open two sessions to the HSM

Previously, this would fail with a PKCS#11: CKR_CRYPTOKI_ALREADY_INITIALIZED error.

Dependencies

Motoko

Updated Motoko to 0.10.4

Frontend canister

Module hash: 3c86d912ead6de7133b9f787df4ca9feee07bea8835d3ed594b47ee89e6cb730

Candid UI

Module hash: b91e3dd381aedb002633352f8ebad03b6eee330b7e30c3d15a5657e6f428d815

Fix the routing error when deploying to gitpod/github workspace.
Fix that Candid UI cannot be opened using localhost URL.

Replica

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

0.15.3-largewasm.0

17 Jan 17:21
f5787ca
Compare
Choose a tag to compare
0.15.3-largewasm.0 Pre-release
Pre-release
Large wasm module support

0.15.3-windows.1

11 Jan 21:52
Compare
Choose a tag to compare
precise builds = true in order to not build ic-frontend-canister

0.15.3-windows.2

11 Jan 22:18
Compare
Choose a tag to compare
0.15.3-windows.2 Pre-release
Pre-release
chore: release 0.15.3-windows.2

0.15.3

05 Jan 19:44
5657a6e
Compare
Choose a tag to compare

fix: allow http://localhost:* as connect-src in the asset canister's CSP

This will enable browsing the asset canister at http://<canister-id>.localhost:<port> in most browsers.

fix: frontend code crashing when there is no canister ID

feat: dfx ledger top-up also accepts canister names

Previously, dfx ledger top-up only accepted canister principals. Now it accepts both principals and canister names.

fix: installer once again detects if curl supports tlsv1.2

A change to curl --help output made it so the install script did not detect
that the --proto and --tlsv1.2 options are available.

feat: Added support for icx-proxy --domain parameter

In order to access a local replica through a domain name or domain names,
it's necessary to pass the --domain parameter to icx-proxy. dfx now supports
this in configuration and as a parameter to dfx start. You can specify a single
domain or a list of domains in any of the following ways:

  • in networks.json, in .<network>.proxy.domain
  • in dfx.json, in .networks.<netowrk>.proxy.domain
  • in dfx.json, in .defaults.proxy.domain
  • to dfx start, as dfx start --domain <domain1> --domain <domain2> ...

Dependencies

Motoko

Updated Motoko to 0.10.3

Candid UI

  • Module hash: d172df265a14397a460b752ff07598380bc7ebd9c43ece1e82495ae478a88719c
  • Internet identity integration in Candid UI. Thanks to @samer!
    • You can customize the II url and derivationOrigin via URL parameter ii and origin respectively.
  • Update with the new profiling API

0.15.3-beta.1

21 Dec 23:23
86fcf75
Compare
Choose a tag to compare
0.15.3-beta.1 Pre-release
Pre-release

fix: allow http://localhost:* as connect-src in the asset canister's CSP

This will enable browsing the asset canister at http://<canister-id>.localhost:<port> in most browsers.

Dependencies

Motoko

Updated Motoko to 0.10.3