Releases: mayajs/router
Releases · mayajs/router
v0.7.4
Release Candidate 3 - 0.3.0
0.3.0-rc3 Bump version to 0.3.0-rc3
Version 0.3.0
- Add
Controller
abstract class - Add
Service
abstract class - Add
Module
abstract class - Add
children
,controller
,dependencies
andloadChildren
in the route object - Add support for creating custom
modules
- Add
RouterModule
class - Add
RouterService
class - Add
dependency injection
functionality formodules
,services
andcontrollers
- Create a
singleton
instance for eachproviders
on a module - Create a
module tree
for each moduleimports
property - Add checking of declared
controllers
andservices
inside a module or route - Add supports for
ExpressJs Middlewares
using native code - Add
interfaces
for controllers, modules, and services
Release Candidate 2 - 0.3.0
0.3.0-rc2 FEAT: Add a note for Child Routes
v0.2.0
Initial Release
Features
- Router.add()
- Router.init
- Handles HTTP request for the following methods:
- GET
- POST
- PUT
- PATCH
- OPTIONS
- Method chaining four HTTP methods
- Request Object
- Parsing of request body for
application/json, application/x-www-form-urlencoded and multipart/form-data
- NOTE:
multipart/form-data
with files are not yet supported
- NOTE:
- Parsing of request params object using
:
annotation - Parsing of request query object
- Parsing of request body for
- Response Object
- res.send()
- res.json()
- res.html()