SDK Guides
Java
Release Notes: Java
java version 4 5 4 fixed intermittent crash when syncing over bluetooth le gatt with "datatoolarge" error (#9789) added additional logging in the rare case an exception is thrown during a live query callback (#11644) java version 4 5 3 fix a crash in android bluetooth subsystem (#11467) java version 4 5 2 added dittotransportconfig and all ditto types that appear inside a dittotransportconfig now implement cloneable (#10972) fixed calling startsync , then stopsync, and then startsync again no longer leads to all transports being disabled (#10972) if using an onlineplayground or onlinewithauthentication identity with enabledittocloudsync set to true then a websocket connection to ditto's cloud will now be preserved if/when the ditto instance's transport config is updated (#10972) java version 4 5 1 added support for light jwts (separating identity data) (#11063) fixed a potential panic if an f64 nan is compared to a u64 or i64 during collation presence observers are now correctly removed when passed to removeobserver() java version 4 5 0 if you are upgrading from v4 x to v4 5 without adopting any new functionality there will be no changes required and all other v4 x devices will sync with v4 5 devices v4 5 follows semver and is backwards compatible with all previous v4 versions all changes in v4 5 are additive and don’t require any additional work when upgrading if you plan on adopting dql as part of the migration to v4 5 review docid\ e2zbkpkqwymyxw5pn4rjm note all existing apis and queries (eg find , findbyid , observe , ect ) will remain supported for the foreseeable future we will notify customers with advanced warning when we plan to end of life these apis added version static property to the ditto class (#10223) dittoerror fatalerror data class (#10536) dittostore execute() method for querying the store using the new ditto query language (#8354) dittosyncsubscription class for managing sync subscriptions (#8354, #10536) dittosync class whose registersubscription() method allows for controlling sync using ditto query language (#8354, #10536) registerobserver() method to the dittostore class (#8354, #10536) deprecated dittolanconfig multicastenabled property (#10126) dittoerror internalerrorreason data class these very unlikely exceptions will be thrown as fatalerror instea (#10536) changed failure to load the ditto native binary now throws a fatalerror instead of aborting the process (#10015) dittoerror failedtoencodevalue error has been replaced with failedtoencodevalue message which is a simple string type, reducing api dependency on jackson/fasterxml (#10536 improved performance by implementing bipartite distance aware mesh topology (#10632) memory usage and performance of documents (#10736) reduced metadata accumulation after eviction by clearing remote summaries (#7065) serialization performance (#9112) fixed the android log level could not be set to a more verbose level at runtime under certain circumstances (#10786) lan p2p transport fails to stop (#8809) made logging more robust to failed writes in a specific set of circumstances (#10077) addressed a warning from sqlite that sometimes occurs on startup about a schema change (#10501) presence graph may not show all active connections (#10507) when observing peers, isconnectedtodittocloud property may be incorrect (#10534) initial logging events now use the same format as all other logs (#10611) mesh could choose random connections (#10711) a bug with ditto's internal crash handler (#10022) to access release notes for earlier ditto versions, go to https //docs ditto live/v4 4 of the documentation by clicking the version picker located in the upper left corner and selecting 4 4 from the menu