Version 2.0.0

June 27, 2025

Added

  • Added support for Inertia.js v3 by integrating with Inertia’s HTTP client instead of relying on Axios.
  • Added support for returning Inertia responses directly from PHP controllers via Inertia::getInstance()->render(...).
  • Added a new routingMode setting with opt-in and catchall modes.
  • Added support for organizing shared props in _shared templates.

Changed

  • Changed the recommended routing behavior to explicit opt-in mode, allowing Inertia routes to coexist with normal Craft routing and Twig templates.
  • Improved request/page resolution for explicit Inertia routes, element routes, and error templates.
  • Improved form submission handling for Craft actions, including FormData normalization and automatic CSRF token management.
  • Improved Twig helper handling for page(), prop(), and bypass() responses.

Deprecated

  • Deprecated takeoverRouting in favor of routingMode.

Fixed

  • Fixed redirect responses for non-GET Inertia requests to use 303 status codes where appropriate.
  • Fixed error-page rendering and fallback behavior for 404 and server error responses.
  • Fixed bypass and download response handling for non-Inertia/file-style responses.

Version 1.1.0

October 3, 2025
  • Pass message variable in responses when passing them via exit twig functions

Full Changelog: https://github.com/RareFormLabs/craft-inertia/compare/1.0.9...1.1.0

Version 1.0.9

September 17, 2025

Version 1.0.8

September 16, 2025
  • Exclude drafts, revisions, and bulk saves from element save responses
  • Exception handling fix

Full Changelog: https://github.com/RareFormLabs/craft-inertia/compare/1.0.7...1.0.8

Version 1.0.7

September 12, 2025
  • Change ‘recentElementSave’ to ‘elementResponse’, add objects to match Craft

Full Changelog: https://github.com/RareFormLabs/craft-inertia/compare/1.0.6...1.0.7

Version 1.0.6

September 11, 2025

What's Changed

Full Changelog: https://github.com/RareFormLabs/craft-inertia/compare/1.0.5...1.0.6

Version 1.0.5

September 7, 2025

Version 1.0.4

September 6, 2025

Version 1.0.1

August 2, 2025
  • Handle potential recursion errors from JSON encoding

Version 1.0.0

July 27, 2025
  • Deprecate the inertia twig function in favor of independent prop & page functions, to allow flexible individual prop caching.
  • Remove inertiaShare twig function, replaced with prop.
  • Update README to reflect new DX.

Version 1.0.0-beta.5

April 19, 2025
  • Fix response error in axios hook

Version 1.0.0-beta.4

April 14, 2025
  • Adds Axios hook for CSRF handling & form submission DX improvements

Version 1.0.0-beta.3

March 26, 2025
  • Adds auto variable capture functionality

Version 1.0.0-beta.2

March 4, 2025
  • Fix routing takeover for non-Craft elements
  • Automatically load entry & category variables when route is matched to those elements. Remove generic element variable.

Version 1.0.0-beta.1

February 22, 2025
  • Add pull tag DX helper for sharing variables across templates.

Version 1.0.0-alpha.5

February 1, 2025
  • Fix console error
  • Improve error stack trace handling

Version 1.0.0-alpha.4

January 1, 2025
  • Shared props are now gathered from all .twig/.html files in _shared directory.

Version 1.0.0-alpha.3

December 31, 2024
  • Adds Yii debug toolbar functionality.

Version 1.0.0-alpha.2

December 19, 2024
  • Adds ‘recentElementSave’ prop, which includes element ID, automatically after element saves.

Version 1.0.0-alpha.1

December 18, 2024
  • Initial release