Releases: mesqueeb/vuex-easy-access
Typescript support 🦄
Make Vue a peer dependency 🦁
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 🗺
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 🎣
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! 👨🏼🎤
- 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! ☄️
Breaking Change:
- Make
simple
pattern the default 💥 (v2.0.0)
Please read the Setter patterns documentation.
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 🕵🏻♂️
Check the readme! And enjoy!!
New setter patterns 🏖
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 🦎
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 🔥
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.