Skip to content

piu v0.1.42

Choose a tag to compare

@github-actions github-actions released this 26 Mar 20:18

What's Changed

New Features

  • Monaco JSON editor — JSON body editing now uses Monaco (VS Code's editor engine) in Raw mode with syntax highlighting and vs-dark theme; switch to Form mode for a structured field-by-field editor driven by the linked Data Model, with recursive object/array support and color-coded type badges
  • Form-based body editor — New BodyFormEditor renders model fields as typed rows (string, number, boolean, null, object, array) with inline recursive editing; custom keys not in the model appear below model fields
  • MCP server auto-start — The MCP bridge server starts automatically on port 3333 at app launch so Claude and other MCP clients connect without manual invocation
  • Hyperf backend sync skill — New 7-phase Claude Code skill for syncing Hyperf PHP framework routes into PIU, including a dedicated describe:routes CLI output parser

Bug Fixes

  • OpenAPI spec generation — Query params are now skipped for POST/PUT/PATCH requests when a Data Model is linked (model fields produce the requestBody instead); linked models now always generate a requestBody even when body type is none
  • TryItPanel — requestModelId is now wired into the body editor in the API Docs Try It panel; auto-switches to the Body tab for POST/PUT/PATCH when a model is linked
  • Autocorrect on API inputs — Disabled autoCapitalize, autoCorrect, and spellCheck on all header, param, and auth credential fields to prevent macOS/iOS from mangling API values
  • Project deletion crash — Fixed a Turso stack overflow on project deletion by disabling FK cascades that caused recursive triggers

Maintenance

  • Bump tauri-plugin-connector to 0.7 and add connector:default capability
  • Bump actions/checkout to v6 and actions/upload-artifact to v7
  • Apply cargo fmt

Full Changelog: v0.1.41...v0.1.42