SDK Setup Guides
...
JavaScript
Release Notes

Ditto v2 for JavaScript

JavaScript Version 2.1.0

Released: Wed Nov 2nd 2022, 4:51 pm

Release Notes:

  • Added: missing methods
  • Deprecated: method

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.8

Released: Thu Oct 27th 2022, 5:14 pm

Release Notes:

  • Synchronized version bump release

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.7

Released: Thu Sep 22nd 2022, 8:02 pm

Release Notes:

  • Changed: New lock file ensures we have only 1 SDK instance per working dir
  • Fixed: Reduced the amount of disk space used by sync metadata by up to 50% in some cases

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.6

Released: Thu Sep 15th 2022, 4:46 pm

Release Notes:

  • Fixed: Ensure Ditto internal auth client is shut down correctly when it's no longer needed

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.5

Released: Thu Sep 8th 2022, 3:20 pm

Release Notes:

  • Fixed: a very rare deadlock when running on Node/macOS and starting sync immediately after creating the Ditto instance.

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.4

Released: Thu Sep 1st 2022, 11:31 am

Release Notes:

  • Synchronized version bump release

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.3

Released: Wed Aug 31st 2022, 10:20 am

Release Notes:

  • Fixed: when calling
  • Changed: the status observer returned by
  • Changed: the attachment fetcher returned by
  • Changed: method
  • Added: method
  • Changed: presence data is no longer synced with the big peer.

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.2

Released: Fri Aug 26th 2022, 6:58 pm

Release Notes:

  • Fixed: when calling

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.1

Released: Sat Aug 13th 2022, 9:57 pm

Release Notes:

  • Fixed: inserting a

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.0

Released: Wed Aug 3rd 2022, 7:54 am

Release Notes:

  • Added:
  • Added: property
  • Changed: method
  • Changed: method
  • Changed type of property
  • Changed: method
  • Changed: method
  • Removed: property
  • Removed: static method
  • Removed: static method
  • Note: peers running
  • Added: support for explicitly typing values as CRDT registers. This is via 2 new types:
  • Changed: the
  • Added: support for accessing and creating RGAs (Replicated Growable Arrays), which was the default CRDT type for arrays in Ditto v1. There are 2 new types:
  • Changed: arrays now default to being
  • Changed:
  • Removed:
  • Added: property
  • Added: property
  • Added: convenience method
  • Removed type
  • Removed: static
  • Removed: static
  • Removed: static
  • Removed: static
  • Removed: deprecated static
  • Removed: deprecated identities of type
  • Removed: deprecated
  • Removed: deprecated
  • Removed: deprecated
  • Removed: deprecated static
  • Removed: deprecated
  • Removed: deprecated
  • Removed: deprecated
  • Changed: renamed
  • Changed: removed
  • Removed:

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]

JavaScript Version 2.0.0-alpha1

Released: Wed Jul 20th 2022, 4:55 am

Release Notes:

This is a preview release of Ditto v2. Full changelog will be provided with the official release.

Installation:

npm install --save @dittolive/[email protected]

If you have yarn:

yarn add @dittolive/[email protected]