Release Notes for Dynamsoft Barcode Reader JavaScript SDK
11.4.2001 (04/24/2026)
Fixed
- Fixed an issue where coordinate conversion could behave abnormally after large images were compressed.
- Fixed an issue where abnormal DCEFrame
imageDatacould cause errors in thetoCanvas()method.
improved
- Optimized the behavior of the Dynamsoft Camera Enhancer torch and other camera-related features.
11.4.2000 (04/21/2026)
⚠️ Roadmap notice: Foundational API Becomes Primary
Starting with this release, the Foundational API (CaptureVisionRouter and related classes) is officially the primary and recommended integration path for DBR-JS. BarcodeScanner transitions to the role of an officially maintained simplified wrapper.
What this means in practice:
- v11 (current) – No breaking changes.
BarcodeScannercontinues to work exactly as before and will receive maintenance updates and bug fixes for the entire v11 lifecycle. - v12 (future) –
BarcodeScannerwill no longer be bundled as part of the maindynamsoft-barcode-reader-bundlepackage. It will be distributed separately but will still be officially supported.
Why this change:
- Foundational scales; the wrapper doesn’t. When projects move beyond basic demos — integrating other DCV components (document detection, label recognition), or building production workflows —
BarcodeScannerhits a wall. Developers may end up rebuilding on the Foundational API. - One clear path, not two. Two parallel API surfaces create confusion at evaluation time — for developers and for the AI coding assistants they increasingly use. A single recommended path simplifies onboarding.
- AI tools close the boilerplate gap. Much of
BarcodeScanner’s value was fewer lines of code. With AI-assisted coding now common, developers can scaffold Foundational API code just as quickly.
Recommended action for new projects: Build on the Foundational API to ensure forward compatibility. See the Foundational API Guide for a full walkthrough.
Existing projects using BarcodeScanner: The wrapper will continue to receive long-term support. No action required for v11. When v12 is released, a guide will be provided for migrating to the Foundational API or continuing to use the wrapper.
Highlights
AI-Powered Barcode Detection and Decoding
-
PDF417 Localization Model – Introduces the
PDF417Localizationneural network model for improved detection of PDF417 barcodes, especially under challenging conditions. -
Code39/ITF Decoding Model – Adds the
Code39ITFDecodermodel for enhanced decoding of Code 39 and ITF barcodes under blurred or low-resolution conditions. -
Deblur Models for 2D Barcodes – Adds the
DataMatrixQRCodeDeblurandPDF417Deblurmodels to provide more effective recovery from motion and focus blur for DataMatrix, QR Code, and PDF417 barcodes.
ECI (Extended Channel Interpretation) Support
-
ECI Information Return – Adds support for retrieving Extended Channel Interpretation (ECI) data from barcodes. The new
ECISegmentinterface, along with theeciSegmentsproperty in theBarcodeResultItemandDecodedBarcodeElementinterfaces, enables access to character encoding information embedded in barcodes. -
ECI-Based Text Interpretation – Adds support for interpreting ECI segments during barcode decoding, improving compatibility with international character sets.
Performance Improvements
-
On-Demand Model Loading – Implements lazy loading for AI models, reducing initialization time by loading models only when first needed.
-
Smart Model Selection – Models are now loaded based on configured barcode formats, minimizing memory usage by excluding unused models.
-
Improved Confidence Scoring – Enhances confidence score calculation for results from neural network models, providing more accurate quality indicators.
-
DPM Barcode Optimization – Improves recognition rate for Direct Part Marking (DPM) barcodes commonly used in industrial and manufacturing environments.
API Changes
New
-
Added
BarcodeZoneWidthToHeightRatioRangeArrayparameter for filtering barcodes based on aspect ratio constraints. -
Added
SetResultCrossVerificationCriteria()andGetResultCrossVerificationCriteria()methods toMultiFrameResultCrossFilterfor configurable multi-frame result verification. -
Added
AuxiliaryRegionElementclass for representing additional region information detected during processing (e.g., MRZ (Machine Readable Zone), portrait zones). -
Added
ROET_AUXILIARY_REGIONtoRegionObjectElementTypeenumeration for the newAuxiliaryRegionElementclass.
Changed
-
Barcode text encoding fallback changed from UTF-8 to ISO-8859-1 when no ECI information is present in the barcode.
-
All methods under the
ImageProcessorclass now additionally acceptDSImageDataas an image input type. -
All methods under the
ImageIO,ImageProcessor, andImageDrawerclasses have been changed to static methods. -
CodeParserModule.loadSpec()now returns aPromise<ErrorInfo>instead ofvoid. -
Updated default value of
compensationparameter inconvertToBinaryLocal()from 0 to 10. -
convertToBinaryGlobal()andconvertToBinaryLocal()ofImageProcessorclass now support color, binary and grayscale images as input. - Parser resource files (.json) have been consolidated into encrypted .data files for improved security and simplified distribution:
AADHAAR.data,AAMVA_DL_ID.data,GS1_AI.data,MRTD.data,SOUTH_AFRICA_DL.data,VIN.data
CameraEnhancer.open()now returnsPromise<void>when operating insingleFrameMode.
Removed
-
Removed
DataMatrixModuleIsotropicparameter – useBarcodeZoneWidthToHeightRatioRangeArrayinstead. -
Removed
MinRatioOfBarcodeZoneWidthToHeightparameter – useBarcodeZoneWidthToHeightRatioRangeArrayinstead.
Fixed
-
Fixed incorrect coordinate in barcode result when using neural network models with a specified region.
-
Fixed crash and hang issues that could occur in certain scenarios.
-
Fixed various minor bugs and improved overall stability.
11.2.4000 (11/11/2025)
Fixed
- Fixed a bug that could cause a crash when using model localization with a 2D barcode.
11.2.2000 (11/04/2025)
Highlights
AI-Powered Barcode Detection and Decoding
- New Localization Models – Introduces
OneDLocalizationandDataMatrixQRCodeLocalizationneural network models for improved detection of blurred / low-resolution 1D codes, or partially damaged DataMatrix/QR codes. - Specialized Decoders – Adds
EAN13DecoderandCode128Decodermodels optimized for long-distance and motion-blurred decoding scenarios. - Redesigned Deblur Model – The
OneDDeblurmodel now provides more effective recovery from motion and focus blur. - Configurable Model Selection – The new
ModelNameArrayparameter supports flexible model loading and fine-grained control for specific barcode types.
Precision and Processing Control
- Enhanced Deblur Methods –
DM_DEEP_ANALYSISnow includes sub-level control withOneDGeneral,TwoDGeneral, andEAN13Enhancedoptions. - Barcode Count Expectation – The new
ExpectedBarcodesCountparameter enables format-specific quantity control and early termination in fixed-count workflows. - Improved Region Detection – The new
RPM_GRAY_CONSISTENCYmode provides more precise region extraction based on grayscale uniformity and local consistency for document and label processing.
Performance Highlights
- Up to 26.5% higher read rates under blur conditions with as much as 44% faster processing.
- Reliable decoding of DataMatrix and QR codes with missing or damaged finder patterns.
- Extended operational range beyond 75 cm for long-distance barcode scanning.
Developer Notes
- Backward Compatibility – Fully compatible with existing integrations; no code-level changes required for upgrade.
- Configuration Flexibility – Expanded parameter set allows comprehensive model configuration for scenario-specific tuning.
- Production Stability – All new models validated in enterprise environments.
Engineering Optimizations
- Optimized the parallel download logic to improve resource loading speed.
- Optimized adaptive WASM loading logic to further enhance performance in modern browser environments.
API Changes
New
- Added the
switchCapturingTemplate()method to theCaptureVisionRouterclass to enable switching the active capturing template during the image processing workflow. - Added methods
toBlob(),toImage(), andtoCanvas()to theoriginalImageResultIteminterface for flexible image data conversion. - Added the
SetGlobalIntraOpNumThreads()method to theCaptureVisionRouterclass to configure the global thread count for model inference. - Added the
clearDLModelBuffers()method to theCaptureVisionRouterclass to manually release memory occupied by loaded models. - Added callback functions
onSpecLoadProgressChanged()andonWasmLoadProgressChanged()to monitor resource loading progress. - Added the
convertToContainCoordinates()method to theCameraEnhancerclass to convert coordinates fromfit: covertofit: containmode. - Added the
LM_NEURAL_NETWORKenumeration toEnumLocalizationMode.
Updated
- Changed the default value of
MaxThreadsInOneTaskfrom 4 to 0. - Changed the default value of
IncludeTrailingCheckDigitfrom 1 to 0.
Deprecated
- Deprecated the
DeblurModelNameArrayargument in theDeblurModesparameter. UseModelNameArrayinstead. - Deprecated the
appendModelBuffer()method in theCaptureVisionRouterclass. UseappendDLModelBuffer()instead.
BarcodeScanner Wrapper Updates
- In single mode, if the target barcode is not found among the candidates, there is now an opportunity to rescan.

