You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@inertiajs/react

Package Overview
Dependencies
Maintainers
6
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inertiajs/react - npm Package Versions

2345

2.0.17

Diff
j
joetannenbaum
published 2.0.17 •

Changelog

Source

v2.0.17 - 2025-07-18

What's Changed

  • Bump multer from 2.0.1 to 2.0.2 by @dependabot[bot] in https://github.com/inertiajs/inertia/pull/2447
  • Bump vite from 5.4.12 to 5.4.19 by @dependabot[bot] in https://github.com/inertiajs/inertia/pull/2450
  • Bump esbuild from 0.21.5 to 0.25.0 by @dependabot[bot] in https://github.com/inertiajs/inertia/pull/2451
  • Explicit string coercion in Head component by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2453

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.16...v2.0.17

j
joetannenbaum
published 2.0.16 •

Changelog

Source

v2.0.16 - 2025-07-18

What's Changed

  • Make errorBag parameter optional by @joelstein in https://github.com/inertiajs/inertia/pull/2445

New Contributors

  • @joelstein made their first contribution in https://github.com/inertiajs/inertia/pull/2445

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.15...v2.0.16

j
joetannenbaum
published 2.0.15 •

Changelog

Source

v2.0.15 - 2025-07-17

What's Changed

  • Improve GitHub issue templates by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2418
  • Escape the attribute values that are passed into the Head component by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2403
  • Introduce single method to reset form state and clear errors by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2414
  • Use CacheForOption type in React Link component by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2426
  • Improve query string merging in mergeDataIntoQueryString() by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2417
  • Improve scrolling when using anchor hash by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2428
  • Cancel sync request on popstate event by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2429
  • Support for path traversal by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2413
  • Add event callbacks to ClientSideVisitOptions by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2405
  • Pass parameters to onFinish and onSuccess callbacks on Client Side Visits by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2433
  • Prevent JS builds and test apps from being minified by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2424
  • Migrate to pnpm by @jrmajor in https://github.com/inertiajs/inertia/pull/2276
  • Fix single-use prefetching by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2440
  • Change defaults values order in onSuccess callback of useForm by @yilanboy in https://github.com/inertiajs/inertia/pull/2437
  • Improve reactivity of Link components by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2441

New Contributors

  • @yilanboy made their first contribution in https://github.com/inertiajs/inertia/pull/2437

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.14...v2.0.15

j
joetannenbaum
published 2.0.14 •

Changelog

Source

v2.0.14 - 2025-06-26

What's Changed

  • fix: fixed type error in useForm SetDataAction type by @fxnm in https://github.com/inertiajs/inertia/pull/2395
  • Call provider.update outside useEffect block to support SSR by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2397
  • Improve state restore logic in useRemember by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2401

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.13...v2.0.14

j
joetannenbaum
published 2.0.13 •

Changelog

Source

v2.0.13 - 2025-06-20

What's Changed

  • Allow deepMerge on custom properties by @mpociot in https://github.com/inertiajs/inertia/pull/2344
  • fix: React StrictMode breaking Inertia Head by @jordanhavard in https://github.com/inertiajs/inertia/pull/2328
  • Bump multer from 1.4.4 to 2.0.1 in /tests/app by @dependabot in https://github.com/inertiajs/inertia/pull/2373
  • Initialize router before components in React by @chack1172 in https://github.com/inertiajs/inertia/pull/2379
  • Prevent duplicate render of the initial page in React by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2377
  • Update default state when setDefault() is called right after setData() is called by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2364
  • [2.x] Restore router.resolveComponent() method by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2039
  • Move currentIsInitialPage variable outside of App by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2381
  • Don't overwrite Vite class in Svelte playgrounds by @jrmajor in https://github.com/inertiajs/inertia/pull/2368
  • Dependency update + Prevent Playwright 1.53.0 due to Svelte bug by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2382
  • Update to Vite 6 by @SuperDJ in https://github.com/inertiajs/inertia/pull/2315
  • Fix React scroll restoration on popState by @sebastiandedeyne in https://github.com/inertiajs/inertia/pull/2357
  • feat(useForm): export granular setData types and introduce SetDataAction<TForm> by @hasib-devs in https://github.com/inertiajs/inertia/pull/2356
  • Refactor mergeStrategies to matchOn by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2384
  • Remove setSwapComponent method and cleanup after PR #2379 by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2383

