Skip to content

Maintenance: moc 2.0.0, bump dependencies, release 8.0.2 - #3

Merged
Gekctek merged 6 commits into
edjCase:mainfrom
research-ag:maintenance
Oct 23, 2026
Merged

Gekctek merged 6 commits into
edjCase:mainfrom
research-ag:maintenance

Conversation

@timohanke

Copy link
Copy Markdown

Maintenance release 8.0.2. No API changes.

moc toolchain 1.7.0 → 2.0.0
Added [requirements] moc = "1.4.0": lowest version where all tests pass (1.0.0–1.3.0 fail in core's Principal module)
pocket-ic 9.0.3 → 15.0.0 (9.0.3 no longer works with mops CLI 3.5.1 for mops bench)
sha2 0.1.14 → 0.3.0, core 2.5.0 → 2.6.2
[optimize] section (wasm-opt 133, -O3) so mops bench measures optimized wasm (~1–2% fewer instructions)
dev: test 2.1.1 → 2.1.2, bench-helper 0.0.3 → 0.0.4
Fixed all compiler warnings in src, test and bench (.vals() → .values(), dot notation suggested by moc 2.0.0)
Version 8.0.2 and CHANGELOG entry
Note: version on main still said 8.0.0, but 8.0.1 was published to mops.one from the squash merge research-ag@b8f7547 (identical src/), so this release is 8.0.2.

Verified on moc 2.0.0: zero warnings for src/test/bench, 55/55 tests pass, benchmarks unchanged (incremental GC, enhanced persistence), mops publish --dry-run OK.

Caveat: mops check still reports type errors inside base@0.16.0/ExperimentalStableMemory.mo (pulled in transitively via buffer@0.1.0). That module is not imported anywhere, so compilation, tests and benches are unaffected.

🤖 Generated with Claude Code

Summary by CodeRabbit
Release

Updated the package to version 8.0.2.
Added compatibility requirements for the current Motoko toolchain.
Compatibility

Updated byte and text processing to use current Motoko iteration APIs.
Maintained existing key handling, signing, verification, serialization, encoding, and error behavior.
Maintenance

Updated benchmarks and tests for current APIs.
Addressed compiler warnings and documented the release changes.

timohanke and others added 6 commits October 20, 2026 08:30
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- moc 1.16.1 (latest before 2.0.0), pocket-ic 15.0.0
- sha2 0.3.0, core 2.6.2, test 2.1.2, bench-helper 0.0.4
- Replace deprecated .vals() with .values()
- Set version to 8.0.2 and add changelog entry

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use dot notation where moc 2.0.0 suggests it (M0236).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
core 2.6.2 requires moc 1.6.0; with moc 1.0.0 the library type-checks
but core's Principal module fails in tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All tests pass with moc 1.4.0; 1.3.0 fails in core's Principal module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@timohanke

Copy link
Copy Markdown
Author

@edjCase please consider this for release. It will establish new baseline benchmark numbers for the current toolchain, GC, and 64-bit heap.

I will follow up with performance improvements that can then be measured against this baseline.

@Gekctek
Gekctek merged commit 796815b into edjCase:main Oct 23, 2026
2 checks passed
@Gekctek

Gekctek commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator
image Published

Let me know if you want admin rights to this repo/the mops package since you have put so much work into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants