Skip to content

Commit b70dfbc

Browse files
chore: bump Motoko to v1.10.0 (#300)
## Summary Automated bump of `.sources/motoko` from `v1.9.0` to `v1.10.0`. - Ran `npm run sync:motoko` — synced docs from the new release - Build passed ✓ ## Checklist - [ ] Review synced content for breaking changes - [ ] Check [release notes](https://github.com/caffeinelabs/motoko/releases/tag/1.10.0) for API or syntax changes that affect hand-written docs - [ ] Verify any new sections or renamed files are handled correctly ## Sync recommendation `sync from caffeinelabs/motoko doc/md` Co-authored-by: pr-automation-bot-public[bot] <pr-automation-bot-public[bot]@users.noreply.github.com>
1 parent cbdd3ba commit b70dfbc

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

.sources/VERSIONS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ chain-fusion-signer v0.4.0
5757
papi v0.1.1 168bc9d
5858
ic-pub-key v1.0.1 f89fa55
5959
icp-cli v1.0.0 9eed60c
60-
motoko v1.9.0 e7c78d7
60+
motoko v1.10.0 69de48c
6161
motoko-core v2.4.0 cd37dbf
6262
cdk-rs ic-cdk v0.20.1 / ic-cdk-timers v1.0.0 / ic-cdk-executor v2.0.0 317f55c
6363
candid 2025-12-18 # candid v0.10.20, didc v0.5.4 2e4a2cf

.sources/motoko

Submodule motoko updated 213 files

docs/languages/motoko/reference/changelog.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,28 @@ sidebar:
88

99
# Motoko compiler changelog
1010

11+
## 1.10.0 (2026-06-19)
12+
13+
* motoko (`moc`)
14+
15+
* feat: M0218 ("redundant `stable` keyword") now ships a machine-applicable edit, so `mops check --fix` removes the explicit `stable` keyword on fields of a `persistent actor` (#6175).
16+
17+
* feat: Permitting destructuring patterns against actor types: `let { foo } = a`, `func g({foo} : actor T) {}`, etc. (#6149).
18+
19+
* feat: `/// @deprecated M0235 <message>`: the caffeine deprecation warning (M0235) can now carry a free-text message, rendered as a `note:` sub-diagnostic at every use site. M0154 free-text deprecation messages now render the same way (#6153).
20+
21+
* perf: Multi-value Wasm codegen is now _on by default_, `--no-experimental-multi-value` flag disables (if not desired) (#6165).
22+
23+
* bugfix: M0237 (implicit argument can be omitted) only fires now when the suggested removal preserves the same type instantiation. Previously the edit could be rejected (M0098) (#6166).
24+
25+
* bugfix: M0236 dot-notation suggestion no longer fires for literal receivers: the `lit.f()` rewrite could misparse (`-1.1.isNaN()``-(1.1.isNaN())`), mis-lex (`0xff.abs` as a hex float), or fail to type-check when it lost a literal coercion (`Blob.isEmpty("\00")``"\00".isEmpty()`) (#6173).
26+
27+
* bugfix: M0236 dot-notation suggestion no longer fires when the receiver cannot be inferred or would infer to a different type causing the call to resolve to a different function (#6177).
28+
29+
* bugfix: Implicit argument derivation now resolves type variables that occur only in a covariant result position (e.g. JSON-style decoders `Text -> ?T`). Previously such a variable was solved to `None` (bottom), so the implicit had to be passed explicitly (#6186).
30+
31+
* bugfix: Diagnostic columns now count Unicode codepoints (matching editor displays and `rustc`), and JSON diagnostics gain `byte_start`/`byte_end` for encoding-independent edit anchors. Previously `mops check --fix` over-deleted on multi-byte lines (e.g. `Char.toNat32('京')` trimmed the trailing `)`) (#6168).
32+
1133
## 1.9.0 (2026-06-02)
1234

1335
* motoko (`moc`)

0 commit comments

Comments
 (0)