Developer weekly update February 5, 2025
Hello developers, and welcome to this week's developer weekly update! This week, there is a pre-release of Motoko v0.14.0
, a new beta release of dfx
, and new proposals for SNS updates. Let's get started!
Motoko v0.14.0
A new Motoko version has been pre-released and is available for testing on the Motoko playground!
This new version includes:
- Add
.values()
as an alias to.vals()
for Arrays and Blobs. - Support explicit, safe migration of persistent data allowing arbitrary transformations on a selected subset of stable variables.
- Additional static checks warn against possible data loss.
View the forum post and full release notes for more details.
dfx v0.25.0-beta.1
A new release of dfx
is ready for beta testing! This release is jam-packed with new features and bug fixes. A small sample of new features includes:
- Streamlined output for asset synchronization.
dfx info pocketic-config-port
.- Streamlined output for
dfx new
. - Impersonating sender of requests to a local PocketIC instance.
dfx canister [create|update-settings] --wasm-memory-threshold
.dfx start --pocketic
supports--force
and shared networks.- Error when using insecure identity on the mainnet.
Some of the bug fixes include:
dfx canister install
anddfx deploy with --no-asset-upgrade
no longer hang indefinitely when Wasm is not up to date.- Correctly detects hyphenated Rust bin crates.
dfx
downloads.did
files for remote canisters.- Template frontends now have unsupported browser warnings, specifically for default security headers that cause Safari to break when viewing local canisters.
dfx deploy --by-proposal
no longer sends chunk data inProposeCommitBatch
.- All commands with
--all
parameter skip remote canisters.
Proposals for SNS changes
Two new proposals have been submitted for SNS updates. These proposals are 135067 and 135066. These proposals include:
Enable SNSes to opt in for automatically advancing its target version to the newest version blessed by the NNS.
Do not redact chunked Wasm data in
ProposalInfo
.The
LogVisibility
returned fromcanister_status
has one more variantallowed_viewers
, consistent with the corresponding management canister API.
That'll wrap up this week. Tune back in next week for more developer updates!
-DFINITY