vcuculo / ghost

Experimental web app using WebRTC and remoteStorage.js
https://ghost.5apps.com/
11 stars 7 forks source link

Update remoteStorage.js to 0.10.0-beta #13

Closed raucao closed 10 years ago

raucao commented 10 years ago

Hi Vittorio,

We just released remoteStorage.js 0.10.0-beta with completely rewritten caching and sync backends (and fixing anon mode, which was broken in 0.9). Some apps are already using it in production with no problems so far (but better performance and stability). Would be great, if you could update it in Ghost as well.

We broke the API in very few places (only removing some deprecated things), but it should be a 1-minute upgrade, in case you're using one of the old calls. The library comes with automatic migration for existing cached data, which should be transformed to the new better format without having to do anything in your app.

Check out the changelog for details.

Cheers, Basti

raucao commented 10 years ago

FYI: we just released 0.10.0-beta2, which fixes an important bug we found during testing: http://community.remotestorage.io/t/remotestorage-js-0-10-0-beta2-released/185

vcuculo commented 10 years ago

I've updated the lib and edited the breaking changes...but it broke the app in getListing method, returning empty result. https://github.com/vcuculo/ghost-unhosted-webrtc/tree/0.10.0-beta2

raucao commented 10 years ago

Thanks for the report. It seems that getListing is broken when no caching is set in the normal build. I fixed everything by using the nocache build as well as handling the new directory listing format: #14

vcuculo commented 10 years ago

Thanks to you, updated now.