Skip to content
Source
Sign inSign up
TanStack/db

Remove deprecated features for the first RC #1319

Send to my agent
ClosedKyleAMathews(GitHub profile, opens in a new tab) opened this issue 2 comments

Look through the codebase and delete them.

  1. Follow-up for #1979 before the first RC: live-query .select() output names can collide with system virtual write-status fields. With a pending source row ($synced = false, $hasPendingWrites = true), explicitly selecting { $synced: row.$hasPendingWrites } can make the derived collection publish $hasPendingWrites = false even though the write is still pending. The pair remains internally consistent, but the reported status is wrong. This requires an unusual explicit alias to a reserved $ field; ordinary projections are unaffected.

    For the RC cleanup, make system-generated virtual metadata authoritative over conflicting selected output names (including $hasPendingWrites after $synced is removed), and add a public live-query regression test for a pending write and a colliding projection.

Sign in to join this conversation.