Skip to content

v0.8.0

Choose a tag to compare

@tomdyson tomdyson released this 09 Apr 11:57
· 11 commits to main since this release

What's new

Token authentication endpoint

  • POST /auth/token/ — exchange username/password for an API token, enabling mobile and browser-based login flows without manual token management

Per-request markdown output for rich text

  • Add ?rich_text_format=markdown query parameter to page detail endpoint
  • Rich text fields (RichTextField and RichTextBlock in StreamField) are converted to Markdown server-side using markdownify
  • The existing RICH_TEXT_OUTPUT_FORMAT global setting now actually works (was previously defined but not wired up)
  • Query parameter overrides the global setting per-request

Round-trip fidelity

  • Bold, italic, headings, links, lists, and images survive markdown read/write round-trips
  • 34 new tests covering auth endpoint and rich text conversion fidelity
  • ⚠️ Wagtail internal page links are expanded to URL paths in markdown output — use wagtail:// syntax in markdown input to preserve page ID references