fix: update dependency battery_plus to v6
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| battery_plus (source) | dependencies | major | ^2.1.4+1 -> ^6.0.0 |
Release Notes
fluttercommunity/plus_plugins (battery_plus)
v6.2.1
- REFACTOR(all): Use range of flutter_lints for broader compatibility (#3371). (8a303add)
- FIX(battery_plus): Incorrect minimum version configuration. (#3364). (56fc9847)
v6.2.0
v6.1.0
v6.0.4
- FIX(all): Clean up macOS Privacy Manifests (#3268). (d7b98ebd)
- FIX(all): Add macOS Privacy Manifests (#3251). (bf5dad2a)
v6.0.3
- CHORE(battery_plus): Update to package:web to ^1.0.0 (#3103). (cf534eec)
- FIX(battery_plus): Fix type conversion (#3159). (1145af14)
- FIX(battery_plus): Fix crash when retrieving battery level on desktop Mac. (#3155). (36e7dd16)
- DOCS(battery_plus): Update plugin requirements (#3158). (c0353107)
v6.0.2
- REFACTOR(all): Remove website files, configs, mentions (#3018). (ecc57146)
- FIX(all): changed homepage url in pubspec.yaml (#3099). (66613656)
v6.0.1
- REFACTOR(battery_plus): Migrate Android example to use the new plugins declaration (#2772). (740a5df2)
- FIX(battery_plus): Fix return value of getBattery to be nullable (#2745). (4d5b950e)
v6.0.0
Note: This release has breaking changes.
In this release plugin migrated to package:web, meaning that it now supports WASM!
Plugin now requires the following:
-
Flutter >=3.19.0
-
Dart >=3.3.0
-
compileSDK 34 for Android part
-
Java 17 for Android part
-
Gradle 8.4 for Android part
-
BREAKING FEAT(battery_plus): Migrate to package:web (#2720). (21ccfa45)
-
BREAKING BUILD(battery_plus): Target Java 17 on Android (#2727). (ca2c35ab)
-
BREAKING BUILD(battery_plus): Update to target and compile SDK 34 (#2702). (fc59745)
-
BREAKING REFACTOR(battery_plus): bump MACOSX_DEPLOYMENT_TARGET from 10.11 to 10.14 (#2592). (fe07964b)
-
FIX(battery_plus): Add iOS Privacy Info (#2580). (9f36a001)
v5.0.3
v5.0.2
- FIX(battery_plus): Return correct state enum value on Android for not charging state (#2451). (68ddda39)
v5.0.1
Note: This release has breaking changes. There is a new state for battery available on Android, MacOS and Linux platforms. Also, MacOS implementation was updated to provide more accurate battery status. Be sure to test if it affects your MacOS app.
- BREAKING FIX(battery_plus): Implement not_charging battery state (#2275). (6595e035)
- BREAKING FEAT(battery_plus): Introduce connected_not_charging state on MacOS (#2399). (78f44bf4)
- BREAKING FEAT(battery_plus): Introduce not_charging state on Linux (#2400). (42ef02bd)
- DOCS(battery_plus): Improve documentation on battery states (#2402). (baeb886f)
- BREAKING FIX(battery_plus): Bump iOS min target to 12 and update example app (#2401). (25ef7928)
v4.1.0
Info: This release is a replacement for release 5.0.0, which was retracted due to issue (#2251). As breaking change was reverted the major release was also reverted in favor of this one.
- FIX(battery_plus): Change Kotlin version from 1.9.10 to 1.7.22 (#2257). (f5244e36)
- FIX(battery_plus): Revert bump of compileSDK to 34 (#2228). (e834f582)
- FEAT(battery_plus): Remove deprecated VALID_ARCHS iOS property (#2025). (09318317)
v4.0.2
- FIX(battery_plus): Regenerate iOS and MacOS example apps (#1873). (18deeff3)
- DOCS(all): Fix example links on pub.dev (#1863). (d726035a)
v4.0.1
- FIX(battery_plus): Use ContextCompat on Android to register broadcast receiver (#1811). (b901615c)
- FIX: Add jvm target compatibility to Kotlin plugins (#1798). (1b7dc432)
- DOCS(all): Update READMEs (#1828). (57d9c884)
v4.0.0
Note: This release has breaking changes.
- CHORE(battery_plus): Update Flutter dependencies, set Flutter >=3.3.0 and Dart to >=2.18.0 <4.0.0
- BREAKING FIX(all): Add support of namespace property to support Android Gradle Plugin (AGP) 8 (#1727). Projects with AGP < 4.2 are not supported anymore. It is highly recommended to update at least to AGP 7.0 or newer.
- BREAKING CHORE(battery_plus): Bump min Android to 4.4 (API 19) and iOS to 11, update podspec file (#1783).
- REFACTOR(battery_plus): Update example app to use Material 3.
- FIX(battery_plus): Close StreamController on Web and Linux when done (#1744).
v3.0.6
- FIX(all): Revert addition of namespace to avoid build fails on old AGPs (#1725).
v3.0.5
- FIX(battery_plus): Huawei power save mode check (#1708).
- FIX(battery_plus): Add compatibility with AGP 8 (Android Gradle Plugin) (#1700).
v3.0.4
- REFACTOR(all): Remove all manual dependency_overrides (#1628).
- FIX(all): Fix depreciations for flutter 3.7 and 2.19 dart (#1529).
v3.0.3
v3.0.2
- FIX: Increase min Flutter version to fix dartPluginClass registration (#1275).
v3.0.1
- FIX: lint warnings - add missing dependency for tests (#1233).
v3.0.0
Note: This release has breaking changes.
- BREAKING REFACTOR: platform implementation refactor into a single package (#1169).
Configuration
📅 Schedule: Branch creation - "before 10am on monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.