This is a complete rewrite of the 0.5 version of Yjs. Since Yjs 0.6.0 it is possible to work asynchronously on a persistent database, which enables offline support.
- Switched to semver versioning
- Requires a promise implementation in environment (es6 promises suffice, included in all the major browsers). Otherwise you have to include a polyfill
- Y.Object has been renamed to Y.Map
- Y.Map exchanges
.val(name [, value])
in favor of.set(name, value)
and.get(name)
- Y.Map
.get(name)
returns a promise, if the value is a custom type - The Connector definition slightly changed (I'll update the wiki)
- The Type definitions completely changed, so you have to rewrite them (I'll rewrite the article in the wiki)
- Support for several packaging systems
- Flowtype