Skip to content

v0.3.4

Compare
Choose a tag to compare
@tomwojcik tomwojcik released this 22 Jun 07:48
· 43 commits to master since this release
  • add request_cycle_context. It’s a context manager that allows for easier testing and cleaner code (Thanks @hhamana) #46
  • fix for accessing context during logging, outside of the request-response cycle. Technically it should raise an exception, but it makes sense to include the context by default (in logs) and if it’s not available, some logs are better than no logs. Now it will show context data if context is available, with a fallback to an empty dict (instead of raising an exc) #65
  • add ContextMiddleware deprecation warning
  • **context context unpacking seems to be working now