Skip to content

Releases: keroxp/servest

v0.21.0

18 Oct 16:40
299a5fd
Compare
Choose a tag to compare
  • fix: use raw url of request for req.url (#44)
  • changed: [serveStatic] handle filename in case sensitive
  • changed: [router] match paths in case sensitive

v0.20.0

15 Oct 17:44
Compare
Choose a tag to compare
  • feat: BodyParser for ServerRequest.body and ClientResponse.body
  • feat: Added application/x-www-form-urlencoded parser
  • site: Added examples for BodyParser
  • refactored: BodyReader, ChunkedBodyReader, TimeoutReader are now removed

v0.19.0

12 Oct 17:21
c446a63
Compare
Choose a tag to compare
  • site: added error page
  • added: React and ReactDOMServer type definitions
  • changed: Return type of HttpHandler and ErrorHandler to void | Promise<void>

v0.18.0

11 Oct 14:46
a9ede10
Compare
Choose a tag to compare
  • fix: [router] RoutedServerRequest.match should be defined
  • added: [serve_static] filter option
  • site: serve source code via github
  • site: use parente vendor codes

v0.17.0

10 Oct 19:08
d33b82a
Compare
Choose a tag to compare
  • bump: [email protected]
  • feat: serveJsx()
    • serveJsx is similar middleware to serveStatic. It will find .jsx/.tsx file from specified directory and import it dynamically, render to string and serve as HTML.
    • This is early implementation of SSR framework like Next.js
  • feat: createRecorder()
    • createRecorder() create dummy ServerRequest. It can be passed to HTTPHandler middleware and records response. It is useful for testing.
  • fix: Router misc
  • site: Use serveJsx

v0.16.0

10 Oct 14:17
c8f5d5b
Compare
Choose a tag to compare
  • changed: [router] string pattern should be served when full path matches

v0.15.0

05 Oct 06:19
ba5132f
Compare
Choose a tag to compare
  • feat: listenAndServe() returns Deno.Closer
  • feat: Added logger module
  • feat: Router.get() Router.post()
  • del: serve() now removed

v0.14.0

28 Sep 09:04
46f621b
Compare
Choose a tag to compare
v0.14.0 (#28)

* Create body_parser.ts

* Update tests.ts

v0.13.0

28 Sep 09:01
47d630e
Compare
Choose a tag to compare
  • feat: req.redirect(url)

v0.12.1

28 Sep 06:09
bef706e
Compare
Choose a tag to compare