Releases: Kinto/kinto.js
Releases · Kinto/kinto.js
v16.0.0
What's Changed
Breaking changes
- Drop gzipped option when uploading attachments by @leplatrem in #2188
Dependencies
- ci: disable browser tests for chrome by @dstaley in #2075
- build(deps-dev): bump typescript from 5.1.3 to 5.1.6 by @dependabot in #2052
- build(deps-dev): bump prettier from 2.8.8 to 3.0.1 by @dependabot in #2077
- build(deps-dev): bump rollup from 3.25.1 to 3.27.2 by @dependabot in #2079
- build(deps-dev): bump @types/uuid from 9.0.1 to 9.0.2 by @dependabot in #2055
- build(deps-dev): bump mitt from 3.0.0 to 3.0.1 by @dependabot in #2066
- build(deps-dev): bump eslint-config-prettier from 8.8.0 to 9.0.0 by @dependabot in #2080
- build(deps-dev): bump tslib from 2.5.3 to 2.6.1 by @dependabot in #2071
- build(deps-dev): bump fake-indexeddb from 4.0.1 to 4.0.2 by @dependabot in #2067
- build(deps-dev): bump eslint from 8.42.0 to 8.46.0 by @dependabot in #2070
- build(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 by @dependabot in #2076
- build(deps-dev): bump @rollup/plugin-commonjs from 25.0.1 to 25.0.3 by @dependabot in #2073
- build(deps-dev): bump sinon from 15.1.2 to 15.2.0 by @dependabot in #2058
- build(deps-dev): bump node-fetch from 2.6.11 to 2.6.12 by @dependabot in #2054
- build(deps-dev): bump @rollup/plugin-typescript from 11.1.1 to 11.1.2 by @dependabot in #2057
- chore(deps): bump typescript-eslint packages by @dstaley in #2081
- build(deps-dev): bump @types/sinon from 10.0.13 to 10.0.16 by @dependabot in #2082
- build(deps-dev): bump node-fetch from 2.6.12 to 2.7.0 by @dependabot in #2094
- build(deps-dev): bump typescript from 5.1.6 to 5.2.2 by @dependabot in #2093
- build(deps-dev): bump prettier from 3.0.1 to 3.0.3 by @dependabot in #2092
- build(deps-dev): bump the typescript-eslint group with 2 updates by @dependabot in #2097
- build(deps-dev): bump rollup from 3.27.2 to 3.29.2 by @dependabot in #2098
- build(deps-dev): bump gh-pages from 5.0.0 to 6.0.0 by @dependabot in #2090
- build(deps-dev): bump @babel/traverse from 7.21.2 to 7.23.2 by @dependabot in #2106
- build(deps-dev): bump the typescript-eslint group with 2 updates by @dependabot in #2148
- build(deps-dev): bump prettier from 3.0.3 to 3.2.5 by @dependabot in #2144
- build(deps-dev): bump follow-redirects from 1.15.2 to 1.15.6 by @dependabot in #2151
- build(deps-dev): bump ts-node from 10.9.1 to 10.9.2 by @dependabot in #2140
- build(deps-dev): bump typescript from 5.2.2 to 5.4.4 by @dependabot in #2149
- build(deps-dev): bump @rollup/plugin-typescript from 11.1.2 to 11.1.6 by @dependabot in #2147
- build(deps-dev): bump open-cli from 7.2.0 to 8.0.0 by @dependabot in #2137
- build(deps-dev): bump tslib from 2.6.1 to 2.6.2 by @dependabot in #2088
- build(deps-dev): bump @rollup/plugin-replace from 5.0.2 to 5.0.5 by @dependabot in #2118
- build(deps-dev): bump @rollup/plugin-terser from 0.4.3 to 0.4.4 by @dependabot in #2120
- build(deps-dev): bump @rollup/plugin-multi-entry from 6.0.0 to 6.0.1 by @dependabot in #2122
- build(deps): bump uuid and @types/uuid by @dependabot in #2103
- build(deps-dev): bump sinon from 15.2.0 to 17.0.1 by @dependabot in #2117
- build(deps-dev): bump @types/shelljs from 0.8.12 to 0.8.15 by @dependabot in #2125
- Group dependabot deps by @leplatrem in #2153
- build(deps-dev): bump @types/btoa from 1.2.3 to 1.2.5 by @dependabot in #2126
- build(deps-dev): bump the typescript-eslint group with 2 updates by @dependabot in #2154
- build(deps-dev): bump @types/sinon from 10.0.16 to 17.0.3 by @dependabot in #2157
- build(deps-dev): bump the minor-patch group with 4 updates by @dependabot in #2158
- build(deps-dev): bump the rollup-plugins group with 2 updates by @dependabot in #2155
- build(deps-dev): bump rollup from 3.29.2 to 4.14.1 by @dependabot in #2152
- build(deps-dev): bump @rollup/plugin-node-resolve from 15.1.0 to 15.2.3 by @dependabot in #2114
- build(deps-dev): bump eslint-config-prettier from 9.0.0 to 9.1.0 by @dependabot in #2135
- build(deps-dev): bump gh-pages from 6.0.0 to 6.1.1 by @dependabot in #2136
- build(deps-dev): bump fake-indexeddb from 4.0.2 to 5.0.2 by @dependabot in #2139
- build(deps-dev): bump the typescript-eslint group across 1 directory with 2 updates by @dependabot in #2164
- build(deps-dev): bump the minor-patch group across 1 directory with 4 updates by @dependabot in #2165
- build(deps-dev): bump ws from 7.5.9 to 7.5.10 by @dependabot in #2169
- build(deps-dev): bump braces from 3.0.2 to 3.0.3 by @dependabot in #2166
- build(deps-dev): bump the typescript-eslint group with 2 updates by @dependabot in #2171
- build(deps-dev): bump the minor-patch group with 3 updates by @dependabot in #2173
- build(deps-dev): bump fake-indexeddb from 5.0.2 to 6.0.0 by @dependabot in #2176
- build(deps-dev): bump nyc from 15.1.0 to 17.0.0 by @dependabot in #2175
- build(deps-dev): bump the rollup-plugins group with 2 updates by @dependabot in #2172
- build(deps-dev): bump sinon from 17.0.1 to 18.0.0 by @dependabot in #2174
- build(deps-dev): bump the minor-patch group across 1 directory with 4 updates by @dependabot in #2181
- build(deps): bump uuid and @types/uuid by @dependabot in #2177
- Remove obsolete 2021 PR template by @leplatrem in #2163
- build(deps-dev): bump rollup from 4.21.2 to 4.22.4 by @dependabot in #2182
- build(deps-dev): bump the minor-patch group with 3 updates by @dependabot in #2185
- build(deps-dev): bump eslint from 8.57.0 to 8.57.1 by @dependabot in #2187
- build(deps-dev): bump sinon from 18.0.0 to 19.0.2 by @dependabot in #2186
- build(deps-dev): bump the rollup-plugins group with 4 updates by @dependabot in #2184
Full Changelog: v15.0.0...v16.0.0
v15.0.0
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
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 derivedBaseAdapter
: The base class from which all storage adapters are derivedAbstractBaseAdapter
: An abstract class used during development to trigger warnings on unimplemented methodsgetDeepKey
: A function to get deeply-nested object properties using dot notation (key1.key2.key3
)StorageProxy
: A TypeScript type describing the methods required for storage proxiesRecordStatus
: A TypeScript type representing the various states of the_status
property on recordsKintoBaseOptions
: A TypeScript type representing the configuration options of theKintoBase
class
v14.0.0
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 forKinto
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 theEventEmitter
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
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
v12.4.3
v12.4.2
v12.4.1
pullMetadata
now passesheaders
. This should fix failures in syncing where authentication appeared to "go missing" in the middle of syncing, for example https://bugzilla.mozilla.org/show_bug.cgi?id=1551952.