Skip to content

[pull] main from tldraw:main#263

Merged
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main
Nov 12, 2025
Merged

[pull] main from tldraw:main#263
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Nov 12, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

doing fine grained diffs on the tip tap documents was no bueno

### Change type

- [x] `other`


<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Treat `props` and `meta` as nested patches, while defaulting
non-string/non-array object fields to full `put` when changed; update
diffing internals accordingly.
> 
> - **Diffing behavior**:
> - Treat `props` and `meta` as nested keys for patching via
`diffObject`.
> - For other object fields, emit `put` when changed unless values are
arrays or strings (which still diff/append).
> - Maintain fine-grained handling for arrays (`diffArray`) and strings
(append optimization).
> - **API/Internal changes**:
> - `diffRecord` now calls `diffObject(prev, next, new
Set(['props','meta']), legacyAppendMode)`.
> - `diffObject` signature includes `nestedKeys` and uses shallow
equality to choose between nested `diffValue` vs `put`.
> - Recursive calls to `diffObject` pass `undefined` for `nestedKeys` to
limit deep nesting.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
8329710. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@pull pull Bot locked and limited conversation to collaborators Nov 12, 2025
@pull pull Bot added the ⤵️ pull label Nov 12, 2025
@pull pull Bot had a problem deploying to deploy-staging November 12, 2025 21:13 Failure
@pull pull Bot had a problem deploying to deploy-production November 12, 2025 21:13 Failure
@pull pull Bot requested a deployment to deploy-staging November 12, 2025 21:13 In progress
@pull pull Bot merged commit 8ac4951 into code:main Nov 12, 2025
6 of 26 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant