Skip to content

v2.1.0

Latest

Choose a tag to compare

@sabitertan sabitertan released this 04 Aug 23:14
· 2 commits to main since this release
Package Version
BlazorBarcodeScanner.ZXing.JS 2.1.0
BlazorBarcodeScanner.ZXing.Cpp 1.1.0

Both bundled reader engines move to current upstream. No API changes — this is a drop-in upgrade from 2.0.0 / 1.0.0.

Bundled readers

Engine Was Now
zxing-js 0.19.2 (Jan 2023) 0.23.0 (Apr 2026)
zxing-cpp v2.1.0-114-g9a1a0879 (Nov 2023) v3.1.1 (Jul 2026)

New formats: MaxiCode and MicroQR on the zxing-js side; DX Film Edge, MicroPDF417, Telepen, rMQR and DataBar Limited on the zxing-cpp side.

Smaller WebAssembly payload

BlazorBarcodeScanner.ZXing.Cpp shipped the combined reader and writer zxing-cpp build, but the component only ever decodes. It now ships the reader-only build:

Before After
WebAssembly + glue 1,399,933 B 1,159,601 B

That is 240 KB less for every visitor to load — and the newer reader is smaller than the old one despite supporting more formats. The .wasm asset is now named zxing_reader.wasm; it is loaded by zxing-cpp.js automatically, so no host page changes are needed.

Notes

  • zxing-cpp v3 reports the format name as Code 39 rather than Code39. The component only tests whether a format was returned, so nothing changes for consumers unless you read format yourself.
  • Every format name accepted by the Formats parameter survives the v3 BarcodeFormat redesign unchanged.
  • MAINTENANCE.md now documents how to rebuild the WebAssembly reader from a zxing-cpp tag.

Full changelog: v2.0.0...v2.1.0