Skip to content

v0.16.2

Choose a tag to compare

@dgeb dgeb released this 05 Sep 21:53

v0.16.2 only updates @orbit/coordinator with a fix to the RequestStrategy handler. As described in #687, this fix ensures that custom handler functions on a RequestStrategy, such as action, blocking, and filter, receive all args emitted from the source event:

  • For beforeX events such as beforeQuery, the handler functions will receive the second hints argument.
  • For x events such as query, the handler functions will receive the second result argument.
  • For xFail events such as queryFail, the handler functions will receive the second error argument.

This is considered a bug fix because the behavior changed unintentionally when hints were introduced in v0.16.0.

Changelog

🐛 Bug Fix

  • @orbit/coordinator
    • #687 Ensure that RequestStrategy handler functions receive all args (@dgeb)

Committers: 1