-
All indexes that do not contain the primaryKey, get the primary key added.
-
You can now set a custom index when doing a query.
-
Unified the replication primitives and the GraphQL replication plugin.
-
Removed the deprecated in-memory plugin.
-
Refactor usage of RxCollection.storageInstance to ensure all hooks run properly.
-
Added
withDeleted
parameter toRxStorageKeyObjectInstance.findLocalDocumentsById()
-
The
_deleted
field is now required for each data interaction withRxStorage
. -
RxStorageInstance
must have theRxStorage
in thestorage
property. -
Removed
RxStorageInstance.getChangedDocuments()
and addedRxStorageInstance.getChangedDocumentsSince()
for better performance. -
Removed the
core
plugin. The default exportfrom 'rxdb'
now exports only the RxDB core without plugins. -
Added optional
init()
function toRxPlugin
. -
Added
doesBroadcastChangestream()
toRxStorageStatics
-
Fix (replication primitives) only drop pulled documents when a relevant document was changed locally.
-
Add
_meta
property to stored document data. -
Attachments are now internally handled as string instead of
Blob
orBuffer
-
RxPlugin hooks now can be defined as running
before
orafter
other plugin hooks. -
Removed the encrypted export from the json-import-export plugin. This was barely used and made everything more complex. All exports are no non-encrypted. If you need them encrypted, you can still run by encryption after the export is done.
-
Refactor the encryption plugin so no more plugin specific code is in the RxDB core.
-
Refactor local documents plugin to only create a storage instance for local documents when needed.
-
Added
RxDocument().toMutableJSON()
-
Added
RxCollection().bulkUpsert()
-
Added
RxStorageInstance.cleanup()
-
Added cleanup plugin
-
dev-mode: Add check to ensure all top-level fields in a query are defined in the schema.
-
Support for array field based indexes like
data.[].subfield
was removed.