Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.
Release Notes for JavaScript SDK - 2.x
2.2.10 (04/11/2024)
Improved
-
Security update for
DynamsoftCodeParser
library and other corresponding libraries. -
Update the API
loadSpec
to 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
DynamsoftCodeParser
SDK 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 aCodeParser
instance for a parsing task. - The method
resetSettings()
can be used to reset aCodeParser
instance to the default settings. - The property
disposed
returns whether aCodeParser
instance has been disposed.