Repository navigation
release: prepare 0.9.1 - #233
Merged
Merged
Conversation
Bump package.json, package-lock.json, src/core/version.ts, and the CHANGELOG to 0.9.1, move the deployment evidence manifest and its pins to 0.9.1, note the one full --incremental build and the Satori 0.64.3 comparison in the upgrading guide, and add the 0.9.1 release notes. The Socket baseline still certifies 0.8.4; moving it to the published 0.9.0 follows once its Socket export is imported.
…e badge with it Import the Socket CLI deep score of the published metaplate@0.9.0 (socket package score npm metaplate@0.9.0 --json, captured 2026-12-02, raw export sha256 e00e3bd39286efea756f9a552031229d02c26f1711701e5aeebc301658319c35) and move the importer, disposition verifier, their tests, and the README Socket badge from 0.8.4 to 0.9.0. The package scores 79 overall; its own alerts are unpopularPackage (medium) and urlStrings (low). No critical alert. Two high alerts keep their time-bounded dispositions (expiry 2027-04-30): - string.prototype.codepointat@0.2.1 carries over; Satori 0.64.3 still pins @shuding/opentype.js 1.4.0-beta.0, which reaches it. - obfuscatedFile now names caniuse-lite@1.0.30001829. Against the reviewed 1.0.30001828 tarball, only the version and ten packed data files changed, each a module.exports object literal; every file under dist/, including the decoders, is byte-identical, and no changed file uses require, eval, Function, import(), the network, the filesystem, child_process, or process. It was published by GitHub Actions through npm trusted publishing with SLSA v1 provenance, and the tarball matches the registry's sha512 integrity. The lockfile moves the development-only caniuse-lite to 1.0.30001829 so the disposition covers the resolved version.
…ncremental - A second render in one process (runCli called twice) imports the cached render module, so its top-level reads are not made again; they were dropped from the manifest, and later builds reused the stale card for good. Reads made outside any card are now kept for the life of the process, latest digest per file, and a new tracker starts with them; this render's own reads replace carried ones, so a default-export function that re-reads a file records the bytes it drew. - A card is no longer reused when this run's top-level reads differ from the ones its entry recorded, such as a logo chosen by an environment variable. - takumi-js joins the hashed renderer peers, so upgrading Takumi renders metaplate/takumi plates again instead of reusing every card. - An unreadable inputs entry names the error code and where relative paths resolve, and a URL written as a string is refused rather than read as a relative path. - Manifest input paths come from manifestInputPath, tested against path.win32 for other drives and UNC paths as well as path.posix.
Complete the release notes' Socket baseline and the review fixes, and stop claiming the manifest never names local directories: it is published with the site unless --manifest points outside --out, and files on another drive or a UNC path keep absolute paths. render-cli.md and the recipes' privacy note say so, and describe renders repeated in one process. The CHANGELOG records the takumi-js hashing, the in-process fixes, the RenderInputsOption export, and the development-only cross-spawn and minimatch audit fixes. The rendering, edge, and fonts guides name Satori 0.64.3 as the audited release; WOFF2 parsing, <style> rules, the standalone and layout.wasm exports, and the lineClamp rules were each re-checked on it.
…nges metaplate preview watched only the render module and its local imports, so editing a logo, an artwork file, or a product photo left the gallery stale until a code file was saved. Each preview generation now gets a RenderInputTracker, created before the module loads, and each card renders inside tracker.collect. The files a card reads through readImageAsset and fileImageLoader, and those the plate's inputs option names (watched even before they exist), join the watch as the card renders, the same files metaplate render --incremental records. A change reloads the module afresh, so a fileImageLoader it creates reads the new bytes. An inputs that returns something other than file paths fails the card with the message metaplate render gives, through a shared declaredInputFiles. A directory keeps one watch however many cards read files in it. The preview does not carry earlier generations' top-level reads, since it re-imports the module each time, and a replaced generation's tracker keeps listening until its renders settle, so a card still rendering does not hand its files to the new generation.
Move its CHANGELOG entry under 0.9.1 and describe it in the release notes, where it was listed as a follow-up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepares metaplate 0.9.1. The user-facing notes are in
.github/releases/v0.9.1.md.package.json,package-lock.json, andsrc/core/version.ts.[0.9.1] - 2026-12-02, and the upgrading guide covers 0.9.1: the first--incrementalbuild after upgrading renders every image once, and Satori 0.64.3 cards should be compared.What 0.9.1 contains
--incrementalre-renders cards whose image files changed: each manifest entry gainsinputs(fix(render): re-render cards whose image files changed under --incremental, and batch dependency updates #230, closes --incremental reuses cards when an image file they draw changes (fileImageLoader included) #229). Files are recorded throughreadImageAssetandfileImageLoader, or declared with the newinputsplate option.metaplate previewreloads the gallery when an image file a card draws changes. It watches the same files--incrementalrecords: those read throughreadImageAssetandfileImageLoader, and those the plate'sinputsnames. A directory keeps one watch however many cards read from it.fflate), along with the development-dependency and actions batch and the cross-spawn and minimatch audit fixes (fix(render): re-render cards whose image files changed under --incremental, and batch dependency updates #230, supersedes ci(deps): bump the github-actions group with 2 updates #231 and build(deps-dev): bump the development-dependencies group with 14 updates #232).Pre-release review
An independent review of everything since v0.9.0 found no release blocker. This PR fixes what it found:
runClirender in the same process dropped the files the render module read at its top level, and later builds then reused the stale card for good. Reads made outside any card are now kept for the life of the process (latest digest per file), and a new render starts with them.takumi-jsjoins the hashed renderer peers, so a Takumi upgrade renders Takumi plates again. This bug predates 0.9.0.inputsentry now names the error code and where relative paths resolve, and a URL written as a string is refused rather than read as a relative path.--manifestpoints outside--out, and that is now documented. The guides name Satori 0.64.3 as audited; WOFF2,<style>rules, the standalone exports, and thelineClamprules were each re-checked on it. The CHANGELOG gaps are filled.My review of those fixes found a further bug, also fixed here: a later render recorded the first digest of a file that was read again, rather than the bytes it drew.
The review also flagged that
metaplate previewdid not refresh when an image file changed. That is now added here as a feature. My review of it found four issues, all fixed:Socket baseline (published metaplate@0.9.0, captured 2026-12-02)
unpopularPackage(medium) andurlStrings(low). No critical alert.string.prototype.codepointat@0.2.1(high) carries over: Satori 0.64.3 still reaches it.obfuscatedFile(high) now namescaniuse-lite@1.0.30001829.Test plan
npm run check: 60 files, 1,556 tests, build with no declaration-bundle warningsnpm run check:package(packed 0.9.1, Satori 0.64.3 selected)check:dependencies,check:deployment,check:workflows, Socket disposition verifier,npm audit --audit-level=high(0 vulnerabilities)npm run release:evidence: 6 checks passed, bundle bound to a44db03check:packageand the release evidence bundle in "Check and package"Generated by Claude Code