Skip to content

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 19:54
· 8 commits to main since this release
4f1595f

Changed

  • The kernel floor is 0.31.0, the release that exports seeded_pool;
    below it the package fails at import. The page's pool, which its
    affordances and its display read, is now built by the kernel's
    seeded_pool from the call's own seeds and context, where this package
    built it from the kernel's base pool and removed the context key itself.
    The pool is the same, so nothing a page answers changes.

Fixed

  • A <uuid:pk> route on a string parameter is accepted. Django's
    uuid converter hands the view a uuid.UUID, and a parameter declared
    string answered Expected a string. (a 400). The kernel's coerce_flat,
    which reads every route capture here, now spells a UUID as its string
    where the parameter declares string, so the service is handed the string.
    The fix is the kernel's, from this floor.
  • A filter's choice group held in a mapping offers its values. A
    ChoiceFilter whose choices name a group in a mapping, {"Open": {"draft": "Draft"}}, {"Open": [("draft", "Draft")]} or [("Open", {"draft": "Draft"})], offered the group's name as a value and refused draft, a 400
    on the list page and on the JSON view. From Django 5.0 it offers draft;
    Django 4.2 reads only a list or tuple as a group, so there the behaviour is
    as before. The fix is the kernel's, from this floor.