New Contributors

  • @jordanhavard made their first contribution in https://github.com/inertiajs/inertia/pull/2328
  • @chack1172 made their first contribution in https://github.com/inertiajs/inertia/pull/2379
  • @jrmajor made their first contribution in https://github.com/inertiajs/inertia/pull/2368
  • @SuperDJ made their first contribution in https://github.com/inertiajs/inertia/pull/2315
  • @hasib-devs made their first contribution in https://github.com/inertiajs/inertia/pull/2356

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.12...v2.0.13

j
joetannenbaum
published 2.0.12 •

Changelog

Source

v2.0.12 - 2025-06-10

What's Changed

  • Send Purpose: prefetch header on prefetching by @pascalbaljet in https://github.com/inertiajs/inertia/pull/2367

New Contributors

  • @pascalbaljet made their first contribution in https://github.com/inertiajs/inertia/pull/2367

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.11...v2.0.12

j
joetannenbaum
published 2.0.11 •

Changelog

Source

v2.0.11 - 2025-05-16

What's Changed

  • Fix progress bar not showing on subsequent page clicks by @joetannenbaum in https://github.com/inertiajs/inertia/pull/2349

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.10...v2.0.11

j
joetannenbaum
published 2.0.10 •

Changelog

Source

v2.0.10 - 2025-05-15

What's Changed

  • Don't show progress bar on prefetch hover by @joetannenbaum in https://github.com/inertiajs/inertia/pull/2347

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.9...v2.0.10

j
joetannenbaum
published 2.0.9 •

Changelog

Source

v2.0.9 - 2025-05-09

What's Changed

  • Bump @sveltejs/kit from 2.11.1 to 2.20.6 by @dependabot in https://github.com/inertiajs/inertia/pull/2312
  • Bump vite from 5.4.17 to 5.4.18 by @dependabot in https://github.com/inertiajs/inertia/pull/2307
  • Fix for deferred props + prefetch links by @joetannenbaum in https://github.com/inertiajs/inertia/pull/2321
  • Progress: Make hide and reveal CSP-compatible by @flexponsive in https://github.com/inertiajs/inertia/pull/2316
  • Corrected URL search parameter merge logic to match behavior prior to v2.0.8 by @joetannenbaum in https://github.com/inertiajs/inertia/pull/2341
  • Corrects url search parameter merge logic to match behavior prior to v2.0.8 by @CTOJoe in https://github.com/inertiajs/inertia/pull/2320
  • Bump vite from 5.4.18 to 5.4.19 by @dependabot in https://github.com/inertiajs/inertia/pull/2334
  • On back button, fetch from server if version hash is not current by @joetannenbaum in https://github.com/inertiajs/inertia/pull/2342
  • Allow custom URL protocols by @mpociot in https://github.com/inertiajs/inertia/pull/2329

New Contributors

  • @flexponsive made their first contribution in https://github.com/inertiajs/inertia/pull/2316
  • @CTOJoe made their first contribution in https://github.com/inertiajs/inertia/pull/2320

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.8...v2.0.9

j
joetannenbaum
published 2.0.8 •

Changelog

Source

v2.0.8 - 2025-04-10

What's Changed

  • Add deepMerge Support for Merging Nested Arrays and Objects in Props by @HichemTab-tech in https://github.com/inertiajs/inertia/pull/2069
  • fix: build error because of invalid type definitions by @fxnm in https://github.com/inertiajs/inertia/pull/2301
  • fix(vue/useForm/defaults): untrack before assign by @Dsaquel in https://github.com/inertiajs/inertia/pull/2112
  • Improve type checking of request data by @7nohe in https://github.com/inertiajs/inertia/pull/2304
  • Remove empty payload from GET requests by @edgars-vasiljevs in https://github.com/inertiajs/inertia/pull/2305

New Contributors

  • @HichemTab-tech made their first contribution in https://github.com/inertiajs/inertia/pull/2069
  • @fxnm made their first contribution in https://github.com/inertiajs/inertia/pull/2301
  • @Dsaquel made their first contribution in https://github.com/inertiajs/inertia/pull/2112

Full Changelog: https://github.com/inertiajs/inertia/compare/v2.0.7...v2.0.8