Patch Changes
-
Keep a settled optimistic row visible while its server row waits behind an earlier persisted write. Previously, two quick writes to one row in a persisted Collection could briefly show the row before the second write. (#2208)
-
LocalStorage Collections with the default JSON parser now reject an insert or update whose row a restore could not return, such as a row with a function, symbol,
NaN,Map,Set, orundefinedarray entry. The write'sisPersistedpromise rejects withSerializationError, nothing is written, and the optimistic row rolls back. Previously, JSON silently dropped or replaced these values, so peers and later sessions saw a different row than the writer. (#2207)IndexedDB Collections now report a value that structured clone cannot store as
SerializationErrorinstead of a rawDataCloneError. TheSerializationErrormessage no longer says "JSON".