---
title: "@zxing/library 0.23.0 Breaking Changes on npm | Since.dev"
description: "What each @zxing/library release removed, renamed or changed: 14 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@zxing/library
last_updated: 2026-12-04
---

# @zxing/library breaking changes

@zxing/library 0.23.0 (April 29, 2026) is its newest release with breaking changes, 4 of them. The first: Behavior changed BrowserCodeReader. Every breaking API change we have recorded in @zxing/library on npm: 14 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.23.0`, released April 29, 2026. [Source repository](https://github.com/zxing-js/library)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.21.0](#v-0-21-0) to [0.23.0](#v-0-23-0): 10 breaking changes in 2 versions.

## @zxing/library 0.23.0 breaking changes

@zxing/library 0.23.0, released April 29, 2026: 4 breaking changes.

- **Behavior changed** `BrowserCodeReader`  

Unexpected errors in the continuous scan loop now produce a console.error message instead of stopping the loop silently. Code that relies on the silent stop or on console output may notice the difference. [github.com](https://github.com/zxing-js/library/releases/tag/v0.23.0)
- **Behavior changed** `MultiFormatReader`  

Errors other than ReaderException thrown during decode attempts are now written to the log rather than dropped silently. Code that depends on silent failure or on console output may notice the difference. [github.com](https://github.com/zxing-js/library/releases/tag/v0.23.0)
- **Behavior changed** `OneDReader`  

OneDReader now samples 25 lines by default instead of 15, so scan results for some images can differ from before. [github.com](https://github.com/zxing-js/library/releases/tag/v0.23.0)
- **Signature changed** `HTMLCanvasElementLuminanceSource.constructor`  

Was constructor(canvas: HTMLCanvasElement, doAutoInvert?: boolean); now constructor(canvas: HTMLCanvasElement, doAutoInvert?: boolean, reuseBuffer?: Uint8ClampedArray). [npmjs.com](https://www.npmjs.com/package/@zxing/library/v/0.23.0)

## @zxing/library 0.22.0 breaking changes

@zxing/library 0.22.0, released April 27, 2026: 6 breaking changes.

- **Removed**  

The package now requires Node.js 24.0.0 or later. Users on older Node.js versions must upgrade before using this release. [github.com](https://github.com/zxing-js/library/releases/tag/v0.22.0)
- **Removed** `RSSExpandedReader.isEmptyPair`  

RSSExpandedReader.isEmptyPair was removed in @zxing/library 0.22.0 [npmjs.com](https://www.npmjs.com/package/@zxing/library/v/0.22.0)
- **Behavior changed** `RSS14Reader`  

Errors other than NotFoundException are no longer silently ignored by RSS14Reader, so code that relied on them being swallowed may now see exceptions. [github.com](https://github.com/zxing-js/library/releases/tag/v0.22.0)
- **Behavior changed** `RSS14Reader.findFinderPattern`  

The second element returned by findFinderPattern now points to the outside pixel of the finder pattern. Code that relies on the previous position may get different results. [github.com](https://github.com/zxing-js/library/releases/tag/v0.22.0)
- **Signature changed** `DataMatrixDefaultPlacement.getBits`  

Was getBits(): Uint8Array; now getBits(): Uint8Array\<ArrayBufferLike>. [npmjs.com](https://www.npmjs.com/package/@zxing/library/v/0.22.0)
- **Signature changed** `RSSExpandedReader.getRows`  

Was getRows(): any; now getRows(): ExpandedRow\[\]. [npmjs.com](https://www.npmjs.com/package/@zxing/library/v/0.22.0)

## @zxing/library 0.21.0 breaking changes

@zxing/library 0.21.0, released April 29, 2024: 4 breaking changes.

- **Signature changed** `DecodeHintType.ALLOWED_EAN_EXTENSIONS`  

Was ALLOWED_EAN_EXTENSIONS = 10; now ALLOWED_EAN_EXTENSIONS = 11. [npmjs.com](https://www.npmjs.com/package/@zxing/library/v/0.21.0)
- **Signature changed** `DecodeHintType.ASSUME_GS1`  

Was ASSUME_GS1 = 7; now ASSUME_GS1 = 8. [npmjs.com](https://www.npmjs.com/package/@zxing/library/v/0.21.0)
- **Signature changed** `DecodeHintType.NEED_RESULT_POINT_CALLBACK`  

Was NEED_RESULT_POINT_CALLBACK = 9; now NEED_RESULT_POINT_CALLBACK = 10. [npmjs.com](https://www.npmjs.com/package/@zxing/library/v/0.21.0)
- **Signature changed** `DecodeHintType.RETURN_CODABAR_START_END`  

Was RETURN_CODABAR_START_END = 8; now RETURN_CODABAR_START_END = 9. [npmjs.com](https://www.npmjs.com/package/@zxing/library/v/0.21.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
