flutter_use icon indicating copy to clipboard operation
flutter_use copied to clipboard

fix: update dependency battery_plus to v6

Open renovate[bot] opened this issue 9 months ago • 0 comments

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

Compare Source

  • REFACTOR(all): Use range of flutter_lints for broader compatibility (#​3371). (8a303add)
  • FIX(battery_plus): Incorrect minimum version configuration. (#​3364). (56fc9847)

v6.2.0

Compare Source

  • FEAT(battery_plus): Add battery save mode check on MacOS (#​3332). (0e8c9223)

v6.1.0

Compare Source

v6.0.4

Compare Source

v6.0.3

Compare Source

v6.0.2

Compare Source

v6.0.1

Compare Source

  • 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

Compare Source

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

Compare Source

v5.0.2

Compare Source

  • FIX(battery_plus): Return correct state enum value on Android for not charging state (#​2451). (68ddda39)

v5.0.1

Compare Source

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

Compare Source

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

Compare Source

v4.0.1

Compare Source

v4.0.0

Compare Source

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

Compare Source

  • FIX(all): Revert addition of namespace to avoid build fails on old AGPs (#​1725).

v3.0.5

Compare Source

  • FIX(battery_plus): Huawei power save mode check (#​1708).
  • FIX(battery_plus): Add compatibility with AGP 8 (Android Gradle Plugin) (#​1700).

v3.0.4

Compare Source

  • REFACTOR(all): Remove all manual dependency_overrides (#​1628).
  • FIX(all): Fix depreciations for flutter 3.7 and 2.19 dart (#​1529).

v3.0.3

Compare Source

  • FIX: broadcast stream (#​1479).
  • DOCS: Updates for READMEs and website pages (#​1389).

v3.0.2

Compare Source

  • FIX: Increase min Flutter version to fix dartPluginClass registration (#​1275).

v3.0.1

Compare Source

  • FIX: lint warnings - add missing dependency for tests (#​1233).

v3.0.0

Compare Source

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.

renovate[bot] avatar May 11 '25 17:05 renovate[bot]