Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 26, 2022

Bumps rxdb from 11.6.1 to 12.0.0.

Release notes

Sourced from rxdb's releases.

12.0.0

BREAKING read the announcement

  • 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.

  • Added cleanup plugin

  • Refactor local documents plugin to only create a storage instance for local documents when needed.

  • Removed the core plugin. The default export from 'rxdb' now exports only the RxDB core without plugins.

  • The Dexie.js RxStorage is no longer in beta mode.

  • Added the in memory storage plugin.

  • Added RxDocument().toMutableJSON()

  • Added RxCollection().bulkUpsert()

  • Added optional init() function to RxPlugin.

  • 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, as it anyway never really worked.

  • Refactored the usage of RxCollection.storageInstance to ensure all hooks run properly.

  • Refactored the encryption plugin so no more plugin specific code is in the RxDB core.

  • 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.

  • RxPlugin hooks now can be defined as running before or after other plugin hooks.

  • Attachments are now internally handled as string instead of Blob or Buffer

  • Fix (replication primitives) only drop pulled documents when a relevant document was changed locally.

  • Fix dexie.js was not able to query over an index when keyCompression: true

Changes to RxStorageInterface:

  • RxStorageInstance must have the RxStorage in the storage property.
  • The _deleted field is now required for each data interaction with RxStorage.
  • Removed RxStorageInstance.getChangedDocuments() and added RxStorageInstance.getChangedDocumentsSince() for better performance.
  • Added doesBroadcastChangestream() to RxStorageStatics
  • Added withDeleted parameter to RxStorageKeyObjectInstance.findLocalDocumentsById()
  • Added internal _meta property to stored document data that contains internal document related data like last-write-time and replication checkpoints.

12.0.0-beta.42

  • 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.

  • Added cleanup plugin

  • Refactor local documents plugin to only create a storage instance for local documents when needed.

  • Removed the core plugin. The default export from 'rxdb' now exports only the RxDB core without plugins.

  • The Dexie.js RxStorage is no longer in beta mode.

  • Added the in memory storage plugin.

  • Added RxDocument().toMutableJSON()

... (truncated)

Changelog

Sourced from rxdb's changelog.

12.0.0 (26 April 2022) BREAKING read the announcement

  • 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.

  • Added cleanup plugin

  • Refactor local documents plugin to only create a storage instance for local documents when needed.

  • Removed the core plugin. The default export from 'rxdb' now exports only the RxDB core without plugins.

  • The Dexie.js RxStorage is no longer in beta mode.

  • Added the in memory storage plugin.

  • Added RxDocument().toMutableJSON()

  • Added RxCollection().bulkUpsert()

  • Added optional init() function to RxPlugin.

  • 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, as it anyway never really worked.

  • Refactored the usage of RxCollection.storageInstance to ensure all hooks run properly.

  • Refactored the encryption plugin so no more plugin specific code is in the RxDB core.

  • 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.

  • RxPlugin hooks now can be defined as running before or after other plugin hooks.

  • Attachments are now internally handled as string instead of Blob or Buffer

  • Fix (replication primitives) only drop pulled documents when a relevant document was changed locally.

  • Fix dexie.js was not able to query over an index when keyCompression: true

Changes to RxStorageInterface:

  • RxStorageInstance must have the RxStorage in the storage property.
  • The _deleted field is now required for each data interaction with RxStorage.
  • Removed RxStorageInstance.getChangedDocuments() and added RxStorageInstance.getChangedDocumentsSince() for better performance.
  • Added doesBroadcastChangestream() to RxStorageStatics
  • Added withDeleted parameter to RxStorageKeyObjectInstance.findLocalDocumentsById()
  • Added internal _meta property to stored document data that contains internal document related data like last-write-time and replication checkpoints.

11.6.0 (4 February 2022)

Bugfixes:

  • #3666 RxDB with lokijs works bad in Safari and FF when using multiple tabs

Other:

  • Replication primitives must throw an error if _deleted field is missing. #3671

11.5.1 (30 January 2022)

Bugfixes:

  • RxStorage.statics.getQueryMatcher() must not match documents with _deleted: true.
  • Fixed multiple problems with RxCollection.findByIds$() #3659 Thanks @​Hideman85

11.5.0 (30 January 2022)

Features:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rxdb](https://github.com/pubkey/rxdb) from 11.6.1 to 12.0.0.
- [Release notes](https://github.com/pubkey/rxdb/releases)
- [Changelog](https://github.com/pubkey/rxdb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pubkey/rxdb/commits/12.0.0)

---
updated-dependencies:
- dependency-name: rxdb
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from vazra April 26, 2022 19:04
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 28, 2022

Superseded by #454.

@dependabot dependabot bot closed this Apr 28, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/rxdb-12.0.0 branch April 28, 2022 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant