Skip to content

Releases: pubkey/rxdb

11.5.1

30 Jan 22:05
Compare
Choose a tag to compare

Bugfixes:

  • RxStorage.statics.getQueryMatcher() must not match documents with _deleted: true.

11.5.0

30 Jan 00:59
Compare
Choose a tag to compare

Features:

11.4.0

28 Jan 21:02
Compare
Choose a tag to compare

Bugfixes:

  • RxDocument.toJSON() is leaking meta field _deleted. #3645 Thanks @Bessonov

Features:

  • Allow truthy values for the GraphQL replication deletedFlag field. #3644 Thanks @nirvdrum

Other:

  • .findOne(documentId) should use RxStorage().findDocumentsById() instead of RxStorage().query()

11.3.0

17 Jan 00:07
Compare
Choose a tag to compare

Bugfixes:

  • GraphQL replication: Unnecessary local document writes fill up the database #3627 Thanks @hdwatts

11.2.0

11 Jan 23:54
Compare
Choose a tag to compare

Bugfixes:

  • Replication Primitives: Local writes while running the pull must not be lost but send to the remote.
  • Replication Primitives: Should not stack up failed runs and then run many times.
  • Support composite indices in schema literal types #3609 Thanks @nirvdrum

11.1.0

06 Jan 08:35
Compare
Choose a tag to compare

Features:

  • Added toTypedRxJsonSchema and ExtractDocumentTypeFromTypedRxJsonSchema to generate the document types from the schema.

11.0.0

03 Jan 13:17
Compare
Choose a tag to compare

BREAKING:

  • RxStorage: The non async functions prepareQuery, getSortComparator and getQueryMatcher have been moved out of RxStorageInstance into RxStorage. This was needed to have better WebWorker support. This will not affect you do not use a custom RxStorage implementation.
  • LokiJS: Do not use the IdleQueue of the RxDatabase to handle calls to saveDatabase(), instead wait for CPU idleness of the JavaScript process.
  • RxStorageInterface:
    • Replaced all Map with plain json objects so that they can be JSON.stringify-ed
    • Replaced typings of event stream to use EventBulk and process events in bulks to save performance.
    • Move all static methods into the statics property so we can code-split when using the worker plugin.
    • digest and length of attachment data is now created by RxDB, not by the RxStorage. #3548
    • Added the statics hashKey property to identify the used hash function.
  • Internally all events are handles via bulks, this saves performance when events are transfered over a WebWorker or a BroadcastChannel.
  • Removed the deprecated recieved methods, use received instead. See #3392
  • Removed the no-validate plugin. To use RxDB without schema validation, just do not add a validation plugin to your custom build.

Bugfixes:

  • Do not throw an error when database is destroyed while a GraphQL replication is running.
  • Compound primary key migration throws "Value of primary key(s) cannot be changed" #3546 Thanks @nothingkid
  • Allow _id as primaryKey #3562 Thanks @SuperKirik
  • LokiJS: Remote operations do never resolve when remote instance was leader and died.

Other:

  • LokiJS: All documents are stored with a $lastWriteAt field, so we can implement an auto compaction later.
  • Transpile async/await to promises instead of generators. via babel-plugin-transform-async-to-promises

11.0.0-beta.11

21 Dec 21:13
Compare
Choose a tag to compare
11.0.0-beta.11 Pre-release
Pre-release

11.0.0-beta.X BREAKING read the announcement

BREAKING:

  • RxStorage: The non async functions prepareQuery, getSortComparator and getQueryMatcher have been moved out of RxStorageInstance into RxStorage. This was needed to have better WebWorker support. This will not affect you do not use a custom RxStorage implementation.
  • LokiJS: Do not use the IdleQueue of the RxDatabase to handle calls to saveDatabase(), instead wait for CPU idleness of the JavaScript process.
  • RxStorageInterface:
    • Replaced all Map with plain json objects so that they can be JSON.stringify-ed
    • Replaced typings of event stream to use EventBulk and process events in bulks to save performance.
    • Move all static methods into the statics property so we can code-split when using the worker plugin.
    • digest and length of attachment data is now created by RxDB, not by the RxStorage. #3548
    • Added the statics hashKey property to identify the used hash function.
  • Internally all events are handles via bulks, this saves performance when events are transfered over a WebWorker or a BroadcastChannel.
  • Removed the deprecated recieved methods, use received instead. See #3392

Bugfixes:

  • Do not throw an error when database is destroyed while a GraphQL replication is running.
  • Compound primary key migration throws "Value of primary key(s) cannot be changed" #3546 Thanks @nothingkid
  • Allow _id as primaryKey #3562 Thanks @SuperKirik

Other:

  • LokiJS: All documents are stored with a $lastWriteAt field, so we can implement an auto compaction later.
  • Transpile async/await to promises instead of generators. via babel-plugin-transform-async-to-promises

10.5.4

30 Nov 20:15
Compare
Choose a tag to compare

Bugfixes:

  • LokiJS: Do not call saveDatabase() when no persistence adapter is given.
  • Query returns outdated result in second subscription #3498 Thanks @swnf
  • Spawning a server when full leveldown-module is used must not throw an error.

10.5.3

19 Nov 04:09
Compare
Choose a tag to compare

Bugfixes:

  • PouchDB: getSortComparator() broken on some complex $or query.