SDK Setup Guides
...
Release Notes
Ditto v1 for JavaScript
javascript version 1 1 11 released fri sep 9th 2022, 4 11 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/ditto\@1 1 11 if you have yarn yarn add @dittolive/ditto\@1 1 11 https //software ditto live/js/ditto/1 1 11/api reference/ javascript version 1 1 10 released thu jul 7th 2022, 12 53 pm release notes changed reduced total memory overhead during sync installation npm install save @dittolive/ditto\@1 1 10 if you have yarn yarn add @dittolive/ditto\@1 1 10 https //software ditto live/js/ditto/1 1 10/api reference/ javascript version 1 1 9 released wed jun 15th 2022, 6 27 pm release notes changed reduced crdt memory overhead changed http/websocket service now allows any origin for cors, so it may be used from a webapp on localhost fixed a peer using an online identity would fail to sync peer to peer after app restarts changed p2p transports were disabled by default for the js sdk, while enabled for all other sdks starting with this release, all p2p transports, that are available in the current environment, are enabled by default (i e on node/electron running on macos, no p2p transports when running in the browser) installation npm install save @dittolive/ditto\@1 1 9 if you have yarn yarn add @dittolive/ditto\@1 1 9 https //software ditto live/js/ditto/1 1 9/api reference/ javascript version 1 1 9 alpha1 released wed jun 8th 2022, 8 12 pm release notes synchronized version bump release installation npm install save @dittolive/ditto\@1 1 9 alpha1 if you have yarn yarn add @dittolive/ditto\@1 1 9 alpha1 https //software ditto live/js/ditto/1 1 9 alpha1/api reference/ javascript version 1 1 8 released fri jun 3rd 2022, 12 13 am release notes fixed ditto with onlineplaygroundv2 identity would fail to sync with the big peer if internet access isn't available at the time when ditto is instantiated fixed memory leak when observing collections fixed memory leak when observing peers installation npm install save @dittolive/ditto\@1 1 8 if you have yarn yarn add @dittolive/ditto\@1 1 8 https //software ditto live/js/ditto/1 1 8/api reference/ javascript version 1 1 7 released fri may 13th 2022, 7 18 am release notes fixed module not found warnings when bundling for the web (via webpack & other bundlers) installation npm install save @dittolive/ditto\@1 1 7 if you have yarn yarn add @dittolive/ditto\@1 1 7 https //software ditto live/js/ditto/1 1 7/api reference/ javascript version 1 1 6 released mon may 9th 2022, 5 04 am release notes fixed a correctness issue in replication when peer permissions changed in the middle of a replication exchange fixed error when querying a collection and there was a type mismatch for a field being used in a comparison in the query fixed restarting an app too quickly could lead to multiple connection attempts to rejoin peers in the mesh fixed apps using fixed compatibility with packagers that perform static analysis to locate native node modules, such as fixed issues when inserting a value at a specific index in an array via changed improvements to ditto mesh performance via fastest available transport prioritization installation npm install save @dittolive/ditto\@1 1 6 if you have yarn yarn add @dittolive/ditto\@1 1 6 https //software ditto live/js/ditto/1 1 6/api reference/ javascript version 1 1 5 released fri apr 8th 2022, 1 00 am release notes synchronized version bump release installation npm install save @dittolive/ditto\@1 1 5 if you have yarn yarn add @dittolive/ditto\@1 1 5 https //software ditto live/js/ditto/1 1 5/api reference/ javascript version 1 1 4 released thu apr 7th 2022, 11 25 pm release notes changed improved replication performance in some scenarios installation npm install save @dittolive/ditto\@1 1 4 if you have yarn yarn add @dittolive/ditto\@1 1 4 https //software ditto live/js/ditto/1 1 4/api reference/ javascript version 1 1 3 released tue mar 22nd 2022, 3 13 am release notes added onlineplaygroundv2 identity type and corresponding identityonlineplaygroundv2 allowing for basic authentication for playgrounds deprecated onlineplayground identity type and corresponding identityonlineplayground , use newly added online playground v2 and identityonlineplaygroundv2 instead fixed multiple retain cycles preventing ditto instances from being properly garbage collected fixed document ids are now validated when synced and removed if invalid (some of our early versions of the sdk stored malformed ids under certain circumstances) installation npm install save @dittolive/ditto\@1 1 3 if you have yarn yarn add @dittolive/ditto\@1 1 3 https //software ditto live/js/ditto/1 1 3/api reference/ javascript version 1 1 2 released mon feb 28th 2022, 6 36 am release notes added method deprecated method installation npm install save @dittolive/ditto\@1 1 2 if you have yarn yarn add @dittolive/ditto\@1 1 2 https //software ditto live/js/ditto/1 1 2/api reference/ javascript version 1 1 1 released fri feb 11th 2022, 9 38 pm release notes changed optimized the performance of accessing the value of a changed make added added support for observing transport condition of websocket connections fixed node process from exiting prematurely fixed obscure exception if installation npm install save @dittolive/ditto\@1 1 1 if you have yarn yarn add @dittolive/ditto\@1 1 1 https //software ditto live/js/ditto/1 1 1/api reference/ javascript version 1 1 0 released fri jan 28th 2022, 3 21 am release notes changed improved peer to peer algorithms to create meshes that are more efficient and diverse changed improved routing algorithms for more efficiency changed improved performance of query parsing added property added method added set of apis to observe authentication status (see api reference for added method fixed crashes when many insertions or removals were in flight (only webassembly were affected, i e when running in the browser) fixed high memory consumption and main thread blocking in certain edge cases fixed type signature and api documentation for methods deprecated property deprecated properties deprecated method installation npm install save @dittolive/ditto\@1 1 0 if you have yarn yarn add @dittolive/ditto\@1 1 0 https //software ditto live/js/ditto/1 1 0/api reference/ javascript version 1 0 19 released thu dec 23rd 2021, 12 42 pm release notes fixed collections were not appearing in the data browser under certain permission configurations fixed race condition when subscriptions were configured from multiple threads in parallel (sometimes leading to a crash) fixed missing canonicalization step for ids of inserted documents leading to multiple instances of documents with the "same" id being stored in the db important this fix only applies to newly inserted documents, documents inserted with an older version of the javascript sdk may still have multiple instances in the db and replicated to other peers we'll provide a proper migration for these in follow up releases installation npm install save @dittolive/ditto\@1 0 19 if you have yarn yarn add @dittolive/ditto\@1 0 19 https //software ditto live/js/ditto/1 0 19/api reference/ javascript version 1 0 18 released mon dec 20th 2021, 5 22 am release notes reduced the opportunity for rapid memory growth in some scenarios installation npm install save @dittolive/ditto\@1 0 18 if you have yarn yarn add @dittolive/ditto\@1 0 18 https //software ditto live/js/ditto/1 0 18/api reference/ javascript version 1 0 18 alpha2 released tue dec 14th 2021, 8 32 am release notes improve attachment sync performance installation npm install save @dittolive/ditto\@1 0 18 alpha2 if you have yarn yarn add @dittolive/ditto\@1 0 18 alpha2 https //software ditto live/js/ditto/1 0 18 alpha2/api reference/ javascript version 1 0 18 alpha1 released wed dec 8th 2021, 9 25 am release notes fixed a bug where ditto cloud sync was not enabled by default for fixed an issue where document ids that were specified inside the document's value as opposed to being specified explicitly (as a separate argument to installation npm install save @dittolive/ditto\@1 0 18 alpha1 if you have yarn yarn add @dittolive/ditto\@1 0 18 alpha1 https //software ditto live/js/ditto/1 0 18 alpha1/api reference/ javascript version 1 0 17 released thu nov 25th 2021, 4 11 pm release notes fix an issue with write strategies not working correctly unexpected results could occur when performing sequences of operations on documents removed the fixed the installation npm install save @dittolive/ditto\@1 0 17 if you have yarn yarn add @dittolive/ditto\@1 0 17 https //software ditto live/js/ditto/1 0 17/api reference/ javascript version 1 0 16 released fri nov 19th 2021, 2 39 pm release notes fix an issue with live queries that involved a limit, no offset, at least one document being deleted, and some other conditions being met live queries that met these conditions could report incorrect sets of matching documents fix an issue that could potentially lead to an infinite loop in the replication system, meaning no sync progress would be made expose installation npm install save @dittolive/ditto\@1 0 16 if you have yarn yarn add @dittolive/ditto\@1 0 16 https //software ditto live/js/ditto/1 0 16/api reference/ javascript version 1 0 15 released fri nov 5th 2021, 3 03 pm release notes ensure that when performing a fix a potential deadlock in relation to logging installation npm install save @dittolive/ditto\@1 0 15 if you have yarn yarn add @dittolive/ditto\@1 0 15 https //software ditto live/js/ditto/1 0 15/api reference/ javascript version 1 0 15 alpha1 released wed oct 27th 2021, 3 33 am release notes synchronized version bump release installation npm install save @dittolive/ditto\@1 0 15 alpha1 if you have yarn yarn add @dittolive/ditto\@1 0 15 alpha1 https //software ditto live/js/ditto/1 0 15 alpha1/api reference/ javascript version 1 0 14 released mon oct 25th 2021, 1 31 am release notes add support for array projections to dittoql deprecate the deprecate the add validation of all queries specified as part of installation npm install save @dittolive/ditto\@1 0 14 if you have yarn yarn add @dittolive/ditto\@1 0 14 https //software ditto live/js/ditto/1 0 14/api reference/ javascript version 1 0 13 released mon oct 18th 2021, 10 02 am release notes fixed serialization errors during authentication when running in the browser installation npm install save @dittolive/ditto\@1 0 13 if you have yarn yarn add @dittolive/ditto\@1 0 13 https //software ditto live/js/ditto/1 0 13/api reference/ javascript version 1 0 12 released mon oct 18th 2021, 3 00 am release notes added fixed issues with key paths containing dashes fixed issues with key paths containing multiple subscript operators installation npm install save @dittolive/ditto\@1 0 12 if you have yarn yarn add @dittolive/ditto\@1 0 12 https //software ditto live/js/ditto/1 0 12/api reference/ javascript version 1 0 11 released thu oct 7th 2021, 10 09 pm release notes fixed exception when creating a added added option added node support for macos/x86 64, linux/x86 64 and linux/armhf support for more os/arch combinations will follow added method added static method added static method added static method added changed changed changed property deprecated deprecated deprecated option installation npm install save @dittolive/ditto\@1 0 11 if you have yarn yarn add @dittolive/ditto\@1 0 11 https //software ditto live/js/ditto/1 0 11/api reference/ javascript version 1 0 10 released fri sep 10th 2021, 9 21 am release notes fix to stop a change in site id from leading to an unnecessary error improve handling of persisted authentication data note that this might lead to a one off change to a peer's site id if you weren't and continue to not be specifying an explicit site id when creating your identity installation npm install save @dittolive/ditto\@1 0 10 if you have yarn yarn add @dittolive/ditto\@1 0 10 https //software ditto live/js/ditto/1 0 10/api reference/ javascript version 1 0 9 released fri sep 3rd 2021, 3 38 pm release notes added support for attachments when calling similarly, when using enabled support for loading allow passing a "raw" primitive type, instead of requiring a added support for getting information about all of the collections that the device is aware of this is achieved by accessing added multicast as a transport option to the added new identity types the added an similarly, added an report an error if more than one ditto instance is started using the same working directory installation npm install save @dittolive/ditto\@1 0 9 if you have yarn yarn add @dittolive/ditto\@1 0 9 https //software ditto live/js/ditto/1 0 9/api reference/ javascript version 1 0 8 released mon aug 2nd 2021, 9 19 am release notes initial public beta release of the js sdk with the following constraints web only for now node & electron support will follow shortly counters work only partially full support is in development no support for batch operations yet no support for attachments yet known bugs and issues rungarbagecollection() observewithnextsignal() longer running queries might block the js event loop installation npm install save @dittolive/ditto\@1 0 8 if you have yarn yarn add @dittolive/ditto\@1 0 8 https //software ditto live/js/ditto/1 0 8/api reference/