Skip to content

Releases: moonrepo/moon

v1.25.0

27 May 07:20
Compare
Choose a tag to compare

💥 Breaking

  • Removed the following webhook events associated with task outputs: target-output.archiving,
    target-output.archived, target-output.hydrating, target-output.hydrated,
    target-output.cache-check.

🚀 Updates

  • Rewrote the task runner from the ground up:
    • Improved handling and reliability of output archiving and hydration.
    • Streamlined the task execution (child process) flow.
    • Now tracks metrics for individual operations, like hash generation, output hydration, task
      execution, and more. Can be inspected in the run report.
  • Added a --summary flag to moon run and moon check that will include a summary of all actions
    that were processed/failed within the pipeline. This is the same output used in moon ci.
  • Added a new console reporting layer that handles the rendering of output in the terminal.
    • This enables us to support additional reporters in the future, each with unique UIs.
    • Slightly tweaked our current UI rendering. You may notice some differences.
  • Updated external configuration files (via https extends) to be cached for 24 hours.
    • This will fix issues with offline mode.
  • Greatly reduced the amount of concurrent locks being held during task execution. May see slight
    performance improvements.

🐞 Fixes

  • Fixed an issue where actions within the run report were not reflecting the correct status of their
    last execution attempt.
  • Fixed an issue where "have outputs been created" checks would fail if outputs only contained
    negated globs, coupled with literal paths.
  • Fixed an issue where .prototools in the workspace root was not being respected when running moon
    commands in a sub-directory.
  • Fixed PROTO_*_VERSION environment variables being set to *, resulting in unexpected versions
    being resolved.

⚙️ Internal

  • Updated proto to v0.35.4 (from v0.34.4).
  • Updated macOS binaries to be built on macos-12 instead of macos-11.

v1.24.6

20 May 17:40
Compare
Choose a tag to compare

🐞 Fixes

  • Reworked the binary provided by @moonrepo/cli to work better on Windows.

v1.24.5

14 May 17:16
Compare
Choose a tag to compare

🐞 Fixes

  • Fixed an issue where proto managed tools may error with "Failed to detect an applicable version".

v1.24.4

03 May 20:29
Compare
Choose a tag to compare

🐞 Fixes

  • Fixed a regression where runInCI was being overzealously applied to moon run commands.
  • Fixed generated VCS hooks not containing a trailing newline.

v1.24.3

30 Apr 21:26
Compare
Choose a tag to compare

🐞 Fixes

  • Fixed an issue where internal tasks would still run when running a task using "closest project"
    detection.
  • Fixed an issue where task's with runInCI weren't always being filtered properly.

v1.24.2

25 Apr 20:55
Compare
Choose a tag to compare

🐞 Fixes

  • Fixed task deps.env not supporting variable substitution.
  • Fixed an issue where Git hooks would overwrite non-local hooks. The core.hooksPath setting is
    now only used if the path is within the current repository.

v1.24.1

18 Apr 19:38
Compare
Choose a tag to compare

1.24.1

🐞 Fixes

  • Fixed an issue where versions in .prototools weren't being respected.
  • Fixed task deps.args and deps.env not expanding tokens correctly.

v1.24.0

18 Apr 02:13
Compare
Choose a tag to compare

🚀 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).

v1.23.4

08 Apr 01:48
Compare
Choose a tag to compare

🐞 Fixes

  • Fixed an issue where leading ./ in input/output globs would cause matching failures.
  • Fixed an issue where root-level projects were not being marked as affected in moon query.
  • Fixed an issue where moon docker scaffold would copy all sources when a project depends on a
    root-level project.

v1.23.3

02 Apr 23:08
Compare
Choose a tag to compare

🧩 Plugins

  • Updated bun_plugin to v0.11.
    • Added Windows support.
    • Will now use the baseline build on x64 Linux when available.

⚙️ Internal

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