Skip to content

chore(deps-dev): bump @adonisjs/inertia from 4.2.0 to 5.0.0 - #129

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/adonisjs/inertia-5.0.0
Open

chore(deps-dev): bump @adonisjs/inertia from 4.2.0 to 5.0.0#129
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/adonisjs/inertia-5.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 14, 2026

Copy link
Copy Markdown
Contributor

Bumps @adonisjs/inertia from 4.2.0 to 5.0.0.

Release notes

Sourced from @​adonisjs/inertia's releases.

Inertia 3 support and full protocol coverage

5.0.0 (2026-08-09)

@adonisjs/inertia v5 moves the adapter onto Inertia 3, implements the v3 protocol surface on the server (once props, rescued deferred props, keyed/directional merges, infinite scroll, flash, shared-props tracking), and extends the typed client wrappers so routes, request bodies, query strings, validation errors and instant visits are all checked at compile time.

Consolidated from 5.0.0-next.05.0.0-next.3.

💥 Breaking changes

1. Inertia 3 client is now required

The adapter targets the @inertiajs/* v3 line. Client peer dependencies moved to ^3.4.0, which requires React 19 / Vue 3.5.

  • Initial page data is emitted inside a <script type="application/json"> element instead of a data-page attribute on the root element. Handled by the @inertia Edge tag — no change needed unless you hand-wrote the payload.
  • clearHistory / encryptHistory are omitted from the page object unless true.
  • Inertia 3's own client-side breaking changes apply to your app code: inertia:invalid / inertia:exception were renamed to inertia:httpException / inertia:networkError; router.cancel()router.cancelAll(); the progress-bar exports were removed; React layouts can no longer be arrow functions; Axios / qs / lodash-es are no longer bundled.

2. The @adonisjs/inertia/vite plugin has been removed

SSR is driven by @adonisjs/vite v6's serverEntrypoints. The @adonisjs/inertia/vite export no longer exists and the ssr.bundle config option was removed — ssr.entrypoint is the single source of truth, and that file must also be listed under serverEntrypoints so it gets bundled for production.

Migration

  1. Upgrade the packages:

    npm i @adonisjs/inertia@latest @adonisjs/vite@latest
    npm i @inertiajs/react@^3.4.0   # or @inertiajs/vue3@^3.4.0
  2. Move SSR to serverEntrypoints in vite.config.ts:

      import { defineConfig } from 'vite'
      import react from '@vitejs/plugin-react'
      import adonisjs from '@adonisjs/vite/client'
    - import inertia from '@adonisjs/inertia/vite'

... (truncated)

Commits
  • 6fccc2b chore(release): 5.0.0
  • 3abfaef chore: tag as latest
  • 2056cf3 chore: update dependencies
  • 1d2c6f9 docs: fix stale docblocks left from prerelease API shapes
  • fcf2f45 chore: publish package-lock.json file
  • faca06b chore: update dependencies
  • 0db93e6 chore(release): 5.0.0-next.3
  • abcae6c feat: make the Inertia class macroable
  • 1ac36da test: cover reset on a deferred mergeable prop
  • f1d2e72 fix: normalize useHttp validation errors
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@adonisjs/inertia](https://github.com/adonisjs/inertia) from 4.2.0 to 5.0.0.
- [Release notes](https://github.com/adonisjs/inertia/releases)
- [Commits](adonisjs/inertia@v4.2.0...v5.0.0)

---
updated-dependencies:
- dependency-name: "@adonisjs/inertia"
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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.

0 participants