Skip to content

Commit

Permalink
Merge branch 'release/v1.1.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
davestewart committed Jun 9, 2018
2 parents 6e046d2 + 25a7738 commit 9179968
Show file tree
Hide file tree
Showing 9 changed files with 199 additions and 85 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.1.0] - 2018-06-11
### Added
- Ability to create new sub-properties on the fly
- `call()` helper to map actions using the same syntax as `get()` and `sync()`
- `registerModule()` helper to register wildcard members for dynamic modules

### Changed
- Wildcards can now appear anywhere in the last segment of a path
- Wildcards targeting module properties must now be explicit, i.e. `foo/*` rather than `foo*`
- `deep` option format is now 0: disabled, 1: read-write, 2: read-write-create
- `deep` option can now be changed at any time
- `Payload#update()` now **returns** the updated state, rather than updating the passed state

### Fixed
- Invalid computed property paths now return empty functions
- Bug in sync where invalid paths would cause error message to error


## [1.0.10] - 2018-05-20
### Fixed
- Fixed invalid wildcard bug which caused Nuxt to bomb
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Wire **multiple** properties or sub-properties using **array**, **object** and *
![pathify-diagram](docs/assets/img/readme/pathify-computed-many.png)


Map **store actions** in exactly the same way, even using **wildcards**:

![pathify-diagram](docs/assets/img/readme/pathify-actions.png)

Set up your store – **no matter how complex** – in a single line:

![pathify-diagram](docs/assets/img/readme/pathify-store.png)
Expand Down Expand Up @@ -82,6 +86,6 @@ Get started:

Demos:

- [Simple demo](https://codesandbox.io/s/github/davestewart/vuex-pathify-demos/tree/master/simple?module=%2Fsrc%2Fcomponents%2FHelloWorld.vue)
- [Simple demo](https://codesandbox.io/s/github/davestewart/vuex-pathify-demos/tree/master/simple)
- [Main demo](https://codesandbox.io/s/github/davestewart/vuex-pathify-demos/tree/master/main)
- [Nuxt demo](https://github.com/davestewart/vuex-pathify-demos/tree/master/nuxt)
Binary file added docs/assets/img/readme/pathify-actions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9179968

Please sign in to comment.