Upgrading ffigen 14 to 15
Breaking14.0.1 → 15.0.0Breaking2Platform1Changed4Fixed2
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- Super protocols no longer get implementation bindings automatically. Add them to your objc-protocols filters if you need them.
- Returns structs from ObjC methods by value instead of taking a struct return pointer.
- You need Dart 3.4 or newer to use this version.
Must act 3 items need code or config changes
Dart SDK requirement changed in 15.0.0: >=3.3.0 <4.0.0 → >=3.4.0 <4.0.0.
What you must change
Breaking2
Only generates ObjC protocol implementation bindings for protocols included by config filters.
objc-protocolsReturns structs from ObjC methods by value instead of taking a struct return pointer.
Platform1
Bumps the minimum Dart version to 3.4.