v2.0.0-alpha
Pre-release
Pre-release
- Renames the
plugins
namespace tosettings
- Upgrades
rodi
to v2, which includes improvements. - Adds support for alternative implementation of containers for dependency
injection, using the newContainerProtocol
inrodi
. - Upgrades
guardpost
to v1, which includes support for
dependency injection in authentication handlers and authorization requirements. - Adds support for Binders instantiated using dependency injection. However,
binders are still instantiated once per request handler and are still
singletons. - Adds a method to make the
Request
object accessible through dependency
injection (register_http_context
). This is not a recommended practice,
but it can be desired in some circumstances. - Removes the direct dependency on
Jinja2
and adds support for alternative
ways to achieve Server Side Rendering (SSR) of HTML; however,Jinja2
is still
the default library if the user doesn´t specify how HTML should be rendered. - Adds options to control
Jinja2
settings through environment variables. - Removes the deprecated
ServeFilesOptions
class.