rxdb

A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/

APACHE-2.0 License

Downloads
69.4K
Stars
20.7K
Committers
235

Bot releases are hidden (Show)

rxdb - 9.5.0

Published by pubkey about 4 years ago

Other:

  • Upgraded pouchdb to 7.2.2
  • Upgraded typescript to 3.9.7
rxdb - 9.4.0

Published by pubkey about 4 years ago

Features:

  • Add cache-replacement-policy for the QueryCache
  • GraphQL replication async modifier function #2367

Bugfixes:

  • GraphQL replication run increasing requests when offline #2336
rxdb - 9.3.0

Published by pubkey over 4 years ago

Features:

  • Added (beta) RxCollection.findByIds() to get many documents by their id with a better performance.

Other:

  • Added typings for pouch.allDocs()
rxdb - 9.2.0

Published by pubkey over 4 years ago

Bugfixes:

  • ref-fields must be nullable #2285 Thanks @kunal15595
  • RxDatabase names can no longer end with a slash #2251 which breaks the server plugin.

Other:

  • Added "sideEffects": false to all plugins
rxdb - 9.1.0

Published by pubkey over 4 years ago

Features:

  • RxDatabase.server() does now accept pouchdbExpressOptions to set the log file and other stuff configured on express-pouchdb

Bugfixes:

Other:

rxdb -

Published by pubkey over 4 years ago

Features:

  • Added RxQuery.exec(throwIfMissing: true)
  • Added helper functions to GraphQL replication to generate GraphQL Schemas from the RxJsonSchema

Bugfixes:

  • GraphQL replication plugin fires exponentially #2048
  • When a default is set in the schema, the default values are also applied after atomicUpdate() and atomicSet()

Breaking:

  • Indexes are now specified at the top-level of the schema-definition. #1655
  • Encrypted fields are now specified at the top-level of the schema-definition
  • Removed all default exports. Please only import the stuff that you really need.
  • Renamed RxDB.create() to createRxDatabase()
  • Renamed removeDatabase() to removeRxDatabase()
  • Renamed plugin() to addRxPlugin()
  • Replaced plugins error-messages and schema-check with dev-mode
  • Moved data migration from core to migration plugin
  • Replaced key-compression implementation with jsonschema-key-compression
  • Renamed RxDatabase.queryChangeDetection to eventReduce and set default to true (no beta anymore)
  • Change .find() and .findOne() to acccept a full MangoQuery with sort and limit instead of just the selector
  • Chained queries like collection.find().where('x').eq('foo') moved out of the core module into the query-builder plugin
  • The internal hash() function does now use a RxDB specific salt
  • Change default of RxDocument().toJSON(withRevAndAttachments) to false
  • Refactored RxCollection
  • Creating a collection will no longer emit an RxChangeEvent
  • Removed RxCollection.docChanges$() because all events are from the docs
  • Renamed RxSchema.jsonID to RxSchema.jsonSchema
  • Moved remaining stuff of leader-election from core into the plugin
  • Merged multiple internal databases for metadata into one internalStore
  • In dev-mode, the GraphQL-replication will run a schema validation of each document that comes from the server

Other:

  • Removed many runtime type checks that now should be covered by typescript in buildtime
  • The GraphQL replication is now out of beta mode

Docs:

  • Removed examples for require() CommonJS loading
rxdb - 8.9.0

Published by pubkey over 4 years ago

Other:

Features:

  • Added option to replicate revisions with graphql-replication #2000 Thanks @gautambt
rxdb - 8.8.0

Published by pubkey over 4 years ago

Other:

  • Upgraded PouchDB and other dependencies
rxdb - 8.7.5

Published by pubkey almost 5 years ago

Other:

  • Added a new example for electron with the remote API. Thanks @SebastienWae
  • Fixed Typing error on database.dump() #1754. Thanks @PVermeer

Bugfixes:

  • Updates to documents fail with GraphQL replication. #1812. Thanks @gautambt
  • RxQuery.doesDocumentDataMatch() was wrong on queries with $and which lead to a wrong result with QueryChangeDetection
rxdb - 8.7.4

Published by pubkey almost 5 years ago

Other:

  • Improved performance of QueryChangeDetection by using array-push-at-sort-position instead of re-sorting the whole results of a query
  • Improved performance by removing unnecessary calls to deep-clone
rxdb - 8.7.3

Published by pubkey almost 5 years ago

Features:

  • Added RxCollection.bulkInsert()

Bugfixes:

  • Fix replication of migrated schemas in the server plugin
rxdb - 8.7.2

Published by pubkey almost 5 years ago

Bugfixes:

  • GraphQL replication sometimes not pushes when a big amount of documents has been pulled before
  • Fixed typings of PouchdbReplicationOptions

Other:

  • Upgrade pouchdb to 7.1.1
  • Refactor some internals
rxdb - 8.7.1

Published by pubkey about 5 years ago

Other:

  • Json-Import now uses bulkDocs for better performance
  • Refactored prototype merging so it can be optimised later
  • Moved some check into the check-plugin to optimize production build size
  • Refactor schema-validation-plugins since sub-path validation is no longer needed
rxdb - 8.7.0

Published by pubkey about 5 years ago

Features:

  • RxDB server can now be used with an existing express-app. #1448 Thanks @dstudzinski
  • Wrapped pouchdb conflict error into RxError

Other:

  • Fixed typings of RxError parameters
  • Fix GraphQL-example to propper use Websocket-Pub-Sub
rxdb - 8.6.0

Published by pubkey about 5 years ago

Migrated to typescript

rxdb - 8.5.0-beta.1

Published by pubkey about 5 years ago

Migrate to typescript

rxdb - 8.5.0

Published by pubkey about 5 years ago

Bugfixes:

Other:

  • Improved QueryChangeDetection to not run on irrelevant changes
rxdb - 8.4.0

Published by pubkey about 5 years ago

Bugfixes:

  • Fix imports of encryption-plugin to work with rollup #1413 Thanks @kenshyx
  • Removed express-pouchdb from the dependencies #884
rxdb - 8.3.0

Published by pubkey about 5 years ago

Features:

Bugfixes:

  • .populate() returns findOne() on empty string. This results in a random find #1325 Thanks @PVermeer
rxdb - 8.2.1

Published by pubkey over 5 years ago

Features:

Bugfixes:

  • Collection change event was emitted before the actual change happened #1225. Thanks @milanpro

Typings:

  • ADD typings to access the PouchSyncHandler of RxReplicationState