Repository navigation
v1.9.0
What's Changed
This minor release adds validation and formatting APIs: POST /validate syntax-checks label source without rendering (JSON report with detected language and the exact parse error) and POST /format pretty-prints it one command per line — both wired through the HTTP server, the Cloudflare Worker mirror, and new SDK surface (labelize::validate() / format_source(), wasm lz_validate / lz_format). The playground gains a live syntax badge, a Format button, and per-format demo labels that auto-load when you switch ZPL/EPL/TSPL. On the library side there's a new one-call render API — labelize::render_png / render_pdf with language detection and dimension fallback in a single call — plus an opt-in serde feature sharing one wire shape for Language/ValidationReport.
Two rendering fixes: TSPL DMATRIX no longer renders as a giant black slab (the x# module-size option was discarded and the symbol-area height leaked into the module scale; x# is now honored per the TSC TSPL manual, default 4 dots, verified scannable by decode round-trip), and ZPL lowercase single-letter parameters (^FWr, ^BCr, ^A0r, …) now match Zebra/Labelary case-insensitive behavior. Docs: the Rust library tutorial was rewritten around the front-door APIs, and the README now uses the icon-only logo.
- feat(api): POST /validate and /format endpoints with SDK support by @GOODBOY008 in #99
- feat(sdk): one-call render API + serde report types by @GOODBOY008 in #101
- feat(playground): auto-load per-format demos on format switch by @GOODBOY008 in #98
- fix(tspl): DMATRIX rendered a black slab — wire x# module size, stop leaking area height by @GOODBOY008 in #106
- fix(zpl): accept lowercase single-letter parameters (orientation, Y/N, justification, mode) by @GOODBOY008 in #105
- docs: rewrite Rust tutorial with validate/format and compile-verified snippets by @GOODBOY008 in #100
- docs(readme): use icon-only logo to avoid duplicated branding by @GOODBOY008 in #97
- chore(deps): bump rust from 1.99.0-bookworm to 1.99.1-bookworm by @dependabot[bot] in #102
- chore(deps): bump the cargo-minor-patch group with 2 updates by @dependabot[bot] in #103
Full Changelog: v1.8.1...v1.9.0