preactjs/preact-render-to-string
Last release: 2 weeks ago
preact-render-to-string lets you render JSX and Preact components into an HTML string, useful for universal or isomorphic rendering in Node and the browser. It also provides async rendering, plus streaming helpers (Web Streams and Node.js stream variants) for incremental HTML output with Suspense support.
Project status
- Actively maintained, with recent tagged updates (latest noted update v6.7.0 on 2026-05-17, and the upstream push timestamp is 2026-05-25).
- Apparent update cadence is steady, with patch-level updates roughly every 5 to 8 weeks in early 2026 (v6.6.6 on 2026-02-20, v6.6.7 on 2026-03-28, v6.7.0 on 2026-05-17).
AI summary generated Today
Recent updates
v6.7.0
2 weeks agov6.7.0 updates the HTML comment markers used by the streaming/chunked “island” mechanism so they match the markers produced by renderToStringAsync (switching to the $s:* format). It also tightens rendering security for SVG/XML namespaced attributes by rejecting unsafe names before any namespace casing/normalization occurs.
BreakingSecurityv6.6.7
2 months agov6.6.7 is a patch release focused on an async suspense rendering regression. The documented change fixes commas appearing in the output of renderToStringAsync when suspended components have complex (array-producing) children.
v6.6.6
3 months agov6.6.6 is a patch release focused on correcting how streaming chunk output is generated when the rendered content is a full HTML document. The code changes specifically adjust where the deferred streaming wrapper is inserted so browsers accept the resulting HTML.