Release Notes for JavaScript SDK - 2.x
2.2.10 (04/11/2024)
Improved
-
Security update for
DynamsoftCodeParserlibrary and other corresponding libraries. -
Update the API
loadSpecto supporting loading multiple specifications at a time.
Fixed
-
Fixed a bug where the same map file is requested more than once.
-
Fixed type definition not found issue under TypeScript 5.x version.
2.0.20 (01/19/2024)
Changelog
- The
DynamsoftCodeParserSDK has been revamped to integrate with the newly established DynamsoftCaptureVision (DCV) architecture. - The definition of a code type is now associated with a specific coding standard. These are the supported code types:
The following shows the API changes
- Static API changes:
| Version 1.x | Version 2.x |
|---|---|
| Dynamsoft.DCP.CodeParser.license | Dynamsoft.License.LicenseManager.initLicense() |
| Dynamsoft.DCP.CodeParser.engineResourcePath | Dynamsoft.Core.CoreModule.engineResourcePaths |
| Dynamsoft.DCP.CodeParser.loadWasm() | Dynamsoft.Core.CoreModule.loadWasm() |
| Dynamsoft.DCP.CodeParser.createInstance() | Dynamsoft.DCP.CodeParser.createInstance() |
- Instance API changes:
| Version 1.x | Version 2.x |
|---|---|
| destroyContext() | dispose() |
| setCodeFormat() | No equivalent |
| parseData() | parse() |
- API added in v2.x
- The method
initSettings()can be used to set up aCodeParserinstance for a parsing task. - The method
resetSettings()can be used to reset aCodeParserinstance to the default settings. - The property
disposedreturns whether aCodeParserinstance has been disposed.