From f853a20d033227d1947c1d5631d5e72d86aba196 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 21 Apr 2026 15:27:29 +0000 Subject: [PATCH] chore: bump Motoko to v1.6.0 --- .sources/VERSIONS | 2 +- .sources/motoko | 2 +- docs/languages/motoko/reference/changelog.md | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.sources/VERSIONS b/.sources/VERSIONS index d5df1621..1dabdb7b 100644 --- a/.sources/VERSIONS +++ b/.sources/VERSIONS @@ -50,7 +50,7 @@ chain-fusion-signer v0.3.0 papi v0.1.1 168bc9d ic-pub-key v1.0.1 f89fa55 icp-cli v0.2.3 caeac37 -motoko v1.5.1 # tag 8e4c02d not in shallow clone 395ce0b +motoko v1.6.0 b818df6 motoko-core v2.4.0 cd37dbf cdk-rs ic-cdk v0.19.0 / ic-cdk-timers v1.0.0 / ic-cdk-executor v2.0.0 80d8234 candid 2025-12-18 # candid v0.10.20, didc v0.5.4 2e4a2cf diff --git a/.sources/motoko b/.sources/motoko index 395ce0be..b818df61 160000 --- a/.sources/motoko +++ b/.sources/motoko @@ -1 +1 @@ -Subproject commit 395ce0beb4f3e39026cc60243b41161980e85563 +Subproject commit b818df61897bd613683c38136a8226df97aaf176 diff --git a/docs/languages/motoko/reference/changelog.md b/docs/languages/motoko/reference/changelog.md index 5bbd8432..0b11b96a 100644 --- a/docs/languages/motoko/reference/changelog.md +++ b/docs/languages/motoko/reference/changelog.md @@ -22,6 +22,14 @@ $(dfx cache show)/moc --version # Motoko compiler changelog +## 1.6.0 (2026-04-21) + +* motoko (`moc`) + + * bugfix: Fix `moc.js` resolution of relative flag paths (e.g. `--enhanced-migration`, `--actor-idl`): resolve against the project root (via new `setProjectRoot` API) instead of the source file's directory, matching native `moc` behavior. The language server should call `setProjectRoot(path)` before processing files. + + * feat: expose caller attributes feature through prim (#5970) + ## 1.5.1 (2026-04-13) * motoko (`moc`)