Added
- [x] Request method PATCH
- [x] More security in CORS
- [x] JSON Database module
- [x] Add support to hooks (onRequest, onResponse, onError)
- [x] Add support to plugins
- [x] Add decorators to routes (decorator, decorate_request, decorate_reply)
- [x] Add support to middlewares
- [x] Add support for lifespan events (startup, shutdown)
- [x] New preHandler hook
- [x] Add stream file support
- [x] Automatic OPTIONS method response for routes
- [x] Custom global error handler
Changed
- [x] Better params and query params recovery in routes
- [x] Improved route logging
- [x] Refactor structure of project
- [x] Refactor Routes class
- [x] Routes handler can be a sync function
- [x] Better route search algorithm and structure
- [x] It is now possible to add specific hooks and middlewares to a route
- [x] Implementation of uvicorn HTTP web server
- [x] Better error handler