Skip to content

v1.24.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Apr 02:13
· 308 commits to master since this release

🚀 Updates

  • Added an experimental moon templates command, that lists all available codegen templates.
  • Added a --dependents flag to moon project-graph <id> and moon query projects, to include
    downstream dependents of a focused/affected project.
  • Added a runner.autoCleanCache setting to .moon/workspace.yml, allowing the post-run clean
    mechanism to be controlled.
  • Updated moon ci to automatically determine base/head revisions based on your current CI provider
    (when applicable).
  • Updated moon generate:
    • When passing variables as command line arguments, they are now entirely modeled after the
      template configuration.
      • Booleans and negated booleans now work better.
      • Numbers now support negative values.
      • Multiple values can now be passed for enums when multiple is enabled.
    • If a variable value is passed as an argument, we no longer prompt for it.
    • Internal variables will now error when passed as an argument.
  • Updated action graph and project graph visualization:
    • Slightly tweaked the colors to be easier to read.
    • Updated edges to use chevron arrows.
    • Added a new layout system to organize node/edges, controlled by the ?layout= query parameter.
    • Supported layout options: dagre (default), klay, grid, breadthfirst
  • Updated root-level tasks to have no inputs by default, instead of **/*. This is typically what
    users want, to avoid greedy tasks.

🐞 Fixes

  • Fixed YAML schema validation not allowing custom languages for the project language field.
  • Fixed an issue where Bun and Node would both attempt to install dependencies, resulting in
    collisions.
    • To resolve this issue, we currently prioritize Node over Bun if both tools are enabled.
    • If you have both and want to use Bun, set Node's package manager to
      node.packageManager: 'bun'.
  • Attempted fix for "too many open files" when moon is cleaning cached artifacts.

⚙️ Internal

  • Updated proto to v0.34.4 (from v0.32.2).