Skip to content

v0.16.0

Choose a tag to compare

@github-actions github-actions released this 01 Jul 19:46
v0.16.0
9d30e97

Added

  • Editor language server (runner lsp, built with --features lsp): a stdio LSP
    for runner.toml providing live diagnostics (the same checks as
    runner config validate, plus deprecation hints), hover docs sourced from
    the JSON Schema, and completion of section names, field names, and value
    sets (package managers, the [tasks] runner/PM/source labels, policy enums,
    booleans). The validation, schema docs, and label vocabulary are reused from
    the CLI, so editor feedback never drifts from runner itself.
  • [tasks] section in runner.toml for a persistent, declarative preference
    over which source runs an ambiguous task name (one that exists under more than
    one source — e.g. a package.json script and a turbo task). Previously
    this could only be expressed per-invocation (package.json:build,
    --pm bun, --runner turbo).
    • [tasks].prefer — a rank-only global order. Labels may be task runners
      (turbo, make, …), package managers (bun, npm, … map to
      package.json; denodeno.json then package.json), or source names
      (package.json). Unlike the old [task_runner].prefer, it never
      hard-rejects an unlisted source — it only reorders ties.
    • [tasks.overrides] — per-task pins, e.g. build = "turbo", dev = "bun",
      that beat the global order for those names.
    • An explicit source:task qualifier, --runner, or --pm/RUNNER_PM still
      outranks these file settings.

Deprecated

  • [task_runner].prefer is deprecated in favor of [tasks].prefer. Existing
    configs keep working with their original restrictive behavior and now emit a
    migration warning; when both sections are set, [tasks] takes over. The key
    is flagged deprecated in the committed JSON Schema; runner config init
    keeps a commented migration stub.

What's Changed

  • add: persistent tasks source pref. and runner.toml lsp by @kjanat in #76

Full Changelog: v0.15.0...v0.16.0