diff --git a/CHANGELOG.md b/CHANGELOG.md index 121b714..1dce3cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,19 @@ ## 0.1.0 +* **Breaking** in `Bluetooth.requestDevice()` the `RequestOptions` are no longer nullable. +* **Breaking** `BluetoothDevice.gatt` is no longer marked as deprecated, it is still marked as `visibleForTesting`. * Added bluetooth advertisements event to a bluetooth device. (Note this is still behind a flag in most browsers.) * Support the newest version of logging. -* **Breaking** in `Bluetooth.requestDevice()` the `RequestOptions` are no longer nullable. * Added `requestLEScan` to `Bluetooth` and `FlutterWebBluetooth`. You can now scan for devices advertisements without needing to pair with each device. However, a normal pair does need to happen before characteristics can be used. -* **Breaking** `BluetoothDevice.gatt` is no longer marked as deprecated, it is still marked as `visibleForTesting`. * Continuing with the IOS Bluefy browser fix for characteristic properties. * Added `has` methods for all the fields in characteristic properties. * Return `false` as default value when a property doesn't exist. * Added `hasProperties` method to check if there are any properties at all. Use this to test if the properties are even reliable. * You can remove any try-catch logic around reading properties if you added those for the mitigation. +* The next version of the library will probably upgrade the minimum SDK from `2.12` to `2.17` to keep up with other + packages. If there are any good reasons to not do this then please create an issue on Github. ## 0.0.9 diff --git a/example/pubspec.lock b/example/pubspec.lock index 1e8763a..29c3cc6 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -101,7 +101,7 @@ packages: path: ".." relative: true source: path - version: "0.0.9" + version: "0.1.0" flutter_web_plugins: dependency: transitive description: flutter diff --git a/pubspec.lock b/pubspec.lock index 46b8fae..523b7a7 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "50.0.0" + version: "51.0.0" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "5.2.0" + version: "5.3.1" args: dependency: transitive description: @@ -77,7 +77,7 @@ packages: name: frontend_server_client url: "https://pub.dartlang.org" source: hosted - version: "3.1.0" + version: "3.2.0" glob: dependency: transitive description: @@ -133,7 +133,7 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.13" + version: "0.12.14" meta: dependency: "direct main" description: @@ -147,7 +147,7 @@ packages: name: mime url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.0.3" node_preamble: dependency: transitive description: @@ -168,7 +168,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.2" + version: "1.8.3" pool: dependency: transitive description: @@ -266,21 +266,21 @@ packages: name: test url: "https://pub.dartlang.org" source: hosted - version: "1.22.0" + version: "1.22.1" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.16" + version: "0.4.17" test_core: dependency: transitive description: name: test_core url: "https://pub.dartlang.org" source: hosted - version: "0.4.20" + version: "0.4.21" typed_data: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index c4d2970..c19d6aa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_web_bluetooth description: A library to use the web bluetooth api in your web project. Will play nice if used in IO projects. -version: 0.0.9 +version: 0.1.0 homepage: https://github.com/jeroen1602/flutter_web_bluetooth/ repository: https://github.com/jeroen1602/flutter_web_bluetooth/ issue_tracker: https://github.com/jeroen1602/flutter_web_bluetooth/issues/