Release Notes
Fixed
Fixed a rare issue decompressing attachments during replication
Improved
Improved the API Key validation of the HTTP API to now automatically retry a number of time in case of transient issues, before throwing an error to the caller
Fixed
Fixed an issue where HTTP API calls might incorrectly fail when passing a transaction ID as part of the call
Fixed
Fixed a failure when executing remote queries that contained non-ASCII characters in the SYNC CONTEXT clause
Fixed
Fixed an issue that prevented attachment replication when a large number of documents were also being simultaneously replicated
Fixed
Fixed a number of issues related to data convergence during replication in rare scenarios
Improved
Improved the resource utilization of the HTTP API when executing DQL SELECT queries.
Added
DQL INSERT statements run via the HTTP API now support inline object literals.
Added
The /api/v4/attachments/{attachment_id} HTTP endpoint now supports HEAD requests to check for attachment's existence.
Improved
Improved the performance of subscriptions with limits.
Improved
Improved the performance of replication during garbage collection.
Fixed
Fixed a failure in replication in cases where there are frequent subscription changes and on-device evictions.
Fixed
Fixed an issue which could cause a crash during document merges when using older versions of the SDK.
Improved
Improved query performance for DQL queries that access attachments, through the HTTP data API.
Improved
Improved handling of slow WebHook targets by enforcing a 30-second timeout to outgoing WebHook calls, this prevents lockups and other unexpected behavior when using WebHook connections.
Improved
Improved replication to avoid resending metadata, resulting in a reduction in overall replication traffic and processing when sync subscriptions change.
Added
Added support for inline object and array definition to DQL through the HTTP API
Added
Added object_length() and deserialize_json() functions to DQL through the HTTP API
Improved
Improved the error message for cases where the query result is too large
Improved
Removed the /{collection}/distinct_values HTTP endpoint
Improved
Removed support for X-DITTO-CLIENT-ID, X-DITTO-ACTOR-ID, X-HYDRA-CLIENT-ID from the HTTP API
Fixed
Fixed a hang when replicating documents or attachments larger than 64KB
Fixed
Fixed the default HTTP API response format to correctly be application/json if not specified in the request
Fixed
Fixed a rare edge case that could slow down sync when using very small documents
Synchronized version bump release — no changes
Fixed
Potential crash as a result of a DQL query containing a multi-byte character. (#12324)
Fixed
A hang in the transports multiplexer when handling large messages spanning multiple chunks larger than 64KB. (#12428)
Improved
Attachments now sync independently of documents, improving rainbow connection efficiency (#11156)
Fixed
Sync crashes due to missing update files and other unexpected conditions are now handled recoverably (#11952)
Fixed
Resolved legacy query language casting counters and maps with tombstones to the wrong boolean value (#10887)
Fixed
Resolved Bytes and Arrays not being always comparable in the legacy query language. (#10887)
Improved
Improve performance by avoiding deserializing the entire Document if only part of it is required. (#10887)
Fixed
Resolved UST initial polling unbounded error retry. (#11841)
Improved
Removed is_connected_to_big_peer field from the Small Peer Info document. (#11883)
Fixed
Resolve legacy query language accepting invalid field names. (#11888)
Added
Increased the limit on the allowable depth of the Small Peer Info JSON metadata. (#11891)
Improved
Attachments are more performant when working with many attachments concurrently
Fixed
Resolved HTTP API OpenAI spec that will cause duplicated Authentication header in certain generated clients. (#11936)
Improved
Spread work more evenly across Big Peer store writer threads. (#11939)
Added
MeshChooser now supports a limited set of runtime configurable values via the mesh_chooser_* system parameters. (#11968)
Fixed
A warning message that appears when peers connect is no longer logged (No handle found to notify the shutdown; multiple message handling loops??) (#11977)
Fixed
When replicating in mixed meshes from V4 to V3 full state will be sent. (#12029)
Fixed
Lowered the log level of some SQLite3 notices that were being unnecessarily logged as warnings. (#12032)
Fixed
The Small Peer Info collector no longer gets stuck waiting to upload logs under certain conditions. (#12070)
Fixed
Duration parameters can now be set via DQL, whereas before they would fail to type check. (#12070)
Fixed
Ensure document cache GC always progresses regardless of configured time slice and load. (#12091)
Added
String functions byte_length and char_length. (#12147)
Fixed
Revert "Fix DocumentCache cache wrong result for Sort + Limit queries. (#9435)
Fixed
Query plan for queries using the contains function with an empty array. (#12010)
Fixed
Stream-splitter consumer migration applying old offset. (#11985)
Fixed
Query plan for queries using the contains function with an empty array. (#12010)
Improved
Update stream-splitter to respect Ditto login retry interval and attempts. (#11785)
Fixed
Stream-splitter checks for kafka.enabled before spawning user-consumable streams. (#11788)
Fixed
Tweak hydra-cdc-heartbeat to avoid stuck consumer. (#11815)
Fixed
Application crashes while preparing to syncing data to remote peer. (#11843)
Fixed
Fix Subserver caching wrong result for queries with sort and limit. (#9435)
Fixed
DQL queries can now query for the id, len and metadata fields of attachments (#11481)
Improved
Improve UST polling resilience in HTTP API and subserver (#11701)
Fixed
Do not error in DQL inserts with the DO NOTHING conflict policy (#11730)
Improved
Synchronization protocol enhanced to prevent accumulation of unsubscribed documents after subscription change, and limits redundant data exchanged when re-synchronizing. (#10440)
Improved
Reduce metadata lock contention while applying transactions (Avoid metadata read lock in apply_txns_internal #11654)
Fixed
Fix race between applying of transactions and reconfiguration of replicas (#11361)
Fixed
Legacy query language casting counters and maps with tombstones to the wrong boolean value
Fixed
Legacy query language not allowing comparison against attachment objects.
Fixed
Bug where certificate request would not check identity data hash with JWT’s
Fixed
Bug where the certificate request would fail with big permissions
Fixed
An issue where an internal data decoding function could panic on certain inputs (#10376)
Added
Improve read query performance of legacy contains([..], _id) syntax (#10987)
Improved
Parser error messages emphasize the location of the error and de-emphasize a potential fix. (#11040)
Fixed
Return 500 instead of 401 upon internal error while validating API key. (#11178)
Fixed
A bug where Link could run into an infinite loop. (#11188)
Improved
Reduce HTTP API latency with improved lock map version tracking (#11278)
Improved
Improved read query performance for DQL queries using array_contains (#11338)
Improved
Make actix-web keep alive timeout configurable for Big Peer (#9578)
Added
Preliminary support for runtime configuration using DQL ALTER SYSTEM and SHOW statements (Hook up DQL entrypoint to parameter store #10401)
Improved
Peers use latest supported protocol version, even if the application is using backwards-compatible CRDT formats. (Disentangle protocol version from protocol flags #10875)
Fixed
Fix deadlock when replicating attachments to Big Peer (Fix AttachmentsPeer deadlock when setting up outbound backoff #11036)
Added
Improve read query performance on queries with multiple ranges (#10605)
Fixed
Fix incorrect DQL literal comparison behavior in big peer planning. This fixes a correctness issue where big peer could return no results when it should return all documents in a collection. This also makes big peer avoid a full scan in certain cases where it should return no results. (#10940)
Added
SDK version/language/platform and device name are now included in the small peer info document. (#10515)
Improved
Improved read query performance by pre-filtering non-matching document ids (#10620)
Improved
Improve memory usage and performance of Documents (#10736)
Improved
Performance by implementing bipartite distance-aware mesh topology (#10632)
Fixed
Mesh would choose random connections (#10711)
Fixed
Fix `NOT` on non-Boolean panics on big peer (#10762)
Fixed
Fixed a bug with Ditto's internal crash handler (#10022)
Fixed
Initial logging events now use the same format as all other logs (#10611)
Fixed
Fix hashing bug in Big Peer store node controller
Fixed
Fix a bug preventing updates to clusters from rolling out properly.
Fixed
Fix bug related to Kafka transaction chunking
Fixed
Improved run-time validation of corrupted attachments being inserted into documents (#10552)
Synchronized version bump release — no changes
Deprecated experimental time-series HTTP APIs
Released: Mon Oct 30, 2023
Fixed
Big Peer queries matching on nested objects or arrays return the expected documents (#10382)
Fixed
Addressed a warning from SQLite that sometimes occurs on startup about a schema change (#10501)
Released: Wed Oct 11th 2023, 5:43 pm
Fixed
Fixed HTTP API output format for Attachments when using SerializedAs::LatestValues
Improved
Remove doc_ids from requery_required message in CDC
Improved
Reduced metadata accumulation after eviction by clearing remote summaries
Released: Thu Sep 21st 2023, 3:40 pm
Added
Add attachments support for HTTP API RPC v4
Released: Thu Sep 14th 2023, 3:40 pm
Improved
Optimized Big Peer internal data serialization performance.
Improved
Optimized the updates of internal system collections when doing writes with the HTTP RPC API.
Fixed
Fixed a bug around where queries could return an older version of documents around a server reboot.
Released: Wed Aug 16th 2023, 11:48 a.m.
Added
Add RPC V4 HTTP API.
Improved
Made the Big Peer more resilient to Kafka broker disconnects
Improved
Improve our HTTP API implementation to reduce Timeout related errors
Added
Update our OpenAPI specification to include the new count request.
Released: Thu Jul 27th 2023, 5:22 pm
Fixed
Fix bug in Big Peer device certificate CA rotation process
Released: Tue Jul 25th 2023, 5:20 pm
Improved
Improved performance when multiple peers with distinct permissions work with the same cloud endpoint
Released: Wed Jul 19th 2023, 5:27 pm
Fixed
Various fixes and improvements for better reliability, security, and performance
Released: Thu Jul 13th 2023, 8:27 am
Fixed
Minor bug fixes and performance improvements.
Improved
Changed: new serialization format improves efficiency of replication, particularly in the Big Peer
Released: Fri Jul 7th 2023, 5:06 am
Fixed
Fix detection of broken stream when there are multiple apps in the transaction log
Released: Tue Jun 27th 2023, 1:53 pm
Added
Initial release of the lazy deserialization optimization for the Big Peer.
Improved
Tighten network policies for increased security and stability
Released: Tue Aug 23rd 2022, 1:27 pm
Fixed
Fix bug where Big Peer would sometimes panic if an SDK peer managed to create multiple Ditto instances with the same persistence directory. We are seeing this error more than we originally hoped. This change makes any occurrence non-fatal until we fix the root cause. There will be another followup change that will re-enable alerting for this event.
Released: Thu Aug 18th 2022, 1:27 pm
Fixed
Fix bug where HTTP API upserts would not always be reflected in subsequent find requests.
Improved
Properly consider limit+offset+order_by for active queries
Released: Sun Aug 14th 2022, 1:08 am
Fixed
Minor bug fixes and performance improvements
Released: Wed Aug 3rd 2022, 1:08 am
Added
Supports Ditto SDK through version 2.0.x.
Released: Mon Aug 1st 2022, 1:08 am
Fixed
Minor bug fixes and performance improvements
Released: Sat Jul 23rd 2022, 1:08 am
Fixed
Minor bug fixes and performance improvements.
Added
Add collection and document id to RequeryRequired requests as part of the live query WebHook and CDC.
Released: Tue Jul 12th 2022, 1:08 am
Fixed
Minor bug fixes and performance improvements
Released: Fri Jun 24th 2022, 1:08 am
Fixed
Minor bug fixes and performance improvements
Released: Mon Jun 6th 2022, 1:08 am
Fixed
Minor bug fixes and performance improvements
Released: Thu May 26th 2022, 1:08 am
Fixed
Minor bug fixes and performance improvements
Released: Thu May 12th 2022, 1:08 am
Added
Supports Ditto SDK through version 1.1.6
Added
Parity between document and timeseries HTTP APIs
Added
HTTP API calls that were GET with a body now also accept POST. They will accept both methods and will behave same no mater which method is used.
Added
Supports Ditto SDK through version 1.1.5, including improvements to replication efficency.
Fixed
Adds HTTP API RPC Remove and Update commands:
With remove, users may provide a query and delete all matching records. The update command mimics Ditto SDK update behavior and applies a series of updates to all matching documents. This includes: set, increment, and replaceWithCounter.
Added
All HTTP API Headers used by Ditto will be prefixed with X-DITTO-
X-HYDRA-ENSURE-DELETE is now X-DITTO-ENSURE-DELETE
X-HYDRA-CLIENT-ID is now X-DITTO-CLIENT-ID
X-HYDRA-ENSURE-INSERT is now X-DITTO-ENSURE-INSERT
X-ENSURE-INSERT is now X-DITTO-ENSURE-INSERT
Fixed
The old header names are now deprecated.
Updated 04 Sep 2024
Did this page help you?