pypi / cffi
cffi
What changed in cffi 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.
1 breaking1 new APIs and options2 tooling5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcffi 29 changes
Breaking changes 1
Python 3.9 is no longer supported.
New APIs and options 1
C extensions generated by CFFI can target the new abi3t free-threaded ABI.
Tooling 2
arm64 iOS wheels are now supported.
New CLI generates CFFI C extension source for alternate build backend support.
Fixes and other changes 5
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.