Releases: mayajs/maya
Releases · mayajs/maya
v0.7.1
v0.7.0
0.2.3
0.2.0
First stable release
Updates
- Added Sample Project submodule PR #7 and #8
- Added App decorator for AppModule class for defining server settings PR #9
- Updated root class to accepts AppModule and bootstrap all the settings on it PR #10
- Added Models decorator for getting model instance from mongoose Schema PR #11
- Added start() functionality in MayaJS class
- Added use() functionality in MayaJS class
- Added prodMode() functionality in MayaJS class
- Added checking of server running in PROD or DEV mode
- Added capability to enable/disable logs in AppModule
- Added capability to enable/disable cors in AppModule
- Added mongoConnection settings in AppModule
- Added ability to set port number in AppModule
- Moved routes definition from Maya.configRoutes() to routes in AppModule
- Enhanced logging
Fixes
- Fixed Schema not bootstrapping properly in App decorator
- Fixed modelPath directory not properly constructed
Dependencies
- Added morgan for request logging
- Added cors for enabling CORS
- Added mongoose-paginate for pagination plugin for mongoose Schema
0.0.4
Initial Release
Features
- Decorators for Get, Post, Patch, Put and Delete methods
- Single class for mongoose models
- Controller and Injectable decorator for Dependency Injection
- Middleware functions for chained validation of request body