Skip to content

DI + Crylog Implementation + Better Configuration

Compare
Choose a tag to compare
@Blacksmoke16 Blacksmoke16 released this 09 Jun 18:41
· 360 commits to master since this release
fa7e04f

New Features

Global

  • Dependency Injection/Service Layer module.
    • See the docs for additional information.
  • Implemented Crylog as the logging framework for Athena.
    • Logs matched routes, validation/parse errors, and 500 errors by default.
    • See the docs for additional information.

Changes

Routing

  • breaking Param converters' convert methods are now instance methods. Also removed the ctx from the method signature.
  • breaking The handle_exception method now requires a third location parameter
  • breaking The structure of athena.yml has changed to support environment specific configuration.
    • See the docs for additional information.
  • breaking The current request/response/action is now accessed from RequestStack via DI as opposed to get_request/get_response.
    • See the docs for additional information.