Skip to content

Commit

Permalink
package: bump version to 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mpareja committed Jul 8, 2020
1 parent e46f3df commit 944d87f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## v0.15.0: entity-store enhancement (2020-07-08)

### Highlights

- **BREAKING** entity-store: fetchRecord now returns a version of `-1` instead of `undefined` when the entity stream in question has no messages. Returning `-1` (stream not initialized) is beneficial for handlers that support both initializing a new entity stream _and_ appending to an existing entity stream. Such handlers can simply forward `version` as the `expectedVersion` for subsequent writes and rest assured that concurrency controls will be enforced for both initial stream writes and existing stream writes.

### Commits

- ([`e46f3df`](https://github.com/mpareja/gearshaft/commit/e46f3dff01b589cf18eb976a729faef8647a023f)) entity-store: fetchRecord returns version -1 when stream is empty
- ([`964b6e9`](https://github.com/mpareja/gearshaft/commit/964b6e96c06f242afca1b2f599ff1f518fa525d3)) package: upgrade dependencies

## v0.14.0: upgrade pg dependency to v8 (2020-05-18)

### Highlights
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gearshaft",
"version": "0.14.0",
"version": "0.15.0",
"description": "",
"main": "index.js",
"private": false,
Expand Down

0 comments on commit 944d87f

Please sign in to comment.