Skip to content

Commit

Permalink
chore: bump moc to 0.10.0 (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif authored Sep 11, 2023
2 parents 452b7db + 9d40ed3 commit a15ca7c
Show file tree
Hide file tree
Showing 5 changed files with 386 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
# Remember to update me in package-set.yml as well
env:
vessel_version: "v0.7.0"
moc_version: "0.9.8"
moc_version: "0.10.0"

jobs:
tests:
Expand All @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- run: npm ci
- name: "initial checks"
run: npm run validate
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-set.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
vessel_version: "v0.7.0"
moc_version: "0.9.8"
moc_version: "0.10.0"

jobs:
verify:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-22.04]
node: [16]
node: [18]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
Expand Down
7 changes: 6 additions & 1 deletion src/ExperimentalStableMemory.mo
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
/// and may be replaced by safer alternatives in later versions of Motoko.
/// Use at your own risk and discretion.
///
/// **DEPRECATION**: Use of `ExperimentalStableMemory` library may be deprecated in future.
/// Going forward, users should consider using library `Region.mo` to allocate *isolated* regions of memory instead.
/// Using dedicated regions for different user applications ensures that writing
/// to one region will not affect the state of another, unrelated region.
///
/// This is a lightweight abstraction over IC _stable memory_ and supports persisting
/// raw binary data across Motoko upgrades.
/// Use of this module is fully compatible with Motoko's use of
Expand All @@ -29,7 +34,7 @@
/// page size reported by Motoko function `size()`.
/// This (and the cap on growth) are to accommodate Motoko's stable variables.
/// Applications that plan to use Motoko stable variables sparingly or not at all can
/// increase `--max-stable-pages` as desired, approaching the IC maximum (initially 8GiB, then 32Gib, currently 48Gib).
/// increase `--max-stable-pages` as desired, approaching the IC maximum (initially 8GiB, then 32Gib, currently 64Gib).
/// All applications should reserve at least one page for stable variable data, even when no stable variables are used.
///
/// Usage:
Expand Down
Loading

0 comments on commit a15ca7c

Please sign in to comment.