Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
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
4 changes: 4 additions & 0 deletions packages/battery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.1+9

* Declare API stability and compatibility with `1.0.0` (more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0).

## 0.3.1+8

* Make the pedantic dev_dependency explicit.
Expand Down
7 changes: 7 additions & 0 deletions packages/battery/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Battery

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

## Backward compatible 1.0.0 version is coming
The battery plugin has reached a stable API, we guarantee that version `1.0.0` will be backward compatible with `0.3.y+z`.
Please use `battery: '>=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

[![pub package](https://img.shields.io/pub/v/battery.svg)](https://pub.dartlang.org/packages/battery)

A Flutter plugin to access various information about the battery of the device the app is running on.
Expand Down
5 changes: 4 additions & 1 deletion packages/battery/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: battery
description: Flutter plugin for accessing information about the battery state
(full, charging, discharging) on Android and iOS.
homepage: https://github.com/flutter/plugins/tree/master/packages/battery
version: 0.3.1+8
# 0.3.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.3.1+9

flutter:
plugin:
Expand Down