Skip to content

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 21 Jun 18:21
· 35 commits to main since this release

apic 0.3.4

A GUI quality-of-life release: creating contracts and templates is faster and more forgiving, the schema editor regains its response tabs, and nested objects are easier to extend.

Added

  • Keyboard-friendly create dialogs (apic-gui). The new-file and new-template dialogs now submit on Enter, not just the Create button, and auto-focus the name input the moment they open so you can start typing straight away.
  • Open on create (apic-gui). A newly created contract or template opens immediately in the central editor, with no extra click to select it.
  • Add fields to nested objects (apic-gui). Each nested object in the schema editor gains a + field button at the bottom of its block, so deep structures can be extended without the per-row +.

Changed

  • Smarter contract naming (apic-gui). A trailing slash creates a folder; any other name creates a contract file with .json appended when you omit it. So logout becomes logout.json, and auth/logout.json creates the auth folder as needed.
  • No double extensions for templates. Template names that already end in .json no longer become name.json.json.
  • Internal cleanup. The apic-gui layout, widgets, and theme moved into a dedicated ui module so presentation lives apart from app state, and comments and docstrings across the workspace were tidied.

Fixed

  • Response tabs restored (apic-gui). The response tabs and the add-response button are back in the schema editor, including in preview mode, so multi-response contracts (200, 400, and so on) are editable and browsable again.

Distribution

apic is packaged for:

  • Arch / CachyOS (AUR): yay -S apic-bin
  • Fedora (COPR): sudo dnf copr enable rizukirr/apic && sudo dnf install apic-cli apic-gui
  • Windows (winget): winget install rizukirr.apic (CLI) / winget install rizukirr.apic-gui (GUI)

Install

  • crates.io: cargo install apic-cli / cargo install apic-gui
  • Or grab the prebuilt apic-* / apic-gui-* archives below (verify the matching .sha256).

Full changelog: v0.3.3...v0.3.4