Dev Center
Table of contents

Release Notes for Dynamsoft Barcode Reader JavaScript SDK

10.2.10 (04/03/2024)

New

  • Updated the template system
    • Added StringLengthRange for TextDetectionMode.
    • Added Argument BarcodeFormat for DPMCodeReadingModes. Currently, you can specify “BF_DATAMATRIX” or “BF_QR_CODE” for the parameter.
    • Added ReferenceTaskNameArray under Location.ReferenceObjectFilter to filter the reference objects generated by the task name.
    • Added the support of the OutputTaskSetting definition. The following sub-parameters are available in OutputTaskSetting object:
      • OutputCondition
      • TaskResultArray
      • TargetROIDefName
      • TaskSettingNameArray
      • BackwardReferenceOutput
      • ReferenceTaskNameArray
      • ReferenceResultTypeArray
      • Operator
    • Offset parameter is optimized.
      • Added ReferenceObjectType to specify whether the reference object is an atomic object or the whole image.
      • Added ReferenceXAxis & ReferenceYAxis to define the X & Y axis.
      • Modified FirstPoint, SecondPoint, ThirdPoint & FourthPoint. You can specify whether the X or Y coordinate of the point is measured by percentage.
      • Deprecated ReferenceObjectSize Type.
  • Added the following new error codes
    • EC_IMAGE_SIZE_NOT_MATCH
    • EC_IMAGE_PIXEL_FORMAT_NOT_MATCH
    • EC_SECTION_LEVEL_RESULT_IRREPLACEABLE
    • EC_AXIS_DEFINITION_INCORRECT
    • EC_TEXT_LINE_GROUP_LAYOUT_CONFLICT
    • EC_TEXT_LINE_GROUP_REGEX_CONFLICT
  • Added ObservationParameters interface for allowing the configuration of intermediate result observation.
  • Added a new call back function onShortLinesUnitReceived to the IntermediateResultReceiver class.
  • Added a new supported image pixel format, binary 8 inverted. The corresponding enumeration member is added to the EnumImagePixelFormat.
  • Update MultiFrameResultCrossFilter class to allow string type for resultItemType.
  • Update TextZonesUnit interface, now using TextZone interface to record text zone data.
  • Update CandidateBarcodeZonesUnit interface, now using CandidateBarcodeZone to record candidate barcode zone data instead of Quadrilateral.
  • Update DeformationResistedBarcodeImageUnit interface, now using DeformationResistedBarcode interface to record deformation resisted barcode data.

Improved

  • Updated the security of the DynamsoftBarcodeReader library and other corresponding dependent libraries.

Fixed

  • Fix the issue of camera not opening in iOS 17.4.

Breaking Changes

  • The interface CapturedResult is migrated from DynamsoftCore module to DynamsoftCaptureVisionRouter module.
  • Changed the logic of the capturedResultItemTypes setting of SimplifiedCaptureVisionSettings:
    • If the result item types don’t match the specified template, the method updateSettings will return the error code EC_PARAMETER_VALUE_INVALID with the message “The captured result item types do not match the task configurations in the template”.
    • Based on the capturedResultItemTypes setting, the irrelevant tasks will be removed from the template.
    • The capturedResultItemTypes should include at least one of the CRIT_BARCODE, CRIT_TEXT_LINE, CRIT_DETECTED_QUAD, CRIT_NORMALIZED_IMAGE. Otherwise, the method updateSettings will return the error code EC_PARAMETER_VALUE_INVALID with the message “The captured result item types should contain at least one task result type”.
  • Refactored the Contour interface. Please view API reference - Contour interface for more information.

10.0.21 (02/05/2024)

Improved

  • Introduced dbr.bundle.js to include packages that are required on running Dynamsoft Barcode Reader to reduce the complexity of the code.

10.0.20 (01/29/2024)

Changelog

In this version, the SDK has been refactored under the DynamsoftCaptureVision (DCV) architecture. To learn more about the architecture, please see Architecture of Dynamsoft Capture Vision. The following highlights the major changes:

  • The class BarcodeReader and BarcodeScanner are removed and its functionalities are now incorporated into the newly added Class CaptureVisionRouter.

  • License-related functions are handled by class Dynamsoft.License.LicenseManager.

  • Camera-related functions are handled by DynamsoftCameraEnhancer(DCE). Please note that the following features are grouped together as enhanced features that require a license:
    • Enhanced-focus.
    • Auto-zoom.
    • Tap-to-focus.
  • This version of BarcodeReader only accepts DynamsoftCameraEnhancer(DCE) version 4.0.1 and above, which has been refactored to be compliant with the ImageSourceAdapter (ISA) interface, as a valid image source.

  • Decoded barcode results are returned via the CapturedResultReceiver (CRR) interface.

  • For the full list of API changes, please refer to the v9 to v10 Upgrade Guide.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(10.2.10)
    • Version 10.x
      • Version 10.0.21
      • Version 10.0.20
    • Version 9.x
      • Version 9.6.42
      • Version 9.6.40
      • Version 9.6.33
      • Version 9.6.32
      • Version 9.6.31
      • Version 9.6.30
      • Version 9.6.21
      • Version 9.6.20
      • Version 9.6.11
      • Version 9.6.10
      • Version 9.6.2
      • Version 9.6.1
      • Version 9.6.0
      • Version 9.3.1
      • Version 9.3.0
      • Version 9.2.13
      • Version 9.2.12
      • Version 9.2.11
      • Version 9.0.2
      • Version 9.0.1
      • Version 9.0.0
    • Version 8.x
      • Version 8.8.7
      • Version 8.8.5
      • Version 8.8.3
      • Version 8.8.0
      • Version 8.6.3
      • Version 8.6.0
      • Version 8.4.0
      • Version 8.2.5
      • Version 8.2.3
      • Version 8.2.1
      • Version 8.2.0
      • Version 8.1.3
      • Version 8.1.2
      • Version 8.1.0
      • Version 8.0.0
    • Version 7.x
      • Version 7.6.0
      • Version 7.5.0
    Change +