Julian Steenbakker

doc: update readme with better explanation of v5.0.0

1 ## 5.1.0 1 ## 5.1.0
2 -  
3 This updates reverts a few breaking changes made in v5.0.0 in order to keep things simple. 2 This updates reverts a few breaking changes made in v5.0.0 in order to keep things simple.
4 3
5 * The `onDetect` method has been reinstated in the `MobileScanner` widget, but is nullable. You can 4 * The `onDetect` method has been reinstated in the `MobileScanner` widget, but is nullable. You can
@@ -15,7 +14,6 @@ has been refactored to be compatible with 1.7. @@ -15,7 +14,6 @@ has been refactored to be compatible with 1.7.
15 14
16 15
17 ## 5.0.2 16 ## 5.0.2
18 -  
19 Bugs fixed: 17 Bugs fixed:
20 * Fixed a crash when the controller is disposed while it is still starting. [#1036](https://github.com/juliansteenbakker/mobile_scanner/pull/1036) (thanks @EArminjon !) 18 * Fixed a crash when the controller is disposed while it is still starting. [#1036](https://github.com/juliansteenbakker/mobile_scanner/pull/1036) (thanks @EArminjon !)
21 * Fixed an issue that causes the initial torch state to be out of sync. 19 * Fixed an issue that causes the initial torch state to be out of sync.
@@ -24,19 +22,16 @@ Improvements: @@ -24,19 +22,16 @@ Improvements:
24 * Updated the lifeycle code sample to handle not-initialized controllers. 22 * Updated the lifeycle code sample to handle not-initialized controllers.
25 23
26 ## 5.0.1 24 ## 5.0.1
27 -  
28 Improvements: 25 Improvements:
29 * Adjusted the platform checks to use the defaultTargetPlatform API, so that tests can use the correct platform overrides. 26 * Adjusted the platform checks to use the defaultTargetPlatform API, so that tests can use the correct platform overrides.
30 27
31 ## 5.0.0 28 ## 5.0.0
32 -  
33 This major release contains all the changes from the 5.0.0 beta releases, along with the following changes: 29 This major release contains all the changes from the 5.0.0 beta releases, along with the following changes:
34 30
35 Improvements: 31 Improvements:
36 - [Android] Remove the Kotlin Standard Library from the dependencies, as it is automatically included in Kotlin 1.4+ 32 - [Android] Remove the Kotlin Standard Library from the dependencies, as it is automatically included in Kotlin 1.4+
37 33
38 ## 5.0.0-beta.3 34 ## 5.0.0-beta.3
39 -  
40 **BREAKING CHANGES:** 35 **BREAKING CHANGES:**
41 36
42 * Flutter 3.19.0 is now required. 37 * Flutter 3.19.0 is now required.
@@ -50,12 +45,10 @@ Improvements: @@ -50,12 +45,10 @@ Improvements:
50 * [web] Migrates to extension types. (thanks @koji-1009 !) 45 * [web] Migrates to extension types. (thanks @koji-1009 !)
51 46
52 ## 5.0.0-beta.2 47 ## 5.0.0-beta.2
53 -  
54 Bugs fixed: 48 Bugs fixed:
55 * Fixed an issue where the scan window was not updated when its size was changed. (thanks @navaronbracke !) 49 * Fixed an issue where the scan window was not updated when its size was changed. (thanks @navaronbracke !)
56 50
57 ## 5.0.0-beta.1 51 ## 5.0.0-beta.1
58 -  
59 **BREAKING CHANGES:** 52 **BREAKING CHANGES:**
60 53
61 * The `width` and `height` of `BarcodeCapture` have been removed, in favor of `size`. 54 * The `width` and `height` of `BarcodeCapture` have been removed, in favor of `size`.
@@ -86,7 +79,6 @@ Bugs fixed: @@ -86,7 +79,6 @@ Bugs fixed:
86 * [iOS] Fixed a crash with a nil capture session when starting the camera. (thanks @navaronbracke !) 79 * [iOS] Fixed a crash with a nil capture session when starting the camera. (thanks @navaronbracke !)
87 80
88 ## 4.0.0 81 ## 4.0.0
89 -  
90 **BREAKING CHANGES:** 82 **BREAKING CHANGES:**
91 83
92 * [Android] compileSdk has been upgraded to version 34. 84 * [Android] compileSdk has been upgraded to version 34.