SDK Setup Guides
...
Release Notes
Ditto v4 for JavaScript
javascript updates version changelog javascript version 4 4 5 javascript version 4 4 4 javascript version 4 4 2 javascript version 4 4 1 javascript version 4 4 0 ⚠️ deprecated hash() and hashmnemonic() methods on live query events were deprecated use the methods with the same name on the document class instead (#9661, #9610) javascript version 4 3 1 released thu aug 10th 2023, 2 22 pm 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) fixed the fixed the fixed an issue on linux that caused excessive multicast traffic over lan transport (#9398) installation npm install save @dittolive/ditto\@4 3 1 if you have yarn yarn add @dittolive/ditto\@4 3 1 https //software ditto live/js/ditto/4 3 1/api reference/ javascript version 4 3 0 released tue jul 18th 2023, 10 02 pm release notes ⚠️ warning this sdk version will migrate some data formats on disk once upgraded to 4 3 0, an sdk can only be downgraded back to 4 2 2 and 4 2 1 but no earlier downgrading to versions earlier than 4 2 1 will require uninstalling and re installing to clear out the new data formats (#8946) added added added an internal ability to measure & report the level of redundancy in replication updates to calculate the percentage of updates that are arriving from multiple peers this will be used for future self balancing mesh actions which are not yet enabled (#8937) changed new serialization format improves efficiency of replication, particularly in the big peer (#8946) changed better logging for diagnosing auth failures (#8984) changed improved replication performance by introducing a small internal caching layer for commonly computed values (#8777) deprecated fixed the replication engine can now recover from certain filesystem corruption issues during sync instead of panicking (#8965) fixed increased validation of document updates, preventing updates that try to modify the document id (#9063) installation npm install save @dittolive/ditto\@4 3 0 if you have yarn yarn add @dittolive/ditto\@4 3 0 https //software ditto live/js/ditto/4 3 0/api reference/ javascript version 4 2 3 released wed jul 5th 2023, 3 32 pm release notes synchronized version bump release installation npm install save @dittolive/ditto\@4 2 3 if you have yarn yarn add @dittolive/ditto\@4 2 3 https //software ditto live/js/ditto/4 2 3/api reference/ javascript version 4 2 2 released tue jul 4th 2023, 10 42 am release notes improved mesh performance when using 50+ small peer devices (#9077) changed improved deserialization performance of documents (#9123) fixed increased validation of document updates, preventing updates that try to modify the document id (#9129) fixed removed outdated error level log statements in ditto store related to fixed the fixed a potential crash if a document attachment was malformed (#9045) installation npm install save @dittolive/ditto\@4 2 2 if you have yarn yarn add @dittolive/ditto\@4 2 2 https //software ditto live/js/ditto/4 2 2/api reference/ javascript version 4 2 1 released tue jun 13th 2023, 3 47 pm release notes fixed a possible crash due to serialisation when upgrading from version 4 1 0 or 4 1 1 (#8925) installation npm install save @dittolive/ditto\@4 2 1 if you have yarn yarn add @dittolive/ditto\@4 2 1 https //software ditto live/js/ditto/4 2 1/api reference/ javascript version 4 2 0 released tue jun 13th 2023, 1 53 am release notes added changed automatically disables deadlock detection when running ditto in a node js process that has the inspector enabled with a command line parameter (#8601) changed improved replication uses compressed message stream to decrease bandwidth consumption (#8807) changed reduce verbosity in replication logs (#8370) fixed potential crash on linux when handling bluetooth advertisement during ditto startup (#8538) installation npm install save @dittolive/ditto\@4 2 0 if you have yarn yarn add @dittolive/ditto\@4 2 0 https //software ditto live/js/ditto/4 2 0/api reference/ javascript version 4 1 1 released thu may 18th 2023, 11 35 pm release notes fixed devices with hostnames longer than 35 bytes will no longer fail to sync over lan fixed potential crash on linux when handling bluetooth advertisement during ditto startup added changed automatically disables deadlock detection when running ditto in a node js process that has the inspector enabled with a command line parameter changed improved the error message shown when attempting to write unsupported non finite float values to documents installation npm install save @dittolive/ditto\@4 1 1 if you have yarn yarn add @dittolive/ditto\@4 1 1 https //software ditto live/js/ditto/4 1 1/api reference/ javascript version 4 1 0 released fri apr 28th 2023, 11 52 am release notes added added changed the bluetooth le transport is now enabled by default on linux when running on node js previously, it needed to be enabled by a developer using changed changed (experimental) query overlap groups, bus a breaking protocol change for upcoming improvements peers using older versions will not be able to connect with newer peers until they upgrade fixed a replication issue where certain cases that should have reset the replication session with a remote peer would instead temporarily terminate the connection while not resetting the session fixed a replication issue that could cause failed convergence on small number of documents if updates are being received during a local eviction security enforce immediate disconnection of any connected peers whose certificate expires during a sync session fixed improved bluetooth le connection reliability on linux fixed (wasm) removed unsupported usage of fixed p2p transports were disabled by default for the js sdk, while enabled for all other sdks fixed by enabling all p2p transports, that are available in the current environment (i e on node/electron running on macos, no p2p transports when running in the browser) installation npm install save @dittolive/ditto\@4 1 0 if you have yarn yarn add @dittolive/ditto\@4 1 0 https //software ditto live/js/ditto/4 1 0/api reference/ javascript version 4 0 3 alpha linux ble fixes 2 released tue apr 18th 2023, 1 22 am release notes improvements to bluetooth connection reliability on linux installation npm install save @dittolive/ditto\@4 0 3 alpha linux ble fixes 2 if you have yarn yarn add @dittolive/ditto\@4 0 3 alpha linux ble fixes 2 https //software ditto live/js/ditto/4 0 3 alpha linux ble fixes 2/api reference/ javascript version 4 0 3 alpha linux ble fixes released mon apr 17th 2023, 3 19 pm release notes fixed a replication issue that could cause failed convergence on small number of documents if updates are being received during a local eviction improvements to bluetooth connection reliability on linux installation npm install save @dittolive/ditto\@4 0 3 alpha linux ble fixes if you have yarn yarn add @dittolive/ditto\@4 0 3 alpha linux ble fixes https //software ditto live/js/ditto/4 0 3 alpha linux ble fixes/api reference/ javascript version 4 0 2 released thu apr 20th 2023, 3 36 pm release notes fixed a replication issue where certain cases that should have reset the replication session with a remote peer would instead temporarily terminate the connection while not resetting the session fixed correct handling of reset and disable errors from receive update installation npm install save @dittolive/ditto\@4 0 2 if you have yarn yarn add @dittolive/ditto\@4 0 2 https //software ditto live/js/ditto/4 0 2/api reference/ javascript version 4 0 1 released thu apr 6th 2023, 11 54 am release notes fixed resolved an issue with logging when the stdout is not available installation npm install save @dittolive/ditto\@4 0 1 if you have yarn yarn add @dittolive/ditto\@4 0 1 https //software ditto live/js/ditto/4 0 1/api reference/ javascript version 4 0 0 released wed mar 22nd 2023, 3 48 pm release notes added addwins removes will now be used if added transaction support, which can be accessed through the ditto store's added static method changed if a problem occurs with an app's authentication webhook, the small peer that is trying to authenticate will log more detailed information for the developer changed old multi hop connections are now automatically disconnected when direct connections are established with peers, freeing up unneeded resources faster changed reduced severity level for some routine log statements which were previously emitted at a warn level changed the fixed some threads spawned by the sdk no longer wait up to 30 seconds before being stopped fixed an issue which could cause ditto to hang if more than 500 peers were encountered fixed replication hanging under some circumstances, especially websocket connections to big peer fixed a possible crash if ditto is configured with an invalid app id an error message is emitted instead fixed when enabling a p2p transport that is not available in an environment, installation npm install save @dittolive/ditto\@4 0 0 if you have yarn yarn add @dittolive/ditto\@4 0 0 https //software ditto live/js/ditto/4 0 0/api reference/ javascript version 4 0 0 beta1 released thu jan 26th 2023, 3 37 pm release notes fixed an issue which could cause ditto to hang if more than 500 peers were encountered fixed addwins removes will now be used if installation npm install save @dittolive/ditto\@4 0 0 beta1 if you have yarn yarn add @dittolive/ditto\@4 0 0 beta1 https //software ditto live/js/ditto/4 0 0 beta1/api reference/ javascript version 4 0 0 alpha2 released mon jan 16th 2023, 2 16 pm release notes added installation npm install save @dittolive/ditto\@4 0 0 alpha2 if you have yarn yarn add @dittolive/ditto\@4 0 0 alpha2 https //software ditto live/js/ditto/4 0 0 alpha2/api reference/