Skip to content

Latest commit

 

History

History
343 lines (243 loc) · 14 KB

CHANGELOG.md

File metadata and controls

343 lines (243 loc) · 14 KB

Changelog

7.1.1 (November 27, 2017)

Bugfixes:

  • Error on key-compression when nested value is null
  • Fix typings of RxDocument.putAttachment()

7.1.0 (November 22, 2017)

Other:

7.0.1 (November 14, 2017)

Bugfixes:

  • Include pouchdb-adapter-memory as dependency #365

7.0.0 (November 14, 2017)

Breaking:

  • Renamed ingoreDuplicate to ingoreDuplicate #314
  • Improved typings #329 by @ihadeed

Features:

Bugfixes:

  • Added error-message when you json-import on a non-existing collection #319
  • Allow windows-foldernames (with backslash) as collection-name 343

Other:

  • Split out idle-queue into own npm-module
  • Enfore usage of strict-equality via eslint

6.0.1 (September 20, 2017)

  • Fix core is not defined #296

6.0.0 (September 19, 2017) BREAKING

Breaking:

  • Filenames are now kebab-case
  • pouchdb-replication-plugin is now imported by default, do not import it by your own.
  • RxDB.create() throws if you create the same database twice. (You can use ignoreDuplicate)

Features:

Custom-Build:

  • Custom-build is now out of beta
  • If you use a custom-build, you have to change the import-paths. See custom-build
  • Replication is now its own module see
  • Json import/exportis now its own module see

Bugfixes:

  • Allow null-selector #267
  • RxQuery.exec() throws when out of change-event-buffer-bounds #278
  • Fix deprecated warning that sometimes occurs with indexeddb-adapter db.type()
  • Add fallback to leader-election when unload not works (mostly when you use RxDB inside of an iFrame)

Other:

  • Use RxError-class to throw Custom errors with the parameters-attribute
  • Optimize leader-election to not waste resources when many tabs open
  • Optimize schema-parsing when multiple collections have the same schema
  • Reduced build-size by only using async/await if it makes sense
  • Pre-Parse schema to validator when requestIdleCallback available
  • Optimize socket-cleanup by using requestIdlePromise
  • Added plugin-hook for preCreatePouchDb

5.3.0 (August 25, 2017)

Features:

Bugfixes:

  • RxQuery.or() did not work with KeyCompression #252

5.2.1 (July 17, 2017)

Quickfix because of new pouchdb-import

5.2.0 (July 17, 2017)

Features:

Other:

Bugfixes:

  • Settings values to null did not work on temporaryDocuments #215
  • RxDocument.atomicUpdate() did not run when reusing after a while
  • RxQuery.toString() was sometimes not predictable

WARNING: If you use RxDB with angular2||zone.js, you might have the error _global is not defined. Wait for the next zone.js release before updating RxDB.

5.1.0 (July 10, 2017)

Features:

  • Added instanceOf-checks

Bugfixes:

  • AutoMigrated caused infinity-loop #212
  • Minor bugs on the typings

Other:

  • Use requestIdleCallback on non-prio-tasks for better performance on browsers
  • Optimise socket-pull-intervall to not waste resources on slow devices
  • split out test-util from util to optimize build-size
  • remove lodash completely

5.0.0 (June 20, 2017) BREAKING

Features:

  • Added RxDocument.atomicUpdate() docs
  • Added RxCollection.remove() docs
  • Added RxDatabase.remove() docs
  • Added options for RxCollection.sync(): direction and pouchdb-replication-settings docs
  • Added query-param for RxCollection.sync() to allow selector-based replication docs
  • Added TemporaryDocuments RxCollection.newDocument() docs

Breaking:

  • postCreate-hooks can no longer be async
  • RxCollection.sync() completely changed docs

Other:

  • Added .babelrc to .npmignore
  • Added build-tests to travis

4.1.0 (June 7, 2017)

Features:

Bugfixes:

  • QueryCache returns old RxQuery when .regex() is used #190
  • RxDocument.resync() was broken 174

Other:

  • Throw error if RxQuery.sort() runs on field which is not in the schema #146
  • extract watchForChanges to allow custom sync-operations #197
  • Added travis-ci

4.0.2 (May 17, 2017)

Bugfixes:

  • Ensure es6-build does not contain es7-features
  • Ensure everything works after using UglifyJs

4.0.1 (May 17, 2017)

Bugfixes:

  • jsnext:main and module now point to es6 instead of es7-stage-0 commit issue
  • Sort on primary fails without non-id primary commit
  • QueryChangeDetection breaks on no-resort-optimisation commit

4.0.0 (May 5, 2017) BREAKING

Breaking:

  • RxQuery's are now immutable
  • RxQuery.$ does not emit null when running
  • RxQuery will sort by primary (ASC) as default

Features:

Other:

  • upgraded to pouchdb v6.2.0
  • re-executing queries while nothing happend to the collection, is now fetched

3.0.8 (April 20, 2017)

Bugfixes:

  • findOne().$ did not have limit:1
  • findOne(string).$ streams all documents when _id as primary

3.0.7 (April 10, 2017)

Bugfixes:

  • Fixed es6-imports for webpack-builds

3.0.6 (March 29, 2017)

Features:

Other:

  • improved typings

3.0.5 (March 21, 2017)

Bugfixes:

  • overwrites default selector on RxQuery.sort()

Other:

  • Refactor RxQuery for better performance
  • Refactor mquery for smaller build
  • More tests for RxQuery

3.0.4 (March 12, 2017)

Bugfixes:

  • Vuejs runs populate-getter on changedetection #75
  • isDeepEqual does not work correctly for Arrays #76
  • wrong storageEngine in the typings

3.0.3 (March 6, 2017)

Features:

Bugfixes:

3.0.2 (March 2, 2017)

Bugfixes:

  • compound-index not being created #68

3.0.1 (March 2, 2017)

Bugfixes:

  • new document does not get new state on remove-reinsert #66

3.0.0 (February 27, 2017) BREAKING

Features:

Bugfixes:

  • running RxDocument().save() twice did not work

Breaking:

  • Collection-names must match ^[a-z][a-z0-9]*$ Fixes #45
  • RxDB.create has new api with destructuring see
  • RxDatabase.collection() has new api with destructuring see
  • schema-fieldnames must match the regex: ^[a-zA-Z][[a-zA-Z0-9_]*]?[a-zA-Z0-9]$
  • RxDatabase.collection() only to create collection, use myDatabase.heroes to get existing one
  • RxDB.create() multiInstance is now true by default
  • rxjs and babel-polyfill are now peerDependencies

2.0.5 (February 25, 2017)

Features:

  • possibility to add pouchSettings when creating a collection
  • typings compatible with noImplicitAny Typescript projects

2.0.4 (February 12, 2017)

Bugfixes:

  • top-level array of document not working #50
  • event on document.remove() not fired at query-obserable #52

2.0.3 (January 31, 2017)

Features:

  • save full schema in internal database once

Bugfixes:

  • Throw when .findOne() is called with number or array
  • ADD babel-polyfill to dependencies #40

2.0.2 (January 27, 2017)

Bugfixes:

  • Throw when .regex() is used on primary

2.0.1 (January 26, 2017)

Refactor:

  • Because IE11 does not support the Proxy-Object, defineGetter/Setter is now used
  • Tests now run in all installed browsers

Bugfixes:

  • Fixed tests for IE11

2.0.0 (January 23, 2017) BREAKING

Features:

  • key-compression for better space-usage

Breaking:

  • schema-objects are now normalized (order alphabetic) before hashing
  • RxQuery.select() is removed since it has no better performance than getting the whole document
  • RxChangeEvent on sockets do no longer contain the documents-data for performance-reason
  • RxQuery.$ only emits when the result actually changes #31

Bugfixes:

  • console.dir on RxDocument now works

1.7.7 (January 13, 2017)

Features:

1.6.7 (January 11, 2017)

Features:

1.5.6 (December 22, 2016)

Bugfixes:

  • direct import 'url'-module for react native

1.5.5 (December 20, 2016)

Features:

  • refactor socket to save db-io
  • wrap BroadcastChannel-API
  • added leader-election
  • sync() will only start if db is leader

Bugfixes:

  • cleanup all databases after tests
  • remove broken builds from dist-folder