Repository navigation
v2.0.3
What's Changed
Fixed
- A write through
WorkerDataAdapterthat the worker refuses now rejects. Before this fix, an insert of an id that already exists resolved as if it had been written, and so did an update that would have moved an item onto a taken id. A caller that claims something exactly once by inserting its id and catching the duplicate error claimed it twice. - Two inserts of the same id that reach the worker in one batch no longer fail together. The first is written and only the second is refused as a duplicate. Before this fix, the storage refused the whole batch, including the first insert and any unrelated insert in the same batch.
- Regular expressions in selectors now retain their patterns and flags in query cache keys. Concurrent searches with different expressions no longer reuse each other's results.
DefaultDataAdapternow computes live-query cache updates once per collection batch. A 64-record batch with an active query computes one update rather than 64; explicit reads inside the batch still see current data, and repeated changes to the same ID publish its final state.
Full Changelog: v2.0.2...v2.0.3