Skip to content

Commit f9bbdce

Browse files
Merge pull request #464 from dynamsoft-docs/preview
Preview
2 parents c283ea3 + df97fe1 commit f9bbdce

File tree

18 files changed

+1902
-72
lines changed

18 files changed

+1902
-72
lines changed

_data/product_version.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
useGroupedVersion: true
22

33
version_info_list_js:
4-
- value: latest version(11.0.3000)
4+
- value: latest version(11.0.6000)
55
- value: 10.x
66
child:
7+
- 11.0.3000
78
- 10.5.3000
89
- 10.4.3100
910
- 10.4.2002

_includes/sidelist-programming/programming-javascript.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,13 @@
10571057
>Edge</a
10581058
>
10591059
</li>
1060+
<li>
1061+
<a
1062+
href="{{ site.dcvb_js_api }}core/basic-structures/error-info.html"
1063+
class="otherLinkColour"
1064+
>ErrorInfo</a
1065+
>
1066+
</li>
10601067
<li>
10611068
<a
10621069
href="{{ site.dcvb_js_api }}core/intermediate-results/enhanced-grayscale-image-unit.html"

_includes/sidelist-programming/sidelist-parameters.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@
268268
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/enable-qr-code-model-1.html" class="otherLinkColour">EnableQRCodeModel1</a></li>
269269
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/find-uneven-module-barcode.html" class="otherLinkColour">FindUnevenModuleBarcode</a></li>
270270
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/head-module-ratio.html" class="otherLinkColour">HeadModuleRatio</a></li>
271+
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/include-implied-ai01.html" class="otherLinkColour">IncludeImpliedAI01</a></li>
272+
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/include-trailing-check-digit.html" class="otherLinkColour">IncludeTrailingCheckDigit</a></li>
271273
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/min-quiet-zone-width.html" class="otherLinkColour">MinQuietZoneWidth</a></li>
272274
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/min-ratio-of-barcode-zone-width-to-height.html" class="otherLinkColour">MinRatioOfBarcodeZoneWidthToHeight</a></li>
273275
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/min-result-confidence.html" class="otherLinkColour">MinResultConfidence</a></li>

