Skip to content

Commit 88d7418

Browse files
committed
release: v1.0.0-draft.14
1 parent 6339a26 commit 88d7418

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# [1.0.0-draft.14](https://github.com/vuex-orm/vuex-orm-next/compare/v1.0.0-draft.13...v1.0.0-draft.14) (2021-05-31)
2+
3+
### Bug Fixes
4+
5+
* **decorator:** export `HasManyBy` decorator ([#71](https://github.com/vuex-orm/vuex-orm-next/issues/71)) ([08c1b4f](https://github.com/vuex-orm/vuex-orm-next/commit/08c1b4fd4b25cac3f9ff475d64104202713b92ea))
6+
7+
### Features
8+
9+
* add `save` and `revive` method ([#62](https://github.com/vuex-orm/vuex-orm-next/issues/62)) ([d45825e](https://github.com/vuex-orm/vuex-orm-next/commit/d45825ea378e325c483b0167ff8260bc0de38541))
10+
* re-shape the persistent methods ([#70](https://github.com/vuex-orm/vuex-orm-next/issues/70)) ([fe25477](https://github.com/vuex-orm/vuex-orm-next/commit/fe25477f5a4980a01c49211089c7c2de74df0462))
11+
12+
### Breaking Changes
13+
14+
- All persistent methods are now synchronous. Not `async` anymore.
15+
- All persistent methods returns either `Model` or `Model[]`.
16+
- The `save` method is the only method that normalizes the given data. `insert`, `fresh`, `update` will not normalize data anymore.
17+
- Removing `add`, `revise`, `replace` method. Use `insert`, `update`, `fresh` instead.
18+
- the `update` method now only works with query constraints. `userRepo.where('name', 'John').update({ name: 'Jane' })`.
19+
120
# [1.0.0-draft.13](https://github.com/vuex-orm/vuex-orm-next/compare/v1.0.0-draft.12...v1.0.0-draft.13) (2021-05-10)
221

322
### Features

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuex-orm/core",
3-
"version": "1.0.0-draft.13",
3+
"version": "1.0.0-draft.14",
44
"description": "The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.",
55
"main": "dist/vuex-orm.cjs.js",
66
"browser": "dist/vuex-orm.esm-browser.js",

0 commit comments

Comments
 (0)