[2.0.0] - 2026-08-16
Breaking changes
- Require Python 3.10 or newer (#74, #86).
- Require Django 5.2 LTS or newer (#103).
- Move
requestsbehind the optionalssrextra. Applications using server-side rendering must installinertia-django[ssr](#73). - Update the first-load page format and CSRF configuration for Inertia v3. Applications with custom templates or client setup should follow the Inertia v3 upgrade guide (#100, #101).
Added
- Add full Inertia v3 protocol support, including nested partial reloads, once props, deep merge and scroll props, prepend intent, fragment-preserving redirects, preserved errors, and improved merge metadata (#100, #101).
- Expose Django messages as top-level Inertia flash data (#96, #101).
- Add type annotations and ship a PEP 561
py.typedmarker for downstream type checkers (#85, #95). - Log server-side rendering failures while preserving the client-side rendering fallback (#89).
Changed
- Make
InertiaRequestinherit from Django'sHttpRequestfor better compatibility with Django and third-party libraries (#84). - Improve the
@inertiadecorator's response handling and stack-trace naming (#77).
Thanks to @akx, @SarthakJariwala, @mrgalopes, @kennyputman, @willianantunes,
@leeuwr, @benaduo, @Zesuperaker, and @basan17 for their contributions to this release.