Skip to content

2.12.0: Reduced filter boilerplate

Compare
Choose a tag to compare
@thekid thekid released this 13 Jun 08:15
· 272 commits to master since this release
  • Changed filters API so that any web.Filter implementation can use
    yield from $invocation->proceed(...) without having to test whether
    handlers return a generator first, e.g. via is_iterable(). Filters
    using return $invocation->proceed(...) continue to work. Keep in mind
    they return before asynchronous handlers have completely executed!
    (@thekid)