Skip to content

Releases: maple3142/vuejs-storage

3.0.0 Release

06 Jul 12:49
Compare
Choose a tag to compare

Please read README.md again to migrate to 3.0.0

Breaking Changes

storage,parse,stringify option removal

FAQ

Does it means I cannot use custom storage or parse/stringify function?

No, you could create your own driver and use your own storage and functions.

But why?

Sometimes if you need to add some extra feature on default storage, which already did parsing and stringifying internally.
But you forget to prevent default parse and stringify works by setting x=>x might led to double serialization.
So I decided to use a driver as an abstration layer of storage to prevent this from happened.
Example storage: https://github.com/maple3142/WynnStats/blob/aad20737ad6aae063c874fdf13b3c1ad37cc8f1f/src/cacheStorage.js

2.2.3

24 Mar 07:18
Compare
Choose a tag to compare
2.2.3

2.0 BREAKING CHANGE

16 Mar 16:14
Compare
Choose a tag to compare

data in option has been removed, please read README.md for information.