Skip to content

0.1.1

Latest

Choose a tag to compare

@1amageek 1amageek released this 05 Jul 16:25

sweb new

  • Generated pages now end with a #Preview { <page>().body() } — SwiftHTML's own preview macro — so a fresh app renders its home page in Xcode's canvas with a single import SwiftHTML, no #if DEBUG, and no platform guard. WASM package generation strips these previews from mirrored client sources, so the client build is unaffected. Requires swift-html 0.9.1.
  • sweb new prints progress to stderr while scaffolding and resolving dependencies, so the first run (which downloads dependencies) no longer looks frozen.

Dev server

  • The dev server defaults to port 3000 and auto-increments to the first free port when 3000 is busy.

Documentation

  • Documents why the Swift 6.4 toolchain is required for the host HTTP stack.

Dependencies

  • swift-html 0.9.1.