Changelog
8.1.0 (22 April 2019)
Bugfixes:
get is not a function
when a RxDocument was added to a component's stateRxDocument.allAttachments()
did throw an error when the document has no RxAttachment
RxDocument.toJSON(false)
does no longer return the _attachments
attributeChangelog
8.0.6 (20 March 2019)
Features:
RxDocument().toJSON()
can be called with .toJSON(false)
and then returns not _rev
attributeBugfixes:
additionalProperties: boolean
is allowed for nested objectsRxQuery().toJSON()'
was missingChangelog
8.0.5 (7 February 2019)
Bugfixes:
remove()
on a deleted RxDocument should return a rejected promise #830auto_compaction
to a collection did not work via gitterutil
missing in react-native #890Changelog
8.0.0 (18. September 2018) BREAKING read the announcement
Breaking:
disableKeyCompression
is renamed to keyCompression
which defaults to false
RxDatabase.collection()
now only accepts the json-schema as schema-attributerequired: true
, use required: ['myfield']
in compliance with the jsonschema standardqueryChangeDetection: true
save()
are only callable on temporary documentsRxDocument.synced$
and RxDocument.resync()
plainJson
as first parameter and RxDocument
-instance as secondpostCreateRxDocument
-hooks will not be awaited if they are asyncFeatures:
RxDocument.atomicSet()
RxCollection.awaitPersistence()
for in-memory-collectionsRxReplicationState.denied$
#763this
-scope of collection-hooks are bound to the collection itself #788RxDocument
are bound to the instance #791RxReplicationState.alive$
, see. Thanks @rafamelBugfixes:
final
fields cannot be changed on RxDocument.atomicUpdate()
and RxDocument.update()
Other:
plugins/replication/.watchForChanges()
to fix sometimes-breaking-test with RxReplicationState.complete$
RxCollection.watchForChanges()
into own pluginRxQuery