Repository navigation
Maintenance: moc 2.0.0, bump dependencies, release 8.0.2 - #3
Merged
Merged
Conversation
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>
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. |
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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.