Upgrading pigeon 21 to 22
Breaking21.2.0 → 22.7.4Breaking2Platform1New9Changed3Fixed4Other4
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- Swift codec classes are renamed to upper camel case, so code referring to the old names must be updated.
- Swift code that uses maps with non-nullable keys must be updated, because map keys are now optional and typed as AnyHashable.
- You now need Flutter 3.22 or Dart 3.4 or newer to use this version.
Must act 3 items need code or config changes
Dart SDK requirement changed in 22.7.1: ^3.3.0 → ^3.4.0.
What you must change
Breaking2
Updates Swift codec class names to upper camel case.
Changes the Swift generic map to use nullable keys of AnyHashable to conform to other platforms.
AnyHashablePlatform1
Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.