Skip to content

Upgrading pigeon 16 to 17

Breaking16.0.5 → 17.3.0Breaking1Platform1New4Changed3Fixed1Other2

BreakingUpgrade verdict

1 breaking change and a platform requirement change.

  • Kotlin enum values that Pigeon generates now use ALL_CAPS_WITH_UNDERSCORES names instead of the previous casing, so code that uses those values may need updating.
  • You now need Flutter 3.13 or Dart 3.1 or newer to use this package.
2 items need code or config changes

Dart SDK requirement changed in 17.1.0: >=3.0.0 <4.0.0 → ^3.1.0.

Breaking1
Converts generated Kotlin enum cases to SCREAMING_SNAKE_CASE, changing the names callers reference.
writeEnum
Platform1
Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.