Skip to content

Commit

Permalink
Merge pull request #2272 from dfinity/claudio/moc-0.10.2
Browse files Browse the repository at this point in the history
chore: update motoko doc to 0.10.2, matching dfx 0.15.2
  • Loading branch information
jessiemongeon1 authored Dec 11, 2023
2 parents def9f88 + b9d6eff commit f75a11b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/motoko/version.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Motoko Version

The release of Motoko documented here, currently 0.9.3, may be a few versions ahead of the Motoko compiler that is shipped with dfx.
The release of Motoko documented here, currently 0.10.2, may be a few versions ahead of the Motoko compiler that is shipped with dfx.

You can, however, instruct `dfx` to use a newer version of Motoko than the one it shipped with.

Expand Down
2 changes: 2 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,7 @@ const sidebars = {
"motoko/main/pattern-matching",
"motoko/main/sharing",
"motoko/main/stablememory",
"motoko/main/stable-regions",
"motoko/main/structural-equality",
"motoko/main/timers",
"motoko/main/upgrades",
Expand Down Expand Up @@ -994,6 +995,7 @@ const sidebars = {
"motoko/main/base/Principal",
"motoko/main/base/Random",
"motoko/main/base/RBTree",
"motoko/main/base/Region",
"motoko/main/base/Result",
"motoko/main/base/Stack",
"motoko/main/base/Text",
Expand Down
2 changes: 1 addition & 1 deletion static/load_moc.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";

const MOC_VERSION = "0.9.3";
const MOC_VERSION = "0.10.2";

async function addPackage(name, repo, version, dir) {
const meta_url = `https://data.jsdelivr.com/v1/package/gh/${repo}@${version}/flat`;
Expand Down
1 change: 1 addition & 0 deletions static/moc-interpreter-0.10.2.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion static/moc-interpreter-0.9.3.js

This file was deleted.

2 changes: 1 addition & 1 deletion submodules/motoko
Submodule motoko updated 72 files
+34 −3 Changelog.md
+3 −3 nix/sources.json
+263 −141 src/codegen/compile.ml
+2 −1 src/exes/candid_tests.ml
+4 −1 src/ir_interpreter/interpret_ir.ml
+1 −0 src/lang_utils/error_codes.ml
+8 −2 src/linking/linkModule.ml
+1 −1 src/mo_frontend/coverage.ml
+5 −1 src/mo_interpreter/interpret.ml
+5 −0 src/pipeline/pipeline.ml
+10 −3 src/pipeline/resolve_import.ml
+6 −1 src/prelude/prim.mo
+13 −1 src/wasm-exts/ast.ml
+1 −0 src/wasm-exts/customModule.ml
+10 −1 src/wasm-exts/customModuleDecode.ml
+14 −0 src/wasm-exts/customModuleEncode.ml
+2 −2 test/bench/ok/heap-32.drun-run-opt.ok
+2 −2 test/bench/ok/heap-32.drun-run.ok
+1 −0 test/check-error-codes.py
+1 −1 test/random/Embedder.hs
+5 −0 test/run-drun/bad-actor-import.mo
+3 −0 test/run-drun/bad-actor-import/yvtf6-waaae-bagba-faydq-qcikb-mga2d-qpcai-reeyu-culbo-gazdi-nryhi.did
+1 −0 test/run-drun/ok/bad-actor-import.tc.ok
+1 −0 test/run-drun/ok/bad-actor-import.tc.ret.ok
+12 −0 test/run-drun/ok/region-test.drun-run.ok
+12 −0 test/run-drun/ok/region-test.tc.ok
+0 −4 test/run-drun/ok/region0-big-blob.drun-run.ok
+0 −4 test/run-drun/ok/region0-big-blob.tc.ok
+0 −4 test/run-drun/ok/stable-mem-big-blob.drun-run.ok
+0 −4 test/run-drun/ok/stable-mem-big-blob.tc.ok
+12 −0 test/run-drun/ok/stable-memory-test.drun-run.ok
+8 −0 test/run-drun/ok/stable-memory-test.tc.ok
+216 −0 test/run-drun/region-test.mo
+0 −25 test/run-drun/region0-big-blob.mo
+0 −27 test/run-drun/stable-mem-big-blob.mo
+1 −1 test/run-drun/stable-mem/StableMemory.mo
+214 −0 test/run-drun/stable-memory-test.mo
+4 −4 test/run.sh
+8 −0 test/run/bad-principal-from-blob.mo
+7 −0 test/run/bad-principal-from-text.mo
+1 −0 test/run/ok/bad-principal-from-blob.run-ir.ok
+1 −0 test/run/ok/bad-principal-from-blob.run-low.ok
+1 −0 test/run/ok/bad-principal-from-blob.run.ok
+1 −0 test/run/ok/bad-principal-from-blob.run.ret.ok
+10 −0 test/run/ok/bad-principal-from-blob.wasm-run.ok
+1 −0 test/run/ok/bad-principal-from-blob.wasm-run.ret.ok
+1 −0 test/run/ok/bad-principal-from-text.run-ir.ok
+1 −0 test/run/ok/bad-principal-from-text.run-low.ok
+1 −0 test/run/ok/bad-principal-from-text.run.ok
+1 −0 test/run/ok/bad-principal-from-text.run.ret.ok
+9 −0 test/run/ok/bad-principal-from-text.wasm-run.ok
+1 −0 test/run/ok/bad-principal-from-text.wasm-run.ret.ok
+12 −0 test/run/ok/region-test.tc.ok
+10 −0 test/run/ok/region-test.wasm-run.ok
+4 −0 test/run/ok/region0-big-blob.tc.ok
+2 −0 test/run/ok/region0-big-blob.wasm-run.ok
+50 −0 test/run/ok/stable-log.wasm-run.ok
+4 −0 test/run/ok/stable-mem-big-blob.tc.ok
+2 −0 test/run/ok/stable-mem-big-blob.wasm-run.ok
+8 −0 test/run/ok/stable-memory-test.tc.ok
+10 −0 test/run/ok/stable-memory-test.wasm-run.ok
+32 −0 test/run/ok/stable-memory.tc.ok
+9 −0 test/run/ok/stable-memory.wasm-run.ok
+214 −0 test/run/region-test.mo
+22 −0 test/run/region0-big-blob.mo
+77 −0 test/run/stable-log.mo
+23 −0 test/run/stable-mem-big-blob.mo
+38 −0 test/run/stable-mem/StableMemory.mo
+212 −0 test/run/stable-memory-test.mo
+30 −0 test/run/stable-memory.mo
+41 −0 test/run/stable-region/Region.mo
+1 −1 wasm-profiler/src/instrumentation.rs

0 comments on commit f75a11b

Please sign in to comment.