Skip to content

Releases

3.1.0

Choose a tag to compare

@mydoxie mydoxie released this 08 Nov 11:45
5eeb5b2

New

  • Inertia.render(req, component, props) and Inertia.lazy.
  • Inertia.shareGlobal(key, value) shares a prop with every page.
  • Inertia.defer(fn).merge() merges a deferred prop.
  • An empty 200 answer to an Inertia request goes back to the page it came from, like Laravel. Only a same-site Referer is used.

Faster

  • A list of plain row maps in a prop is no longer awaited row by row.
  • An old asset version gets the 409 at once, before the controller runs.
  • The root view and the Vite manifest stay in memory. They are read again only when the file changes.

Fixes

  • Flash messages are no longer lost after a deploy.
  • A function prop inside a map or a list now runs.
  • Security: when APP_ENV is production, the Vite public/hot file is ignored.

Needs dox_core 3.1.0.

Docs: Inertia

Full list: the CHANGELOG.

3.0.0

Choose a tag to compare

@necessarylion necessarylion released this 01 Nov 04:18
a4ad702

The first stable release of dox_inertia.

Inertia.js for Dox: build single page apps with React, Vue or Svelte and normal Dox controllers, with no API to write.

Docs: https://dartondox.dev/latest/the-basic/inertia/