Skip to content

Upgrading package_info_plus 6 to 7

Breaking6.0.0 → 7.0.0Breaking2Deprecated1Changed1Other3

BreakingUpgrade verdict

2 breaking changes.

  • Refactors device_info_plus into a two-package federated architecture.
  • Changes nullability for AndroidDeviceInfo properties.
  • Adds a @Deprecated annotation to the toMap method.
3 items need code or config changes

Adds clock ^1.1.1.

Breaking2
Refactors device_info_plus into a two-package federated architecture.
Changes nullability for AndroidDeviceInfo properties.
AndroidDeviceInfo
Deprecated1
Adds a @Deprecated annotation to the toMap method.
toMap

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • changed: method PackageInfoPlusLinuxPlugin.getAll(): Future<PackageInfoData> → method PackageInfoPlusLinuxPlugin.getAll({String? baseUrl}): Future<PackageInfoData>
  • changed: method PackageInfoPlusWindowsPlugin.getAll(): Future<PackageInfoData> → method PackageInfoPlusWindowsPlugin.getAll({String? baseUrl}): Future<PackageInfoData>
  • changed: static method PackageInfo.fromPlatform(): Future<PackageInfo> → static method PackageInfo.fromPlatform({String? baseUrl}): Future<PackageInfo>