Navaron Bracke

fix headings for breaking changes

1 ## 5.0.0-beta.1 1 ## 5.0.0-beta.1
2 2
3 -BREAKING CHANGES: 3 +**BREAKING CHANGES:**
4 4
5 * Flutter 3.19.0 is now required. 5 * Flutter 3.19.0 is now required.
6 * The `width` and `height` of `BarcodeCapture` have been removed, in favor of `size`. 6 * The `width` and `height` of `BarcodeCapture` have been removed, in favor of `size`.
@@ -31,7 +31,9 @@ Bugs fixed: @@ -31,7 +31,9 @@ Bugs fixed:
31 * [iOS] Fixed a crash with a nil capture session when starting the camera. (thanks @navaronbracke !) 31 * [iOS] Fixed a crash with a nil capture session when starting the camera. (thanks @navaronbracke !)
32 32
33 ## 4.0.0 33 ## 4.0.0
34 -BREAKING CHANGES: 34 +
  35 +**BREAKING CHANGES:**
  36 +
35 * [Android] compileSdk has been upgraded to version 34. 37 * [Android] compileSdk has been upgraded to version 34.
36 * [Android] Java version has been upgraded to version 17. 38 * [Android] Java version has been upgraded to version 17.
37 39
@@ -214,7 +216,8 @@ Deprecated: @@ -214,7 +216,8 @@ Deprecated:
214 * The `onStart` method has been renamed to `onScannerStarted`. 216 * The `onStart` method has been renamed to `onScannerStarted`.
215 * The `onPermissionSet` argument of the `MobileScannerController` is now deprecated. 217 * The `onPermissionSet` argument of the `MobileScannerController` is now deprecated.
216 218
217 -Breaking changes: 219 +**BREAKING CHANGES:**
  220 +
218 * `MobileScannerException` now uses an `errorCode` instead of a `message`. 221 * `MobileScannerException` now uses an `errorCode` instead of a `message`.
219 * `MobileScannerException` now contains additional details from the original error. 222 * `MobileScannerException` now contains additional details from the original error.
220 * Refactored `MobileScannerController.start()` to throw `MobileScannerException`s 223 * Refactored `MobileScannerController.start()` to throw `MobileScannerException`s
@@ -251,7 +254,9 @@ Fixes: @@ -251,7 +254,9 @@ Fixes:
251 * [iOS] Fix crash when changing torch state 254 * [iOS] Fix crash when changing torch state
252 255
253 ## 3.0.0-beta.2 256 ## 3.0.0-beta.2
254 -Breaking changes: 257 +
  258 +**BREAKING CHANGES:**
  259 +
255 * The arguments parameter of onDetect is removed. The data is now returned by the onStart callback 260 * The arguments parameter of onDetect is removed. The data is now returned by the onStart callback
256 in the MobileScanner widget. 261 in the MobileScanner widget.
257 * onDetect now returns the object BarcodeCapture, which contains a List of barcodes and, if enabled, an image. 262 * onDetect now returns the object BarcodeCapture, which contains a List of barcodes and, if enabled, an image.
@@ -271,7 +276,9 @@ Other improvements: @@ -271,7 +276,9 @@ Other improvements:
271 * [iOS] Updated POD dependencies 276 * [iOS] Updated POD dependencies
272 277
273 ## 3.0.0-beta.1 278 ## 3.0.0-beta.1
274 -Breaking changes: 279 +
  280 +**BREAKING CHANGES:**
  281 +
275 * [Android] SDK updated to SDK 33. 282 * [Android] SDK updated to SDK 33.
276 283
277 Features: 284 Features:
@@ -287,7 +294,9 @@ Other changes: @@ -287,7 +294,9 @@ Other changes:
287 * Several minor code improvements 294 * Several minor code improvements
288 295
289 ## 2.0.0 296 ## 2.0.0
290 -Breaking changes: 297 +
  298 +**BREAKING CHANGES:**
  299 +
291 This version is only compatible with flutter 3.0.0 and later. 300 This version is only compatible with flutter 3.0.0 and later.
292 301
293 ## 1.1.2-play-services 302 ## 1.1.2-play-services
@@ -321,7 +330,9 @@ Bugfixes: @@ -321,7 +330,9 @@ Bugfixes:
321 * Upgraded several dependencies. 330 * Upgraded several dependencies.
322 331
323 ## 1.0.0 332 ## 1.0.0
324 -BREAKING CHANGES: 333 +
  334 +**BREAKING CHANGES:**
  335 +
325 This version adds a new allowDuplicates option which now defaults to FALSE. this means that it will only call onDetect once after a scan. 336 This version adds a new allowDuplicates option which now defaults to FALSE. this means that it will only call onDetect once after a scan.
326 If you still want duplicates, you can set allowDuplicates to true. 337 If you still want duplicates, you can set allowDuplicates to true.
327 This also means that you don't have to check for duplicates yourself anymore. 338 This also means that you don't have to check for duplicates yourself anymore.