-
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
withDeletedparameter toRxStorageKeyObjectInstance.findLocalDocumentsById() -
The
_deletedfield is now required for each data interaction withRxStorage. -
RxStorageInstancemust have theRxStoragein thestorageproperty. -
Removed
RxStorageInstance.getChangedDocuments()and addedRxStorageInstance.getChangedDocumentsSince()for better performance. -
Removed the
coreplugin. 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
_metaproperty to stored document data. -
Attachments are now internally handled as string instead of
BloborBuffer -
RxPlugin hooks now can be defined as running
beforeorafterother 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.[].subfieldwas removed.