v0.3.4
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+ fieldbutton 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.jsonappended when you omit it. Sologoutbecomeslogout.json, andauth/logout.jsoncreates theauthfolder as needed. - No double extensions for templates. Template names that already end in
.jsonno longer becomename.json.json. - Internal cleanup. The
apic-guilayout, widgets, and theme moved into a dedicateduimodule 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