forked from josephg/ShareJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Changelog
josephg edited this page Sep 17, 2011
·
26 revisions
Action required: Anyone using the JSON type must explicitly include <script src='share/json.js'/>
Action required: Manually specifying a hostname to connect to is now in the new socket.io style. See client docs for details.
Action required: The optional version parameter on doc.submitOp
has been removed, because it really doesn't seem useful. File an issue if I'm wrong.
- Improved support for sharejs types to live outside of the compiled code bundle.
- The JSON type now compiles separately (to
json.js
). This has reduced the standard share.js client size significantly (14k -> 9.5k). - Renamed
Document
toDoc
to avoid confusion withwindow.Document
- Changed the textarea code to use the new text API.
- ShareJS now uses socket.io 0.8 up from 0.6. Unfortunately, socket.io has lots of bugs related to connecting / disconnecting. If there are any more stable alternatives to socket.io, I'm happy to talk about moving.
- ShareJS now supports User access control!
-
Connection.open
now behaves better when the connection has been disconnected, or is disconnected while the document is being opened. - REST
options.delete
has been removed in favor of specifying an authentication function.
Action required: Anyone using the ace editor should include <script src='share/ace.js'/>
instead of <script src='share/share-ace.js'/>
- Added support for type-specific APIs to be added to Document. Blog post
- Added
window.sharejs.version
andrequire('share').version
fields - Added more tests for the closure compiled code
- Removed documentation in /docs (thats what the wiki is for)
- Rewrote ace editor code to use new text API instead of generating ops directly
- Updated to the most recent version of ace (Issue #21)
- Renamed
share-ace.js
toace.js
. Code using the ace editor should be updated.share-ace.js
is still there for now, but it will be removed in a subsequent version of ShareJS.