Skip to content

Commit

Permalink
fix headings for breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
navaronbracke committed Feb 28, 2024
1 parent f32083b commit c64a8a0
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 5.0.0-beta.1

BREAKING CHANGES:
**BREAKING CHANGES:**

* Flutter 3.19.0 is now required.
* The `width` and `height` of `BarcodeCapture` have been removed, in favor of `size`.
Expand Down Expand Up @@ -31,7 +31,9 @@ Bugs fixed:
* [iOS] Fixed a crash with a nil capture session when starting the camera. (thanks @navaronbracke !)

## 4.0.0
BREAKING CHANGES:

**BREAKING CHANGES:**

* [Android] compileSdk has been upgraded to version 34.
* [Android] Java version has been upgraded to version 17.

Expand Down Expand Up @@ -214,7 +216,8 @@ Deprecated:
* The `onStart` method has been renamed to `onScannerStarted`.
* The `onPermissionSet` argument of the `MobileScannerController` is now deprecated.

Breaking changes:
**BREAKING CHANGES:**

* `MobileScannerException` now uses an `errorCode` instead of a `message`.
* `MobileScannerException` now contains additional details from the original error.
* Refactored `MobileScannerController.start()` to throw `MobileScannerException`s
Expand Down Expand Up @@ -251,7 +254,9 @@ Fixes:
* [iOS] Fix crash when changing torch state

## 3.0.0-beta.2
Breaking changes:

**BREAKING CHANGES:**

* The arguments parameter of onDetect is removed. The data is now returned by the onStart callback
in the MobileScanner widget.
* onDetect now returns the object BarcodeCapture, which contains a List of barcodes and, if enabled, an image.
Expand All @@ -271,7 +276,9 @@ Other improvements:
* [iOS] Updated POD dependencies

## 3.0.0-beta.1
Breaking changes:

**BREAKING CHANGES:**

* [Android] SDK updated to SDK 33.

Features:
Expand All @@ -287,7 +294,9 @@ Other changes:
* Several minor code improvements

## 2.0.0
Breaking changes:

**BREAKING CHANGES:**

This version is only compatible with flutter 3.0.0 and later.

## 1.1.2-play-services
Expand Down Expand Up @@ -321,7 +330,9 @@ Bugfixes:
* Upgraded several dependencies.

## 1.0.0
BREAKING CHANGES:

**BREAKING CHANGES:**

This version adds a new allowDuplicates option which now defaults to FALSE. this means that it will only call onDetect once after a scan.
If you still want duplicates, you can set allowDuplicates to true.
This also means that you don't have to check for duplicates yourself anymore.
Expand Down

0 comments on commit c64a8a0

Please sign in to comment.