Skip to content

v0.3.0

Choose a tag to compare

@tomdyson tomdyson released this 07 Apr 12:30
· 13 commits to main since this release

What's new

  • URL paths in output — pages list and pages get now show the URL path (e.g. /blog/my-post/) in human-readable output
  • Body content previews — pages get shows actual text content instead of [heading, paragraph] (2 blocks)
  • Field type labels — schema output shows StreamField and RichText instead of generic array/string
  • --version flag — wagapi --version now works
  • Exit 0 for bare wagapi — shows help instead of a usage error
  • README fixes — corrected --parent /home/ to --parent /, clarified example app path

Tests

  • Added 16 new tests for formatters (_streamfield_preview, _richtext_preview, url_path display, field type annotations)

Requires wagtail-write-api >= 0.3.0 for url_path and richtext_fields support.