unstale

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 init

@unstale/cli 0.1.0 on npm

cffi 29 changes

Breaking changes 1

New APIs and options 1

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

    2.1.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 5

  • 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