| layout | default-layout |
|---|---|
| title | Release Notes v11.x - Dynamsoft Barcode Reader JavaScript Edition |
| description | This note features the latest updates in Barcode Reader JavaScript SDK version 11.x. New features were added along with various APIs deprecated, added, and removed. |
| keywords | release notes, javascript |
| needAutoGenerateSidebar | true |
| needGenerateH3Content | false |
| noTitleIndex | true |
- Fixed a bug that could cause a crash when using model localization with a 2D barcode.
- New Localization Models – Introduces [
OneDLocalization]({{ site.dcvb_parameters }}barcode-reader-task-settings/localization-modes.html#modelnamearray) and [DataMatrixQRCodeLocalization]({{ site.dcvb_parameters }}barcode-reader-task-settings/localization-modes.html#modelnamearray) neural network models for improved detection of blurred / low-resolution 1D codes, or partially damaged DataMatrix/QR codes. - Specialized Decoders – Adds [
EAN13Decoder]({{ site.dcvb_parameters }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) and [Code128Decoder]({{ site.dcvb_parameters }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) models optimized for long-distance and motion-blurred decoding scenarios. - Redesigned Deblur Model – The [
OneDDeblur]({{ site.dcvb_parameters }}barcode-reader-task-settings/deblur-modes.html#modelnamearray) model 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.
- Enhanced Deblur Methods – [
DM_DEEP_ANALYSIS]({{ site.dcvb_parameters }}barcode-reader-task-settings/deblur-modes.html#dm_deep_analysis) now includes sub-level control withOneDGeneral,TwoDGeneral, andEAN13Enhancedoptions. - Barcode Count Expectation – The new [
ExpectedBarcodesCount]({{ site.dcvb_parameters }}barcode-format-specification/expected-barcodes-count.html) parameter enables format-specific quantity control and early termination in fixed-count workflows. - Improved Region Detection – The new [
RPM_GRAY_CONSISTENCY]({{ site.dcvb_parameters }}image-parameter/region-predetection-modes.html#rpm_gray_consistency) mode provides more precise region extraction based on grayscale uniformity and local consistency for document and label processing.
- 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.
- 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.
Updates for BarcodeScanner
- 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.
- Optimized the parallel download logic to improve resource loading speed.
- Optimized adaptive WASM loading logic to further enhance performance in modern browser environments.
- 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.
- Changed the default value of
MaxThreadsInOneTaskfrom 4 to 0. - Changed the default value of
IncludeTrailingCheckDigitfrom 1 to 0.
- Deprecated the
DeblurModelNameArrayargument in theDeblurModesparameter. UseModelNameArrayinstead. - Deprecated the
appendModelBuffer()method in theCaptureVisionRouterclass. UseappendDLModelBuffer()instead.
-
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.
- 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. An warning is still reported to indicate the license issue.
- Fixed various minor bugs and improved overall stability.
- Restructured the parameter control hierarchy at all levels for finer scope definition and more granular process management, with the stage level newly added.
- Improved the reading rate of 1D barcode by introducing a new deblurring deep-learning model.
- 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.
- Simplified the loading and configuration of WASM resources, reducing the overall size of the WASM files.
Updates for BarcodeScanner
- 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.

