Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

v0.4.10

  • Loading branch information...
commit be237267b6268dd58820a1aeb40300ad1c3671e6 1 parent 3581adf
@petrjanda authored
Showing with 7 additions and 2 deletions.
  1. +5 −0 changelog.md
  2. +1 −1  lib/view.js
  3. +1 −1  package.json
View
5 changelog.md
@@ -1,3 +1,8 @@
+## v0.4.10
+* fix view purging and storing order so only new snapshot is kept in database (previous one is purged)
+* fix view saving
+* fix view deleting
+
## v0.4.9
* create storage in view on runtime, to fix prematurely created singleton instance
* fetch views by changed string keys
View
2  lib/view.js
@@ -73,8 +73,8 @@ View.prototype.load = function(reload, callback) {
self.apply(event, next);
} else {
if(count > 0 && self.snapshots) {
- storage.storeView(self);
storage.purgeView(self.uid);
+ storage.storeView(self);
}
if(callback) {
View
2  package.json
@@ -1,7 +1,7 @@
{
"author": "Petr Janda <petrjanda@me.com> (www.twitter.com/petrjanda)",
"name": "cqrs",
- "version": "0.4.9",
+ "version": "0.4.10",
"repository": {
"type": "git",
"url": "git://github.com/petrjanda/node-cqrs.git"
Please sign in to comment.
Something went wrong with that request. Please try again.