2.0.0-beta.3
Pre-releaseremoteStorage 2.0.0 is an almost entirely non-breaking update for app developers (unless you still use bower to manage JS dependencies). It contains a few important bugfixes and some nice enhancements. But most of the work has been done under the hood, and on the development and documentation tools.
The source code has been ported to TypeScript, in order to facilitate safer and easier refactoring of the codebase. Thus, JS API documentation has been switched from JSDoc to TypeDoc, and the ReadTheDocs build environment had to be creatively adapted to support more modern node.js and TypeScript functionality. You can also access documentation for different versions there now, with the 2.0.0 docs being available under the "latest" tag.
Many thanks to all the good people who contributed to this release — you rock! In alphabetical order: @DougReeder, Eddie Dunn, @galfert, @johannesjo, @iLiviu, @michielbdejong, @pjbollinger, @raucao, @rosano, @sebastc, @silverbucket.
Breaking changes
Enhancements
- Convert source code to TypeScript (#1175, #1196, #1199, #1211, #1214, #1233, #1239, #1249)
- Update dependencies (#1206, #1226)
- Switch from Travis CI to GitHub Actions (#1223, #1224, #1225)
- Don't add trailing slash as only pathname to redirect_uri param (#1213)
- BaseClient#getObject: Throw error instead of string when JSON parsing fails (#1215)
- Improve documentation (#1219, #1227, #1241, #1242)
- Make ReadTheDocs work with current node.js/npm, TypeDoc, etc. (#1220, #1230)
- Don't include unnecessary files in npm package (#1232)
- Improve validation of custom sync interval settings (#1260)
- Allow to connect via URL (#1250)