Skip to content

fix(mongodb): edit and delete rows by their stored identity - #4028

Merged
datlechin merged 5 commits into
mainfrom
fix/mongodb-write-by-row-locator
Nov 4, 2026
Merged

datlechin merged 5 commits into
mainfrom
fix/mongodb-write-by-row-locator

Conversation

@datlechin

@datlechin datlechin commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Edit and delete MongoDB rows by their stored _id on Mac and iOS, including after reconnecting or running use.
  • Keep the stored identity in Data Rewind and refuse rows without a locator.
  • Match _id by value and type with simple collation, so a different document cannot replace the loaded row.
  • Use PluginKit 42 with minimum 19, shared with other changes before the next release.

Test plan

  • Added UUID, 24-hex string, numeric string and ObjectId edit/delete cases, reconnect and database-switch cases, and missing-locator refusals.
  • Added Mac save and rewind coverage, plus exact numeric-type and collation checks. Updated MongoDB statement expectations for the intended locator behavior.
  • Mac build, lint and localization checks passed. ABI comparison against v0.85.0-beta.1 passed with kit 42 and minimum 19.
  • Focused Mac tests and the plugin build are queued. iOS tests are inconclusive locally because no simulator runtime is installed; CI runs them.
  • A local docs patch passes the source checks. Publishing the PluginKit 42 and MongoDB notes remains outside this branch.

@datlechin datlechin added the backport release/0.85 Merged into main; pick onto release/0.85 label Nov 3, 2026
@datlechin
datlechin enabled auto-merge (squash) November 3, 2026 18:40
@datlechin datlechin added the backport release/0.84 Merged into main; pick onto release/0.84 label Nov 3, 2026
@datlechin
datlechin merged commit 7181c68 into main Nov 4, 2026
10 checks passed
@datlechin
datlechin deleted the fix/mongodb-write-by-row-locator branch November 4, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release/0.84 Merged into main; pick onto release/0.84 backport release/0.85 Merged into main; pick onto release/0.85

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant