Skip to content

Commit d2bcd83

Browse files
committed
Update for v11.2.4000 release, including new features and installation instructions
1 parent b848aa4 commit d2bcd83

File tree

6 files changed

+44
-37
lines changed

6 files changed

+44
-37
lines changed

programming/javascript/release-notes/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ breadcrumbText: Release Notes
99

1010
# DBR JavaScript SDK - Release Notes
1111

12+
- [11.2.4000 (11/11/2025)](js-11.html#1124000-11112025)
1213
- [11.2.2000 (11/04/2025)](js-11.html#1122000-11042025)
1314
- [11.0.6000 (08/14/2025)](js-11.html#1106000-08142025)
1415
- [11.0.3000 (07/09/2025)](js-11.html#1103000-07092025)

programming/javascript/release-notes/js-11.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ noTitleIndex: true
1010

1111
# Release Notes for Dynamsoft Barcode Reader JavaScript SDK
1212

13+
## 11.2.4000 (11/11/2025)
14+
15+
### Fixed
16+
17+
- Fixed a bug that could cause a crash when using model localization with a 2D barcode.
18+
1319
## 11.2.2000 (11/04/2025)
1420

1521
### ✨ Key Highlights

programming/javascript/upgrade-guide/10to11.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permalink: /programming/javascript/upgrade-guide/10to11.html
1414
To use version 11, include the following script in your HTML:
1515

1616
```html
17-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.2000/dist/dbr.bundle.js"></script>
17+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.4000/dist/dbr.bundle.js"></script>
1818
```
1919

2020
## APIs changes introduced in v11

programming/javascript/user-guide/barcode-scanner-customization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: default-layout
33
needAutoGenerateSidebar: true
44
needGenerateH3Content: true
55
noTitleIndex: true
6-
title: Customizations - Dynamsoft Barcode Scanner v11.2.2000 JavaScript Edition
6+
title: Customizations - Dynamsoft Barcode Scanner v11.2.4000 JavaScript Edition
77
keywords: Documentation, Barcode Scanner, Dynamsoft Barcode Scanner JavaScript Edition, customization
88
description: Dynamsoft Barcode Scanner customization
99
---
@@ -136,7 +136,7 @@ Integrating `BarcodeScanner` into frameworks like `Angular`, `React`, and `Vue`
136136
Open the terminal from your project root and install **Dynamsoft Barcode Reader SDK** with the following command:
137137

138138
```sh
139-
npm install dynamsoft-barcode-reader-bundle@11.2.2000 -E
139+
npm install dynamsoft-barcode-reader-bundle@11.2.4000 -E
140140
```
141141

142142
### Component for video decoding
@@ -167,7 +167,7 @@ Below is an example using the official CDN — feel free to replace it with your
167167
rootDirectory: "https://cdn.jsdelivr.net/npm/",
168168
},
169169
// Path to the UI (.xml template file).
170-
uiPath: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.2000/dist/ui/barcode-scanner.ui.xml",
170+
uiPath: "https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.4000/dist/ui/barcode-scanner.ui.xml",
171171
};
172172
```
173173

programming/javascript/user-guide/index.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default-layout
3-
title: v11.2.2000 User Guide - Dynamsoft Barcode Reader JavaScript Edition
3+
title: v11.2.4000 User Guide - Dynamsoft Barcode Reader JavaScript Edition
44
description: This is the user guide of Dynamsoft Barcode Reader JavaScript SDK.
55
keywords: user guide, javascript, js
66
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
6464

6565
**Popular Examples**
6666

67-
- 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)
68-
- Angular App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/hello-world/angular)
69-
- React App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/hello-world/react)
70-
- Vue App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/hello-world/vue)
71-
- 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)
72-
- WebView in Android and iOS - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.20/foundational-api-samples/hello-world/webview)
73-
- 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)
74-
- 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)
75-
- 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)
76-
- Debug Camera and Collect Video Frame - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/others/debug)
67+
- 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)
68+
- Angular App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/hello-world/angular)
69+
- React App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/hello-world/react)
70+
- Vue App - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/hello-world/vue)
71+
- 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)
72+
- WebView in Android and iOS - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.40/foundational-api-samples/hello-world/webview)
73+
- 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)
74+
- 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)
75+
- 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)
76+
- Debug Camera and Collect Video Frame - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/others/debug)
7777

7878
You can also:
7979

80-
- 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)
81-
- Try Online Examples - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.20/)
80+
- 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)
81+
- Try Online Examples - [Github](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.2.40/)
8282

8383
## Hello World - Simplest Implementation
8484

@@ -102,7 +102,7 @@ The complete code of the "Hello World" example is shown below
102102
<body>
103103
<div id="camera-view-container" style="width: 100%; height: 60vh"></div>
104104
<textarea id="results" style="width: 100%; min-height: 10vh; font-size: 3vmin; overflow: auto" disabled></textarea>
105-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.2000/dist/dbr.bundle.js"></script>
105+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.4000/dist/dbr.bundle.js"></script>
106106
<script>
107107
Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
108108
Dynamsoft.Core.CoreModule.loadWasm();
@@ -140,15 +140,15 @@ The complete code of the "Hello World" example is shown below
140140
<!--TOM: Update the code links-->
141141
142142
<p align="center" style="text-align:center; white-space: normal; ">
143-
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.20/foundational-api-samples/hello-world/hello-world.html" title="Code in Github" style="text-decoration:none;">
143+
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.2.40/foundational-api-samples/hello-world/hello-world.html" title="Code in Github" style="text-decoration:none;">
144144
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/github.svg" alt="Code in Github" width="20" height="20" style="width:20px;height:20px;">
145145
</a>
146146
&nbsp;
147147
<a target="_blank" href="https://jsfiddle.net/DynamsoftTeam/csm2f9wb/" title="Run via JSFiddle" style="text-decoration:none;">
148148
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
149149
</a>
150150
&nbsp;
151-
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/hello-world/hello-world.html?ver=11.2.20&utm_source=guide" title="Run in Dynamsoft" style="text-decoration:none;">
151+
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/foundational-api-samples/hello-world/hello-world.html?ver=11.2.40&utm_source=guide" title="Run in Dynamsoft" style="text-decoration:none;">
152152
<img src="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.0.0/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
153153
</a>
154154
</p>
@@ -193,7 +193,7 @@ The complete code of the "Hello World" example is shown below
193193
194194
### Run the example
195195
196-
You can run the example deployed to [the Dynamsoft Demo Server](https://demo.dynamsoft.com/Samples/DBR/JS/hello-world/hello-world.html?ver=11.2.20&utm_source=guide) or test it with [JSFiddle code editor](https://jsfiddle.net/DynamsoftTeam/csm2f9wb/).
196+
You can run the example deployed to [the Dynamsoft Demo Server](https://demo.dynamsoft.com/Samples/DBR/JS/hello-world/hello-world.html?ver=11.2.40&utm_source=guide) or test it with [JSFiddle code editor](https://jsfiddle.net/DynamsoftTeam/csm2f9wb/).
197197
198198
You will be asked to allow access to your camera, after which the video will be displayed on the page. After that, you can point the camera at a barcode to read it.
199199
@@ -207,7 +207,7 @@ Alternatively, you can test locally by copying and pasting the code shown above
207207
>
208208
> Regarding configuring https on your server, these guides for [nginx](https://nginx.org/en/docs/http/configuring_https_servers.html) / [IIS](https://aboutssl.org/how-to-create-a-self-signed-certificate-in-iis/) / [tomcat](https://dzone.com/articles/setting-ssl-tomcat-5-minutes) / [nodejs](https://nodejs.org/docs/v0.4.1/api/tls.html) might help.
209209
>
210-
> If the test doesn't go as expected, you can [contact us](https://www.dynamsoft.com/company/contact/?ver=11.2.20&utm_source=guide&product=dbr&package=js).
210+
> If the test doesn't go as expected, you can [contact us](https://www.dynamsoft.com/company/contact/?ver=11.2.40&utm_source=guide&product=dbr&package=js).
211211
212212
## Preparing the SDK
213213
@@ -226,29 +226,29 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
226226
- jsDelivr
227227
228228
```html
229-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.2000/dist/dbr.bundle.js"></script>
229+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.4000/dist/dbr.bundle.js"></script>
230230
```
231231
232232
- UNPKG
233233
234234
```html
235-
<script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@11.2.2000/dist/dbr.bundle.js"></script>
235+
<script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@11.2.4000/dist/dbr.bundle.js"></script>
236236
```
237237
238238
<!-- - In some rare cases (such as some restricted areas), you might not be able to access the CDN. If this happens, you can use the following files for the test.
239239
240240
```html
241-
<script src="https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.2.2000/dist/dbr.bundle.js"></script>
241+
<script src="https://download2.dynamsoft.com/packages/dynamsoft-barcode-reader-bundle@11.2.4000/dist/dbr.bundle.js"></script>
242242
```
243243
244244
However, please **DO NOT** use `download2.dynamsoft.com` resources in a production application as they are for temporary testing purposes only. Instead, you can try hosting the SDK yourself. -->
245245
246246
- In frameworks like React, Vue and Angular, you may want to add the package as a dependency.
247247
248248
```sh
249-
npm i dynamsoft-barcode-reader-bundle@11.2.2000 -E
249+
npm i dynamsoft-barcode-reader-bundle@11.2.4000 -E
250250
# or
251-
yarn add dynamsoft-barcode-reader-bundle@11.2.2000 -E
251+
yarn add dynamsoft-barcode-reader-bundle@11.2.4000 -E
252252
```
253253
254254
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
261261
262262
- From the website
263263
264-
[Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.20&utm_source=guide&product=dbr&package=js)
264+
[Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.2.40&utm_source=guide&product=dbr&package=js)
265265
266266
The resources are located at path `dynamsoft/distributables/<pkg>@<version>`.
267267
268268
- From npm
269269
270270
```sh
271-
npm i dynamsoft-barcode-reader-bundle@11.2.2000 -E
271+
npm i dynamsoft-barcode-reader-bundle@11.2.4000 -E
272272
# Compared with using CDN, you need to set up more resources.
273273
npm i dynamsoft-capture-vision-std@1.4.21 -E
274274
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
280280
You can typically include SDK like this:
281281
282282
```html
283-
<script src="path/to/dynamsoft-barcode-reader-bundle@11.2.2000/dist/dbr.bundle.js"></script>
283+
<script src="path/to/dynamsoft-barcode-reader-bundle@11.2.4000/dist/dbr.bundle.js"></script>
284284
```
285285
<div class="multi-panel-end"></div>
286286
@@ -312,7 +312,7 @@ To enable the SDK's functionality, you must provide a valid license. Utilize the
312312
Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
313313
```
314314
315-
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 <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.2.20&utm_source=guide&product=dbr&package=js" target="_blank">Request a Trial License</a> link.
315+
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 <a href="https://www.dynamsoft.com/customer/license/trialLicense?ver=11.2.40&utm_source=guide&product=dbr&package=js" target="_blank">Request a Trial License</a> link.
316316
317317
> 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.
318318
@@ -599,7 +599,7 @@ await cvRouter.startCapturing("ReadSingleBarcode");
599599
600600
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
601601
602-
* "/dynamsoft-barcode-reader-js-11.2.2000/dist/templates/"
602+
* "/dynamsoft-barcode-reader-js-11.2.4000/dist/templates/"
603603
604604
Upon completing the template editing, you can invoke the `initSettings` method and provide it with the template path as an argument.
605605
@@ -701,7 +701,7 @@ The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on ho
701701
### API Reference
702702
703703
You can check out the detailed documentation about the APIs of the SDK at
704-
[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).
704+
[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).
705705
706706
<!-- Compatibility is basically not an issue. Pls remove to another place
707707

programming/javascript/user-guide/use-in-framework.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default-layout
3-
title: v11.2.2000 User Guide - Use Dynamsoft Barcode Reader JavaScript Edition In Framework
3+
title: v11.2.4000 User Guide - Use Dynamsoft Barcode Reader JavaScript Edition In Framework
44
description: This is the user guide to integrate Dynamsoft Barcode Reader JavaScript SDK in framework.
55
keywords: user guide, javascript, js, barcodes, camera, images, framework, react, angular, vue
66
breadcrumbText: User Guide
@@ -24,7 +24,7 @@ Assuming you have an existing project using a framework, you should have a `pack
2424
2. Install DBR-JS SDK with the following command:
2525

2626
```sh
27-
npm install dynamsoft-barcode-reader-bundle@11.2.2000 -E
27+
npm install dynamsoft-barcode-reader-bundle@11.2.4000 -E
2828
```
2929

3030
3. Confirm the installation by checking the `package.json`. You should see:
@@ -34,12 +34,12 @@ Assuming you have an existing project using a framework, you should have a `pack
3434
...
3535
"dependencies": {
3636
...
37-
"dynamsoft-barcode-reader-bundle": "11.2.2000"
37+
"dynamsoft-barcode-reader-bundle": "11.2.4000"
3838
}
3939
}
4040
```
4141

42-
Notice that there is no `^` before `11.2.2000`. No `^` indicates an exact version, ensuring stability and avoids automatic upgrades even without `package-lock.json`.
42+
Notice that there is no `^` before `11.2.4000`. No `^` indicates an exact version, ensuring stability and avoids automatic upgrades even without `package-lock.json`.
4343

4444
While we keep the SDK's external interface relatively stable, the SDK's internal communication often change with each new version. These changes can potentially lead to compatibility issues with `engineResourcePaths` settings. To prevent any unexpected difficulties and surprises, it's essential to use the exact version of the SDK.
4545

0 commit comments

Comments
 (0)