Appearance
Changelog
All notable changes to the Mobile Document Scanner JavaScript Edition are documented here.
The format is based on Keep a Changelog.
1.5.0 - 2026-06-26
Added
- Image filtering and rotation in the result view.
- String and theme color customization across the entire UI (
stringConfig,themeColor).
Changed
- Update the online demo to support multi-page scanning with DDV integration.
Fixed
- Scanner view UI bugs.
- Inconsistent workflow on retake.
Dependencies
1.4.2 - 2026-01-23
Security
- Update Dynamsoft Capture Vision JS to 3.2.5000 to resolve a vulnerability from one of its dependencies.
Changed
- Update Angular sample node dependencies.
- Synchronize minor documentation updates to the README.
Dependencies
1.4.0 - 2025-11-24
Changed
- Breaking: rename
document-scanner.ui.htmltodocument-scanner.ui.xmlto better reflect its purpose as a declarative UI configuration template. This affects self-hosting users only — update the path in thescannerViewConfig.cameraEnhancerUIPathproperty accordingly and rebuild the library.
Added
- Frame verification: select the clearest of multiple video frames on scan with
enableFrameVerification(defaulttrue). - Continuous scanning mode to make multiple scans on a single
launch(), enabled byenableContinuousScanning(defaultfalse):onDocumentScannedhandler to get single scan results in continuous scanning mode.- A thumbnail scan preview in the scanner view with an optional
onThumbnailClickedclick handler. stopContinuousScanningto programmatically stop the scanning loop.
enableBoundsDetectionModeto set the default bounds detection mode.- Sample demonstrating minimal code to integrate MDS with Dynamsoft Document Viewer (DDV) to scan to PDF with continuous scanning.
- Minimal MDS-only continuous scanning sample.
- Guides on using continuous scan mode and integrating with DDV.
- Full TSDoc annotation coverage for all MDS APIs to bring API references to IDEs and allow content extraction with compatible development tools.
Removed
- The animated shutter spinner.
Fixed
- "Torch not supported" message appearing unnecessarily.
- Memory leak caused by logging results to the console.
Security
- Update framework sample dependencies to resolve security vulnerabilities.
Dependencies
1.3.1 - 2025-09-04
Changed
- Upgrade Dynamsoft Capture Vision JS from 2.6.1000 to 3.0.6001. This upgrade improves document detection effectiveness, especially for white documents on white backgrounds, and simplifies the build and bundling approach.
- Improve TypeScript configuration and module resolution.
- Set
boundsDetectionEnabledtotrueto make the code clearer, since its value was already overridden totruewhen instantiating the MDS object.
Added
- Ready-made samples for Angular, React, and Vue, with developer guides for the framework samples.
- TSDoc annotations to bring API references to IDEs and allow content extraction with compatible development tools.
Fixed
- Change the type of
DocumentResult.correctedImageResultfromDeskewedImageResultItem | DSImageDatatoDeskewedImageResultItemto fix a TypeScript error when calling methods liketoCanvas(). - Create the
dds.esm.d.tsdeclaration file to fix ESM import/export issues.
Dependencies
1.2.0 - 2025-04-30
Added
- Scanner view configuration options:
enableAutoCropMode(defaultfalse).enableSmartCaptureMode(defaultfalse).showSubfooter(defaulttrue): toggle the sub-footer container that lets users switch scan modes (Detect border, Smart capture, Auto crop).showPoweredByDynamsoft(defaulttrue): toggle the "Powered by Dynamsoft" message on the scanner view.minVerifiedFramesForAutoCapture(default2): the minimum verified frames to auto-capture the document — lower it to make the capture faster, at a possible cost in accuracy or image quality.scanRegion: confine scanning to a region of the viewfinder (region ratio, bottom margin, and border style).
- "Re-take" button in the correction view to retake/rescan the document.
- Landscape support for the scanner view (implemented in
document-scanner.ui.html). launch()accepts a static image; a sample is provided undersample/scenarios/use-file-input.html.
Changed
- Template optimization: update
scaleDownThresholdto1000. - Set the default camera resolution to 2K.
- Update the trial license banner link to lead to
https://www.dynamsoft.com/customer/license/trialLicense?product=mwc&deploymenttype=web.
Fixed
- Enable
OutputOriginalImageon the template by default; previously it had to be enabled manually when using a custom template. - Set
engineResourcePathsbefore license initialization to prevent a bug when implementing a custom engine resource path.
Dependencies
- Dynamsoft Capture Vision JS 2.6.1000
- Dynamsoft Camera Enhancer 4.1.1
- Dynamsoft Document Normalizer 2.6.11
1.1.1 - 2025-02-07
Fixed
- Icon not showing up on Firefox mobile.
Dependencies
- Dynamsoft Capture Vision JS 2.6.1000
- Dynamsoft Camera Enhancer 4.1.1
- Dynamsoft Document Normalizer 2.6.11
1.1.0 - 2025-02-07
Added
- View control configuration options:
showCorrectionViewandshowResultViewtoggle each view's visibility and workflow. When the correction view is hidden, the "Smart Capture" button is hidden on the scanner view; when the result view is hidden, "Apply" changes to "Done" in the correction view. - Resource configuration options:
engineResourcePathsto configure DCV engine resources andtemplateFilePathto set the template file location. EnumDDSViewsenum (Scanner/Result/Correction).
Fixed
- Button state issues with hidden views.
containertype flexibility inDocumentScannerViewConfig.
Dependencies
- Dynamsoft Capture Vision JS 2.6.1000
- Dynamsoft Camera Enhancer 4.1.1
- Dynamsoft Document Normalizer 2.6.11
1.0.3 - 2025-02-07
Fixed
- Missing devDependency in
package.json.
Dependencies
- Dynamsoft Capture Vision JS 2.6.1000
- Dynamsoft Camera Enhancer 4.1.1
- Dynamsoft Document Normalizer 2.6.11
1.0.2 - 2025-02-05
Changed
- Breaking: rename
ScanResultViewtoDocumentResultView. - Breaking: rename
DocumentScanResulttoDocumentResult. - Breaking: rename
scanResultViewConfigtoresultViewConfig. - Breaking: rename
ControlButtontoToolbarConfig. - Breaking: change the
textproperty for toolbar buttons tolabel. - Update the "Share PNG" icon to match other products.
- Change the built-in server configuration to allow showcasing the "Upload" feature, and print URLs to specific pages when running
npm run serve.
Added
- Support for
<img>tags on toolbar icons. - An upload button, shown when an
onUploadfunction is specified. - A rotate message on
/demo.htmlto handle landscape mode.
Fixed
- Detected border positioned incorrectly when importing an image larger than the canvas dimensions (scale-down not working properly).
- Camera and resolution outline logic breaking when transitioning from the demo camera to the live camera.
Dependencies
- Dynamsoft Capture Vision JS 2.6.1000
- Dynamsoft Camera Enhancer 4.1.1
- Dynamsoft Document Normalizer 2.6.11
1.0.0 - 2025-01-27
Initial release.
Dependencies
- Dynamsoft Capture Vision JS 2.6.1000
- Dynamsoft Camera Enhancer 4.1.1
- Dynamsoft Document Normalizer 2.6.11