Skip to content

v0.25.0

Latest
Compare
Choose a tag to compare
@jollytoad jollytoad released this 11 Dec 11:26

Changed

  • Update to Deno 2.1.3
  • Update to latest @std deps
  • [@http/route] allow asURLPattern to accept a full URL pattern string, by
    attempting to parse the pattern directly with new URLPattern before falling
    back to treating it as pathname of a URLPatternInit
  • [@http/route] allow byPattern, bySubPattern, cascade and lazy handlers
    to return something other than a Response if desired

Fixed

  • [@http/discovery] remove use of @std/url in tests
  • [@http/host-deno-local], [@http/host-deno-deploy] fix Deno.serve related
    types
  • [@http/response] allow prependDocType to accept Iterable<Uint8Array> which
    is now a valid type of BodyInit
  • fix caught error types to be explicitly unknown