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
3 changes: 2 additions & 1 deletion codegallery/helloworld/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ 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.2/dist/mrz-scanner.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.3/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.2/dist/mrz-scanner.bundle.js"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.3/dist/mrz-scanner.bundle.js"></script> -->
<!-- To use locally: -->
<script src="../../dist/mrz-scanner.bundle.js"></script>

Expand Down
24 changes: 9 additions & 15 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.2/dist/mrz-scanner.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.3/dist/mrz-scanner.bundle.js"></script>
```

- UNPKG

```html
<script src="https://unpkg.com/dynamsoft-mrz-scanner@3.0.2/dist/mrz-scanner.bundle.js"></script>
<script src="https://unpkg.com/dynamsoft-mrz-scanner@3.0.3/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.2 -E
npm i dynamsoft-mrz-scanner@3.0.3 -E
# or
yarn add dynamsoft-mrz-scanner@3.0.2 -E
yarn add dynamsoft-mrz-scanner@3.0.3 -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.2/dist/mrz-scanner.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.3/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.2 -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.3 -E`. Find the `dynamsoft-mrz-scanner` fodler in `node_modules` and the *dist* folder will be inside.

### Modify the Build Script

Expand All @@ -182,19 +182,13 @@ Update the `scripts` section in `package.json` to automatically copy the librari
By default, the engine resource paths of the libraries are usually set to the CDN links for each library. Once you modify the build script, the library resource files are then available locally so the engine resource paths can now be set to the path defined in the previous step.

```ts
const mrzScanner = new Dynamsoft.DocumentScanner({
const mrzScanner = new Dynamsoft.MRZScanner({
license: "YOUR_LICENSE_KEY_HERE",
scannerViewConfig: {
uiPath: "./dist/mrz-scanner.ui.html", // Use the local file
},
engineResourcePaths: {
std: "./dist/libs/dynamsoft-capture-vision-std/dist/",
dip: "./dist/libs/dynamsoft-image-processing/dist/",
core: "./dist/libs/dynamsoft-core/dist/",
license: "./dist/libs/dynamsoft-license/dist/",
cvr: "./dist/libs/dynamsoft-capture-vision-router/dist/",
dlr: "./dist/libs/dynamsoft-label-recognizer/dist/",
dcp: "./dist/libs/dynamsoft-code-parser/dist/"
rootDirectory: "https://cdn.jsdelivr.net/npm/"
},
});
```
Expand Down Expand Up @@ -244,7 +238,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.2/dist/mrz-scanner.bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-mrz-scanner@3.0.3/dist/mrz-scanner.bundle.js"></script>
</head>

<body>
Expand Down
16 changes: 12 additions & 4 deletions releasenotes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,20 @@ permalink: /releasenotes/index.html

# Release Notes

## 3.0.3 (09/17/2025)

### Fixes

- Fixed the `launch()` method so that the `imageOrFile` parameter is optional (for TypeScript implementation).
- Altered the React Hooks sample to allow it to run in `Strict Mode`.

## 3.0.2 (09/11/2025)
### Improved

- Updated the underlying **Capture Vision Bundle dependency** to **3.0.6001**.
- Increased recognition speed by fixing an issue caused by a WASM compilation parameter that degraded performance.
- Enhanced framework samples with the latest security updates.
### 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.
- Strengthened and improved the framework samples (e.g. Angular) with security updates.

## 3.0.1 (08/06/2025)

Expand Down