Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kinto

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kinto - npm Package Versions

1
57

2.0.4

Diff

Changelog

Source

v2.0.4 (2016-05-06)

  • Merged #417: Ensure manually resolved conflicts are always published to the server.
n1k0
published 2.0.3 •

Changelog

Source

v2.0.3 (2016-05-02)

  • Fixed #399: Fixed incoming error object formatting. (#404)
  • Fixed #402: Removed dependency to deeper, now replaced by a simple object comparison function (#406)
  • Added Python 3.5 to Travis CI build matrix (#405)
n1k0
published 2.0.2 •

Changelog

Source

v12.0.2 (2018-09-18)

Bug fixes

  • Explicitly depend on @babel/runtime (#850)
n1k0
published 2.0.1 •

Changelog

Source

v12.0.1 (2018-09-17)

Bug fixes

  • Add safety check for legacy DB detection (#846)
  • Improve data migration (#840)

Internal changes

  • Update babelify to the latest version 🚀 (#844)
  • chore(package): update babel-loader to version 8.0.0 (#843)
  • chore(package): update babel-eslint to version 9.0.0 (#842)
  • Switch to sinon.createSandbox()
leplatrem
published 2.0.0 •

Changelog

Source

2.0.0 (2016-04-11)

Breaking changes
  • The Kinto.adapters.LocalStorage adapter was removed.
  • The BaseAdapter interface for custom adapters has been updated.
  • The HTTP Error messages format has been slightly updated.
LocalStorage adapter removal

Since support for transactions has been introduced in this release, and as localStorage doesn't support any kind of transactions natively, we've decided to drop support for it in Kinto.js. Please swith to using IndexedDB (which is the default adapter), or create your own if you target another persistence implementation.

The BaseAdapter interface has been updated

Since adapters now support transactions, the BaseAdapter interface now expect an execute() method to be implemented for custom adapters. The Extending section has been updated accordingly.

HTTP error messages format

The string message format for these now contains the HTTP status code description:

  • Before: HTTP 410; Service deprecated
  • After: HTTP 410 Gone: Service deprecated
New features
Incoming changes hooks

Hooks can be called to extend the behaviour of Kinto. So far it is only possible to hook when incoming changes are to be applied.

  • incoming-changes hooks are called just after new changes are retrieved, and before these changes are reflected locally.

To install a hook, you need to pass it to the collection:

function doSomething(payload, collection) {
  // Do something with the payload here.
  const {lastModified, changes} = payload;
  const ids = changes.map((record) => record.id);
  ...
};

let collection = db.collection(collectionName, {
  "hooks": {
    "incoming-changes": [doSomething]
  }
});
Other improvements
Internal use of transactions

The IndexedDB adapter now allow batching write operations within a single transaction, and the synchronization flow implementation leverages this feature in many areas.

Performance improvements

Leveraging IndexedDB transactions, general performances of the synchronization flow have been vastly improved.

n1k0
published 1.2.2 •

Changelog

Source

v1.2.2 (2016-04-05)

  • Fixed babel-polyfill should be a dependency, not a dev one.
n1k0
published 1.2.1 •

Changelog

Source

v1.2.1 (2016-04-05)

  • Merged #379: Ensure a single instance of babel-polyfill is imported.
n1k0
published 1.2.0 •

Changelog

Source

v1.2.0 (2016-01-14)

Full Changelog

Implemented enhancements:

  • Allowing to define the remote endpoint in #sync() #257
  • Lightweight dist files for modern browsers #249

Fixed bugs:

leplatrem
published 1.1.2 •

Changelog

Source

v1.1.2 (2015-12-16)

Full Changelog

Release enhancements:

  • Add a minimalist dist file without polyfills #291

Fixed bugs:

  • Records not deleted locally when already deleted on server (404 on delete) #284
  • Handle network request timeouts. #263
n1k0
published 1.1.1 •

Changelog

Source

v1.1.1 (2015-11-24)

Full Changelog

  • Relaxed UUID validation. #269 (n1k0)
  • Update to Kinto 1.9.0 #267 (Natim)
  • Change demo/demo.js to use a bucket #233
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc