* chore: release v0.9.87
* chore: release notes for v0.9.87 list the player fix merged since the cut
* chore: release notes for v0.9.87 list the studio fix merged since the re-cut
* chore: release notes for v0.9.87 list the docs change merged since the re-cut
* chore: release notes for v0.9.87 list the CLI fix merged since the re-cut
* chore: release notes for v0.9.87 link #8624 to its own pull request
* fix(studio): a preview frame served while its page loads keeps Studio's paused-frame decoder
servePausedVideoFrames closed its decoder host on the frame's next `load`.
A shadow reload is served while its document is still `interactive`, so that
`load` is the same document finishing: the host closed, aborted the decode
already in flight without a reply, and the runtime's preview seek waited out
its five-second cap. Every shadow reload in an embedding app then promoted
about five seconds late.
The host now closes only once the frame holds a different document (a frame
Studio cannot read still closes on its next load), and a close answers every
ask in flight with `failed` so the runtime falls back to its own frames at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(studio): keep only the paused-frame host's own-load fix
Closing the host on the frame's next document is the fix. Answering in-flight
asks on close only helps a frame Studio cannot read, which no reported bug
reached; it goes, with its test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(studio): closeOnNextDocument's name carries what its comment said
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* test(studio): a second sealed resize of a scaled layer starts from its saved size
* fix(studio): a second sealed resize of a scaled layer no longer jumps and saves the jump
* test(studio): count and time the two-resize bench cases
* test(studio): a sealed frame's GSAP values are read again after a save reruns its script
* fix(studio): a second sealed resize scales from the size the first one saved
* test(studio): leave GSAP value reads out of the sealed save's sent-edit list
* refactor(studio): name the sealed rerun's re-read so the answer handler stays simple
* test(studio): a sealed drag on GSAP's route leaves no offset on the stand-in, one re-read per rerun
* fix(studio): a sealed drag that GSAP saves clears Studio's offset, as an unsealed one does
* fix(core): a film without a declared size reports its measured size to a sealed Studio
* fix(studio): say why a sealed press or nudge can't move a layer when the frame never answers
* refactor(studio): split the sealed press and nudge replies so each says why it didn't start
* Revert "test(studio): measure a sealed press by the element until the pointer moves (#8582)"
This reverts commit 2ce48f1502.
* test(studio): measure a sealed press by the element until it moves, unless Studio is saving
* fix(studio): say whether a waiting press waits on the frame or a save, and score it so
* refactor(studio): keep the press wait reason type private to its one owner
* test(studio): an embedding app styles a sealed pick through the public API
* feat(studio): apps embedding Studio can style a sealed pick as Studio's panel does
* test(studio): text fields and text edits in a sealed preview
* fix(studio): text fields and text edits work in a sealed preview
* refactor(core): shorter notes on edit-element markup
* refactor(studio): name the sealed text edit's steps so the code audit passes
* refactor(studio): share the text commits' steps and split the put-back check
* refactor(studio): say the sealed text edit's steps in names, not comments
* feat(core): a sealed preview's frame runs an in-place text editing session for Studio
* fix(core): a text edit session restores a removed element and ends only for its own port
* feat(core): a sealed text edit ends keeping the text when its element loses focus
* test(studio): in-place text editing in a sealed preview runs in the frame and saves
* feat(studio): edit text in place on a sealed preview's canvas
* refactor(core): drop two comments the text edit helpers' names already carry
* fix(studio): a sealed text edit saves even when the selection moved before the frame replied
* fix(studio): a sealed text edit's selection box grows with the text as it is typed
* test(studio): a sealed text edit refuses a frame reply carrying a script or handler
* fix(studio): a sealed text edit saves only text markup the frame returns
Studio re-runs the frame's own test, isTextMarkup, on the html and previous a sealed frame returns, through
textEditResult and the ended-event parser in core. A reply or ended edit carrying anything else ends the edit
with the frame's original back and saves nothing.
* refactor(core): name the frame-reply markup check instead of explaining it
* test(studio): sealed text rollback, blur before unmount, and Enter on a refused layer
* fix(studio): sealed text edits keep newer drafts, save once on unmount, free Enter on refused layers
* test(studio): a blur-ended sealed save holds the drain, and over-limit text leaves Enter alone
* fix(studio): a blur-ended sealed save holds the drain; one size check for editable text
* test(studio): sealed inline tests dispose each frame's client, so no edit outlives its test
* refactor(studio): split the sealed end reply and edit-element parsing; share hook parameters
* test(studio): one table for an inline edit's save lifecycle, live and sealed
* fix(studio): an open inline text edit settles on a drain and ends when its element goes
* test(studio): an element removed mid-edit comes back showing its original, live and sealed
* fix(studio): a live edit's element removed mid-edit comes back clean, as a sealed one does
* test(studio): inline edit rows for a reopened draft, a re-added node and removal before focus
* fix(studio): an inline edit settles only its own session and ends when its element leaves
* test(studio): a reopened sealed edit types only after the frame handled its start
* test(studio): an untouched inline edit whose element goes saves nothing and says nothing
* fix(studio): an untouched inline edit settles with no save and no message
* test(studio): inline edit tests type before they commit; an untouched commit saves nothing
* test(studio): inline text saves keep their order per heading and a refused redraw shows after cancel
* fix(studio): inline text saves land in begin order per heading; an open edit shows a refused redraw
* test(studio): the sealed test frame reloads with a new runtime over the same heading
* refactor(studio): keep the rich text save order in one ref
* test(studio): a held lookup belongs to the save that reached it
* test(studio): inline text rows for late end replies, Design panel saves and refused redraws
* fix(studio): text saves land in request order per target; the canvas shows the newest landed save
* test(studio): Design panel rows edit a plain paragraph the panel can write
* test(studio): round-8 rows for late blurs, panel saves, skipped saves, reloads and retired edits
* fix(studio): the save pipeline owns the newest saved text per target, for every writer
* test(studio): a panel save made over an open inline draft saves the draft first
* fix(studio): a failed first text save draws the file again through the save drain
* test(studio): reload rows keep one hook across the reload, as the app does
* refactor(studio): move a text save's write steps out of the text commit hook
* fix(studio): the rich-text save imports the resync it uses from the moved steps
* test(studio): round-9 rows for an added field, an end in flight and a write after a cancel
* fix(studio): panel text saves plan against what landed and wait for a draft already ending
* test(studio): round-9 rows pin the added field whole and the superseded panel save
* test(studio): the added-field row keeps the space between the fields that were there
* test(studio): generated inline text sequences, sealed and unsealed, on the shared preview harness
* test(studio): a full reload loads the landed file, and an open edit ends at the sequence's end
* test(studio): each generated text seed reports every mismatch, sealed and unsealed
* test(studio): the text mount re-renders on each selection, and keys reach only an element in an edit
* test(studio): write fates follow write order per seed, and the model keeps frame reloads
* test(studio): the text table names writes Studio skipped, and compares styles in one order
* test(studio): saves queued on an element land before a new inline edit on it opens
* fix(studio): a new inline edit opens after the element's queued text saves settle
* test(studio): the queued-save rows act when the caret shows, as a person does
* test(studio): rows that reopened an edit before its save settled now open it after
* test(studio): the text table's frame reload waits for a live edit, as Studio's reload does
* test(studio): deadline seeds check a lost save is reported; reload-during-edit seeds wait on row 41
* test(studio): a sealed text edit holds a preview reload until it ends
* test(studio): reload-during-edit text seeds hold parity again
* fix(studio): a sealed text edit holds a preview reload until it ends, as an unsealed one does
* test(studio): the text table holds a reload by the preview's gesture document, as Studio does
* fix(studio): a sealed text edit's held reload waits for the end's reply, which carries the draft
* test(studio): a sealed edit's held reload waits for the end reply, and the port timeout releases it
* test(studio): a reload stays held until a frame-ended sealed edit's save has read the frame
* fix(studio): a frame-ended sealed edit holds the reload until its save has read the frame
* test(studio): the text table's reload also waits for pending saves, as Studio's shadow reload does
* test(studio): typing in a sealed edit whose start reply missed its deadline is saved
* fix(studio): a sealed edit whose start reply never came saves what was typed or says it could not
* test(studio): two panel saves on different fields of one element both land
* fix(studio): a panel text save composes on what landed, so a save on another field never drops it
* fix(studio): an older panel text save is superseded only by a newer one on the same field
* test(studio): a sealed edit stays open when its start reply misses the deadline
* fix(studio): a sealed edit whose start reply misses the deadline stays open and ends like any edit
* test(studio): a text table gesture waits for a reload in flight, as a person sees the frame first
* test(studio): the text table reads the caret after loads and edits only fields the panel shows
* test(studio): the text table tracks each text save as Studio's edit context does
* test(studio): a panel remove that ended an edit lands though a newer save claimed first
* test(studio): the remove rows answer the newest edit's end first, as the frame may
* test(studio): the remove rows open a second edit before the newer save, as seed 31 does
* test(studio): the remove rows release both held ends, newest first
* fix(studio): a field text save that waited on an edit lands though a newer save claimed first
* test(studio): a failed field save takes back its draw, and the next write waits for that
* test(studio): the failed add row saves from the panel as the canvas shows it
* fix(studio): a failed field text save takes back its own draw before the next save plans
* test(studio): a newer unsealed field save never writes a failed save's draw
* fix(studio): a field save re-reads its element only after an earlier save on it
* fix(studio): the newest failed text save still draws the file again; older ones take back their draw
* test(studio): the text table answers a request a released write sends while it settles
* test(studio): the text table releases a write that starts waiting while it settles
* refactor(studio): one serialization rule for text saves, and the queued-save wait clears its timer
* test(studio): the box-wake row's frame geometry carries its layout, as frames now send
* test(studio): a sealed text edit keeps the keys until it ends, in the sealed keyboard walk
* test(studio): a sealed text edit holds the frame's keyboard until it ends, then gives it back
* fix(studio): a sealed text edit keeps the keyboard in the frame until it ends
* test(studio): the keyboard rows' frame stays out of the DOM, so only the test loads it
* test(studio): a sealed text edit the frame never ends closes once Studio takes focus back
* fix(studio): Studio taking focus back ends a sealed text edit and its keyboard hold
* test(studio): the sealed keyboard walk ends an edit the film never ends by focusing Studio
* test(studio): the sealed keyboard walk follows the preview a save reloads
* test(studio): the sealed keyboard walk retries a step whose preview a save replaced
* test(studio): the sealed keyboard walk picks the heading again in the reloaded preview
* refactor(studio): split the text save helpers and harness so each stays within the audit limits
* test(studio): the sealed keyboard walk finds the live preview each step and types once it has focus
* test(studio): the sealed keyboard walk picks the heading again when a reload eats its Enter
* test(studio): the sealed keyboard walk retries a canvas pick a reload swallowed
* refactor(studio): group the text hooks' refs and session-end effects so each stays within the audit
* test(studio): a double press opens a sealed heading's text edit
* test(studio): split the seeded text sequences over two files so each fits the flake gate
* test(studio): an inline edit's text survives a panel edit of another field after it
* build(producer): its size budget covers the frame runtime's sealed text editing
* fix(studio): a sealed double press opens the layer it picked, at the press, and a lost edit says so
A sealed first press is often on a layer the frame has not picked yet, so sealed presses pair by time and place and the second must land on the selection's box. The caret goes where the press landed, and a frame that never answers an end is reported through the edit session's toast, which Desktop provides.
* fix(studio): a sealed text edit hands the keyboard back to the control that opened it
* test(studio): a panel remove made before the panel shows an add keeps the added field
* test(studio): a sealed inline text edit typed in steps saves as one undo step
* refactor(studio): a sealed press learns it hit the selection box from its own event
The selection box stays as on main. The press handler splits into pairing and opening, sealed presses pair by place in isDoublePress, and the edit session's existing complexity gets the next-line ignore its peers use.
* fix(studio): keep a sealed drag's waiting outline until the frame draws its replay
* fix(studio): wait on the frame a reload swapped in before showing a sealed replay
* fix(studio): only the newest sealed replay's draw clears the waiting outline
* fix(studio): give the sealed waiting outline one owner per overlay mount
* refactor(studio): the waiting outline decides what a replay's end means
* fix(studio): a sealed gesture recording keeps the layer's offset and the film's scale
* fix(studio): a sealed recording starts from the frame's static opacity and scale
* fix(studio): a recording stops at the layer's end and drops a stale sealed start
* fix(studio): a recording's last sample snaps to a frame at or before the layer's end
* chore(producer): raise the unpacked size budget to 5% above what main ships
* fix(studio): a sealed save draws in the reply's task and spares a regrab's draft
* fix(core): a sealed patch redraws a repeating timeline on the pass it's on
* test(studio): a sealed resize moves its box by the rounding remainder an unsealed one measures
* fix(studio): a sealed resize keeps the dragged corner on the pointer at fractional sizes
* test(studio): a sealed resize's remainder matches on a box with its own scale
* fix(studio): a sealed resize of a scaled layer keeps its corner on the pointer at rest
* test(studio): a sealed resize moves its box by the rounding remainder an unsealed one measures
* fix(studio): a sealed resize keeps the dragged corner on the pointer at fractional sizes
* fix(studio): arrow keys nudge the selected element in a sealed preview
A sealed preview's selection is a stand-in that is never in the page, so the nudge's check that the element is still
there refused every key and nothing moved. It now uses the same check the selection publisher uses, which keeps a
sealed selection until it is replaced.
* fix(studio): a sealed nudge moves an animated element by its tween and saves where it was drawn
A sealed preview's selected element is a stand-in with no animation or translate of its own, so a nudge guessed both from an empty page: it wrote a plain translate over the stylesheet's and the element landed elsewhere after a reload. The nudge now waits for the frame's gesture-start read, the one a press uses, and keys pressed meanwhile join the burst.
* test(studio): pass the nudge its frame refs in the undo paint test
* fix(studio): a sealed move on GSAP's route lands where it was drawn, not twice as far
When a move ends, the sealed frame kept the translate the gesture drew. A move on GSAP's route saves the new position as GSAP's x and y, so the layer then showed the move twice until the frame loaded again. The frame now drops the drawn translate for those moves; a move saved as a plain translate still keeps it.
* refactor(studio): split the sealed nudge key handler so each step reads on its own
* fix(studio): a sealed nudge waiting on its frame gives way to a drag, selection or other edit
* fix(studio): an arrow pressed while a canvas press waits on the preview does not start a nudge
* fix(studio): a sealed resize on GSAP's route keeps the size it drew when it ends
* refactor(studio): name the size-keeping draft end instead of commenting it
* fix(studio): a sealed resize saved as GSAP scale drops the size it drew when it ends
* fix(studio): a sealed scale resize lands on its drop point
* fix(studio): a sealed resize keeps its drawn size unless its save wrote the size as scale
* refactor(studio): measure a scale resize's drop in helpers, live or sealed
* chore(studio): keep the resize intercept's complexity exemption on the intercept
* fix(studio): a whole-tween resize of a width/height tween says it saved the size, not scale
* test(studio): cover the resize writer's held-size and unnamed-element returns
* test(studio): reach the resize writer's no-selector refusal with an element no selector addresses
* fix(studio): read a live scale resize's pre-gesture position while its edit is shown, as before
* refactor(studio): move the scale drop-point correction out of the resize intercept
* fix(core): the motion path plugin loads from beside the page's own GSAP, never a CDN it did not name
* test(core): local root, revalidation and path-free preload rows
* fix(core): the motion path plugin never falls back to jsDelivr, nor preloads for a page with none
* fix(core): the plugin path beside GSAP is cut in linear time
* test(core): the Desktop walk film's plugin request stays on its origin
* fix(core): preload the motion path plugin only from the page's origin or a configured mirror
* fix(core): the motion path preload compares with the preview document's own origin
* fix(core): one rule decides the motion path plugin URL, bound to the document's own origin
* fix(studio-server): the plugin tag sits beside the page's GSAP as the page wrote it
* test(studio): the plugin-load fixtures name a page GSAP or a configured mirror
* test(studio): a sealed preview's key reports never act, even right after a real press
* fix(studio): a sealed preview never keeps the keyboard, so no key it reports is acted on
* test(studio): in Chrome, a key after a sealed preview takes focus reaches Studio
* fix(studio): take the keyboard back from a sealed preview once focus has settled in it
* test(studio): the sealed keyboard walk presses Delete once the clip is picked
* fix(studio): a cropped layer's outline is cut at the layer's own scale, sealed or not
* fix(core): the geometry stream keeps an element whose geometry now carries its layout size
* fix(studio): a turned layer's crop is cut at its own scale, not its upright box's
* fix(studio): a turned layer's cropped box is the bounds of its cut corners
* test(studio): crossed and mirrored crop probes in both frames
* fix(studio): crossed insets meet and mirrored layers cut their own edge in both previews
* fix(studio): the CSS scale property counts in a cropped layer's box in both previews
* fix(studio): every overlay measure reads the transform the browser composes
* fix(studio): a layer turned out of its plane takes the box the browser paints
* fix(studio): a projected transform chain takes the box the browser paints
* fix(studio): a layer inside a 3D context takes the box the browser paints
* test(studio): a paste writes only the markup it checked, comments included
* fix(studio): paste and duplicate check the file they write, after every edit to it
* test(studio): the paste check reads the saved copy's values and the file's parsed ids
* fix(studio): the paste check allows the copy as saved in the file, matched by its values
* fix(studio): a copied look rule is skipped only when it holds a tag opener
* test(studio): a paste is checked as a tree, as the preview server serves the file
* fix(studio): the paste check compares whole copies in the file as the preview serves it
* test(studio): a batch paste compares each copy only with its own candidates
* perf(studio): the paste check finds each copy by its signature, not by scanning the file
* test(player): a late timeline from the old document must not make the next load ready
* fix(player): a late timeline from the old frame document no longer makes the next load ready
* test(player): type the announce filter in the late timeline rows
* test(player): a static ready at load still asks for the runtime's held timeline
* fix(player): a static ready at load still asks the runtime for the timeline it held
* test(player): a late message the left document stamped is dropped without waiting for load
* fix(player): drop a late message from the left document, so the next is ready before its load
* test(player): the late-timeline row replays the sealed document's own timeline
* chore(player): the player's size budget sits 5% above its measured size again
* test: runtime load draws no page randomness; Studio pins the announce capability
* fix(core): the runtime's document id comes from its time origin, so renders keep their random draws
* test(core): two documents loaded at one coarsened time get different runtime ids
* fix(core): the runtime's document id is a random UUID where the browser has one
* test(studio): the viewport gate reads a virtualized timeline as on while its rows fill at load
* fix(studio): the viewport gate tells a virtualized timeline by its mounted rows, not its clips
* fix(studio): a cropped layer's outline is cut at the layer's own scale, sealed or not
* fix(core): the geometry stream keeps an element whose geometry now carries its layout size
* fix(studio): a turned layer's crop is cut at its own scale, not its upright box's
* chore: release v0.9.81
* chore: release v0.9.81 notes list the changes merged since the draft
* chore: release v0.9.81 notes list the changes merged since the draft
* test(studio): a sealed preview's key reports act only after a real press
* fix(studio): Studio acts on a sealed preview's key report only after a real press or click
* test(studio): a scrub's newest paused frame is decoded, never refused while an older one settles
* fix(studio): scrubbing across a cut shows the newest frame, not black
* test(studio): a flood of paused-frame asks decodes only the newest; a throw never stalls
* refactor(core): keep the SVG element and attribute allowlist in its own module
* test(studio): clipboard writes refuse markup a scripting preview reads differently
* fix(studio): paste and duplicate write only allowed markup unless it comes from the same file
* test(studio): copy and duplicate use only files Studio knows in the project
* fix(studio): copy and duplicate refuse a file that is not one of the project's compositions
* test(core): inline SVG with its namespace declarations pastes from another file
* fix(core): paste keeps SVG namespace declarations and checks xlink:href as a link
* chore(cli): regenerate the media-use SVG sanitizer from its moved allowlist
* test: a sealed preview's clips name their GSAP transition
* fix(studio): a sealed preview's clips keep their GSAP transition label
* fix(studio): GSAP scene and overlay clips carry their transition label too
* fix(studio): a sealed press held across a frame swap starts on the frame shown
A press made while a sealed preview changes waits, then reads where its element is over the frame's channel. It
read over the frame it was pressed on; when the change swapped frames, that frame was gone, no answer came, and the
drag was dropped. It now reads over the frame shown once the change ends, asks again once if that frame changes,
and starts from the box Studio drew when the frame never answers. A frame that answers the element is gone still
drops the press, as a scriptable preview does.
* refactor(studio): the held press's frame ask and start choice are their own steps
* fix(studio): a held press with no answer starts from its box as pressed, not as redrawn
* fix(studio): a press held across a sealed frame swap draws on the frame shown
* refactor(core): keep the SVG element and attribute allowlist in its own module
* test(studio): clipboard writes refuse markup a scripting preview reads differently
* fix(studio): paste and duplicate write only allowed markup unless it comes from the same file
* test(core): inline SVG with its namespace declarations pastes from another file
* fix(core): paste keeps SVG namespace declarations and checks xlink:href as a link
* chore(cli): regenerate the media-use SVG sanitizer from its moved allowlist
* fix(studio): rotating a layer in a sealed preview turns it from the angle its stylesheet shows
A sealed preview's stand-in carries only inline styles, so a rotate on a layer whose stylesheet sets its turn or a
centring transform started from 0 and turned about the wrong point. The frame's gesture-start answer now reports the
CSS turn (angle and where to draw it) from computed style, read by the same code Studio used, moved to
@hyperframes/core/runtime/css-rotation. The rotate draft gains a transform route, which the frame's validator now
accepts; both sides check the transform text before it can reach the saved source.
* fix(core): a sealed frame's transform text must parse as a transform list
A character allowlist let 'translate(1px' and '/*' through, so a frame could close the saved inline transform early
and swallow the element's other inline styles into it. isTransformList now folds innermost known calls until none
are left and accepts only what folds away: known function names, balanced parentheses, no comments.
* fix(studio): a menu that does not fit below opens above, never over what opened it
* test(studio): the timeline parts fixture opens its clip menu from an anchor
* test(studio): the preview regression waits for a sealed slider release to land before seeking
* test(studio): the preview regression's held media answer carries the server's CORS grant
* test(studio): the preview regression seeks only after Studio's posted seeks have landed
* test(studio): the regression's barrier takes its message only from the Studio page