pypi / cffi
cffi
What changed in cffi 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
2 breaking1 new APIs and options1 behavior and defaults2 tooling7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcffi 213 changes
Breaking changes 2
Python 3.9 is no longer supported.
Drops support for Python versions 3.8 and earlier.
New APIs and options 1
C extensions generated by CFFI can target the new abi3t free-threaded ABI.
Behavior and default changes 1
Adds support for CPython free-threaded builds, for 3.14t and later.
Tooling 2
arm64 iOS wheels are now supported.
New CLI generates CFFI C extension source for alternate build backend support.
Fixes and other changes 7
Minimizes internal Python API usage for interpreter and thread state sampling, avoiding a breaking ABI change on newer Python versions.
Crashes inside __delitem__ were fixed.
mingw builds were fixed.
The “string too big” error under MSVC was fixed.
Python 3.15 is now supported.
Fixes an order dependency affecting nested type size calculation.
Adds support for Python 3.14.