Skip to content

v0.3.0

Choose a tag to compare

@mweidner037 mweidner037 released this 29 Jan 00:39
· 97 commits to master since this release
  • Improve container/app saving & loading, app interface refactor, and demo improvements (#210)

Breaking API changes:

  • App class removed; Runtime interface reduced in scope. Instead, their old functionality appears on CRDTApp and CRDTRuntime only.
  • CRDTApp, CRDTRuntime: different network contract: "Send" event and publicly-used receive function, instead of BroadcastNetwork.
  • Argument to Collab.load (and analogous methods) is now an Optional<Uint8Array> instead of Uint8Array | null. The idea is the same, but TypeScript is better at enforcing the empty/null case this way.
  • Container -> CRDTContainer, ContainerHost -> CRDTContainerHost, and these classes are completely rewritten. See container docs for new usage.
  • CRegister interface now has a soft requirement to only emit "Set" events when the value actually changes.

Alpha software - API subject to change.