Releases: ujjwalguptaofficial/fortjs
Fix: session setMany not working
- Fix: session setMany not working
Remove FortGlobal Constant
Remove FortGlobal Constant - code cleanup and optimization
Add cache feature
- Add cache feature, allows to cache get endpoints
- use fast content type
- Capitalize internal server error
Add feature middleware execute api
add feature middleware execute api
expose a middleware api which will help to execute any middleware
const middleware = (req,resp, next)=>{
next();
}
this.middleware(middleware).execute();
Add feature - partial routes
🚀 New Feature Release 🌟 - Partial Routes & Child Routes!
Introducing the ability to create partial routes, empowering users to streamline controllers into lightweight sub-controllers, each dedicated to a specific task. 🚀💡
Example:
controller: UserController,
path: "/user",
children: [
{
controller: UserProfileController,
path: "/profile",
children: [
{
controller: UserProfileNestedController,
path: "/nested"
}
]
}
]
Effortlessly organize and enhance your application structure!
PR - #38
Fix dependency issue of cron
- Fix dependency issue of cron - add cron in fortjs dependency
Add support for cron/scheduler
Add support for cron/scheduler
Set default view path to current working directory
- Set default view path to current working directory
Optimize performance
The various part of the code has been changed to optimize the performance and now it's 3x faster than nestjs and express both.
This release marks a significant milestone in the Fort.js journey, as various parts of the code have undergone optimizations resulting in a remarkable 3x improvement in performance compared to both Nest.js and Express. This achievement not only enhances stability but also positions Fort.js as a robust and high-performance framework, outpacing other popular alternatives in the ecosystem.
Create sessionStore and remove sessionprovider
- Create sessionStore and remove sessionprovider
- Create types for extending controller and other components and remove generic types
- move types which are object to interfaces