unstale

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 init

@unstale/cli on npm

cffi 213 changes

Breaking changes 2

New APIs and options 1

  • C extensions generated by CFFI can target the new abi3t free-threaded ABI.

    2.1.0release notes

Behavior and default changes 1

  • Adds support for CPython free-threaded builds, for 3.14t and later.

    2.0.0release notes

Tooling 2

  • arm64 iOS wheels are now supported.

    2.1.0release notes

  • New CLI generates CFFI C extension source for alternate build backend support.

    2.1.0release notes

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.

    2.1.1release notes

  • Crashes inside __delitem__ were fixed.

    2.1.0release notes

  • mingw builds were fixed.

    2.1.0release notes

  • The “string too big” error under MSVC was fixed.

    2.1.0release notes

  • Python 3.15 is now supported.

    2.1.0release notes

  • Fixes an order dependency affecting nested type size calculation.

    2.0.0release notes

  • Adds support for Python 3.14.

    2.0.0release notes