Read more here.
Breaking:
- Upgraded to pouchdb 7.0.0
disableKeyCompressionis set totrueby defaultRxDatabase.collection()now only accepts the json-schema as schema-attribute- It is no longer allowed to set required fields via
required: true, userequired: ['myfield']in compliance with the jsonschema standard - QueryChangeDetection is not enabled in the RxDatabase-options
queryChangeDetection: true - Setters and
save()are only callable on temporary documents - Removed
RxDocument.synced$andRxDocument.resync()
Features:
- Added
RxDocument.atomicSet() - Added
RxCollection.awaitPersistence()for in-memory-collections - Added
RxReplicationState.denied$#763
Bugfixes:
- checkAdapter doesn't cleanup test databases #714
- inMemory collections don't implement static methods #744
- inMemory collections do not sync up removals #754
Other:
- cross-instance communication is now done with https://github.com/pubkey/broadcast-channel (way better performance)
- Upgrade to eslint 5 (no more babel-eslint)
- Upgrade to babel7
- Refactored
plugins/replication/.watchForChanges()to fix sometimes-breaking-test withRxReplicationState.complete$ - Refactored
RxQuery