Skip to content

Toupee v0.2.0

Choose a tag to compare

@quiteclose quiteclose released this 20 Mar 10:34
· 8 commits to main since this release

Toupee 0.2.0

  1. API / packaging

    • Simplify API: adds src/transform.zig, extends Context / root.zig, trims build.zig.zon.
    • RenderResult (owned output + deinit) on the public API in root.zig.
  2. Dynamic path segments

    • Add dynamic-path lookups: dot-paths support $(expression) for runtime segment choice (e.g. palette.$(role)), including nested $(…); see test/dynamic-path.test.
  3. <t-define> parsing

    • **Recognize bare <t-define>``**: **withoutname** is valid (empty name); parser/renderer + extend.test`.
  4. Whitespace / layout

    • Consume newline after t-slot: newline handling after <t-slot> (parser/renderer + regression.test).
    • Test for blank line after include: behaviour/tests for blank line after <t-include>.
  5. CI / docs

    • Add CI workflow: .github/workflows/ci.yml + README CI badge.