From 0c8552c70c72b525f825486dfe3244f7e6298e01 Mon Sep 17 00:00:00 2001 From: Adam Alfredsson Date: Thu, 17 Aug 2023 15:41:12 +0200 Subject: [PATCH] Update changelog --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae4c63a..b4ddb68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.0] - 2023-08-17 + +### Changed + +- Updated the `@zxing/library` dependency to `0.20.0`. +- Renamed `onResult` and `onError` to `onDecodeResult` and `onDecodeError` respectively. +- Switched the `onDecodeError` error type to use the `Exception` class from `@zxing/library`. + +### Added + +- Introduced `onError` to handle errors that occur during initialization. + ## [1.1.4] - 2023-03-20 ### Fixed