Skip to content

v0.7.1

Choose a tag to compare

@tomdyson tomdyson released this 08 Apr 10:34
· 4 commits to main since this release

Simplified CLI: --field is all you need

Removed --raw and --streamfield flags. The --field flag now handles everything:

  • StreamField: auto-detected via schema, markdown converted to blocks
  • RichTextField: auto-detected via schema, markdown sent for server-side conversion
  • JSON values: arrays ([...]) and objects ({...}) auto-parsed
  • Plain strings: sent as-is

For full StreamField JSON control, pass a JSON array directly:

wagapi pages create testapp.BlogPage --parent /blog/ \
  --title "Test" \
  --field 'body:[{"type":"paragraph","value":"<p>Hello</p>"}]'