InertiaCore icon indicating copy to clipboard operation
InertiaCore copied to clipboard

[2.x] Inertia Version 2 Support

Open adrum opened this issue 1 year ago • 3 comments

I'd like to propose a plan to integrate v2 features.

Here is the list of features (or changes) needed:

  • [x] IgnoreFirstLoad https://github.com/kapi2289/InertiaCore/pull/22
  • [x] OptionalProp https://github.com/kapi2289/InertiaCore/pull/22
  • [x] MergeableProp https://github.com/kapi2289/InertiaCore/pull/23
  • [x] MergesProps https://github.com/kapi2289/InertiaCore/pull/23
  • [x] MergeProp https://github.com/kapi2289/InertiaCore/pull/23
  • [x] X-Inertia-Reset header https://github.com/kapi2289/InertiaCore/pull/23
  • [x] DeferProp (full support with grouping) https://github.com/kapi2289/InertiaCore/pull/24
  • [x] History Encryption https://github.com/kapi2289/InertiaCore/pull/25
  • [x] Clear History https://github.com/kapi2289/InertiaCore/pull/25
  • [ ] Response & Cache Directions

I also propose we start a 1.x and 2.x branch to help keep compatibility and support easier.

The reference of changes are listed here. I don't believe the changes are a large undertaking, as a large amount of the files are either formatting or minor changes.

https://github.com/inertiajs/inertia-laravel/pull/671

Lastly, I plan to keep this message updated via edits as we progress through the additions.

adrum avatar Oct 24 '24 00:10 adrum

+1

marcel-silva avatar Oct 24 '24 04:10 marcel-silva

Hi! I've created v1 branch, so we can still develop the library compatible with Inertia v1. Feel free to create PRs for v2 on the main branch.

The goal is to release v1.0.0 for Interia v1 and then v2.0.0 for the v2 version of Interia.

kapi2289 avatar Oct 28 '24 20:10 kapi2289

How is this one going? Can i help with something? Would love to use inertia on some .net projects of mine

f2l2pe avatar Jul 14 '25 16:07 f2l2pe