Repository navigation
Nebula - 0.1.0
This release introduces several new features and improvements, enhancing the flexibility and robustness of the Nebula server.
New Features
-
Request Hooks: You can now execute code before and after each request using the @app.before_request and @app.after_request decorators, where app is the Nebula instance. This is useful for tasks like logging, authentication, or modifying responses.
-
Improved Error Handling: A new @app.internal_error decorator allows you to define custom handlers for internal server errors (500), providing more graceful error recovery.
Breaking Changes
- The @app.before_request and @app.after_request decorators now pass the Request object to the decorated function, instead of the Route object. This provides more context and control within the request hooks.