Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 14:20
· 9 commits to main since this release
b77e141

Added

  • Every call context this package builds is stamped "html".
    HTML_TRANSPORT, exported from the package root, is that plain string, and
    a callable reads it under the kernel's TRANSPORT_KEY with the kernel's
    call_transport. The JSON views, dispatch_request, adispatch_request,
    the four pages and the admin's offer of an action build their context
    through the kernel's build_call_context, which writes the stamp last, so a
    check, the validator, the service, the presenter and what asks them ahead of
    the call (a list page's rows, an affordance, the admin's offer, the spec's
    parameters(call_context=...)) read one value. The value has no seam here:
    a host passes request and view and nothing else. See
    what a callable reads.

Changed

  • The kernel floor is 0.29.0, the release that adds build_call_context;
    below it the package fails at import. The context now also holds format
    and action, both None (this package has neither). They are no call
    seeds, so a callable naming either is handed nothing from the context, as
    before; one reading call_context finds them as None where it found no
    key, and "format" in call_context is now true.