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

Honor, and scrub, the 1.0 compatibility promise #3545

Merged
merged 3 commits into from
Feb 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions packages/android_intent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ is Android. If the plugin is invoked on iOS, it will crash your app. In checked
mode, we assert that the platform should be Android.


**Please set your constraint to `android_intent: '>=0.3.y+x <2.0.0'`**

## Backward compatible 1.0.0 version is coming
The plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.3.y+z`.
Please use `android_intent: '>=0.3.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0

Use it by specifying action, category, data and extra arguments for the intent.
It does not support returning the result of the launched activity. Sample usage:

Expand Down
4 changes: 4 additions & 0 deletions packages/connectivity/connectivity_macos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.2.0-nullsafety.1

* Remove placeholder Dart file.
Expand Down
8 changes: 0 additions & 8 deletions packages/connectivity/connectivity_macos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

The macos implementation of [`connectivity`].

**Please set your constraint to `connectivity_macos: '>=0.1.y+x <2.0.0'`**

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

## Usage

### Import the package
Expand All @@ -29,4 +22,3 @@ dependencies:
```

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

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

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

flutter:
Expand Down
4 changes: 4 additions & 0 deletions packages/package_info/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.5.0-nullsafety

* Migrate to null safety.
Expand Down
15 changes: 4 additions & 11 deletions packages/package_info/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
This Flutter plugin provides an API for querying information about an
application package.

**Please set your constraint to `package_info: '>=0.4.y+x <2.0.0'`**

## Backward compatible 1.0.0 version is coming
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`.
Please use `package_info: '>=0.4.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0

# Usage

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

## Known Issue

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

## Issues and feedback

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

flutter:
plugin:
Expand Down
4 changes: 4 additions & 0 deletions packages/path_provider/path_provider_linux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.2.0-nullsafety

* Migrate to null safety.
Expand Down
7 changes: 0 additions & 7 deletions packages/path_provider/path_provider_linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

The linux implementation of [`path_provider`].

**Please set your constraint to `path_provider: '>=0.0.y+x <2.0.0'`**

## Backward compatible 1.0.0 version is coming
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`.
Please use `path_provider: '>=0.0.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0

## Usage

This package is already included as part of the `path_provider` package dependency, and will
Expand Down
2 changes: 1 addition & 1 deletion packages/path_provider/path_provider_linux/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: path_provider_linux
description: linux implementation of the path_provider plugin
version: 0.2.0-nullsafety
version: 2.0.0-nullsafety
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_linux

flutter:
Expand Down
4 changes: 4 additions & 0 deletions packages/path_provider/path_provider_macos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.0.5-nullsafety

* Update Dart SDK constraint for null safety.
Expand Down
7 changes: 0 additions & 7 deletions packages/path_provider/path_provider_macos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

The macos implementation of [`path_provider`].

**Please set your constraint to `path_provider_macos: '>=0.0.y+x <2.0.0'`**

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

## Usage

### Import the package
Expand Down
5 changes: 1 addition & 4 deletions packages/path_provider/path_provider_macos/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: path_provider_macos
description: macOS implementation of the path_provider plugin
# 0.0.y+z is compatible with 1.0.0, if you land a breaking change bump
# the version to 2.0.0.
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
version: 0.0.5-nullsafety
version: 2.0.0-nullsafety
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos

flutter:
Expand Down
4 changes: 4 additions & 0 deletions packages/path_provider/path_provider_windows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.1.0-nullsafety.3

* Bump ffi dependency to 1.0.0
Expand Down
8 changes: 0 additions & 8 deletions packages/path_provider/path_provider_windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

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

**Please set your constraint to `path_provider_windows: '>=0.0.y+x <2.0.0'`**

## Backward compatible 1.0.0 version is coming

The plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.0.y+z`.
Please use `path_provider_windows: '>=0.0.y+x <2.0.0'` as your dependency constraint to allow a smoother ecosystem migration.
For more details see: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0

## Usage

### Import the package
Expand Down
3 changes: 1 addition & 2 deletions packages/path_provider/path_provider_windows/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: path_provider_windows
description: Windows implementation of the path_provider plugin
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_windows
version: 0.1.0-nullsafety.3
version: 2.0.0-nullsafety

