Skip to content

v2.0.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@RobertoPrevato RobertoPrevato released this 08 Jan 11:19
· 67 commits to main since this release
5913265
  • Renames the plugins namespace to settings
  • Upgrades rodi to v2, which includes improvements.
  • Adds support for alternative implementation of containers for dependency
    injection, using the new ContainerProtocol in rodi.
  • 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.