Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codegallery/helloworld/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Hello World represents the most basic implementation of the MRZ Scanner. One of
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dynamsoft MRZ Scanner - Hello World</title>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.0/dist/mrz-scanner.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.2/dist/mrz-scanner.bundle.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion guides/mrz-scanner-static-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The first step in making the sample is to define the script references and the H
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dynamsoft MRZ Scanner - Use File Input</title>
<!-- <script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.1/dist/mrz-scanner.bundle.js"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.2/dist/mrz-scanner.bundle.js"></script> -->
<!-- To use locally: -->
<script src="../../dist/mrz-scanner.bundle.js"></script>

Expand Down
14 changes: 7 additions & 7 deletions guides/mrz-scanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ The simplest way to include the SDK is to use either the [**jsDelivr**](https://
- jsDelivr

```html
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.1/dist/mrz-scanner.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.2/dist/mrz-scanner.bundle.js"></script>
```

- UNPKG

```html
<script src="https://unpkg.com/dynamsoft-mrz-scanner@3.0.1/dist/mrz-scanner.bundle.js"></script>
<script src="https://unpkg.com/dynamsoft-mrz-scanner@3.0.2/dist/mrz-scanner.bundle.js"></script>
```

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-mrz-scanner@3.0.1 -E
npm i dynamsoft-mrz-scanner@3.0.2 -E
# or
yarn add dynamsoft-mrz-scanner@3.0.1 -E
yarn add dynamsoft-mrz-scanner@3.0.2 -E
```

> [!WARNING]
Expand All @@ -78,7 +78,7 @@ Below is the complete Hello World sample page that uses the precompiled script s
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dynamsoft MRZ Scanner - Hello World</title>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.1/dist/mrz-scanner.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.2/dist/mrz-scanner.bundle.js"></script>
</head>

<body>
Expand Down Expand Up @@ -160,7 +160,7 @@ The first step is to get a copy of the resources. There are two ways which you c

- Go to the official [Github repository](https://github.com/Dynamsoft/mrz-scanner-javascript). Download the repository as a ZIP and the library resources are in the *dist* folder. So all you need is just a copy of this *dist* folder.

- If you are using `npm`, you could also install the package and extract the `dist` folder from the package in `node_modules`. Install the package using the command `npm i dynamsoft-mrz-scanner@3.0.1 -E`. Find the `dynamsoft-mrz-scanner` fodler in `node_modules` and the *dist* folder will be inside.
- If you are using `npm`, you could also install the package and extract the `dist` folder from the package in `node_modules`. Install the package using the command `npm i dynamsoft-mrz-scanner@3.0.2 -E`. Find the `dynamsoft-mrz-scanner` fodler in `node_modules` and the *dist* folder will be inside.

### Modify the Build Script

Expand Down Expand Up @@ -244,7 +244,7 @@ Let's now go through the code of the Hello World sample to understand how the co
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dynamsoft MRZ Scanner - Hello World</title>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.1/dist/mrz-scanner.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.2/dist/mrz-scanner.bundle.js"></script>
</head>

<body>
Expand Down
26 changes: 17 additions & 9 deletions releasenotes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,39 @@ permalink: /releasenotes/index.html

# Release Notes

## 3.0.2 (09/11/2025)

### Fixes

- Updated the underlying Capture Vision bundle to `3.0.6001`.
- Improved recognition speed by fixing an issue where a WASM compilation parameter caused performance degradation.
- Resolving security vulnerabilities regarding some of the dev dependencies of the framework samples.

## 3.0.1 (08/06/2025)

## Fixes
### Fixes

- Fixed the file input process error when decoding static file input when `showResultView` is set to `false`.
- Resolved an issue with the `launch()` method throwing an error when there's a different error format thrown.

## 3.0.0 (06/17/2025)

## Highlighted Features
### Highlighted Features

- Updated the underlying Capture Vision bundle to `3.0.3001` for major improvements in reading accuracy and speed.
- Optimized the algorithm to achieve a **30% increase in read rate** as well as a **15% increase in accuracy**.
- Added support for `TD2` and `TD3` Visa.
- Added a `emptyResultMessage` property to the `ResultViewConfig` interface in order to change the string message that is displayed when no result is found.

## Fixes
### Fixes

- Fixed the issue where the camera select icon cuts off on browsers in iOS.
- Optimized the resource loading process of the library.
- Replaced the re-scan button of the result view with a cancel button when the MRZ scanner is launched with a static file.

## 2.1.0 (05/16/2025)

## Highlighted Features
### Highlighted Features

- **[UI]** Redesigned the **`MRZScannerView`** (the main camera view) to have updated icons and better alignment and spacing.
- Changed the default camera resolution when the camera is opened from **1080p** to **2K** (if the camera supports it).
Expand All @@ -47,7 +55,7 @@ permalink: /releasenotes/index.html
- Integrated Dynamsoft's [Mobile Web Capture](https://www.dynamsoft.com/mobile-web-capture/docs/introduction/) with the MRZ Scanner (JavaScript Edition) to allow the user to edit the scanned MRZ image like a document.
- Added `NationalityRaw` and `IssuingStateRaw` to the `MRZData` interface that represent the raw values of these fields

## Fixes
### Fixes

- Fixed parsing of German IDs returning `D<<` instead of `D`.
- `engineResourcePaths` is now set before `initLicense` (internally) to prevent a bug when the user wants to implement a custom `engineResourcePaths`.
Expand All @@ -57,22 +65,22 @@ permalink: /releasenotes/index.html

The **MRZ Scanner JavaScript Edition** has been redesigned and redeveloped to now include a **ready-to-use, fully developed UI** to ease the development process while providing even better functionality.

## Highlighted Features
### Highlighted Features

- Automatic detection and parsing of MRZs in passports and IDs
- Support for the following MRTD formats: TD3 (Passport), TD2 (ID), and TD1 (ID)
- Ready-to-use UI to simplify the development process
- Supports an interactive video scenario (capturing via video) as well as static images (jpg/png)
- Modular, view-based design for easy maintenance and customization

## Views
### Views

MRZ Scanner JavaScript Edition is organized into configurable UI views. Below is a quick overview of the two main views:

> [!TIP]
> Learn more about these views and how to configure them in the [User Guide]({{ site.guides }}mrz-scanner.html) and the [Customization Guide]({{ site.guides }}mrz-scanner-customization.html).

### MRZ Scanner View
#### MRZ Scanner View

- Fully configurable camera view
- Resolution/camera select dropdown to allow for quick improvements
Expand All @@ -81,7 +89,7 @@ MRZ Scanner JavaScript Edition is organized into configurable UI views. Below is
- Flash/Torch support
- Allows the user to load in an image from the photo library

### MRZ Result View
#### MRZ Result View

- Scrollable field view to display the parsed MRZ info
- Displays the original image of the MRZ document
Expand Down