-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[connectivity] null safety stable release #3596
Changes from 5 commits
23abf27
fc2cd63
54057f8
9f007e8
8183719
140bafc
45fd52f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
## 3.0.0-nullsafety.3 | ||
## 3.0.0 | ||
|
||
* Fix outdated links across a number of markdown files ([#3276](https://github.com/flutter/plugins/pull/3276)) | ||
|
||
## 3.0.0-nullsafety.2 | ||
|
||
* Android: Cleanup the NetworkCallback object when a connectivity stream is cancelled | ||
|
||
## 3.0.0-nullsafety.1 | ||
|
||
* Bump Dart SDK to support null safety. | ||
|
||
## 3.0.0-nullsafety | ||
|
||
* Migrate to null safety. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Move to top |
||
|
||
## 2.0.3 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,6 @@ | |
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
// TODO(amirh): Remove this once flutter_driver supports null safety. | ||
// https://github.com/flutter/flutter/issues/71379 | ||
// @dart = 2.9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We still need this for stable. We haven't decided how to do integration testing yet. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok moving back, did we not say we are disabling stable integration test? Maybe I heard it wrong. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The web plugins are doing this because apparently they already aren't running in CI, so there's essentially no downside. For everything else, we need to figure out how we want to handle this in the period between now and the next stable release after 1.26. |
||
|
||
import 'dart:convert'; | ||
import 'dart:io'; | ||
import 'package:flutter_driver/flutter_driver.dart'; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: connectivity | |
description: Flutter plugin for discovering the state of the network (WiFi & | ||
mobile/cellular) connectivity on Android and iOS. | ||
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity | ||
version: 3.0.0-nullsafety.3 | ||
version: 3.0.0 | ||
|
||
flutter: | ||
plugin: | ||
|
@@ -20,25 +20,24 @@ flutter: | |
dependencies: | ||
flutter: | ||
sdk: flutter | ||
meta: ^1.0.5 | ||
connectivity_platform_interface: ^2.0.0-nullsafety.1 | ||
meta: ^1.3.0 | ||
connectivity_platform_interface: ^2.0.0 | ||
#TODO(cyanglaz): re-endorse the below plugins when they have migrated to nnbd. | ||
# https://github.com/flutter/flutter/issues/68669 | ||
connectivity_macos: ^0.2.0-nullsafety | ||
connectivity_macos: ^0.2.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CI will fail until macos 0.2.0 is published. |
||
# connectivity_for_web: ^0.3.0 | ||
|
||
dev_dependencies: | ||
flutter_test: | ||
sdk: flutter | ||
flutter_driver: | ||
sdk: flutter | ||
test: ^1.10.0-nullsafety.1 | ||
test: ^1.16.3 | ||
integration_test: | ||
path: ../../integration_test | ||
mockito: ^4.1.1 | ||
plugin_platform_interface: ^1.1.0-nullsafety.1 | ||
pedantic: ^1.10.0-nullsafety.1 | ||
plugin_platform_interface: ">=1.0.0 <3.0.0" | ||
pedantic: ^1.10.0 | ||
|
||
environment: | ||
sdk: ">=2.12.0-0 <3.0.0" | ||
sdk: ">=2.12.0-259.9.beta <3.0.0" | ||
flutter: ">=1.12.13+hotfix.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove.