---
title: Ditto v3 for JavaScript
slug: v4-4/6hOpqrmD6lYl2mhI4Rs65
docTags: 
createdAt: 2023-08-22T18:59:11.547Z
---

### JavaScript Version 3.0.11

Released: Thu Aug 10th 2023, 7:07 am

Release Notes:

- Changed: Improved clarity of error messages when data on disk cannot be read by this version following a downgrade from a newer version of Ditto. (#9267)
- Changed: Print some internal errors in a more human-readable format. (#9495)

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.11
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.11
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.11/api-reference/)

### JavaScript Version 3.0.10

Released: Fri Jun 30th 2023, 8:25 pm

Release Notes:

- Fixed: a potential crash if a document attachment was malformed (#9045)

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.10
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.10
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.10/api-reference/)

### JavaScript Version 3.0.9

Released: Wed Jun 14th 2023, 8:23 am

Release Notes:

- Synchronized version bump release

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.9
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.9
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.9/api-reference/)

### JavaScript Version 3.0.9-alpha1

Released: Mon May 22nd 2023, 4:34 pm

Release Notes:

- Synchronized version bump release

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.9-alpha1
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.9-alpha1
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.9-alpha1/api-reference/)

### JavaScript Version 3.0.8

Released: Thu May 18th 2023, 11:33 pm

Release Notes:

- Synchronized version bump release

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.8
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.8
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.8/api-reference/)

### JavaScript Version 3.0.7

Released: Fri Apr 7th 2023, 9:28 am

Release Notes:

- Fixed: Resolved an issue with logging when the stdout is not available.

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.7
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.7
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.7/api-reference/)

### JavaScript Version 3.0.6

Released: Wed Mar 15th 2023, 6:00 pm

Release Notes:

- Fixed: Issue where Ditto instance using
- Fixed: Potential crash on Windows and Linux from invoking

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.6
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.6
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.6/api-reference/)

### JavaScript Version 3.0.5

Released: Tue Feb 28th 2023, 9:31 pm

Release Notes:

- Changed: some threads spawned by the SDK no longer wait up to 30 seconds before being stopped.
- Changed: added more logging when a peer is unable to connect to another peer because of no overlapping supported protocol versions.
- Fixed: replication hanging under some circumstances, especially WebSocket connections to Big Peer

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.5
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.5
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.5/api-reference/)

### JavaScript Version 3.0.4

Released: Fri Jan 27th 2023, 4:10 pm

Release Notes:

- Synchronized version bump release

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.4
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.4
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.4/api-reference/)

### JavaScript Version 3.0.3

Released: Thu Jan 26th 2023, 6:35 am

Release Notes:

- Fixed: an issue which could cause Ditto to hang if more than 500 peers were encountered.

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.3
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.3
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.3/api-reference/)

### JavaScript Version 3.0.3-alpha2

Released: Mon Jan 23rd 2023, 10:05 am

Release Notes:

- Resolved an issue where presence evictions could deadlock on startup with large numbers of peers

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.3-alpha2
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.3-alpha2
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.3-alpha2/api-reference/)

### JavaScript Version 3.0.2

Released: Fri Jan 20th 2023, 1:20 pm

Release Notes:

- Synchronized version bump release

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.2
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.2
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.2/api-reference/)

### JavaScript Version 3.0.1

Released: Fri Jan 13th 2023, 6:57 pm

Release Notes:

- Added:
- Added:
- Changed: better readability of data sizes and durations in logs.

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.1
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.1
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.1/api-reference/)

### JavaScript Version 3.0.0

Released: Fri Dec 16th 2022, 5:38 am

Release Notes:

- Removed: the
- Removed: the deprecated
- Fixed:
- Removed:
- Added: class
- Added: type
- Deprecated:
- Deprecated:
- Changed: performance improvements.
- Added:
- Added: initial (alpha) support for Node.js on Windows.
- Improved: reliability if app crashes occur while persisting authentication data.
- Improved: log increased detail to help debug blocked write transactions.

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.0
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.0
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.0/api-reference/)

### JavaScript Version 3.0.0-alpha3

Released: Mon Dec 12th 2022, 5:19 am

Release Notes:

- Initial (alpha) support for Node.js on Windows

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.0-alpha3
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.0-alpha3
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.0-alpha3/api-reference/)

### JavaScript Version 3.0.0-alpha2

Released: Tue Dec 6th 2022, 8:01 am

Release Notes:

- Improved: reliability if app crashes occur while persisting authentication data.

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.0-alpha2
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.0-alpha2
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.0-alpha2/api-reference/)

### JavaScript Version 3.0.0-alpha1

Released: Thu Dec 1st 2022, 12:01 pm

Release Notes:

- Removed: the
- Removed: the deprecated
- Fixed:
- Removed:
- Added: class
- Added: type
- Deprecated:
- Deprecated:
- Changed: performance improvements.
- Added

Installation:

:::BlockQuote
npm install --save @dittolive/ditto\@3.0.0-alpha1
:::

If you have yarn:

:::BlockQuote
yarn add @dittolive/ditto\@3.0.0-alpha1
:::

[API Reference URL](https://software.ditto.live/js/Ditto/3.0.0-alpha1/api-reference/)
