All Versions
Latest Version
Avg Release Cycle
37 days
Latest Release
23 days ago

Changelog History
Page 1

  • v10.1.0 Changes

    September 27, 2021


    • Refactored the migration plugin for better performance by writing the documents in bulk requests
    • Added svelte example #3287 Thanks @bkeating
    • Improved error messages

    ๐Ÿ›  Bugfixes:

    • #3319 Graphql replication checkpoint was not deleted after running RxDatabase.remove()
    • Fixed spelling of recieved -> received everywhere. The old getters are still useable but deprecated #3392. Thanks chrisdrackett
  • v10.0.3 Changes

    August 09, 2021

    ๐Ÿ›  Bugfixes:

    • Calling bulk-methods with an empty array must not throw an error.
    • RxCollection.remove() does not delete local documents #3319
  • v10.0.0 Changes

    July 20, 2021

    ๐Ÿ’ฅ Breaking:

    • Setting a primaryKey for a schema is now required.
    • When using the type RxJsonSchema<DocType> the DocType is now required.
    • A JsonSchema must have the required array at the top level and it must contain the primary key.

    • Outgoing data is now Readonly typed and deep-frozen in dev mode

    • RxDocument.putAttachment() no longer supports string as data, only Blob or Buffer.

    • Changed the default of putAttachment to skipIfSame=true.

    • Removed the deprecated atomicSet(), use atomicPatch() instead.

    • Removed the deprecated RxDatabase.collection() use RxDatabase().addCollections() instead.

    • Moved everything pouchdb related to the pouchdb plugin.

    • Pouchdb plugins are not longer added via addRxPlugin() but addPouchPlugin(). (RxDB plugins are still added via addRxPlugin).

    • Removed plugin hook preCreatePouchDb.

    • Removed the watch-for-changes plugin, this is now directly integrated into the pouchdb RxStorage.

    • Removed the adapter-check plugin. (The function adapterCheck is move to the pouchdb plugin).

    • Calling RxDatabase.server() now returns a promise that resolves when the server is started up.

    • Changed the defaults of PouchDBExpressServerOptions from the server() method, by default we now store logs in the tmp folder and the config is in memory.

    • Renamed replication-plugin to replication-couchdb to be more consistend in naming like with replication-graphql

      • Renamed RxCollection().sync() to RxCollection().syncCouchDB()
    • Renamed the functions of the json import/export plugin to be less confusing

      • dump() is now exportJSON()
      • importDump() is now importJSON()
    • RxCollection uses a separate pouchdb instance for local documents, so that they can persist during migrations.

    ๐Ÿ”‹ Features:

    • Added support for composite primary keys.


    • Moved all should never happen errors into own error code.


    • Improved typings of error codes.
  • v9.21.0 Changes

    June 30, 2021

    ๐Ÿ”‹ Features:

    • Added dataPath property to GraphQL replication pull options to allow the document JSON lookup path to configured instead of assuming the document data is always the first child of the response #2606 Thanks @joshmcarthur


    • getLocal() can return undefined. Thanks @chrisdrackett
    • Fixed typings in the dependencies so you can use noUncheckedIndexedAccess. Thanks @seanwu1105
  • v9.20.0 Changes

    May 15, 2021

    ๐Ÿ›  Bugfixes:

    • Auto-cancel one time couchdb replications to not cause a memory leak
    • Fixed another memory leak when calling the couchdb replication many times.
  • v9.19.0 Changes

    May 12, 2021

    ๐Ÿ”‹ Features:


    • Updated rxjs to version 7.0.1
  • v9.18.0 Changes

    April 26, 2020

    ๐Ÿ›  Bugfixes:

    • Fixed memory leak in RxCollection().findByIds$()


    • Added collection name when throwing errors in RxQuery
  • v9.17.1 Changes

    April 21, 2020


    • Added hints abount 2021 user survey.
  • v9.17.0 Changes

    April 14, 2020

    ๐Ÿ”‹ Features:

    • Added possibility to change, update, remove and add RxAttachments inside of a migration strategy.
  • v9.16.0 Changes

    April 12, 2021

    ๐Ÿ”‹ Features:

    • Added RxDatabase.migrationStates() which returns an observable to observe the state of all ongoing migrations.
    • Added startupPromise to the returned object of RxDatabase().server()

    ๐Ÿ›  Bugfixes:

    • Ensure every background task is done when RxDatabase.destroy() resolves. #2938


    • Added analytics to docs page