[2.x] Inertia Version 2 Support
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.
+1
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.
How is this one going? Can i help with something? Would love to use inertia on some .net projects of mine