0.4.2 (March 16, 2026)
SECURITY:
- build: Update go-git to 5.16.5 to address CVE-2026-25934 [GH-800]
IMPROVEMENTS:
- cli: Add evaluation and deployment monitoring to
run,stop, anddestroycommands [GH-817] - cli: Add -deploy-override flag to plan and run commands to allow forcing deployment over existing jobs, including those not deployed by Nomad Pack [GH-757]
- cli: Add environment variable overrides for plan exit codes [GH-813]
- cli: Add pack name autocompletion for destroy, info, plan, render, run, status, and stop commands with support for --registry flag filtering [GH-803]
- cli: Enhance
infocommand to display full object type information and nested field details for complex variable types [GH-801] - cli: Display default values for all optional variables in
infocommand output with proper indentation [GH-801] - cli: Add line and column information to HCL error messages using the standard HCL v2 format (e.g.,
variables.hcl:3,3-7) to help users locate configuration errors more easily [GH-807] - cli: Add
fmtcommand to format pack template (.tpl) and configuration (.hcl) files [GH-767] - cli: Add path information to metadata to aid file template funcs [GH-830]
- template: Improve regex parsing for namespace and region fields to support hyphenated values [GH-757]
- template: Add
tplfunction for evaluating template strings stored in variables [GH-810] - variable: Improve the error message returned when using a variable file with an unsupported file extension [GH-791]
- variable: Add support for
optional()type constraint modifier in variable definitions [GH-798]
BUG FIXES:
- cli: Fix destroy command incorrectly detecting conflicts when multiple jobs share name prefixes (e.g., "Laas-Service" vs "Laas-Service-Regression") [GH-795]
- cli: Fix plan diff output to display
EmbeddedTmplcontent with proper line breaks for improved readability [GH-799] - cli: Fix render and generate-var-file commands incorrectly treating rendered template content as a printf format string, which corrupted format specifiers (e.g.,
%i→%!i(MISSING)) in terminal output [GH-809] - cli: Fix destroy command not using namespace from job template, requiring explicit
--namespaceflag [GH-802]