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 - 8.2.0

Published by pubkey over 5 years ago

Bugfixes:

  • Vue devtools broke the application #1126

Typings:

  • RxDocument.getAttachment() and RxDocument.allAttachments() did not return promises
  • ADD RxJsonSchema generic for better TypeScript experience
rxdb - 8.1.0

Published by pubkey over 5 years ago

Bugfixes:

  • Server-plugin did not work with absolute paths and leveldb
  • Vue threw get is not a function when a RxDocument was added to a component's state
  • RxDocument.allAttachments() did throw an error when the document has no RxAttachment
  • RxDocument.toJSON(false) does no longer return the _attachments attribute
rxdb - 8.0.7

Published by pubkey over 5 years ago

Bugfixes:

  • Fix creating a collection mutates to arguments object #939
  • Fix not having optional encrypted fields in a document throws an error #917
rxdb - 8.0.6

Published by pubkey over 5 years ago

Features:

  • RxDocument().toJSON() can be called with .toJSON(false) and then returns not _rev attribute

Bugfixes:

  • (typings) Fix additionalProperties: boolean is allowed for nested objects
  • (typings) Fix RxQuery().toJSON()' was missing
rxdb - 8.0.5

Published by pubkey over 5 years ago

Bugfixes:

  • Calling remove() on a deleted RxDocument should return a rejected promise #830
  • Passing auto_compaction to a collection did not work via gitter
  • util missing in react-native #890
rxdb - 8.0.4

Published by pubkey almost 6 years ago

Bugfixes:

  • Updated the dependencies with some bugfixes
rxdb - 8.0.3

Published by pubkey almost 6 years ago

Bugfixes:

  • Reopening a database after using the wrong password did not work #837
rxdb - 8.0.2

Published by pubkey about 6 years ago

Features:

Bugfixes:

  • RxDB.removeDatabase() did not return a Promise #822. Thanks @will118
rxdb - 8.0.1

Published by pubkey about 6 years ago

Bugfixes:

  • Does not compile in TypeScript with strict flag enabled #448
rxdb - 8.0.0

Published by pubkey about 6 years ago

read the announcement

Breaking:

  • Upgraded to pouchdb 7.0.0
  • disableKeyCompression is renamed to keyCompression which defaults to false
  • RxDatabase.collection() now only accepts the json-schema as schema-attribute
  • It is no longer allowed to set required fields via required: true, use required: ['myfield'] in compliance with the jsonschema standard
  • QueryChangeDetection is now enabled in the RxDatabase-options queryChangeDetection: true
  • Setters and save() are only callable on temporary documents
  • Removed RxDocument.synced$ and RxDocument.resync()
  • Middleware-Hooks now have plainJson as first parameter and RxDocument-instance as second
  • Typings have been modified, see
  • postCreateRxDocument-hooks will not be awaited if they are async

Features:

  • Added RxDocument.atomicSet()
  • Added RxCollection.awaitPersistence() for in-memory-collections
  • Added RxReplicationState.denied$ #763
  • Added option for CORS to server-plugin
  • this-scope of collection-hooks are bound to the collection itself #788
  • All methods of RxDocument are bound to the instance #791
  • Added RxReplicationState.alive$, see. Thanks @rafamel

Bugfixes:

  • checkAdapter doesn't cleanup test databases #714
  • inMemory collections don't implement static methods #744
  • inMemory collections do not sync up removals #754
  • Ensure final fields cannot be changed on RxDocument.atomicUpdate() and RxDocument.update()
  • Fixed a missing dependency on the server-plugin

Other:

  • cross-instance communication is now done with https://github.com/pubkey/broadcast-channel (way better performance)
  • Upgrade to eslint 5 (no more babel-eslint)
  • Upgrade to babel7
  • Refactored plugins/replication/.watchForChanges() to fix sometimes-breaking-test with RxReplicationState.complete$
  • Split RxCollection.watchForChanges() into own plugin
  • Refactored RxQuery
