Skip to content

Release 2.6.1#298

Merged
tuj merged 17 commits into
mainfrom
release/2.6.1
Mar 18, 2026
Merged

Release 2.6.1#298
tuj merged 17 commits into
mainfrom
release/2.6.1

Conversation

@tuj

@tuj tuj commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

tuj and others added 17 commits December 17, 2025 12:32
The media array sent to the API was append-only — removing or replacing
media in a content field left stale IRIs in the media array. Additionally,
clearing one media field would wipe all media associations including those
from other fields. Extract rebuildMediaFromContent utility that derives
the media array from content fields on every change, and add tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
rebuildMediaFromContent only scanned explicitly tracked mediaFields,
which start empty and only get populated when handleMedia is called.
This meant the first media change on a slide with multiple media fields
would drop media from untouched fields. Now also scans all top-level
content keys to catch untracked media arrays.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6592: Fix slide media array not syncing with content on media removal
@tuj tuj self-assigned this Mar 6, 2026
@tuj tuj added the release label Mar 6, 2026
@tuj tuj merged commit b41d58c into main Mar 18, 2026
4 checks passed
@tuj tuj deleted the release/2.6.1 branch March 18, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants