Skip to content

v4.0.0-alpha.1

Choose a tag to compare

@pi0 pi0 released this 04 Dec 20:02
· 46 commits to main since this release

compare changes

IPX v4 is now ESM-only and comes with significant dependency size reductions (v3 vs v4 alpha).

Internal H3 has been upgraded to v2, bringing native Web API compatibility and the new srvx layer for native performance with Node.js support.

Migration

  • The server creation APIs have changed. See the Programmatic API section for examples.
  • The JSON error format has changed from { error: string } to { status, statusText, message }.
  • The svgo option is now svg.optimize. SVG images are always sanitized, even when optimization is disabled.
  • SVG optimization now applies SVGO's preset-default unless custom plugins are configured (previously only the configured plugins ran), so SVG output is restructured more than before. See the SVG Images section.