rxdb - 8.0.0-beta.1

Published by pubkey about 6 years ago

Read more here.

Breaking:

  • Upgraded to pouchdb 7.0.0
  • disableKeyCompression is set to true by default
  • RxDatabase.collection() now only accepts the json-schema as schema-attribute
  • It is no longer allowed to set required fields via required: true, use required: ['myfield'] in compliance with the jsonschema standard
  • QueryChangeDetection is not enabled in the RxDatabase-options queryChangeDetection: true
  • Setters and save() are only callable on temporary documents
  • Removed RxDocument.synced$ and RxDocument.resync()

Features:

  • Added RxDocument.atomicSet()
  • Added RxCollection.awaitPersistence() for in-memory-collections
  • Added RxReplicationState.denied$ #763

Bugfixes:

  • checkAdapter doesn't cleanup test databases #714
  • inMemory collections don't implement static methods #744
  • inMemory collections do not sync up removals #754

Other:

  • cross-instance communication is now done with https://github.com/pubkey/broadcast-channel (way better performance)
  • Upgrade to eslint 5 (no more babel-eslint)
  • Upgrade to babel7
  • Refactored plugins/replication/.watchForChanges() to fix sometimes-breaking-test with RxReplicationState.complete$
  • Refactored RxQuery
rxdb - 7.7.1

Published by pubkey about 6 years ago

Bugfixes:

Other

  • Moved @types/core-js to dev-dependencies #712
  • Added more example the the RxQuery-Docs #740 thanks @Celludriel
rxdb - 7.7.0

Published by pubkey over 6 years ago

Bugfixes:

  • Indexes do not work in objects named "properties" #697
  • Wrong pouch-location when folderpath used for collection #677
  • Mutating a result-array from RxQuery.exec() or RxQuery.$ does not affect future calls #698#issuecomment-402604237

Other:

  • Updated Angular-Example to 6.0.5 Thanks @fuerst
rxdb - 7.6.1

Published by pubkey over 6 years ago

Bugfixes:

  • Unhandled promise rejection with DOMException #644
  • Prevent bug with replication of internal pouchdb's #641
  • LocalDocument observe on field not working #661
  • Skip defining getter and setter when property not defined in schema #646
  • (typings) Fix type: 'object' not correctly recognized (via gitter at 2018 Mai 22 19:20)
rxdb - 7.6.0

Published by pubkey over 6 years ago

Bugfixes:

  • Query cache is not being invalidated by replication #630

Other:

  • Updated to rxjs 6.0.0
  • Added integration tests for couchdb
rxdb - 7.5.1

Published by pubkey over 6 years ago

Bugfixes:

Other:

  • Fixed typings for additionalProperties in schemas
  • Added performance-tests
  • Removed workarround for pouchdb#6733

Typings:

  • Added optional type for ORM-Methods
rxdb - 7.5.0

Published by pubkey over 6 years ago

Features:

  • Added RxCollection.insert$, RxCollection.update$, RxCollection.remove$ read the docs

Other:

  • Added dangerousRemoveCollectionInfo() for migrations over rxdb-versions.
  • Improved typings for RxChangeEvent
rxdb - 7.4.4

Published by pubkey over 6 years ago

Bugfixes:

  • Wrong index used when no sort specified #609

Other:

  • Improved typings of RxChangeEvent thx @hubgit
rxdb - 7.4.3

Published by pubkey over 6 years ago

Bugfixes:

  • Sort by sub object is not working #585
  • Encrypted attachments not working inside of electron-renderer #587
  • Schema fails with sub-sub-index #590
  • Default value not applied when the stored value is undefined #596
rxdb - 7.4.2

Published by pubkey over 6 years ago

Bugfixes:

  • Wrong typings with custom build #576

Features:

  • Add option to add pouchSettings to all pouchdb-instances #567 Thx @EugeniaM