- Move
httpMiddleware
tomiddleware
folder. - Move
httpRequest
,httpResponse
,httpMessage
tohttp
folder. - Move
httpRouting
torouter
folder. - Add
utils
folder - Fix documentation
- Fix testing
- Remove
HttpStatus
interface. - Rename
middleware
toHttpMiddleware
.
- Fix
post
request keeps loading. - Remove
match
method. - Add
handleHttpRequest
to handle an HTTP request from the Deno server. - Add
ResponseOutput
interface. - Fix Documentation.
- Add
permanentRedirect
method to return a 301 status code - New Dragon logo
- Fix Typo
examples
- Add
expectsJson
method to quickly determine if the incoming request expects a JSON response. - Add
prefers
method to determine which content type out of a given array of content types is most preferred by the request.
- Fix Documentation.
- Add
isHttpError
helper function - Use
end
method instead ofsend
-
Fix typo.
-
Add build-in middlewares:
X-XSS-Protection
X-Frame-Options
CORSMethodMiddleware
- Fix & Improve documentation.
- Update to Deno 1.6.2
- Update std to 0.82.0
- Rename protocol to schemes
- Add Handling CORS Requests
- Redirect the client to another URL with optional response
status
defaulting to 302
- Return HttpStatus.NOTFOUND if no match
- Fix fallback routes documentation (use Template Literals)
- Rename repository to Dragon.
- Fix documentation.
- Fix tests.
- Export
HtppRouting
class. - Add
multi-router
example. - Refactor
params
androute-middleware
example.
- Add
abort
method. - Add
Fallback Routes
documentation section.
- Fix: Not throw error if header already exists.
- Add
hello-world
example. - Add
route-middleware
example . - Imporve documentation.
- Change API.
- Fix documentation.
- New
HttpRouting
,HttpResponse
,HttpError
methods. - Rename
newRoute
method toroutes
. - Move Interfaces and types to
types.d.ts
.
- Developer friendly, very expressive and help the developer in their daily use, without sacrificing performance and security.
- Lightweight and modular design allows for a flexible framework.
- Focus on high performance.
- Middleware support, incoming HTTP request can be handled by a chain of middlewares and the final action.
- Excellent and fluent documentation.