All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Optimise serialization code
- Support for serialized payloads - #125 / @Heziode
- Setting values on objects using numeric keys is now supported
- Setting deep properties using numeric keys now correctly creates arrays
- Fix Payload type - #101 / @VesterDe
- Update dependencies
- Fix broken UMD bundles - #117 / @johannes-z
- IE11 compatibility - #77 / @JessicaSachs
- Enable variable expansion in component helper paths
- Enable array read / write for sub-properties
- Fixed issue where get and set helpers cached reference to store
- TypeScript: added overload for array and object accessors
- Removed dependency on Lodash
deepClone()
for a naive clone method
- TypeScript: added proper generics to accessors - #58 / @KaelWD
- Added Class Component to dependencies
- Typescript typings file - #38 / @ozum
- Add TypeScript property decorators and docs - #38 / @ozum
- Use typeof instead of instanceof to defend against Nuxt errors - #46 / @SebastienTainon
- Added missing return to callOne() - #43 / @germanp
- Allow dollar sign in getKeys - #41 / @germanp
- Return the call to vuex.store.dispatch - #37 / @nchutchind
- Ability to create new sub-properties on the fly
call()
helper to map actions using the same syntax asget()
andsync()
registerModule()
helper to register wildcard members for dynamic modules
- Wildcards can now appear anywhere in the last segment of a path
- Wildcards targeting module properties must now be explicit, i.e.
foo/*
rather thanfoo*
deep
option format is now 0: disabled, 1: read-write, 2: read-write-createdeep
option can now be changed at any timePayload#update()
now returns the updated state, rather than updating the passed state
- Invalid computed property paths now return empty functions
- Bug in sync where invalid paths would cause error message to error
- Fixed invalid wildcard bug which caused Nuxt to bomb
- Fixed setting of sub-properties when using mutations and actions
- Banner to built files
- Unknown modules now throw error rather than log to console (for Nuxt compatibility)
store.get()
regression fixed
sync()
now reads only from state and not getters
- Vuex getter functions now return as functions not values for computed properties
- State can now be passed to
make.*
as a function - Added CHANGELOG.md
- Removed
only
parameter frommake.*
helpers; function now takes singlestate
/keys
parameter - Updated docs accordingly
- Removed component helpers set() function
- Fixed bug with module-level wildcard get() not returning getters
- Fixed error message displaying original package name
- Docs tidy-ups and clarifications
- Official release