remoteStorage.js 2.0.0 (beta) release updates

We have just tagged the latest beta version of remoteStorage.js 2.0.0, which we believe should work at least as well as v1.2.3 as a drop-in replacement for all of your apps. (Some apps are already using this version in production.)

We would like to invite all app developers to try out this beta version for themselves, and report any issues (that don’t exist in v1.2.3) on GitHub!

Release notes

remoteStorage 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, @silverbucket.

Breaking changes

  • Remove Bower package support (#1231)

Enhancements

  • Convert source code to TypeScript (#1175, #1196, #1199, #1211, #1214, #1233, #1239)
  • 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)

Bugfixes

  • Fix WireClient initialization when localStorage settings data corrupted/missing (#1210)
  • Handle Google Drive paths with special characters (#1181)
  • Fix potentially wrong command in warning message (#1218)
1 Like

remoteStorage.js 2.0.0-beta.5 was just released, with the list of changes having grown a bit since the first beta:

The latest 2.0 beta now includes a few new features, as well as some notable bug fixes. The latest beta 5 is all about refresh-token support for Dropbox, as well as refactoring the Authorize and various WireClient classes, courtesy of @DougReeder.

2.0 beta is now the recommended latest release not just on npm, but also on GitHub. If you run into road blocks while upgrading your apps, please don’t hesitate to ask for help on the forums here!

remoteStorage.js 2.0.0-beta.6 was just released, containing an important bug fix for a sync race condition that causes item maps to be inconsistent with actual data in some cases:

Upgrading your apps is highly recommended.