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

kinto

Package Overview
Dependencies
Maintainers
5
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
7

4.0.5

Diff

Changelog

Source

v4.0.5 (2016-09-19)

Bug fixes

  • Fix safari issue on IDB cursor with empty values (#549, thanks @magopian!)
glasserc
published 4.0.4 •

Changelog

Source

v4.0.4 (2016-09-06)

This release fixes a bug in the handling of lastModified during a certain kind of conflict when using the SERVER_WINS conflict resolution strategy.

glasserc
published 4.0.3 •

Changelog

Source

v4.0.3 (2016-09-06)

This addresses a bug where conflicts weren't being resolved as "equal" in certain runtime environments (i.e. Gecko). See #529 for details.

glasserc
published 4.0.2 •

Changelog

Source

v4.0.2 (2016-09-06)

This release fixes a couple of bugs having to do with conflicts.

  • Decode conflicts (#525). Otherwise you'd get remotely-transformed versions of records in your local database.
  • Fix conflict handling with published deletions (#522). This prevented conflict handling from working correctly when the conflict involved a record that was deleted locally.
glasserc
published 4.0.1 •

Changelog

Source

v4.0.1 (2016-09-06)

I made a mistake in releasing 4.0.0 and published something wrong to NPM. This release is just a rebuild of 4.0.0, which shouldn't be used.

glasserc
published 4.0.0 •

Changelog

Source

v4.0.0 (2016-08-18)

This release causes remote transformers to be invoked even on deleted records, and thereby allows you to write a remote transformer that mutates record IDs (#510). It is a backwards-incompatible change because now a remote transformer must handle deleted records, which are missing all the normal fields you would expect from your records.

There are also some fixes to documentation errors (#515, #514) and updates of dependencies (#508, #512, #509, #502).

glasserc
published 3.1.2 •

glasserc
published 3.1.1 •

Changelog

Source

v3.1.1 (2016-07-06)

This release fixes a bug in the FirefoxAdapter part (#488) of the Kinto client and updates a few dependencies.

glasserc
published 3.1.0 •

Changelog

Source

v3.1.0 (2016-06-29)

This release introduces a bunch of new functionality:

  • There are now new Collection methods getAny, deleteAny, and upsert (#455, #480), which might be useful if you want to implement key-value sorts of operations on Kinto.
  • Lots of work to make all Collection methods reentrant. (#460)
  • There is now a Collection#execute method, which is used to run a transaction at the collection level. It works very similarly to BaseAdapter#execute, but with Collection methods. (#477)
  • It's possible to sync to a different collection remotely than the one you have locally. (#462)
  • The FirefoxAdapter now accepts an argument specifying the filename of its Sqlite database. (#481)
leplatrem
published 3.0.0 •

Changelog

Source

v3.0.0 (2016-05-20)

  • Add notion of local fields (fixes #173) (#423)
  • Avoid redownloading our own changes (fixes #144) (#424)
  • Previous version of record in sync result (fixes #335) (#421)
  • Do not publish resolved conflicts with remote version (fixes #422)

cleanRecord()

The cleanRecord() function from the collection module was dropped. Since local fields can be defined at the collection level, a cleanLocalFields() method was introduced instead.

SyncResultObject

The format of updates and deletions in the SyncResultObject has changed.

  • The updated list now contains a list of objects with old and new attributes
  • The deleted list now contains the full old record instead of just a stripped object containing id

Before with 2.X:

{
  ok: true,
  lastModified: 1434270764485,
  conflicts: [],
  errors:    [],
  created:   [],
  updated:   [{
    id: "08d5ae32-7f73-46bb-a8a6-c2bd80b15705",
    title: "blog post",
    _status: "synced",
    last_modified: 1434270764485
  }],
  skipped:   [],
  published: [],
  resolved:  [],
  deleted:   [{
    id: "131a100d-0732-494e-aa3c-e4a15e23eb77"
  }],
}

Now with 3.X:

{
  ok: true,
  lastModified: 1434270764485,
  conflicts: [],
  errors:    [],
  created:   [],
  updated:   [{
    old: {
      id: "08d5ae32-7f73-46bb-a8a6-c2bd80b15705",
      title: "draft",
      _status: "synced",
      last_modified: 1434243221112
    },
    new: {
      id: "08d5ae32-7f73-46bb-a8a6-c2bd80b15705",
      title: "blog post",
      _status: "synced",
      last_modified: 1434270764485
    }
  }],
  skipped:   [],
  published: [],
  resolved:  [],
  deleted:   [{
    id: "131a100d-0732-494e-aa3c-e4a15e23eb77",
    _status: "synced",
    last_modified: 1434223456788
  }],
}
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