Repository navigation
Releases
Releases · 404-32/byc002
v0.1.0
MoonCompat v0.1.0
The first public release of MoonCompat provides a MoonBit-native public API compatibility gate for semver-aware package releases.
Install the library from Mooncakes:
moon add 404-32/mooncompat@0.1.0Highlights
- Parses interfaces generated by
moon info. - Detects removed and changed public declarations.
- Distinguishes compatible additions from breaking changes.
- Reports a conservative SemVer recommendation.
- Supports single- and multi-package comparisons.
- Emits deterministic text and JSON reports.
- Returns CI-friendly exit codes.
- Fails closed on unknown public
.mbtisyntax. - Normalizes member ordering, derive/explicit impl placement, and
Intaliases.
Verified
- 33 MoonBit library tests.
- CLI fixture tests for breaking, compatible, unchanged, JSON, snapshot, file output, and parse errors.
- Smoke tests against
moonbitlang/xandmoonbitlang/asyncreleases. - CI targets:
wasm,wasm-gc,js, andnative. - Published and documentation-built on Mooncakes.
Assets
mooncompat-wasm32-wasi.wasm: runnable withmoonrunor any WASI runtime.mooncompat-linux-x86_64: Linux native CLI.SHA256SUMS: artifact checksums.
Verify downloads from the directory containing all three assets:
sha256sum --check SHA256SUMSScope
MoonCompat checks source-level public interface compatibility. It does not verify ABI, runtime behavior, performance, or protocols.