Skip to content

Releases: Kinto/kinto.js

v15.0.0

20 Jun 15:38
v15.0.0
c8775d9
Compare
Choose a tag to compare

Breaking Changes

  • Merge kinto-http into kinto.js (#1726, #1735)
  • Generate ES6/ES2015 Javascript for Gecko mozilla-central (#2050)

Internal Changes

  • Fix some eslint checks present in mozilla-central (#2051)
  • fix: remove unused typeRoots config
  • update dependabot monthly (#2014)
  • ci: disable ipv6 for browser tests (#2001)
  • upgrade to fake-indexeddb v4 (#1995)
  • upgrade to rollup v3 (#1994)
  • update dependencies to latest in current semver range (#1993)
  • Pin Node version used in browser tests (#1990)
  • Update ChromeUtils module imports
  • Replace deprecated substr method with substring method (#1822)
  • Use the official demo URL (#1629)
  • Upgrade to GitHub-native Dependabot (#1495)
  • run browser tests on Linux (#1467)
  • Make omitKeys more type-safe (#1456)

v14.0.1

04 Dec 18:42
Compare
Choose a tag to compare

This version exports some types and useful utilities designed to make the adapter development experience a bit easier. You can now import the following from the module:

  • KintoBase: The base class from which all Kinto instances are derived
  • BaseAdapter: The base class from which all storage adapters are derived
  • AbstractBaseAdapter: An abstract class used during development to trigger warnings on unimplemented methods
  • getDeepKey: A function to get deeply-nested object properties using dot notation (key1.key2.key3)
  • StorageProxy: A TypeScript type describing the methods required for storage proxies
  • RecordStatus: A TypeScript type representing the various states of the _status property on records
  • KintoBaseOptions: A TypeScript type representing the configuration options of the KintoBase class

v14.0.0

18 Jun 18:03
27e6fc0
Compare
Choose a tag to compare

This version is the first version to ship with our official TypeScript types! If you run into any issues using the library in your TypeScript project, please open an issue.

Breaking changes

  • We've removed the automatically-included EventEmitter polyfill, making the events option for Kinto optional. You'll now need to bring your own emitter if you want to subscribe to events (which is not necessary for the vast majority of functionality). We suggest mitt, but anything that conforms to the EventEmitter interface will do.
  • Both our CommonJS and bundled browser versions are now using ES2017 features. If you need to support older browsers, please ensure you're using something like Babel to transpile ES2017 to your desired target.

Bug fixes

  • Fixed an issue where the emitted browser bundle referenced global.process, which only exists in Node environments. (#1352)

v13.0.0

09 May 17:42
7fbf95d
Compare
Choose a tag to compare

This release is the culmination of almost ten months of work to migrate kinto-http.js and kinto.js to TypeScript! In the process, we've modernized the build system for both libraries. For more information on what this means for you, checkout the migration guide.

Breaking changes

  • Full rewrite in TypeScript (Thanks @dstaley!)

Internal changes

  • Improve error wrapping of IndexedDB errors (#1205)
  • Update build scripts to support Windows (#1120)
  • removed unused variables (#1094)
  • Update documentation examples with arrow functions and const (#1084)
  • Remove timestamp from IDB instead storing null (#1082)
  • Rewrite examples with promises to async/await (#1075)
  • Replace Browserify and Babel with TypeScript and Rollup (#1061)
  • Updates api.md to have more concise code examples (#1073)

v12.7.0

28 Aug 15:39
c2b1b94
Compare
Choose a tag to compare

v12.4.3

12 Jun 14:15
50de713
Compare
Choose a tag to compare

Bug fixes

  • Respect localFields when deciding whether or not to mark a record as "updated" (#990).

v12.4.2

16 May 08:34
87e72a0
Compare
Choose a tag to compare
  • Fix pullMetadata really (#977)

v12.4.1

16 May 02:06
b54b571
Compare
Choose a tag to compare

v12.4.0

06 May 21:13
896d337
Compare
Choose a tag to compare
  • Fix header in Gecko export (#972)
  • Sub-Object Filtering (#816)
  • Provide key-value store id schema (#558)
  • Support sync of collection metadata (#971)

v12.2.1

05 Nov 10:43
6ba0cfd
Compare
Choose a tag to compare
  • Gecko: use lazy imports' (#873)
  • Ref #870: better bulk insert for IDB loadDump() (#871)