Skip to content

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 02 Jun 21:03
· 11 commits to main since this release

Added

  • Output serializer-context providers can now receive the resolved data
    about to be serialized, so they can populate context from a single
    batched query instead of re-fetching. A provider (the
    get_output_serializer_context directional hook, a
    get_<action>_output_serializer_context per-action hook, or a spec-level
    output_serializer_context) may declare an extra keyword parameter —
    result (mutation output), instance (retrieve), or page (list) — and
    it is passed only when declared. view and request stay positional, so
    existing (view, request) providers are unaffected. The output context is
    now resolved after the service and output selector run, guaranteeing the
    value reflects exactly what will be rendered. See the
    serializer-context recipe.