Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developer Weekly Update: Feb 5 2025 #4763

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
f61fe5a
WIP: adjust the docs to best-effort responses
oggy-dfin Nov 29, 2024
5f89f7e
Adjust the safe retries doc
oggy-dfin Dec 3, 2024
44806de
Adjust security best practices
oggy-dfin Dec 5, 2024
410e042
Improve the terminology in the message execution properties doc
oggy-dfin Dec 6, 2024
2916a32
Revamp the overview doc for inter-canister calls
oggy-dfin Dec 6, 2024
0613d32
Fix some typos
oggy-dfin Dec 6, 2024
d344cd9
Some more improvements
oggy-dfin Dec 10, 2024
ddf5818
Apply suggestions from code review
oggy-dfin Dec 11, 2024
e213314
Address David's and Jessie's comments
oggy-dfin Dec 12, 2024
7d82156
Update docs/references/message-execution-properties.mdx
oggy-dfin Dec 12, 2024
d545ab8
Update docs/references/message-execution-properties.mdx
oggy-dfin Dec 12, 2024
0132c93
Update docs/references/message-execution-properties.mdx
oggy-dfin Dec 12, 2024
9eb0ce2
Update docs/references/message-execution-properties.mdx
oggy-dfin Dec 12, 2024
7f4f09b
Update docs/references/message-execution-properties.mdx
oggy-dfin Dec 12, 2024
d626bb4
Address Alin's comments (WIP)
oggy-dfin Dec 12, 2024
7da5a43
Address Alin's comments
oggy-dfin Dec 12, 2024
dacf8bc
Minor improvements
oggy-dfin Dec 12, 2024
7a4f424
Update docs/developer-docs/smart-contracts/advanced-features/async-co…
oggy-dfin Dec 13, 2024
2cd1f77
Andy's comments
oggy-dfin Dec 23, 2024
bf6cb13
Merge branch 'master' into oggy/best-effort-responses
oggy-dfin Dec 23, 2024
2ad10b6
Improve the messaging properties doc a bit
oggy-dfin Dec 23, 2024
f7f7e1a
Alin's comment on users vs applications
oggy-dfin Dec 23, 2024
6b0944d
Improve description of asynchronous calls
oggy-dfin Jan 28, 2025
922e0c2
Merge branch 'master' into oggy/best-effort-responses
oggy-dfin Jan 29, 2025
9f30199
Merge branch 'master' into oggy/best-effort-responses
oggy-dfin Jan 31, 2025
d6ef0c0
Revamp the docs on inter-canister calls in Rust
oggy-dfin Jan 31, 2025
2f1fc25
Polish the Rust inter-canister calls page a bit
oggy-dfin Jan 31, 2025
c2f1c98
Merge branch 'master' of github.com:dfinity/portal
jessiemongeon1 Feb 5, 2025
d8279c7
Dev Weekly Update feb 5
jessiemongeon1 Feb 5, 2025
e47a8bc
revert
jessiemongeon1 Feb 5, 2025
a49a925
Update inter-canister-calls.mdx
jessiemongeon1 Feb 5, 2025
3db5313
revert
jessiemongeon1 Feb 5, 2025
ea70d96
revert
jessiemongeon1 Feb 5, 2025
9d5e7c1
revert
jessiemongeon1 Feb 5, 2025
3812d9f
Update intercanister.mdx
jessiemongeon1 Feb 5, 2025
5688083
revert
jessiemongeon1 Feb 5, 2025
d86c510
revert
jessiemongeon1 Feb 5, 2025
9bbe9e5
revert
jessiemongeon1 Feb 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions blog/news-and-updates/2025-02-05-update.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---

title: Developer weekly update February 5, 2025

description: This week, there is a pre-release of Motoko v0.14.0, a new beta release of dfx, and proposals for SNS updates.

tags: [Devs]

image: /img/blog/dev-update-blog-feb-5.jpg

---

# Developer weekly update February 5, 2025

![February 5, 2025](../../static/img/blog/dev-update-blog-feb-5.jpg)

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](https://play.motoko.org/)!

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](https://forum.dfinity.org/t/pre-release-moc-0-14-0-available-in-playground/40857) and [full release notes](https://github.com/dfinity/motoko/releases) 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` and `dfx 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 in `ProposeCommitBatch`.
- All commands with `--all` parameter skip remote canisters.

[Read the full release notes](https://github.com/dfinity/sdk/releases/tag/0.25.0-beta.1).

## Proposals for SNS changes

Two new proposals have been submitted for SNS updates. These proposals are [135067](https://dashboard.internetcomputer.org/proposal/135067) and [135066](https://dashboard.internetcomputer.org/proposal/135066). These proposals include:

- Enable SNSes to opt in for [automatically advancing its target version](https://forum.dfinity.org/t/proposal-opt-in-mechanism-for-automatic-sns-target-version-advancement/39874)
to the newest version blessed by the NNS.

- Do not redact chunked Wasm data in `ProposalInfo`.

- The `LogVisibility` returned from `canister_status` has one more variant `allowed_viewers`, consistent with the corresponding management canister API.

[Learn more on the forum](https://forum.dfinity.org/t/sns-updates-2025-02-01/40743).

That'll wrap up this week. Tune back in next week for more developer updates!

-DFINITY
2 changes: 1 addition & 1 deletion docs/references/message-execution-properties.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ For example, if a trap in the second message (blue box) of the above example occ

Every inter-canister call is guaranteed to receive a response, either from the canister, or synthetically produced by the protocol. However, a malicious destination canister could choose to delay the response for arbitrarily long if it is willing to put in the required cycles. Also, the response does not have to be successful, but can also be a reject response. The reject may come from the called canister, but it may also be generated by ICP. Such protocol-generated rejects can occur at any time before the call reaches the callee-canister, as well as once the call does reach the callee-canister if the callee-canister traps while processing the call. If the call reaches the callee-canister, the callee-canister can produce a reply or reject response and the protocol guarantees that the callee-canister's generated reply or reject response gets back to the caller-canister. Thus, it's important that the calling canister handles reject responses as well. A reject response means that the message hasn't been successfully processed by the receiver but doesn't guarantee that the receiver's state wasn't changed.

For more details, refer to the Interface Specification [section on ordering guarantees](/docs/current/references/ic-interface-spec#ordering_guarantees) and the section on [abstract behavior](/docs/current/references/ic-interface-spec#abstract-behavior) which defines message execution in more detail.
For more details, refer to the Interface Specification [section on ordering guarantees](/docs/current/references/ic-interface-spec#ordering_guarantees) and the section on [abstract behavior](/docs/current/references/ic-interface-spec#abstract-behavior) which defines message execution in more detail.
Binary file added static/img/blog/dev-update-blog-feb-5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion submodules/motoko
Submodule motoko updated 281 files
Loading