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

0 commit comments

Comments
 (0)