mrichar1 / jsonapi-vuex

Use a JSONAPI api with a Vuex store, with data restructuring/normalization.
GNU Affero General Public License v3.0
156 stars 23 forks source link

Pinia support #202

Open cacholong opened 2 years ago

cacholong commented 2 years ago

Hello @mrichar1,

Since Vue is recommending to start using Pinia i was wondering if there are any plans to add Pinia support to this great project?

Looking forward to hear from you.

Regards,

Durk

mrichar1 commented 2 years ago

Yes it's definitely on the todo list We're already only really focused on Vue3 so it's likely we'll drop support for Vue2 and Vuex going forward and switch to Pinia, unless anyone screams.

cacholong commented 2 years ago

Thnx for the quick reply and great to hear the focus is on the future. We'll watch the development with anticipation.

mrichar1 commented 10 months ago

It's been far too long coming, but the project has finally been ported over to pinia!

In the end the code-base is now too different to coexist, so it's now a new project: pinia-jsonapi (The name change is due to a clash with an existing project in npm).

The functionality is more or less identical, though there are some differences due to how pinia differs from vuex - the main changes are listed in PORTING.md - but everything should be documented in detail in the main docs.

I've preserved the versioning nd history from jsonapi-vuex for sanity, so it's released as 6.0.0 - though it should still be considered as more of a v1 release and there may be bugs/issues not found through the test suite.

If you have any issues/comments please make them on the new repo, rather than adding them here.