pubkey / rxdb

A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
https://rxdb.info/
Apache License 2.0
21.37k stars 1.04k forks source link

ANNOUNCEMENT: Version 4.0.0 #154

Closed pubkey closed 7 years ago

pubkey commented 7 years ago

A few minutes ago, I released Version 4.0.0. CHANGELOG The focus was on even better performance especially a better Caching, faster Queries and ressource-Saving on observed Queries.

One main feature is the QueryChangeDetection. This is something only event-based databases can do and can add a huge performance-gain now and an even bigger one with more optimisations in the future.

The QueryChangeDetection is very complex and so I decided to put in beta-mode. This means it's disabled by default and you have to enable it. Read this to learn how to do that.

Please comment here if you have some ideas or concerns about the changes.

matsuo-ts commented 7 years ago

@pubkey I encountered an error as below after update to 4.0.0.

Failed to open collection:  Error: Cannot sort on field(s) "status" when using the default index
    at validateSort (bundle.js:165)
    at bundle.js:165
(anonymous) @ bundle.js:244

Not sure if this is due to update but as I search Internet this is probably come from PouchDB.

pubkey commented 7 years ago

@matsuo-ts Maybe its comes from pouchdb, but its also possible that rxdb is the wrong. Can you create an issue where you include your schema and the query?

natew commented 7 years ago

So far so good. Been using for 2 days now without problem. Very significant speedups, this is awesome!