<!-- Edit CHANGELOG.md, not this file. Includes fail silently: an empty
	page means the include target moved. -->


# Changelog

All notable changes to Mobile Web Capture JavaScript Edition are documented
here.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [4.1.0] - 2026-07-06

### Changed

- Update Mobile Document Scanner JS to v1.5.0.
- Update Dynamsoft Document Viewer JS to v3.2.1 for security updates.
- Update the framework samples' dependencies and README.

### Fixed

- Error when clicking the close button from the library view (and triggering
  `onClose()`).

### Dependencies

- [Dynamsoft Mobile Document Scanner JS 1.5.0](https://www.dynamsoft.com/mobile-document-scanner/docs/web/changelog.html)
- [Dynamsoft Document Viewer 3.2.1](https://www.dynamsoft.com/document-viewer/docs/releasenotes/index.html#321-03102026)

## [4.0.0] - 2026-02-02

### Changed

- **Breaking:** no longer depend on Dynamsoft Capture Vision directly — MWC
  reaches it through MDS and DDV instead.
- **Breaking:** raw DCV APIs are no longer exposed; only MDS and DDV are.
- **Breaking:** MDS JS changed its scanner UI template file from `html` to
  `xml` for security purposes, which affects consumers self-hosting this UI
  template file (no impact if using the CDN-hosted file).
- Synchronize minor documentation updates to the README.

### Security

- Update MDS JS to v1.4.2 and DDV to v3.2 to improve security.

### Dependencies

- [Mobile Document Scanner JS 1.4.2](https://www.dynamsoft.com/mobile-document-scanner/docs/web/changelog.html)
- [Dynamsoft Document Viewer 3.2.0](https://www.dynamsoft.com/document-viewer/docs/releasenotes/index.html#32-01132026)

## [3.1.0] - 2025-05-01

The most notable improvement in this version is the pluggable scanner
feature, which allows MWC to integrate any custom scanner.

### Added

- Pluggable Scanner feature, which integrates any scanner that:
  1. Implements the `MWCScanner` interface.
  2. Implements a `launch()` method returning a result that includes
     `_imageData` with a `toBlob()` function, `imageData: true`, and a
     `status.code` equal to `EnumResultStatus.RS_SUCCESS`.

### Changed

- Update MDS to [version 1.2](https://github.com/Dynamsoft/document-scanner-javascript/releases/tag/v1.2.0).
- Change the MWC header color to make the component visually distinct.
- Move the "Select All" and "Cancel" buttons to the header in the Document
  View.

### Fixed

- Select mode now toggles off after deleting a page in the Document View.

## [3.0.1] - 2025-02-07

### Fixed

- Missing **Download** button icon in the Document Result View.

## [3.0.0] - 2025-02-07

> [!IMPORTANT]
> MWC version 3.0.0 is a **complete rewrite** and is not based on previous
> versions. It was released as a beta.

In this release, **Mobile Web Capture (MWC)** was completely redesigned from
the ground up into a ready-to-use, fully developed, browser-based document
management system for mobile devices.

### Added

- Automatic document detection and image capture.
- Scanning and organizing pages into a document.
- Organizing multiple documents in a library.
- Full suite of PDF annotation and editing tools.
- Uploading documents to a server or saving them locally.
- Ready-to-use and flexible document scanning workflow.
- Modular, view-based design for easy maintenance and customization — see the
  [Introduction](https://www.dynamsoft.com/mobile-document-scanner/docs/web/code-gallery/mobile-web-capture/index.html#views)
  for an overview of the Views.

## [2.0.0] - 2024-09-03

### Dependencies

- [Dynamsoft Document Viewer JavaScript Edition 2.0](https://www.dynamsoft.com/document-viewer/docs/releasenotes/index.html)
- [Dynamsoft Document Normalizer JavaScript Edition 2.2.10](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/release-notes/javascript-2.html)

## [1.1.0] - 2024-01-16

### Dependencies

- [Dynamsoft Document Viewer JavaScript Edition 1.1](https://www.dynamsoft.com/document-viewer/docs/releasenotes/index.html#11-01122024)
- [Dynamsoft Document Normalizer JavaScript Edition 2.0.20](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/release-notes/javascript-2.html)

## [1.0.0.0] - 2023-12-28

### Dependencies

- [Dynamsoft Document Viewer JavaScript Edition 1.0.0](https://www.dynamsoft.com/document-viewer/docs/releasenotes/index.html#100-12262023)
- [Dynamsoft Document Normalizer JavaScript Edition 2.0.11](https://www.dynamsoft.com/document-normalizer/docs/web/programming/javascript/release-notes/javascript-2.html)

[4.1.0]: https://github.com/Dynamsoft/mobile-web-capture/compare/v4.0.0...v4.1.0
[4.0.0]: https://github.com/Dynamsoft/mobile-web-capture/compare/3.1.0...v4.0.0
[3.1.0]: https://github.com/Dynamsoft/mobile-web-capture/compare/3.0.1...3.1.0
[3.0.1]: https://github.com/Dynamsoft/mobile-web-capture/compare/3.0.0...3.0.1
[3.0.0]: https://github.com/Dynamsoft/mobile-web-capture/compare/2.0.0...3.0.0
[2.0.0]: https://github.com/Dynamsoft/mobile-web-capture/compare/1.1.0...2.0.0
[1.1.0]: https://github.com/Dynamsoft/mobile-web-capture/compare/1.0.0.0...1.1.0
[1.0.0.0]: https://github.com/Dynamsoft/mobile-web-capture/releases/tag/1.0.0.0