flutter:
plugin:
Expand All @@ -27,4 +27,3 @@ dev_dependencies:
environment:
sdk: '>=2.12.0-259.8.beta <3.0.0'
flutter: ">=1.12.13+hotfix.4"

4 changes: 4 additions & 0 deletions packages/sensors/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* * Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.5.0-nullsafety

* Migrate to null safety.
Expand Down
7 changes: 0 additions & 7 deletions packages/sensors/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# sensors

**Please set your constraint to `sensors: '>=0.4.y+x <2.0.0'`**

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

A Flutter plugin to access the accelerometer and gyroscope sensors.


Expand Down
5 changes: 1 addition & 4 deletions packages/sensors/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: sensors
description: Flutter plugin for accessing the Android and iOS accelerometer and
gyroscope sensors.
homepage: https://github.com/flutter/plugins/tree/master/packages/sensors
# 0.4.y+z is compatible with 1.0.0, if you land a breaking change bump
# the version to 2.0.0.
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
version: 0.5.0-nullsafety
version: 2.0.0-nullsafety

flutter:
plugin:
Expand Down
7 changes: 0 additions & 7 deletions packages/share/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ share dialog.
Wraps the ACTION_SEND Intent on Android and UIActivityViewController
on iOS.

**Please set your constraint to `share: '>=0.6.y+x <2.0.0'`**

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

## Usage

To use this plugin, add `share` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/packages-and-plugins/using-packages/).
Expand Down
3 changes: 0 additions & 3 deletions packages/shared_preferences/shared_preferences/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: shared_preferences
description: Flutter plugin for reading and writing simple key-value pairs.
Wraps NSUserDefaults on iOS and SharedPreferences on Android.
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences
# 0.5.y+z is compatible with 1.0.0, if you land a breaking change bump
# the version to 2.0.0.
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
version: 2.0.0-nullsafety

flutter:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version for consistency.

## 0.0.4-nullsafety

* Migrate to null-safety.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: shared_preferences_linux
description: Linux implementation of the shared_preferences plugin
version: 0.0.4-nullsafety
version: 2.0.0-nullsafety
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_linux

flutter:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.0.2-nullsafety

* Update Dart SDK constraint for null safety.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

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

**Please set your constraint to `shared_preferences_macos: '>=0.0.y+x <2.0.0'`**

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

## Usage

### Import the package
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: shared_preferences_macos
description: macOS implementation of the shared_preferences plugin.
# 0.0.y+z is compatible with 1.0.0, if you land a breaking change bump
# the version to 2.0.0.
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
version: 0.0.2-nullsafety
version: 2.0.0-nullsafety
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_macos

flutter:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.2.0-nullsafety

* Migrate to null-safety.
Expand Down
7 changes: 0 additions & 7 deletions packages/shared_preferences/shared_preferences_web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

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

**Please set your constraint to `shared_preferences_web: '>=0.1.y+x <2.0.0'`**

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

## Usage

### Import the package
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: shared_preferences_web
description: Web platform implementation of shared_preferences
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_web
# 0.1.y+z is compatible with 1.0.0, if you land a breaking change bump
# the version to 2.0.0.
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
version: 0.2.0-nullsafety
version: 2.0.0-nullsafety

flutter:
plugin:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

## 2.0.0-nullsafety

* Update version for consistency.

## 0.0.3-nullsafety

* Migrate to null-safety.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: shared_preferences_windows
description: Windows implementation of shared_preferences
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_windows
version: 0.0.3-nullsafety
version: 2.0.0-nullsafety


flutter:
Expand Down
4 changes: 4 additions & 0 deletions packages/url_launcher/url_launcher_linux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version for consistency with other implementations.

## 0.1.0-nullsafety.3

* Update the example app: remove the deprecated `RaisedButton` and `FlatButton` widgets.
Expand Down
2 changes: 1 addition & 1 deletion packages/url_launcher/url_launcher_linux/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: url_launcher_linux
description: Linux implementation of the url_launcher plugin.
version: 0.1.0-nullsafety.3
version: 2.0.0-nullsafety
homepage: https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher_linux

flutter:
Expand Down
5 changes: 4 additions & 1 deletion packages/url_launcher/url_launcher_macos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0-nullsafety

* Update version to (semi-belatedly) meet 1.0-consistency promise.

# 0.1.0-nullsafety.2

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

* Initial open source release.

Loading