Skip to content

Releases: mesqueeb/vuex-easy-access

Typescript support 🦄

27 Mar 09:55
Compare
Choose a tag to compare

It's been a while but the library is now fully TypeScript supported.
Enjoy! 🎁

Make Vue a peer dependency 🦁

27 Sep 09:28
da1ab76
Compare
Choose a tag to compare

Peer pressure 👥

I made Vue a peer dependency to make sure there is no version difference.

New users will need to use the following install method going forward:

npm i vuex-easy-access vue

Bug fixes 🕷

Critical bugs were fixed. (error on initialisation when no config passed)

Please update to the latest version!

Enjoy!! 🌼

New beginnings 🗺

21 Sep 09:06
4679307
Compare
Choose a tag to compare

Version 3.0.0 is released!! 🎉
The library has now fully matured.

Completely rewrote documentation!

The documentation had become quite a mess over the months. : D
Finally took the time to completely re-organise it and upload it via VuePress!
To the new documentation

Small change

One small feature that was partially disabled already but now completely removed is working with wildcards when the state is an empty object. Reasons: See my comments in last version release.

Enjoy!!! 🏝

Small improvements 🎣

05 Sep 03:45
a2623a8
Compare
Choose a tag to compare

Add ability to use wildcard paths with array mutations 👩🏻‍🚀

You can use the special array setters with paths with wildcards now as well.

Depreciate wildcard setter from empty object 🐚

Before you could have a state prop with an empty object, that would enable wildcard setters:

state: { pokeDex: {} }
// was the same as
state: { pokeDex: { '*': null } }

You did not have to specify '*' inside the pokeDex to enable wildcard setters.
But since this method without the '*' was not really documented; had bugs; was complicating the codebase; it's better to streamline and be explicit about where wildcard setters can be used in the state; etc. I have decided to depreciated this.

Going forward, please add the '*' prop to objects you want to enable wildcard setters for.

Several bug fixes 🦎

Enjoy 🏅

Wildcards & prop deletion super powers! 👨🏼‍🎤

22 Jul 08:33
60a83f3
Compare
Choose a tag to compare
  • Improve delete prop functionality 🗑
  • Huge update to wildcard setters: set('items/byid.*', item) 🃏
  • Complete vuex-easy-firestore integration 👩🏻‍🎤

So biiiig updates on abilities to delete props and setting/deleting props with wildcards. Check the new improved overview of the Readme!

Also anything you do is synced to Firestore if you add the Vuex Easy Firestore as well! Only 4 lines of setup required!

Enjoy!! 🏖

Version 2! ☄️

14 Jul 13:28
fb52352
Compare
Choose a tag to compare

Breaking Change:

Other:

  • Support for setters with ID wildcards! 👩🏻‍🎤
  • Additional .shift mutation 🌈
  • Add support for firestore sync on subprops written in path 💋

Huge update to the readme! I rewrote all examples so it's easier to understand! And used Pokémon references to keep things fun to read. 😃

Enjoy!!!

New feature: 'ignoreProps' in config 🕵🏻‍♂️

09 Jul 10:05
711bb04
Compare
Choose a tag to compare

New setter patterns 🏖

07 Jul 15:08
Compare
Choose a tag to compare

Several bug fixes and new setter patterns 🏖
Check out the Readme which was largely rewritten!

Next build I am considering to make 'simple' pattern the default one.
Any requests; feel free to open an issue!

Enjoy!!

ignore _privateProps 🦎

30 Jun 09:30
9be704e
Compare
Choose a tag to compare

The build has become quite stable. Over the last few versions I've reworked the build methods, and made sure vuexEasyAccess will ignore any props starting with an underscore: _privateProp.

Enjoy!

Compatibility with vuex-easy-firestore 🔥

28 Jun 12:18
Compare
Choose a tag to compare

When you perform a simple set() on a document which is synced through vuex-easy-firestore it will automatically be updated in the firestore as well.

For more details:
https://github.com/mesqueeb/VuexEasyFirestore

Other changes:

  • updated main index file to be a vuex plugin. Please see the readme how to reintegrate.