Changelog
v2.1.0 — 2026-09-15
- Prompt generation —
butter compile writes a Markdown system-prompt document (.prompt.md) by default.
- Format cleanup —
htmltree and simulator output formats removed.
- Quoted HTTP methods — Endpoint
method values must be quoted strings (e.g. method "POST"); bare verbs are rejected.
- Formatter fixes — Consistent blank-line placement above comment and app/feature/endpoint blocks, with trailing blank lines preserved.
- Windows support — Lexer handles CRLF line endings.
v2.0.0 — 2026-09-04
- Canonical spec alignment — Butter targets the canonical specification language exclusively.
rules block — App-level rules use a rules block with bare quoted strings.
returns (plural) — Endpoint return mappings use returns (singular return removed).
enforce support — Enforce children under actions recognized with keyword + string scopes.
product removed — app is the only top-level root keyword.
- Canonical types —
string, integer, double, boolean, enum, array. Aliases removed.
- IntelliSense — Completion, hover, and definitions updated.
v1.15.0 — 2026-07-13
- Minimal grammar — Bare
<name> <type> params, bare quoted action strings, PascalCase response headers, bare method keyword.
- Removed verbosity —
param, type, required, default, validate, length, action, route, response, field, listener all removed.
- Endpoint route in header —
endpoint Name "/path".
v1.14.0 — 2026-07-13
- Selective compilation —
--only and --exclude flags for targeted extraction of features and endpoints.
v1.13.0 — 2026-07-13
endpoint blocks — HTTP transport contracts with method, params, responses, actions, and returns.
response blocks — Named schemas with typed fields, supporting nested sub-fields.
return mapping — Status codes to response references or string payloads.
v1.11.0 — 2026-07-06
- Sim extension — Interactive spec simulation with AI-powered code generation.
- opencode provider — Free AI code generation via the opencode CLI.
v1.10.0 — 2026-07-03
- HTML tree visualizer — Zoomable SVG tree with bezier-curve connections.
v1.9.0 — 2026-07-02
- IntelliSense — Context-aware autocomplete and hover documentation.
v1.8.0 — 2026-07-01
- Enforce rules — Actions support zero or more
enforce constraint strings.
v1.7.0 — 2026-06-30
- Pluggable output extensions — Output formats registered via a Go interface. New formats are single-file implementations.
v1.6.0 — 2026-06-29
- Semantic analysis — Catches duplicate names, type mismatches, invalid HTTP methods, and more.
v1.5.0 — 2026-06-28
- YAML output —
--format yaml flag.
v1.2.0 — 2026-06-24
- Formatter —
butter fmt with auto-format on save.
v1.0.0 — 2026-06-22
- Initial release. Lexer, parser, JSON output, VS Code extension.