Removing deprecated features
- Remove the deprecated PouchDB RxStorage.
- REMOVE old
replication-couchdb
plugin. Renamereplication-couchdb-new
toreplication-couchdb
. - Remove depricated
skipIfSame
fromputAttachment()
API changes
- CHANGE use plain json errors inside of RxError parameters to make debugging easier.
- CHANGE Make RxDocuments immutable
- ADD
RxDocument.getLatest()
- CHANGE
RxCollection.findByIds()
now returns aRxQuery
. - REMOVED
RxCollection.findByIds$
, useRxCollection.findByIds().$
instead. - CHANGE Prefix storage plugins with
storage-
likerxdb/plugins/storage-dexie
. - RENAME
atomicUpdate()
toincrementalModify()
- RENAME
atomicPatch()
toincrementalPatch()
- RENAME
atomicUpsert()
toincrementalUpsert()
- ADD
RxDocument().incrementalUpdate()
- ADD
RxDocument.incrementalRemove()
- ADD non-incremental
RxDocument
methodspatch()
andmodify()
- ADD typings to the query selector
- CHANGE start replication via pure functions instead of RxCollection methods.
Performance improvements
- CHANGE Do not use hash for revisions but use database instance token instead.
- CHANGE crunch multiple incremental (aka 'atomic') operations into a single database write. Also batch writes to multiple documents into a single write.
- CHANGE to reduce bundle size and improve performance, the following JavaScript features will no longer be transpiled:
Bugfixes
- CHANGE (memory RxStorage) do not clean up database state on closing of the storage, only on
remove()
. - FIX CouchDB replication: Use correct default fetch method.
- FIX schema hashing should respect the sort order #4005
- FIX replication does not provide a
._rev
to the storage write when a conflict is resolved. - FIX(remote storage) ensure caching works properly even on parallel create-calls
- FIX(replication) Composite Primary Keys broken on replicated collections #4190
Other changes
- REMOVE deprecated
babel-plugin-transform-async-to-promises
plugin.
NOTICE: An overview about all releases can be found at the changelog