assets/js/dbrWebVersionSearch.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
[
2+
{
3+
"version": "11.0.6000",
4+
"matchVersion": {
5+
"javascript": "3.0.6000"
6+
}
7+
},
28
{
39
"version": "11.0.3000",
410
"matchVersion": {

programming/javascript/api-reference/barcode-scanner.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ interface BarcodeScannerConfig {
125125
barcodeFormats?: EnumBarcodeFormat | Array<EnumBarcodeFormat>;
126126
duplicateForgetTime?: number;
127127
showPoweredByDynamsoft?: boolean;
128+
autoStartCapturing? : boolean;
128129
container?: HTMLElement | string | undefined;
129130
onUniqueBarcodeScanned?: (result: BarcodeResultItem) => void | Promise<void>;
130131
showResultView?: boolean;
@@ -134,6 +135,7 @@ interface BarcodeScannerConfig {
134135
onInitPrepare?: () => void;
135136
onInitReady?: (components: {cameraView: CameraView;cameraEnhancer: CameraEnhancer;cvRouter: CaptureVisionRouter;}) => void;
136137
onCameraOpen?: (components: {cameraView: CameraView;cameraEnhancer: CameraEnhancer;cvRouter: CaptureVisionRouter;}) => void;
138+
onCaptureStart?: (components: {cameraView: CameraView;cameraEnhancer: CameraEnhancer;cvRouter: CaptureVisionRouter;}) => void;
137139
}
138140
```
139141

@@ -148,6 +150,7 @@ interface BarcodeScannerConfig {
148150
| `barcodeFormats`(optional) | `EnumBarcodeFormat` \| `Array<EnumBarcodeFormat>` | `N/A` | [EnumBarcodeFormat](https://www.dynamsoft.com/capture-vision/docs/core/enums/barcode-reader/barcode-format.html?lang=js&product=dbr) or an array of `EnumBarcodeFormat` specifying the formats to recognize. |
149151
| `duplicateForgetTime`(optional) | `number` | `3000` | Time interval in milliseconds before duplicate barcodes can be reported again. |
150152
| `showPoweredByDynamsoft`(optional) | `boolean` | `true` | Whether to show the "powered by" message. |
153+
| `autoStartCapturing`(optional) | `boolean` | `true` | Whether to start capturing directly after opening the camera. |
151154
| `container`(optional) | `HTMLElement` \| `string` | `N/A` | A container element or selector for rendering the scanner and/or result view. |
152155
| `showResultView`(optional) | `boolean` | `true` | Whether to display a result view in SM_MULTI_UNIQUE mode. |
153156
| `showUploadImageButton`(optional) | `boolean` | `false` | Determines the visibility of the "uploadImage" button that allows the user to upload an image for decoding. |
@@ -157,6 +160,7 @@ interface BarcodeScannerConfig {
157160
| `onInitPrepare` | `N/A` | `N/A` | A callback function that is triggered before the scanner components are initialized. |
158161
| `onInitReady` | `N/A` | `N/A` | Called when the scanner components have been successfully initialized and are ready. |
159162
| `onCameraOpen` | `N/A` | `N/A` | Called when the camera is successfully opened for the first time or after each camera switch. |
163+
| `onCaptureStart` | `N/A` | `N/A` | Called when the capture process begins. |
160164

161165
**Code Snippet**
162166

@@ -173,11 +177,12 @@ interface BarcodeScannerConfig {
173177
// The path to your custom JSON template that defines the scanning process.
174178
templateFilePath:'./DBR-PresetTemplates.json',
175179
// 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.
176-
engineResourcePaths: {rootDirectory:"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.3000/dist"},
180+
engineResourcePaths: {rootDirectory:"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.6000/dist"},
177181
barcodeFormats: [Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE , Dynamsoft.DBR.EnumBarcodeFormat.BF_CODE_128],
178182
showPoweredByDynamsoft: false,
179183
duplicateForgetTime: 3000,
180184
showUploadImageButton: true,
185+
autoStartCapturing: true,
181186
// The container for rendering the scanner and/or result view. Note that ResultView is only valid for SM_MULTI_UNIQUE mode. If not specified, a full-viewport default UI will be created.
182187
container: "#camera-view-container",
183188
scannerViewConfig: {
@@ -211,7 +216,10 @@ interface BarcodeScannerConfig {
211216
components.cameraEnhancer.setScanRegion(region);
212217
},
213218
onCameraOpen: (components) => {
214-
// Do something with the foundational components
219+
// Do something with the foundational components when the camera is successfully opened for the first time or after each camera switch
220+
},
221+
onCaptureStart: (components) => {
222+
// Do something with the foundational components when the capture process begins
215223
},
216224
};
217225
// Initialize the BarcodeScanner with the above BarcodeScannerConfig object

programming/javascript/release-notes/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ permalink: /programming/javascript/release-notes/index.html
1010

1111
# DBR JavaScript SDK - Release Notes
1212

13+
- [11.0.6000 (08/14/2025)](js-11.html#1106000-08142025)
1314
- [11.0.3000 (07/09/2025)](js-11.html#1103000-07092025)
1415
- [10.5.3000 (04/24/2025)](js-10.html#1053000-04242025)
1516
- [10.4.3100 (01/03/2025)](js-10.html#1043100-01032025)

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

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

1111
# Release Notes for Dynamsoft Barcode Reader JavaScript SDK
1212

13+
## 11.0.6000 (08/14/2025)
14+
15+
### New
16+
17+
- Introduced new samples:
18+
19+
- [`Pick One to Fill`](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/pick-one-to-fill/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-single-barcode/pick-one-to-fill/index.html?utm_source=sampleReadme): Pick one and auto-fill fields by simply opening the camera and scanning a group of barcodes.
20+
- [`Use Customized Template`](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/use-customized-template/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-single-barcode/use-customized-template/index.html?utm_source=sampleReadme): Use different customized templates for scanning various barcode types.
21+
- [`Batch Inventory`](https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/barcode-scanner-api-samples/scan-multiple-barcodes/batch-inventory/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/barcode-scanner-api-samples/scan-multiple-barcodes/batch-inventory/index.html?utm_source=sampleReadme): An inventory management tool scan barcodes in batches and provide real-time analysis of the scanned data.
22+
- [`Read and Parse GS1-AI`](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/foundational-api-samples/use-case/read-and-parse-GS1-AI/index.html) - [run↗](https://demo.dynamsoft.com/samples/dbr/js/foundational-api-samples/use-case/read-and-parse-GS1-AI/index.html?utm_source=sampleReadme): Read GS1 Application Identifier (AI) barcode and parse its structured data.
23+
24+
- Template Version Validation: Introduced version checking for templates to prevent compatibility issues and mismatches.
25+
26+
### Changed
27+
28+
- 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.
29+
30+
### Fixed
31+
32+
- Fixed various minor bugs and improved overall stability.
33+
1334
## 11.0.3000 (07/09/2025)
1435

1536
### [Highlights](https://www.dynamsoft.com/release-highlights/?product=dcv3.0)

0 commit comments

Comments
 (0)