github pubkey/rxdb 14.0.0

latest releases: 15.38.1, 15.38.0, 15.37.0...
21 months ago

BREAKING read the announcement

  • Remove the deprecated PouchDB RxStorage.

  • REMOVE old replication-couchdb plugin. Rename replication-couchdb-new to replication-couchdb.

  • Remove depricated skipIfSame from putAttachment()

  • CHANGE use plain json errors inside of RxError parameters to make debugging easier.

  • CHANGE Make RxDocuments immutable

  • ADD RxDocument.getLatest()

  • CHANGE RxCollection.findByIds() now returns a RxQuery.

  • REMOVED RxCollection.findByIds$, use RxCollection.findByIds().$ instead.

  • CHANGE Prefix storage plugins with storage- like rxdb/plugins/storage-dexie.

  • RENAME atomicUpdate() to incrementalModify()

  • RENAME atomicPatch() to incrementalPatch()

  • RENAME atomicUpsert() to incrementalUpsert()

  • ADD RxDocument().incrementalUpdate()

  • ADD RxDocument.incrementalRemove()

  • ADD non-incremental RxDocument methods patch() and modify()

  • ADD typings to the query selector

  • CHANGE start replication via pure functions instead of RxCollection methods.

  • CHANGE RxDocument.$ emits RxDocument instances instead of the plain document data.

  • ADD push.initialCheckpoint to start a replication from a given checkpoint.

  • CHANGE Do not use hash for revisions but use database instance token instead.

  • CHANGE crunch multiple incremental (aka 'atomic') operations into a single database write. Also batch writes to multiple documents into a single write.

  • REMOVE deprecated babel-plugin-transform-async-to-promises plugin.

  • CHANGE to reduce bundle size and improve performance, the following JavaScript features will no longer be transpiled:

Bugfixes:

  • CHANGE (memory RxStorage) do not clean up database state on closing of the storage, only on remove().
  • FIX CouchDB replication: Use correct default fetch method.
  • FIX schema hashing should respect the sort order #4005
  • FIX replication does not provide a ._rev to the storage write when a conflict is resolved.
  • FIX(remote storage) ensure caching works properly even on parallel create-calls
  • FIX(replication) Composite Primary Keys broken on replicated collections #4190
  • FIX(sqlite) $in Query not working SQLite #4278
  • FIX CouchDB push is throwing error because of missing revision #4299
  • ADD dev-mode shows a console.warn() to ensure people do not use it in production.
  • Remove the usage of Buffer. We now use Blob everywhere.
  • FIX import of socket.io #4307
  • FIX Id length limit reached with composite key #4315
  • FIX $regex query not working on remote storage.
  • FIX SQLite must store attachments data as Blob instead of base64 string to reduce the database size.
  • FIX CouchDB replication conflict handling
  • CHANGE Encryption plugin was renamed to encryption-crypto-js
  • FIX replication state meta data must also be encrypted.
  • FIX crash with null in selector #4369
  • FIX storage instances MUST NOT mutate the given database- and collection-name.
  • REMOVE deprecated babel-plugin-transform-async-to-promises plugin.
  • ADD Ability to use a responseModifier for GraphQL push replication #4385
  • FIX Add null check for isRxDocument #4406

NOTICE: An overview about all releases can be found at the changelog

Don't miss a new rxdb release

NewReleases is sending notifications on new releases.