Upgrading ffigen 2 to 3
Breaking2.4.2 → 3.0.0Breaking2Platform1New2Changed1
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- The old workaround setting for arrays is gone, so remove it from your config file.
- The old llvm-lib setting no longer works; switch to llvm-path.
- This version needs Dart 2.13 or newer. That Dart release is what makes packed structs and inline arrays work.
Must act 3 items need code or config changes
Dart SDK requirement changed in 3.0.0: >=2.12.0 <3.0.0 → >=2.13.0 <3.0.0.
What you must change
Breaking2
Removes the
array-workaround config key.array-workaroundRemoves the deprecated
llvm-lib config key; use llvm-path instead.llvm-libllvm-pathPlatform1
Requires Dart SDK >=2.13, which adds support for packed structs and inline arrays.