Skip to content

v0.11.0

Choose a tag to compare

@t-k t-k released this 26 Nov 12:11
· 20 commits to main since this release
v0.11.0
9e1fcae

Added

  • Project and workspace configuration file (tmt.toml):
    • Added auto-discovery walking upward from the target directory to the workspace root ([workspace] in Cargo.toml) or .git boundary for tmt.toml, .config/tmt.toml, or .cargo/tmt.toml (failing explicitly if more than one candidate exists in the same directory), plus --config <FILE> and --no-config CLI flags.
    • Supported declarative persistence of project-level mutation, test-selection, Cargo build, output, and fixture/work-directory options with [package.<name>] per-package overrides applied consistently across single-package runs (including single-member virtual workspaces with glob members) and --workspace / multi--p runs (including per-package work_dir, copy/fixture differences, and per-package source_only = true sharding).
    • Enforced built-in defaults < top-level config < [package.<name>] < CLI flags precedence with automatic cross-layer conflict resolution (e.g. CLI --source-only overriding rebuild = true, or --features overriding all_features = true) and empty-array clearing ([]).
    • Hardened config loading with #[serde(deny_unknown_fields)], 1 MiB read cap on opened regular files (O_NONBLOCK / O_NOFOLLOW on Unix to prevent FIFO hangs and symlink escapes outside the auto-discovered directory), NUL/control/BiDi character rejection across both raw text and TOML-decoded strings/paths/keys, and project-root-relative resolution for baseline and work_dir.