- Fixed an issue where the barcode location could be inaccurate in certain cases.
- Fixed a problem where, in specific cases when the camera was occupied, the video stream could not be displayed correctly.
- Other known issues fixed.
11.0.6000 (08/14/2025)
New
-
Introduced new samples:
Pick One to Fill- run↗: Pick one and auto-fill fields by simply opening the camera and scanning a group of barcodes.Batch Inventory- run↗: An inventory management tool scan barcodes in batches and provide real-time analysis of the scanned data.Read and Parse GS1-AI- run↗: Read GS1 Application Identifier (AI) barcode and parse its structured data.
-
Template Version Validation: Introduced version checking for templates to prevent compatibility issues and mismatches.
Changed
- License Validation Behavior: Instead of stopping execution immediately on an invalid license module, the library now continues processing and returns results from modules with valid licenses. A warning is still reported to indicate the license issue.
Fixed
- Fixed various minor bugs and improved overall stability.
11.0.3000 (07/09/2025)
Highlights
Workflow Improvements
- Restructured the parameter control hierarchy at all levels for finer scope definition and more granular process management, with the stage level newly added.
Deep Learning Integration
- Improved the reading rate of 1D barcode by introducing a new deblurring deep-learning model.
Algorithm Enhancements
- Enabled deduplication at the Region of Interest (ROI) level to consolidate results from multiple tasks.
- Improved the
CODE_128andDataMatrixDeepAnalysis algorithms for better decoding accuracy and performance. - Added support for new barcode types:
CODE_32,MATRIX_25,KIX, andTELEPEN. - Added GS1 Application Identifiers (AI) support for improved code parsing capabilities.
Engineering Optimizations
- Simplified the loading and configuration of WASM resources, reducing the overall size of the WASM files.
BarcodeScanner Wrapper Updates
- Added several new UI controls (not displayed by default).

- Introduced a new
"Scan and Search"sample to simulate searching for relevant data via barcodes. Give it a try!

- Added the
customHighlightForBarcodeAPI to easily customize highlights on detected barcodes. - Updated default values for certain parameters:
- The close button is now shown by default.
- The
resultViewis now shown by default formulti_uniquemode.
- Improved deduplication and billing logic for more accurate count tracking.
- Minor bug fixes and performance improvements.