Skip to content

Commit

Permalink
update to moc-0.14.0 (#4759)
Browse files Browse the repository at this point in the history
* update to moc-0.14.0

* update MAINTENANCE.md

* Update MAINTENANCE.md

* Update MAINTENANCE.md

Co-authored-by: Jessie Mongeon <[email protected]>

---------

Co-authored-by: Jessie Mongeon <[email protected]>
  • Loading branch information
crusso and jessiemongeon1 authored Feb 5, 2025
1 parent c4dcb03 commit 88a966e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions MAINTENANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
cd portal/
git submodule update --init # if necessary
cd submodules/motoko
git checkout 0.7.6 #or whatever new tag you desire
git checkout 0.14.1 #or whatever new tag you desire
cd ../..
git add submodules/motoko # add the change to the submodule
```
Now replace `static/moc-interpreter-0.13.6.js` with `static/moc_interpreter-0.13.7.js`, downloaded from Motoko release page. It would be better if this wasn't checked in, but, for now, it is.
Replace `static/moc-interpreter-0.14.0.js` with `static/moc_interpreter-0.14.1.js` downloaded from the Motoko release page.

Edit `static/load_moc.ts` to use the correct version of the interpreter and base libs.

Expand Down
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.13.7, may be a few versions
The release of Motoko documented here, currently 0.14.0, 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
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.13.7";
const MOC_VERSION = "0.14.0";

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.14.0.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion submodules/motoko
Submodule motoko updated 279 files

0 comments on commit 88a966e

Please sign in to comment.