Releases: len0xx/sequoia
Releases · len0xx/sequoia
v0.6.6
v0.6.6 / 28.06.2024
- feat:
ContentType
is now being exported by the module - feat:
Cookie
constructor now accepts number and boolean as value - feat:
Content-Type
header is now automatically set toapplication/json
ifHTTPResponse.body
is an object - fix:
context.request.params
is now being set correctly whenhandler.root
is not/
- tests: new tests for
extractParams()
v0.6.4
v0.6.3
v0.6.2
v0.6.2 / 06.05.2024
- feat: add
shutdown()
method toApplication
class to close the server when needed - feat: apply
errorHandler
to internal errors raised bySequoia
itself (instead of only applying it to errors thrown in middlewares) - fix: set default listening port to
8000
- fix: define a default empty callback for
onListen
to get rid of the console.log messages without callback argument being passed tolisten()
method onApplication
- fix: serving static files on windows now works correctly
- fix: empty body responses no longer result in error 404 being thrown as response
- fix: rename
HTTPHandler
toRouteHandler
- fix: separate content type and charset with a space symbol in
ContentType
enum - deps: upgrade deno stdlib dependencies to current versions
- tests: create more tests and run them in parallel
- ci: check code formatting before running tests and only do it once (instead of repeating it on all operating systems)