Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit aa22656

Browse files
Honor, and scrub, the 1.0 compatibility promise (#3545)
1 parent c7b9a24 commit aa22656

File tree

43 files changed

+69
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+69
-148
lines changed

packages/android_intent/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@ is Android. If the plugin is invoked on iOS, it will crash your app. In checked
55
mode, we assert that the platform should be Android.
66

77

8-
**Please set your constraint to `android_intent: '>=0.3.y+x <2.0.0'`**
9-
10-
## Backward compatible 1.0.0 version is coming
11-
The plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.3.y+z`.
12-
Please use `android_intent: '>=0.3.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
13-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
14-
158
Use it by specifying action, category, data and extra arguments for the intent.
169
It does not support returning the result of the launched activity. Sample usage:
1710

packages/connectivity/connectivity_macos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version to (semi-belatedly) meet 1.0-consistency promise.
4+
15
## 0.2.0-nullsafety.1
26

37
* Remove placeholder Dart file.

packages/connectivity/connectivity_macos/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
The macos implementation of [`connectivity`].
44

5-
**Please set your constraint to `connectivity_macos: '>=0.1.y+x <2.0.0'`**
6-
7-
## Backward compatible 1.0.0 version is coming
8-
The plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.1.y+z`.
9-
Please use `connectivity_macos: '>=0.1.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
10-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
11-
125
## Usage
136

147
### Import the package
@@ -29,4 +22,3 @@ dependencies:
2922
```
3023

3124
Refer to the `connectivity` [documentation](https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity) for more details.
32-

packages/connectivity/connectivity_macos/pubspec.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: connectivity_macos
22
description: macOS implementation of the connectivity plugin.
3-
# 0.1.y+z is compatible with 1.0.0, if you land a breaking change bump
4-
# the version to 2.0.0.
5-
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
6-
version: 0.2.0-nullsafety.1
3+
version: 2.0.0-nullsafety
74
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity_macos
85

96
flutter:

packages/device_info/device_info/pubspec.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: device_info
22
description: Flutter plugin providing detailed information about the device
33
(make, model, etc.), and Android or iOS version the app is running on.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/device_info
5-
# 0.4.y+z is compatible with 1.0.0, if you land a breaking change bump
6-
# the version to 2.0.0.
7-
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
85
version: 2.0.0-nullsafety.2
96

107
flutter:

packages/package_info/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version to (semi-belatedly) meet 1.0-consistency promise.
4+
15
## 0.5.0-nullsafety
26

37
* Migrate to null safety.

packages/package_info/README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
This Flutter plugin provides an API for querying information about an
44
application package.
55

6-
**Please set your constraint to `package_info: '>=0.4.y+x <2.0.0'`**
7-
8-
## Backward compatible 1.0.0 version is coming
9-
The package_info plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.4.y+z`.
10-
Please use `package_info: '>=0.4.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
11-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
12-
136
# Usage
147

158
You can use the PackageInfo to query information about the
@@ -39,10 +32,10 @@ PackageInfo.fromPlatform().then((PackageInfo packageInfo) {
3932

4033
## Known Issue
4134

42-
As noted on [issue 20761](https://github.com/flutter/flutter/issues/20761#issuecomment-493434578), package_info on iOS
43-
requires the Xcode build folder to be rebuilt after changes to the version string in `pubspec.yaml`.
44-
Clean the Xcode build folder with:
45-
`XCode Menu -> Product -> (Holding Option Key) Clean build folder`.
35+
As noted on [issue 20761](https://github.com/flutter/flutter/issues/20761#issuecomment-493434578), package_info on iOS
36+
requires the Xcode build folder to be rebuilt after changes to the version string in `pubspec.yaml`.
37+
Clean the Xcode build folder with:
38+
`XCode Menu -> Product -> (Holding Option Key) Clean build folder`.
4639

4740
## Issues and feedback
4841

packages/package_info/pubspec.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: package_info
22
description: Flutter plugin for querying information about the application
33
package, such as CFBundleVersion on iOS or versionCode on Android.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/package_info
5-
# 0.4.y+z is compatible with 1.0.0, if you land a breaking change bump
6-
# the version to 2.0.0.
7-
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
8-
version: 0.5.0-nullsafety
5+
version: 2.0.0-nullsafety
96

107
flutter:
118
plugin:

packages/path_provider/path_provider_linux/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version to (semi-belatedly) meet 1.0-consistency promise.
4+
15
## 0.2.0-nullsafety
26

37
* Migrate to null safety.

packages/path_provider/path_provider_linux/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
The linux implementation of [`path_provider`].
44

5-
**Please set your constraint to `path_provider: '>=0.0.y+x <2.0.0'`**
6-
7-
## Backward compatible 1.0.0 version is coming
8-
The `path_provider` plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.0.y+z`.
9-
Please use `path_provider: '>=0.0.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
10-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
11-
125
## Usage
136

147
This package is already included as part of the `path_provider` package dependency, and will

packages/path_provider/path_provider_linux/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: path_provider_linux
22
description: linux implementation of the path_provider plugin
3-
version: 0.2.0-nullsafety
3+
version: 2.0.0-nullsafety
44
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_linux
55

66
flutter:

packages/path_provider/path_provider_macos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version to (semi-belatedly) meet 1.0-consistency promise.
4+
15
## 0.0.5-nullsafety
26

37
* Update Dart SDK constraint for null safety.

packages/path_provider/path_provider_macos/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
The macos implementation of [`path_provider`].
44

5-
**Please set your constraint to `path_provider_macos: '>=0.0.y+x <2.0.0'`**
6-
7-
## Backward compatible 1.0.0 version is coming
8-
The plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.0.y+z`.
9-
Please use `path_provider_macos: '>=0.0.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
10-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
11-
125
## Usage
136

147
### Import the package

packages/path_provider/path_provider_macos/pubspec.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: path_provider_macos
22
description: macOS implementation of the path_provider plugin
3-
# 0.0.y+z is compatible with 1.0.0, if you land a breaking change bump
4-
# the version to 2.0.0.
5-
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
6-
version: 0.0.5-nullsafety
3+
version: 2.0.0-nullsafety
74
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos
85

96
flutter:

packages/path_provider/path_provider_windows/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version to (semi-belatedly) meet 1.0-consistency promise.
4+
15
## 0.1.0-nullsafety.3
26

37
* Bump ffi dependency to 1.0.0

packages/path_provider/path_provider_windows/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22

33
The Windows implementation of [`path_provider`][1].
44

5-
**Please set your constraint to `path_provider_windows: '>=0.0.y+x <2.0.0'`**
6-
7-
## Backward compatible 1.0.0 version is coming
8-
9-
The plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.0.y+z`.
10-
Please use `path_provider_windows: '>=0.0.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
11-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
12-
135
## Usage
146

157
### Import the package

packages/path_provider/path_provider_windows/pubspec.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: path_provider_windows
22
description: Windows implementation of the path_provider plugin
33
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_windows
4-
version: 0.1.0-nullsafety.3
4+
version: 2.0.0-nullsafety
55

66
flutter:
77
plugin:
@@ -27,4 +27,3 @@ dev_dependencies:
2727
environment:
2828
sdk: '>=2.12.0-259.8.beta <3.0.0'
2929
flutter: ">=1.12.13+hotfix.4"
30-

packages/sensors/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* * Update version to (semi-belatedly) meet 1.0-consistency promise.
4+
15
## 0.5.0-nullsafety
26

37
* Migrate to null safety.

packages/sensors/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
# sensors
22

3-
**Please set your constraint to `sensors: '>=0.4.y+x <2.0.0'`**
4-
5-
## Backward compatible 1.0.0 version is coming
6-
The sensors plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.4.y+z`.
7-
Please use `sensors: '>=0.4.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
8-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
9-
103
A Flutter plugin to access the accelerometer and gyroscope sensors.
114

125

packages/sensors/pubspec.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: sensors
22
description: Flutter plugin for accessing the Android and iOS accelerometer and
33
gyroscope sensors.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/sensors
5-
# 0.4.y+z is compatible with 1.0.0, if you land a breaking change bump
6-
# the version to 2.0.0.
7-
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
8-
version: 0.5.0-nullsafety
5+
version: 2.0.0-nullsafety
96

107
flutter:
118
plugin:

packages/share/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ share dialog.
88
Wraps the ACTION_SEND Intent on Android and UIActivityViewController
99
on iOS.
1010

11-
**Please set your constraint to `share: '>=0.6.y+x <2.0.0'`**
12-
13-
## Backward compatible 1.0.0 version is coming
14-
The plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.6.y+z`.
15-
Please use `share: '>=0.6.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
16-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
17-
1811
## Usage
1912

2013
To use this plugin, add `share` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/packages-and-plugins/using-packages/).

packages/shared_preferences/shared_preferences/pubspec.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: shared_preferences
22
description: Flutter plugin for reading and writing simple key-value pairs.
33
Wraps NSUserDefaults on iOS and SharedPreferences on Android.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences
5-
# 0.5.y+z is compatible with 1.0.0, if you land a breaking change bump
6-
# the version to 2.0.0.
7-
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
85
version: 2.0.0-nullsafety
96

107
flutter:

packages/shared_preferences/shared_preferences_linux/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version for consistency.
4+
15
## 0.0.4-nullsafety
26

37
* Migrate to null-safety.

packages/shared_preferences/shared_preferences_linux/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: shared_preferences_linux
22
description: Linux implementation of the shared_preferences plugin
3-
version: 0.0.4-nullsafety
3+
version: 2.0.0-nullsafety
44
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_linux
55

66
flutter:

packages/shared_preferences/shared_preferences_macos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version to (semi-belatedly) meet 1.0-consistency promise.
4+
15
## 0.0.2-nullsafety
26

37
* Update Dart SDK constraint for null safety.

packages/shared_preferences/shared_preferences_macos/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
The macos implementation of [`shared_preferences`][1].
44

5-
**Please set your constraint to `shared_preferences_macos: '>=0.0.y+x <2.0.0'`**
6-
7-
## Backward compatible 1.0.0 version is coming
8-
The plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.0.y+z`.
9-
Please use `shared_preferences_macos: '>=0.0.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
10-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
11-
125
## Usage
136

147
### Import the package

packages/shared_preferences/shared_preferences_macos/pubspec.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: shared_preferences_macos
22
description: macOS implementation of the shared_preferences plugin.
3-
# 0.0.y+z is compatible with 1.0.0, if you land a breaking change bump
4-
# the version to 2.0.0.
5-
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
6-
version: 0.0.2-nullsafety
3+
version: 2.0.0-nullsafety
74
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_macos
85

96
flutter:

packages/shared_preferences/shared_preferences_web/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version to (semi-belatedly) meet 1.0-consistency promise.
4+
15
## 0.2.0-nullsafety
26

37
* Migrate to null-safety.

packages/shared_preferences/shared_preferences_web/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
The web implementation of [`shared_preferences`][1].
44

5-
**Please set your constraint to `shared_preferences_web: '>=0.1.y+x <2.0.0'`**
6-
7-
## Backward compatible 1.0.0 version is coming
8-
The plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.1.y+z`.
9-
Please use `shared_preferences_web: '>=0.1.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
10-
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
11-
125
## Usage
136

147
### Import the package

packages/shared_preferences/shared_preferences_web/pubspec.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: shared_preferences_web
22
description: Web platform implementation of shared_preferences
33
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_web
4-
# 0.1.y+z is compatible with 1.0.0, if you land a breaking change bump
5-
# the version to 2.0.0.
6-
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
7-
version: 0.2.0-nullsafety
4+
version: 2.0.0-nullsafety
85

96
flutter:
107
plugin:

packages/shared_preferences/shared_preferences_windows/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
## 2.0.0-nullsafety
3+
4+
* Update version for consistency.
5+
26
## 0.0.3-nullsafety
37

48
* Migrate to null-safety.

packages/shared_preferences/shared_preferences_windows/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: shared_preferences_windows
22
description: Windows implementation of shared_preferences
33
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_windows
4-
version: 0.0.3-nullsafety
4+
version: 2.0.0-nullsafety
55

66

77
flutter:

packages/url_launcher/url_launcher_linux/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version for consistency with other implementations.
4+
15
## 0.1.0-nullsafety.3
26

37
* Update the example app: remove the deprecated `RaisedButton` and `FlatButton` widgets.

packages/url_launcher/url_launcher_linux/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: url_launcher_linux
22
description: Linux implementation of the url_launcher plugin.
3-
version: 0.1.0-nullsafety.3
3+
version: 2.0.0-nullsafety
44
homepage: https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher_linux
55

66
flutter:

packages/url_launcher/url_launcher_macos/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0-nullsafety
2+
3+
* Update version to (semi-belatedly) meet 1.0-consistency promise.
4+
15
# 0.1.0-nullsafety.2
26

37
* Update the example app: remove the deprecated `RaisedButton` and `FlatButton` widgets.
@@ -58,4 +62,3 @@
5862
# 0.0.1
5963

6064
* Initial open source release.
61-

0 commit comments

Comments
 (0)