Skip to content

Releases: mayajs/router

v0.7.4

15 May 13:39
236a2b3
Compare
Choose a tag to compare

0.7.4 (2022-05-15)

Bug Fixes

Release Candidate 3 - 0.3.0

07 Apr 22:15
Compare
Choose a tag to compare
0.3.0-rc3

Bump version to 0.3.0-rc3

Version 0.3.0

07 Apr 22:17
f064411
Compare
Choose a tag to compare
  • Add Controller abstract class
  • Add Service abstract class
  • Add Module abstract class
  • Add children, controller, dependencies and loadChildren in the route object
  • Add support for creating custom modules
  • Add RouterModule class
  • Add RouterService class
  • Add dependency injection functionality for modules, services and controllers
  • Create a singleton instance for each providers on a module
  • Create a module tree for each module imports property
  • Add checking of declared controllers and services 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

07 Apr 22:14
Compare
Choose a tag to compare
0.3.0-rc2

FEAT: Add a note for Child Routes

v0.2.0

19 Jul 07:51
Compare
Choose a tag to compare

UPDATES

  • Add onError method
  • Add use method
  • Add cors middleware Close #7
  • Add bodyParser middleware Close #8
  • Add middleware handler method Close #5
  • Fix dependency vulnerability issues

Initial Release

29 Jun 04:17
Compare
Choose a tag to compare

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
    • Parsing of request params object using : annotation
    • Parsing of request query object
  • Response Object
    • res.send()
    • res.json()
    • res.html()