From 770a0baacdcf9b0a59fa151aa92905bbf0d9ddef Mon Sep 17 00:00:00 2001 From: Claudio Russo Date: Thu, 8 Jul 2021 11:09:49 +0100 Subject: [PATCH 1/5] update changelog --- Changelog.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Changelog.md b/Changelog.md index 8b4360bff4c..68a52539942 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,24 @@ # Motoko compiler changelog +== 0.6.5 (2021-07-08) + +* Add alternative, _compacting_ gc, enabled with new moc flag `--compacting-gc`. + The compacting gc supports larger heap sizes than the default, 2-space copying collector. + + NOTE: Dfx 0.7.6 adds optional field `"args"` to `dfx.json` files, + so Motoko canisters can specify `moc` command-line arguments. E.g., + + ```json + ... + "type" : "motoko" + ... + "args" : "--compacting-gc" + ... + ``` + +* Documentation fixes. +* Command line tools: `--help` option provides better documentation of command line + options that have arguments * Fix issue #2319 (crash on import of Candid class) == 0.6.4 (2021-06-12) From 2c486273d46a78a40e8388f4593e48b19b2b2f79 Mon Sep 17 00:00:00 2001 From: Claudio Russo Date: Thu, 8 Jul 2021 11:11:40 +0100 Subject: [PATCH 2/5] Releasing 0.6.5 --- Changelog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index 68a52539942..1c0a6e9394b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -18,8 +18,8 @@ * Documentation fixes. * Command line tools: `--help` option provides better documentation of command line - options that have arguments -* Fix issue #2319 (crash on import of Candid class) + options that have arguments. +* Fix issue #2319 (crash on import of Candid class). == 0.6.4 (2021-06-12) From ab0833ccbb6120d81211297afac635249f854315 Mon Sep 17 00:00:00 2001 From: Claudio Russo Date: Thu, 8 Jul 2021 11:17:33 +0100 Subject: [PATCH 3/5] update version in Building.md --- Building.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Building.md b/Building.md index 6f2c8706375..d3e10c997e0 100644 --- a/Building.md +++ b/Building.md @@ -66,11 +66,11 @@ For more details on our CI and CI setup, see `CI.md`. ## Making releases -We make frequent releases, at least weekly. The steps to make a release (say, version 0.4.2) are: +We make frequent releases, at least weekly. The steps to make a release (say, version 0.6.6) are: * Make sure that the top section of `Changelog.md` has a title like - == 0.4.2 (2020-04-01) + == 0.6.6 (2020-04-01) with today’s date. @@ -78,13 +78,13 @@ We make frequent releases, at least weekly. The steps to make a release (say, ve that everything relevant is mentioned in the changelog section, and possibly clean it up a bit, curating the information for the target audience. - * `git commit -a -m "Releasing 0.4.2"` + * `git commit -a -m "Releasing 0.6.6"` * Create a PR from this commit, and label it `automerge-squash`. Mergify will merge it into master without additional approval, within 2 or 3 minutes. * `git switch master; git pull`. The release commit should be your `HEAD` - * `git tag 0.4.2 -m "Motoko 0.4.2"` - * `git branch -f release 0.4.2` - * `git push origin release 0.4.2` + * `git tag 0.6.6 -m "Motoko 0.6.6"` + * `git branch -f release 0.6.6` + * `git push origin release 0.6.6` The `release` branch should thus always reference the latest release commit. @@ -100,10 +100,10 @@ branch to the `next-moc` branch. * Wait ca. 5min after releasing to give the CI/CD pipeline time to upload the release artifacts * Change into `motoko-base` * `git switch next-moc; git pull` -* `git switch -c username/update-moc-0.4.2` +* `git switch -c username/update-moc-0.6.6` * Update the `moc_version` env variable in `.github/workflows/ci.yml` and `.github/workflows/package-set.yml` to the new released version -* `git add .github/ && git commit -m "Motoko 0.4.2"` +* `git add .github/ && git commit -m "Motoko 0.6.6"` Make a PR off of that branch and merge it using a _normal merge_ (not squash merge) once CI passes From 0cd75e700f5a197150151b272a2d9af164284b8a Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Thu, 8 Jul 2021 12:19:41 +0200 Subject: [PATCH 4/5] Update Building.md --- Building.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Building.md b/Building.md index d3e10c997e0..63748ee1701 100644 --- a/Building.md +++ b/Building.md @@ -70,7 +70,7 @@ We make frequent releases, at least weekly. The steps to make a release (say, ve * Make sure that the top section of `Changelog.md` has a title like - == 0.6.6 (2020-04-01) + == 0.6.6 (2021-08-01) with today’s date. From 10becbdf613b7bb20ab66fe7c911ee180ed5f463 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Thu, 8 Jul 2021 12:20:18 +0200 Subject: [PATCH 5/5] Update Building.md --- Building.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Building.md b/Building.md index 63748ee1701..d78bc9aa51c 100644 --- a/Building.md +++ b/Building.md @@ -74,7 +74,7 @@ We make frequent releases, at least weekly. The steps to make a release (say, ve with today’s date. - * Look at `git log --first-parent 0.4.1..HEAD` and check + * Look at `git log --first-parent 0.6.5..HEAD` and check that everything relevant is mentioned in the changelog section, and possibly clean it up a bit, curating the information for the target audience.