Repository navigation
Metaplate v0.9.2
Metaplate 0.9.2 is a documentation release. Apart from the version number, the library is unchanged from 0.9.1, but the docs now answer the questions a new user hits first: what a plate is, where its files go, whether to draw cards at build time or per request, and how to wire a card into a specific framework. A new Getting started guide walks through a first card from install to the post-deploy check, and new integration guides cover Astro, SvelteKit, React Router, Express, Hono, Fastify, Bun.serve, and Deno.serve.
Upgrade recommendation: Optional. Apart from its version number, the published code is the same as 0.9.1, so upgrading changes nothing at run time. Read the new guides from the links below whichever version you are on.
Why upgrade
- A starting point that explains the pieces. The old quick start said to write a component without saying where it lives, why the card is split into files, or when the image is drawn. Getting started defines copy, components, plates, contracts, and routes, lays out each file with the reason it exists, and compares build-time and per-request rendering before the first card.
- One guide per framework. Integrations indexes a guide for each supported framework and host, and each guide follows the same four steps: define the plate, serve the image, point the page at its card, deploy and check.
- An honest support level on every guide. Each guide states whether it is hosted-certified, locally certified, runtime-certified, or a recipe that nothing in the release gate runs, as defined in the support matrix.
Highlights
Getting started
- The guide's code is the type-checked
examples/getting-startedproject, and the repository tests fail if the two drift apart. The README quick start follows the same steps.
Integration guides
- Astro endpoints (Astro endpoints), locally certified on Astro 7 with
@astrojs/node11. - SvelteKit
+serverroutes (SvelteKit routing), locally certified on SvelteKit 3 withadapter-node6. - React Router resource routes (resource routes), locally certified on React Router 8 framework mode.
- Express (Express 5 response API), locally certified on Express 5.
- Other servers: Hono and Fastify as recipes, and
Bun.serveandDeno.serveon the runtime-certifiedmetaplate/node.
Keeping the renderer out of browser bundles
- The guides now have pages import a renderer-free contract made with
definePlatefrom the rootmetaplateentry, and only image routes import the plate. Framework pages that also run in the browser, such as a SvelteKit+page.svelteor a React Routermetaexport, no longer pull Satori or Resvg toward the client bundle.card.metadatareturns the same metadata as the plate's.
Breaking changes
None.
Install or upgrade
npm install metaplate@0.9.2That single command still includes the framework-neutral SVG and PNG renderer: npm 7+ and pnpm 8+ install the satori, @resvg/resvg-js, and react peers. Yarn needs them added explicitly. Node.js 20 or newer is required. Peer ranges are unchanged.
Verification
npm run checkpasses: lint, the duplication scan, workflow pin policy, dependency inventory and Socket disposition policy, deployment evidence policy, release-note validation, source and example type checks, the full test suite, the build, and the package dry run.npm run check:packageinstalls the packed tarball into fresh consumers and builds and serves the Next.js, Astro, React Router, SvelteKit, Express, and edge fixtures from it.- The Getting started example is type-checked and its two cards were rendered and verified at 1200x630. The repository tests check that every integration guide follows the template, states a support level, and is listed in the integrations index. The framework-specific snippets in the integration guides are not compiled or run; the support level on each guide says what the release gate does cover.
- Socket baseline. Unchanged from 0.9.1: the Socket CLI deep score of the published
metaplate@0.9.0, captured 2026-12-02, with the same two time-bounded high dispositions (expiry 2027-04-30) and no critical alerts. No dependency changed in this release. - npm registry signature and SLSA provenance verification run after publication, against the published artifact.
Documentation and support
- README, Getting started, and Integrations
- Framework and runtime support
- Release process
- npm package
- Report a problem