From b9d713336bd4fdc5e40899257b1fe7a356ca8dcf Mon Sep 17 00:00:00 2001 From: David Czihak Date: Fri, 8 May 2026 03:00:15 +0200 Subject: Feat: New task system This commit brings a complete rewrite of the task system to align the Zig build system and Nova task system as closely as possible. Lots of new options and settings have been added to the tasks, and the Zig extension will auto-detect tasks from the `zig build --list-steps` command. Should you prefer to add tasks manually, or need a more fine-grained control, the auto-detection can be disabled. This rewrite has not yet been thoroughly tested and will likely be a little rough around the edges. --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index ef55853..3786150 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## Unreleased + +- Tasks now expose first-class config for `-Doptimize`, `-Dtarget`, and custom `-D=` user options on every template that takes them. +- Added **Zig Test** template (`zig build test` with `--test-filter` and `--summary`). +- Added **Zig Watch** template (`zig build --watch`, with `--debounce` and `-fincremental` controls). Note: Nova issue matchers only fire on the first build cycle. +- **Zig Package** gained a Console setting (Internal / External Terminal). The standalone *Zig Package (macOS Terminal)* template has been removed. +- Dynamic per-step tasks: each step from `zig build --list-steps` appears as `Zig Build: ` in the task list. Cached and refreshed on `build.zig` / `build.zig.zon` changes. +- **Zig Debug** auto-detects `programPath` from `build.zig.zon`'s `.name` and the `zig-out/bin/` location when the field is left blank. +- The Run Step default flips from `run` to empty — `zig build` then runs its own default install step. Clear and re-set the field on existing tasks to use the new behavior. +- Clean now refuses to run when the working directory is `/`, `$HOME`, or outside the workspace, and runs `zig build uninstall` first when the project exposes that step. +- "Current Zig File" Clean walks up to the nearest `build.zig` instead of cleaning the file's directory. +- Issue assistant no longer registers for the non-existent `zig-package` syntax. ## 0.1.8 — 2026-05-07 - Added a setting to write an LLDB proxy log file for debugging the debug adapter. -- cgit v1.3