Skip to content

v0.20.0

Compare
Choose a tag to compare
@jollytoad jollytoad released this 11 Jul 14:42
· 22 commits to main since this release

Changed

  • [@http/route] introduced a cross-runtime staticRoute()
  • [@http/route-deno] is now deprecated

Added

  • [@http/fs] new package for filesystem based functions
  • [@http/fs] added fileBody() as a cross-runtime way to turn a file into a
    Response body
  • [@http/fs] added serveDir()/serveFile(), adapted from
    @std/http/file-server
  • [@http/response] add responses required by serveDir/serveFile