From 240c3ee6f33c57fd9fc4c31e8df70645cdf2a4ae Mon Sep 17 00:00:00 2001 From: Rutger Vromans Date: Fri, 30 Jun 2023 14:40:55 -0700 Subject: [PATCH] Make new Connectable addition backwards compatible and bump version (#757) Co-authored-by: RutgerVromans --- example/pubspec.lock | 6 +++--- example/pubspec.yaml | 4 ++-- packages/flutter_reactive_ble/CHANGELOG.md | 4 ++++ packages/flutter_reactive_ble/pubspec.lock | 4 ++-- packages/flutter_reactive_ble/pubspec.yaml | 6 +++--- packages/reactive_ble_mobile/CHANGELOG.md | 4 ++++ packages/reactive_ble_mobile/pubspec.lock | 2 +- packages/reactive_ble_mobile/pubspec.yaml | 4 ++-- packages/reactive_ble_platform_interface/CHANGELOG.md | 4 ++++ .../lib/src/model/discovered_device.dart | 2 +- packages/reactive_ble_platform_interface/pubspec.yaml | 2 +- 11 files changed, 27 insertions(+), 15 deletions(-) diff --git a/example/pubspec.lock b/example/pubspec.lock index 71152c17..84b5635b 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -220,7 +220,7 @@ packages: path: "../packages/flutter_reactive_ble" relative: false source: path - version: "5.1.0" + version: "5.1.1" flutter_test: dependency: "direct dev" description: flutter @@ -440,14 +440,14 @@ packages: path: "../packages/reactive_ble_mobile" relative: false source: path - version: "5.1.0" + version: "5.1.1" reactive_ble_platform_interface: dependency: "direct overridden" description: path: "../packages/reactive_ble_platform_interface" relative: true source: path - version: "5.1.0" + version: "5.1.1" shelf: dependency: transitive description: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 1520d951..e31d1e8a 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_reactive_ble_example description: Demonstrates how to use the flutter_reactive_ble plugin. -version: 5.1.0 +version: 5.1.1 publish_to: 'none' environment: @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter flutter_lints: ^1.0.4 - flutter_reactive_ble: ^5.1.0 + flutter_reactive_ble: ^5.1.1 functional_data: ^1.0.0 intl: ^0.17.0 diff --git a/packages/flutter_reactive_ble/CHANGELOG.md b/packages/flutter_reactive_ble/CHANGELOG.md index 7cd28ca1..190808e2 100644 --- a/packages/flutter_reactive_ble/CHANGELOG.md +++ b/packages/flutter_reactive_ble/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.1.1 + +* Make Connectable backwards compatible #757, #750 + ## 5.1.0 * Add IsConnectable to discovery data. #750 diff --git a/packages/flutter_reactive_ble/pubspec.lock b/packages/flutter_reactive_ble/pubspec.lock index 2720b536..0c0ed6a7 100644 --- a/packages/flutter_reactive_ble/pubspec.lock +++ b/packages/flutter_reactive_ble/pubspec.lock @@ -409,14 +409,14 @@ packages: path: "../reactive_ble_mobile" relative: true source: path - version: "5.1.0" + version: "5.1.1" reactive_ble_platform_interface: dependency: "direct main" description: path: "../reactive_ble_platform_interface" relative: true source: path - version: "5.1.0" + version: "5.1.1" shelf: dependency: transitive description: diff --git a/packages/flutter_reactive_ble/pubspec.yaml b/packages/flutter_reactive_ble/pubspec.yaml index e8b715d8..af7dedf8 100644 --- a/packages/flutter_reactive_ble/pubspec.yaml +++ b/packages/flutter_reactive_ble/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_reactive_ble description: Reactive Bluetooth Low Energy (BLE) plugin that can communicate with multiple devices -version: 5.1.0 +version: 5.1.1 homepage: https://github.com/PhilipsHue/flutter_reactive_ble environment: @@ -21,8 +21,8 @@ dependencies: sdk: flutter functional_data: ^1.0.0 meta: ^1.3.0 - reactive_ble_mobile: ^5.1.0 - reactive_ble_platform_interface: ^5.1.0 + reactive_ble_mobile: ^5.1.1 + reactive_ble_platform_interface: ^5.1.1 dev_dependencies: build_runner: ^2.3.3 flutter_lints: ^1.0.4 diff --git a/packages/reactive_ble_mobile/CHANGELOG.md b/packages/reactive_ble_mobile/CHANGELOG.md index c88107f4..5e37d6f1 100644 --- a/packages/reactive_ble_mobile/CHANGELOG.md +++ b/packages/reactive_ble_mobile/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.1.1 + +* Make Connectable backwards compatible #757, #750 + ## 5.1.0 * Add IsConnectable to discovery data. #750 diff --git a/packages/reactive_ble_mobile/pubspec.lock b/packages/reactive_ble_mobile/pubspec.lock index 416b2049..bb22d54c 100644 --- a/packages/reactive_ble_mobile/pubspec.lock +++ b/packages/reactive_ble_mobile/pubspec.lock @@ -385,7 +385,7 @@ packages: path: "../reactive_ble_platform_interface" relative: true source: path - version: "5.1.0" + version: "5.1.1" shelf: dependency: transitive description: diff --git a/packages/reactive_ble_mobile/pubspec.yaml b/packages/reactive_ble_mobile/pubspec.yaml index 34ec9418..494a8ff1 100644 --- a/packages/reactive_ble_mobile/pubspec.yaml +++ b/packages/reactive_ble_mobile/pubspec.yaml @@ -1,6 +1,6 @@ name: reactive_ble_mobile description: Official Android and iOS implementation for the flutter_reactive_ble plugin. -version: 5.1.0 +version: 5.1.1 homepage: https://github.com/PhilipsHue/flutter_reactive_ble environment: @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter protobuf: ^2.0.0 - reactive_ble_platform_interface: ^5.1.0 + reactive_ble_platform_interface: ^5.1.1 dev_dependencies: build_runner: ^2.3.3 flutter_test: diff --git a/packages/reactive_ble_platform_interface/CHANGELOG.md b/packages/reactive_ble_platform_interface/CHANGELOG.md index 32dc71f2..66f76324 100644 --- a/packages/reactive_ble_platform_interface/CHANGELOG.md +++ b/packages/reactive_ble_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.1.1 + +* Make Connectable backwards compatible #757, #750 + ## 5.1.0 * Add IsConnectable to discovery data. #750 diff --git a/packages/reactive_ble_platform_interface/lib/src/model/discovered_device.dart b/packages/reactive_ble_platform_interface/lib/src/model/discovered_device.dart index 5a438a16..da00c712 100644 --- a/packages/reactive_ble_platform_interface/lib/src/model/discovered_device.dart +++ b/packages/reactive_ble_platform_interface/lib/src/model/discovered_device.dart @@ -50,8 +50,8 @@ class DiscoveredDevice extends $DiscoveredDevice { required this.serviceData, required this.manufacturerData, required this.rssi, - required this.connectable, required this.serviceUuids, + this.connectable = Connectable.unknown, }); } diff --git a/packages/reactive_ble_platform_interface/pubspec.yaml b/packages/reactive_ble_platform_interface/pubspec.yaml index 4fff9be5..5b6c0036 100644 --- a/packages/reactive_ble_platform_interface/pubspec.yaml +++ b/packages/reactive_ble_platform_interface/pubspec.yaml @@ -1,6 +1,6 @@ name: reactive_ble_platform_interface description: Platform interface for the flutter_reactive_ble_project -version: 5.1.0 +version: 5.1.1 homepage: https://github.com/PhilipsHue/flutter_reactive_ble environment: