Skip to content

Releases: Kinto/kinto.js

v11.1.1

20 Apr 02:05
e1a149e
Compare
Choose a tag to compare

Bug fixes

  • Fix SyncResultObject#add to be more performant. Previously it had quadratic behavior. Now we use a Map to track IDs we've already seen (#807).

v11.1.0

20 Mar 17:50
b9e890e
Compare
Choose a tag to compare

New features

  • Add IndexedDB support in Firefox export (fixes #731) (#733)
  • Pull every pages during sync (fixes #355) (#801)
  • Add support for deleteAll method (#799) (thanks @agawish)

v11.0.0: Bump 11.0.0

16 Feb 20:02
1dbc5fb
Compare
Choose a tag to compare

Breaking changes

  • Remove object-rest-spread transpilation for Firefox (#796).
  • Remove IDB#resetSyncStatus (#774).

New features

  • Allow passing localFields when creating new collection (#785).

Bug fixes

v10.0.0

12 Oct 18:12
2723259
Compare
Choose a tag to compare

Breaking changes

  • Remove async/await transpilation for Firefox (#732)

New features

  • Add IDB#resetSyncStatus (#767).
  • Allow ID schemae to use the record itself when generating its ID (#727).

Bug fixes

  • Update requirements and dependencies: Sinon is now 4.0.0 or greater (#760, #748, #709), ESLint is now ^4.7.2 (#759, #757, #756, #753, #749, #746, #745, #739, #734, #721), Mocha is now 4.0.0 or greater (#768), Coveralls is now 3.0.0 or greater (#766), Prettier is now 1.7.2 (#765, #762, #751, #725, #714), esdoc-importpath-plugin is now 1.0.1 (#754, #742, #722), babel-eslint is now 8.0.0 or greater (#755), esdoc itself is now 1.0.1 or greater (#741), kinto-node-test-server is now a range dependency of ^1.0.0 (#736), uglifyify is now 4.0.1 or greater (#717), chai is 4.0.1 or greater (#712) and chai-as-promised is now 7.0.0 or greater (#715).
  • Move off of husky and lint-staged to pre-commit, because it works better on partial commits (see Kinto/kinto-admin#419) (#737, #720, #719).
  • docs: update docs to match explicit requirement on Node v6 or greater (#716, #730), add some information about use with WebSockets (#728), and note that we use Greenkeeper (#706).
  • Fix strange test failures around 2017-10-10 (#770).
  • Expose Kinto tracebacks when they occur, as we do in kinto-http (#729).
  • Add a test for Firefox bug 1376618 (#726).
  • Alphabetize a couple of object keys (#711).

v9.0.2

11 May 16:52
e7b3e31
Compare
Choose a tag to compare

Bug fixes:

  • Fix EventEmitter typo (#699).

v9.0.1

11 May 15:39
810579c
Compare
Choose a tag to compare

Bug fixes:

  • No need to push "deleted" resolution (#696).

Dependency updates:

  • Update to current location of EventEmitter (#697).
  • Update gh-pages to 1.0.0 (#693).

v9.0.0

10 May 15:18
Compare
Choose a tag to compare
  • Update oodles of dependencies -- eslint to 3.19.0 (#639, #644, #654, #655, #658, #665, #667), fake-indexeddb to 2.0.3 (#645, #646, #647, #685, #695), kinto-http to 4.3.3 (#651, #667, #673, #686), esdoc-importpath-plugin to 0.1.1 (#653), babel-istanbul to version 0.12.2 (#656), kinto-node-test-server to version 1.0.0 (#661), sinon to version 2.0.0 (#663), babel-eslint to version 7.2.2 (#672), babel-loader to version 7.0.0 (#683), esdoc-importpath-plugin to version 0.1.2 (#684), http-server to version 0.10.0 (#689)
  • Adopt Prettier (#659, #675, #682)
  • esdoc: remove esdoc-es7-plugin (#660)
  • Suppress lint warnings. (#662)
  • Fix remote delete (#692). This breaks API compatibility for the SyncResultObject.resolved field. Details are in the updating.md file.

v8.0.0

10 May 15:18
Compare
Choose a tag to compare

This release:

This is a major version because it changes one aspect of how remote transformers work. Previously, a remote transformer could return anything for a deleted record, and that record would still be deleted. Now, if a transformer changes a record's _status, it will be respected.

v7.1.0

17 Jan 16:22
0216fc5
Compare
Choose a tag to compare
  • Override client options from collection (#622)

v7.0.0

17 Jan 09:12
4a440c8
Compare
Choose a tag to compare

Breaking changes

  • Remove open() and close() methods from BaseAdapter (#599)

New features

  • Add sync events (#620)
  • Retry requests once by default (#621)