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