* chore: release v0.9.90
* docs: v0.9.90 summary names each change as its own pull request does
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* docs: add #8703 to the v0.9.90 notes
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* docs: add #8710 to the v0.9.90 notes
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* docs: add #8713 to the v0.9.90 notes
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* chore: release v0.9.89
* chore: release notes for v0.9.89 list #8657 merged since the cut
* chore: end the v0.9.89 note for #8657 with a period like the others
* chore: release notes for v0.9.89 list the 13 changes merged since the cut
* chore: release notes for v0.9.89 list every change merged while it was queued
* fix(engine): read playlists in linear time and bound the whole walk
The trailing-blank trim and the ffconcat file pattern backtracked, so one very long line took
quadratic time on the event loop. Both are now single scans. A line longer than ffmpeg reads
(4095 bytes) refuses the list before it is parsed, and the walk refuses past 16 MiB of list
text or 50,000 entries across all nested lists.
* test(engine): playlist walks finish in milliseconds and stop at their budget
Covers a single 8 MiB line in both list shapes, the 4095-byte line limit, ffconcat file lines
read as before, and the entry and byte budgets across nested lists.
* refactor(engine): keep the playlist parser at its comment share
A render's compile can start ffmpeg and ffprobe children (the animated GIF to VP9 and HEIC to JPEG conversions, and media probes). They now end with the compile, however it ends, and their temp output goes with them.
- The compile's abort signal reaches the GIF and HEIC conversions.
- The compile worker reports each child and its temp file to the parent, which kills the children still recorded and removes their temp files just before ending the thread, only inside the compile's own folders.
- The conversions carry -timelimit (CPU seconds, enforced by the kernel) and -fs (output bytes); a capped output is rejected, not cached.
- Temp names carry a uuid, since worker threads share process.pid.
Co-authored-by: 郑润泽 <506166760@qq.com>
* chore: release v0.9.88
* chore: release notes for v0.9.88 list #8634 merged since the cut
* chore: release notes for v0.9.88 list #8618 merged since the cut
* chore: release notes for v0.9.88 list #8618 in its section, after the summary
* 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
* 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
* fix(engine): a heavy page starts only as many capture browsers as the machine's memory holds
Worker 0 loads the page alone; its browsers' measured memory caps how many more launch, and the frames are split again across the ones kept. A worker phase that starts after the pool was cancelled no longer leaves its own failure unhandled.
* refactor(engine): drop a frame-range update the capped first worker never reads
* chore(engine): its packed size budget grows by the 1,040 bytes the worker memory cap adds
* test(engine): the re-split pool test builds its folder paths the way Windows does
* chore: release v0.9.80
* chore: release v0.9.80 notes list the changes merged since the draft
* chore: release v0.9.80 notes list the changes merged since the draft
* test(engine): a tunnel the egress proxy drops fails the download after its one retry
* fix(engine): an asset download fails once when the egress proxy drops its tunnel
undici 7 keeps a request queued and reopens the tunnel with no pause or limit when the proxy closes it without a reply. The proxy transport's pools now report that close as a reset, so the request fails and the downloader's one retry is the bound.
* test(studio): a paused untagged video is drawn as the export reads it
* fix(studio): a paused untagged video shows the colours the export renders, not BT.709
* chore: release v0.9.78
* chore: list main's latest changes in the v0.9.78 notes
* chore: add the history fix to the v0.9.78 notes
* chore: list main's latest changes in the v0.9.78 notes
* revert(cli): hold the proxy fix and its Node floor for v0.10.0
This reverts commit 2960319749 (#8311), except a stale fallow-ignore line it had removed.
* chore(ci): allow the revert to delete the three files the proxy fix added
* fix(cli): a proxy that drops the connection fails a request once instead of retrying nonstop
Raises the minimum Node.js to 22.19, which undici 8 requires.
* fix(cli): drop the comments the comment-share check refuses
* docs: the engine, producer and CLI skill say Node.js 22.19
* test(engine): the dropping proxy matches its host exactly
* chore(skills): rehash the CLI skill after the merge
* docs(skills): keep the CLI skill within its size budget
* chore(skills): rehash the CLI skill after the trim
* feat(engine): a late image's load time is logged when it arrives
A frame that shows a still-loading image waits for it, which can hold a render for minutes, but nothing said where that time went. When a late image arrives, the engine now logs [FrameCapture:late_image_arrived] with the frame, whether it came from the page's own server, the path depth and extension, and its resource timing split into queued, connect, first byte and download. No host, query or file name is logged.
* fix(engine): a late image whose request timing is hidden logs only its total
For another origin without Timing-Allow-Origin, Chrome zeroes connectStart, connectEnd, requestStart and responseStart, so the split read a slow server as a slow download. Such an entry now logs requestedAtMs and totalMs with split: not-exposed; every record also carries totalMs.
* test(producer): a cancel stops a media source probed in place at its URL
* fix(producer): pass the render's cancel to probes of a source read at its URL
* test(engine): a cancelled metadata probe rejects with ffprobe's own error
* test(engine): a cancel stops frame extraction while it probes a source at its URL
* fix(producer): pass the render's cancel to every render-time probe of a source
* fix(engine): a cancelled metadata probe rejects with the cancel's reason
* test(engine): probe a local path in the metadata cancel test, so no TLS check runs first
* chore: release v0.9.73
* docs(release): add main's later fixes to the v0.9.73 notes
* docs(release): add main's newest fixes to the v0.9.73 notes
* docs(release): add main's latest fixes to the v0.9.73 notes
* fix(core): stop audio automation from crashing the preview renderer
Bent automation segments were booked with setValueCurveAtTime. When the audio thread
is mid-render and a curve's start lands after currentTime but before the next render
quantum, Chromium moves the curve's start to that quantum but leaves its end marker
where it was. The curve then runs past the next event, and if that event sits inside
the same quantum, AudioParamHandler::ValuesForFrameRangeImpl fails
CHECK_GE(fill_to_frame, write_index) and the renderer aborts.
Every segment is now a setValueAtTime at its start and linear ramps through the same
sampled points. A value curve interpolates linearly between its points, so the values
are the same. With no curves left, the refused-curve fallback (emitRamps) and the
curve-overlap tests go.
The set at each segment's start also fixes straight segments ahead of the playhead:
they ramped from the moment playback started instead of holding the first point's
value until the clip reached it.
* test(core): keep the clamping tests, aimed at ramp-only automation
The branch deleted audioFxAutomation.clamping.test.ts, which the no-deletions check refuses.
Its two cases still matter with ramps: a lane booked behind the audio clock finishes at its
last value, and one booked ahead of it books no value curve.
* test(engine): the browser automation test expects the bend the lane draws
The scheduledAt=0.024 case expected a straight 0.5 to 0.7 line after the playhead. That was
the old fallback: Chrome refused the clamped value curves and they were rebuilt as one ramp
per segment, flattening the bend. With ramps through the sampled points the bend is kept,
and the rendered output matches those points within the same 0.000001 tolerance.
Against the scheduler on main the updated case fails by 0.0685 (the flattened bend); here it
passes three runs in a row.
* fix(studio): a video with no size of its own keeps its file's size while a lighter copy plays
The preview plays a smaller copy of a large video, and a video the film gives no
size took the copy's size: a 1920x1080 file in a 1080p film drew at 456x257 at
Quality 1/2 and 608x342 at Full, while a render draws it at 1920x1080. While a
copy plays, a rule keyed by the copy's address now gives the video its file's
shown size (its pixels' aspect and turn included), at zero specificity so any
size the film's own CSS sets still wins. Studio's media facts now carry the
pixel aspect and turn, read by the same code the engine uses.
* fix(studio): size only a video the film leaves unsized while its copy plays, as Chromium lays it out
A video whose box is its file's own size (300x150 before the file loads) gets a
plain width and height at that size while a smaller copy plays, through a
preview-only mark and a rule keyed by mark and copy address. A video the film
sizes in either direction is left to the film's CSS, so authored aspect
ratios, box sizing, containment and earlier rules lay out as before. The size
is the original's decoded size when the browser has it, else its facts with
narrow pixels stretching the height as Chromium does. ffprobe is asked for the
side data list, which 4.x also knows, in Studio and in the CLI. A video shown
with object-fit none or scale-down keeps its file.
* fix(studio): an unsized video keeps its size when its copy is made cold behind a still
* test(core): a held video gets its file back when waiting for its copy throws
* fix(core): a copy wait that throws counts as not served, so a held video gets its file back
* test(core): each proxy test resets its own runtime's copy reporting, so none reports into the next
* test(core): the stale-runtime test runs past the report throttle, as a finished test does
* test(core): a framed proxy test's runtime must not report its copies into the next test
* test(core): every proxy test runtime loaded fresh has its copy reporting reset after the test
* fix(engine): bound the seek-index rebuild copy to a single mov/mp4 source
The seek-index rebuild now runs only for a source ffprobe reads as one
mov/mp4 file, and reads it with the mov demuxer, so a playlist or list
input is never copied. The copy is capped with -fs at twice the source's
size plus 1 MiB; a copy that reaches the cap is removed and extraction
continues as it does without a rebuild. The copy also waits for an
extraction slot like other ffmpeg work.
* fix(engine): remove the seek-index copy folder when the copy throws
The stream copy now runs in try/finally, so its temp folder is removed
whenever the copy is not kept, including when ffmpeg fails to start.
* chore: release v0.9.71
* chore: release notes for v0.9.71 link the commit after the first cut
* chore: release notes for v0.9.71 add the two commits merged after the review
* fix(engine): extract frames from MP4s whose seek index leaves out the first keyframe
Some MP4s (seen from VLC's muxer) carry a sync-sample table (`stss`) that omits the
IDR at the start of the file. Browsers ignore `stss` and play them normally, but every
ffmpeg input seek before the next listed keyframe fails ("Cannot find an index entry
before timestamp ... could not seek to position"), so frame extraction for that window
comes back empty. With JPEG frames the encoder then opens at EOF and ffmpeg exits
non-zero, surfacing as "Video source could not be decoded"; with PNG it exits 0 and
surfaces as zero_output. In distributed renders this fails every chunk that samples the
clip before its second keyframe, and the render fails after the retry pass.
When extraction's stderr shows that seek failure, stream-copy the source into a fresh
MOV (same packets, no re-encode; the muxer rebuilds the index from the packets' keyframe
flags), clear any partial frames, and extract once more from the copy. The copy lives in
its own temp dir and is removed afterwards; the result still reports the original srcPath.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(engine): keep the seek-index retry under the file's comment share
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* test: pages holding an SVG element named template
* fix: read template content only from HTML templates
* test: SVG elements named template in previews, inline mounts and lint
* fix: treat only HTML templates as scenes and inline mounts
* test: scene ids next to SVG elements named template
* fix: take scene ids only from HTML templates
* test(parsers): a tab in a concat list path is kept
* fix(parsers): refuse only what ends a concat list line, so a tab in a folder name renders
* test(parsers): a real ffmpeg join keeps every clip under a tab-named folder
* test(parsers): end ffprobe options before the joined file in the tab join test
* test: a concat list refuses paths whose folder name holds a line break
* fix(engine): write every concat list through one writer that refuses control characters
* test: name the line-break folders without slashes; skip them on Windows
* Revert "fix(engine): write every concat list through one writer that refuses control characters"
This reverts commit 97d482340a.
* Reapply "fix(engine): write every concat list through one writer that refuses control characters"
This reverts commit 7d723fd276.
* test(engine): a chunk concat list ends with a newline