Fastipy

Latest version: v1.5.3

Safety actively analyzes 623248 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.5.3

Todo

Added

Changed

- [X] Fixing and improving CORS header generation
- [X] Fixing Reply class that didn't store decorators

1.5.2

Added

- [x] Added Fastipy config.
- [x] Added Plugin timeout configuration.
- [x] Added typing for options in print routes function.
- [x] Added types to request handler functions parameters.
- [x] Added the option to automatically create folders when saving files.
- [x] Added shortcut form property inside Request class to facilitate usability.
- [x] Added documentation for most methods and classes.

Changed

- [x] Renaming the fastipy base exception to the fastipy exception to make it easier to handle.
- [x] Fixed problem in the error handler for python 3.11.
- [x] Fixed the function of saving files securely, to save them in the correct path.
- [x] Loading text and json from body files on demand.

1.5.1

Added

- [x] Added the possibility of printing middleware routes in the router's print tree.
- [x] Added a customizable mail module.
- [x] Added jinja2 lib to render templates.
- [x] Add integration to end-to-end tests.

Changed

- [x] Error imports are now centralized in the exceptions module.
- [x] Improved error handling flow, now error handling hooks are executed first rather than the default error handling.
- [x] Apply code reuse to generate logs.
- [x] Refactored file stream in reply send file function.
- [x] Reply send function now automatically serializes the value sent to it and sets a content type

1.5.0

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

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.