Skip to content

Support Inertia v3 protocol metadata#199

Draft
DominusKelvin wants to merge 3 commits into
mainfrom
feat/192-support-stable-inertia-js-v3-in-inertia-sails-and-templates
Draft

Support Inertia v3 protocol metadata#199
DominusKelvin wants to merge 3 commits into
mainfrom
feat/192-support-stable-inertia-js-v3-in-inertia-sails-and-templates

Conversation

@DominusKelvin
Copy link
Copy Markdown
Member

Summary

Closes #192

This starts the stable Inertia v3 support work for inertia-sails and the Boring Stack templates.

What Changed

  • Updated all template root views to use the Inertia v3 JSON script boot payload.
  • Added asset-version mismatch handling for GET Inertia requests using 409 Conflict and X-Inertia-Location.
  • Changed Inertia JSON responses to use Vary: X-Inertia.
  • Omitted false clearHistory and encryptHistory flags from page objects.
  • Added sharedProps metadata.
  • Added v3 merge metadata support: mergeProps, prependProps, deepMergeProps, and matchPropsOn.
  • Added nested append/prepend merge targets and item matching.
  • Added InfiniteScroll merge intent support with X-Inertia-Infinite-Scroll-Merge-Intent.
  • Added focused Node test coverage for page objects, render behavior, merge props, and scroll props.

Validation

  • npm test in packages/inertia-sails passes: 20/20.
  • Relevant docs work is split into the companion docs.sailscasts.com PR.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 20, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​inertiajs/​svelte@​2.0.17 ⏵ 3.1.185 +410073 +498 +2100
Updated@​inertiajs/​react@​2.2.15 ⏵ 3.1.11001007498 +1100
Updated@​inertiajs/​vue3@​2.0.17 ⏵ 3.1.110010074 +398 +2100
Updatedaxios@​1.13.2 ⏵ 1.16.185 -11100 +5010094100
Updatedinertia-sails@​1.0.1 ⏵ 1.4.0100100100100100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support stable Inertia.js v3 in inertia-sails and templates

1 participant