This repository was archived by the owner on Nov 22, 2026. It is now read-only.
Repository navigation
Releases
Releases · amarbaro/mojo-msgpack
mojo-msgpack v0.1.1
mojo-msgpack v0.1.1
Released: 2026-11-08 · Commit: 15c2370 · Previous: v0.1.0
What it does
MessagePack for Mojo 1.2: an Encoder byte-identical to Python msgpack.packb(use_bin_type=True), and
parse(data) into a flat preorder node table (Doc) that raises on any malformed input.
Highlights
- Packaging only: the conda recipe pins
mojo-compilerto the minor the package was built with (<1.3.0a0), so it cannot be installed on a Mojo it does not load on.
Changes
Changed
recipe.yaml:mojo-compilerrun dependency pinned to the build's minor (<1.3.0a0).
Verified
| Check | Result |
|---|---|
pkg-conda dry run on the version commit (H1-H3,H6) |
PASS: mojo-msgpack-0.1.1-hb0f4dca_0.conda |
Known limits
- Packages are built on one Mojo minor only; see the package protocol.
Upgrade / run
None: no API change.
Commits
15c2370build: bump version to 0.1.1b5730c1build: recipe pins mojo-compiler to the build's minor4be3d51chore(license): fill Apache-2.0 copyright notice
mojo-msgpack v0.1.0
mojo-msgpack v0.1.0
Released: 2026-11-04 · Commit: 0ab9971 · Previous: first release
What it does
MessagePack for Mojo 1.2: an Encoder byte-identical to Python msgpack.packb(use_bin_type=True), and
parse(data) into a flat preorder node table (Doc) that raises on any malformed input.
Highlights
- Encode 5 to 6 ms vs Python msgpack (C ext) 33 to 34 ms on 100,000 records (4.86 MB); decode x5 110 to 119 ms vs 308 to 320 ms; peak RSS 81 MB vs 139 MB.
- Every malformed input raises with the byte named: truncation, overrunning lengths (nothing allocated), invalid UTF-8,
0xc1, trailing bytes, nesting past 1024.
Changes
First release, no earlier version.
Verified
| Check | Result |
|---|---|
scripts/ci.sh (check.sh): encode of 2503 trees and decode of 9475 byte strings identical to tools/oracle.py, API errors, doc examples |
PASS all |
scripts/selfcheck.sh: 6 mutants (boundary, depth, UTF-8, trailing bytes, timestamp form, length) |
PASS selfcheck |
Known limits
- Not covered by the oracle: extension codes below -1 (one checked in
tests/api.mojo) and lengths above 2^32-1 on encode. - Mojo 1.2 only.
Upgrade / run
mojo run -I src app.mojo
Commits
0ab9971ci: badge row and checks badge1270d63docs(skills): add mojo-msgpack skill431ddf3test: property smoke step, encode then parse round trip70bfb3cbuild: conda recipe9e7a7cddocs: one example, one install blockff4a62adocs: install and quickstart block6c48077docs: api, design and perf pages with a compiled doc example40a953fdocs: README, changelog, packaging and CI6b6b22atest: oracle gate, mutant selfcheck and bench against Python msgpack3fad432feat: MessagePack encoder and zero-copy parser in pure Mojo