diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 031e9f7e..d789c121 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -8,7 +8,7 @@ on:
push:
branches:
- main
- #- preview
+ - preview
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
diff --git a/programming/javascript/api-reference/barcode-scanner.md b/programming/javascript/api-reference/barcode-scanner.md
index c9dd5d30..725750b4 100644
--- a/programming/javascript/api-reference/barcode-scanner.md
+++ b/programming/javascript/api-reference/barcode-scanner.md
@@ -178,7 +178,7 @@ interface BarcodeScannerConfig {
// engineResourcePaths typically is only assigned when using a framework like React/Angular/Vue where the resources are not in the same location as the script reference.
engineResourcePaths: {rootDirectory:"https://cdn.jsdelivr.net/npm/"},
// path to the UI file
- uiPath: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.2000/dist/ui/barcode-scanner.ui.xml",
+ uiPath: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.4000/dist/ui/barcode-scanner.ui.xml",
barcodeFormats: [Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE , Dynamsoft.DBR.EnumBarcodeFormat.BF_CODE_128],
showPoweredByDynamsoft: false,
duplicateForgetTime: 3000,
diff --git a/programming/javascript/release-notes/index.md b/programming/javascript/release-notes/index.md
index 2eb1474c..59d83f74 100644
--- a/programming/javascript/release-notes/index.md
+++ b/programming/javascript/release-notes/index.md
@@ -9,6 +9,7 @@ breadcrumbText: Release Notes
# DBR JavaScript SDK - Release Notes
+- [11.2.4000 (11/11/2025)](js-11.html#1124000-11112025)
- [11.2.2000 (11/04/2025)](js-11.html#1122000-11042025)
- [11.0.6000 (08/14/2025)](js-11.html#1106000-08142025)
- [11.0.3000 (07/09/2025)](js-11.html#1103000-07092025)
diff --git a/programming/javascript/release-notes/js-11.md b/programming/javascript/release-notes/js-11.md
index 40e94af8..44b502de 100644
--- a/programming/javascript/release-notes/js-11.md
+++ b/programming/javascript/release-notes/js-11.md
@@ -10,6 +10,12 @@ noTitleIndex: true
# Release Notes for Dynamsoft Barcode Reader JavaScript SDK
+## 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)
### ✨ Key Highlights
diff --git a/programming/javascript/upgrade-guide/10to11.md b/programming/javascript/upgrade-guide/10to11.md
index a8dff16e..3128810f 100644
--- a/programming/javascript/upgrade-guide/10to11.md
+++ b/programming/javascript/upgrade-guide/10to11.md
@@ -14,7 +14,7 @@ permalink: /programming/javascript/upgrade-guide/10to11.html
To use version 11, include the following script in your HTML:
```html
-
+
```
## APIs changes introduced in v11
diff --git a/programming/javascript/user-guide/barcode-scanner-customization.md b/programming/javascript/user-guide/barcode-scanner-customization.md
index 7f426be4..5afc808d 100644
--- a/programming/javascript/user-guide/barcode-scanner-customization.md
+++ b/programming/javascript/user-guide/barcode-scanner-customization.md
@@ -3,7 +3,7 @@ layout: default-layout
needAutoGenerateSidebar: true
needGenerateH3Content: true
noTitleIndex: true
-title: Customizations - Dynamsoft Barcode Scanner v11.2.2000 JavaScript Edition
+title: Customizations - Dynamsoft Barcode Scanner v11.2.4000 JavaScript Edition
keywords: Documentation, Barcode Scanner, Dynamsoft Barcode Scanner JavaScript Edition, customization
description: Dynamsoft Barcode Scanner customization
---
@@ -136,7 +136,7 @@ Integrating `BarcodeScanner` into frameworks like `Angular`, `React`, and `Vue`
Open the terminal from your project root and install **Dynamsoft Barcode Reader SDK** with the following command:
```sh
-npm install dynamsoft-barcode-reader-bundle@11.2.2000 -E
+npm install dynamsoft-barcode-reader-bundle@11.2.4000 -E
```
### Component for video decoding
@@ -167,7 +167,7 @@ Below is an example using the official CDN — feel free to replace it with your
rootDirectory: "https://cdn.jsdelivr.net/npm/",
},
// Path to the UI (.xml template file).
- uiPath: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.2000/dist/ui/barcode-scanner.ui.xml",
+ uiPath: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.4000/dist/ui/barcode-scanner.ui.xml",
};
```
diff --git a/programming/javascript/user-guide/barcode-scanner.md b/programming/javascript/user-guide/barcode-scanner.md
index 2a65134e..fb74d720 100644
--- a/programming/javascript/user-guide/barcode-scanner.md
+++ b/programming/javascript/user-guide/barcode-scanner.md
@@ -3,7 +3,7 @@ layout: default-layout
needAutoGenerateSidebar: true
needGenerateH3Content: true
noTitleIndex: true
-title: User Guide - Dynamsoft Barcode Scanner v11.2.2000 JavaScript Edition
+title: User Guide - Dynamsoft Barcode Scanner v11.2.4000 JavaScript Edition
keywords: Documentation, Barcode Scanner, Dynamsoft Barcode Scanner JavaScript Edition,
description: Dynamsoft Barcode Scanner User Guide
---
@@ -11,13 +11,13 @@ description: Dynamsoft Barcode Scanner User Guide
# Build a Web-Based Barcode Scanner Using Just a Few Lines of JavaScript
-
+ - [Next Steps](#next-steps)
This user guide provides a step-by-step walkthrough of a "Hello World" web application using the `BarcodeScanner` JavaScript Edition.
@@ -54,11 +54,11 @@ new Dynamsoft.BarcodeScanner().launch().then(result=>alert(result.barcodeResults
## License
-
+When getting started with Barcode Scanner, we recommend [getting your own 30-day trial license](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=guide&package=js)
-When getting started with Barcode Scanner, we recommend getting your own 30-day trial license.
+
## Quick Start: Hello World Example
@@ -66,7 +66,7 @@ When getting started with Barcode Scanner, we recommend getting your own 30-day
-
+
+
```
@@ -127,21 +127,21 @@ The simplest way to include the SDK is to use either the [**jsDelivr**](https://
- jsDelivr
```html
-
+
```
- UNPKG
```html
-
+
```
When using a framework such as **React**, **Vue** or **Angular**, we recommend adding the package as a dependency using a package manager such as **npm** or **yarn**:
```sh
- npm i dynamsoft-barcode-reader-bundle@11.2.2000
+ npm i dynamsoft-barcode-reader-bundle@11.2.4000
# or
- yarn add dynamsoft-barcode-reader-bundle@11.2.2000
+ yarn add dynamsoft-barcode-reader-bundle@11.2.4000
```
When using package managers like **npm** or **yarn**, you likely need to specify the location of the engine files as a link to a CDN. Please see the [BarcodeScannerConfig API](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html#barcodescannerconfig) for a code snippet on how to set the `engineResourcePaths`.
@@ -154,14 +154,14 @@ Alternatively, you may choose to download the SDK and host the files on your own
- From the website
- [Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.20&utm_source=guide&product=dbr&package=js)
+ [Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.40&utm_source=guide&product=dbr&package=js)
The resources are located in the `./dist/` directory.
- From npm
```sh
- npm i dynamsoft-barcode-reader-bundle@11.2.2000
+ npm i dynamsoft-barcode-reader-bundle@11.2.4000
```
The resources are located at the path `node_modules/`, without `@`. You can copy it elsewhere and add `@` tag.
@@ -172,7 +172,7 @@ Alternatively, you may choose to download the SDK and host the files on your own
You can typically include the SDK like this:
```html
-
+
```
@@ -228,5 +228,5 @@ Now that the Barcode Scanner has been initialized and configured, it is ready to
Now that you've implemented the basic functionality, here are some recommended next steps to further explore the capabilities of the Barcode Scanner:
1. Learn how to [Customize the Barcode Scanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner-customization.html)
-2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.2.2000)
-3. Learn about the [APIs of BarcodeScanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.2.2000)
+2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.2.4000)
+3. Learn about the [APIs of BarcodeScanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.2.4000)
diff --git a/programming/javascript/user-guide/index.md b/programming/javascript/user-guide/index.md
index 320176c0..bf25c8da 100644
--- a/programming/javascript/user-guide/index.md
+++ b/programming/javascript/user-guide/index.md
@@ -1,6 +1,6 @@
---
layout: default-layout
-title: v11.2.2000 User Guide - Dynamsoft Barcode Reader JavaScript Edition
+title: v11.2.4000 User Guide - Dynamsoft Barcode Reader JavaScript Edition
description: This is the user guide of Dynamsoft Barcode Reader JavaScript SDK.
keywords: user guide, javascript, js
breadcrumbText: User Guide
@@ -64,21 +64,21 @@ In this guide, you will learn step by step on how to integrate the DBR-JS SDK in
**Popular Examples**
-- Hello World - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/hello-world/hello-world.html) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/hello-world/hello-world.html?ver=11.2.20&utm_source=guide)
-- Angular App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/hello-world/angular)
-- React App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/hello-world/react)
-- Vue App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/hello-world/vue)
-- PWA App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/hello-world/pwa) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/hello-world/pwa/helloworld-pwa.html?ver=11.2.20&utm_source=guide)
-- WebView in Android and iOS - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.20/foundational-api-samples/hello-world/webview)
-- Read Driver Licenses - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/use-case/read-a-drivers-license/index.html) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/use-case/read-a-drivers-license/index.html?ver=11.2.20&utm_source=guide)
-- Fill A Form - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/use-case/fill-a-form-with-barcode-reading.html) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/use-case/fill-a-form-with-barcode-reading.html?ver=11.2.20&utm_source=guide)
-- Show result information on the video - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/use-case/show-result-texts-on-the-video.html) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/use-case/show-result-texts-on-the-video.html?ver=11.2.20&utm_source=guide)
-- Debug Camera and Collect Video Frame - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/others/debug)
+- Hello World - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/hello-world/hello-world.html) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/hello-world/hello-world.html?ver=11.2.40&utm_source=guide)
+- Angular App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/hello-world/angular)
+- React App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/hello-world/react)
+- Vue App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/hello-world/vue)
+- PWA App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/hello-world/pwa) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/hello-world/pwa/helloworld-pwa.html?ver=11.2.40&utm_source=guide)
+- WebView in Android and iOS - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.40/foundational-api-samples/hello-world/webview)
+- Read Driver Licenses - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/use-case/read-a-drivers-license/index.html) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/use-case/read-a-drivers-license/index.html?ver=11.2.40&utm_source=guide)
+- Fill A Form - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/use-case/fill-a-form-with-barcode-reading.html) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/use-case/fill-a-form-with-barcode-reading.html?ver=11.2.40&utm_source=guide)
+- Show result information on the video - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/use-case/show-result-texts-on-the-video.html) \| [Run](https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/use-case/show-result-texts-on-the-video.html?ver=11.2.40&utm_source=guide)
+- Debug Camera and Collect Video Frame - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/others/debug)
You can also:
-- Try the Official Demo - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-demo/) \| [Run](https://demo.dynamsoft.com/barcode-reader-js/?ver=11.2.20&utm_source=guide)
-- Try Online Examples - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.20/)
+- Try the Official Demo - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-demo/) \| [Run](https://demo.dynamsoft.com/barcode-reader-js/?ver=11.2.40&utm_source=guide)
+- Try Online Examples - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.40/)
## Hello World - Simplest Implementation
@@ -102,7 +102,7 @@ The complete code of the "Hello World" example is shown below
-
+
+
```
- UNPKG
```html
-
+
```
@@ -246,9 +246,9 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
- In frameworks like React, Vue and Angular, you may want to add the package as a dependency.
```sh
- npm i dynamsoft-barcode-reader-bundle@11.2.2000 -E
+ npm i dynamsoft-barcode-reader-bundle@11.2.4000 -E
# or
- yarn add dynamsoft-barcode-reader-bundle@11.2.2000 -E
+ yarn add dynamsoft-barcode-reader-bundle@11.2.4000 -E
```
NOTE that in frameworks, you need to [specify the location of the engine files](#2-optional-specify-the-location-of-the-engine-files).
@@ -261,14 +261,14 @@ Besides using the public CDN, you can also download the SDK and host its files o
- From the website
- [Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.20&utm_source=guide&product=dbr&package=js)
+ [Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.40&utm_source=guide&product=dbr&package=js)
The resources are located at path `dynamsoft/distributables/@`.
- From npm
```sh
- npm i dynamsoft-barcode-reader-bundle@11.2.2000 -E
+ npm i dynamsoft-barcode-reader-bundle@11.2.4000 -E
# Compared with using CDN, you need to set up more resources.
npm i dynamsoft-capture-vision-std@1.4.21 -E
npm i dynamsoft-image-processing@2.4.31 -E
@@ -280,7 +280,7 @@ Besides using the public CDN, you can also download the SDK and host its files o
You can typically include SDK like this:
```html
-
+
```
@@ -312,7 +312,7 @@ To enable the SDK's functionality, you must provide a valid license. Utilize the
Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
```
-As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the Request a Trial License link.
+As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves as a test license valid for 24 hours, applicable to any newly authorized browser. To test the SDK further, you can request a 30-day free trial license via the Request a Trial License link.
> Upon registering a Dynamsoft account and obtaining the SDK package from the official website, Dynamsoft will automatically create a 30-day free trial license and embed the corresponding license key into all the provided SDK samples.
@@ -599,7 +599,7 @@ await cvRouter.startCapturing("ReadSingleBarcode");
The preset templates have many more settings that can be customized to suit your use case best. If you [download the SDK from Dynamsoft website](https://www.dynamsoft.com/barcode-reader/downloads/1000003-confirmation/), you can find the templates under
-* "/dynamsoft-barcode-reader-js-11.2.2000/dist/templates/"
+* "/dynamsoft-barcode-reader-js-11.2.4000/dist/templates/"
Upon completing the template editing, you can invoke the `initSettings` method and provide it with the template path as an argument.
@@ -701,7 +701,7 @@ The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on ho
### API Reference
You can check out the detailed documentation about the APIs of the SDK at
-[https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.2.2000](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.2.2000).
+[https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.2.4000](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=11.2.4000).