Skip to content

Releases: moonrepo/moon

v1.27.6

07 Aug 08:14
Compare
Choose a tag to compare

📢 Notice

There have been reports of the moon.exe binary being flagged as a Trojan on Windows. This looks to
be a common false positive (Wacatac.B!ml) that targets Rust built binaries (as seen in the
Tauri project as well).

While this isn't a simple fix on our end, we're publishing a new binary to replace the old one. You
may also have to unquarantine moon on your system. And lastly, we also suggest
adding an exclusion for moon.exe to Windows Defender.

⚙️ Internal

  • Updated proto to v0.39.7 (from v0.38.3).
  • Updated Rust to v1.80.
  • Updated dependencies.

v1.27.5

29 Jul 23:43
Compare
Choose a tag to compare

🐞 Fixes

  • Fixed an issue where token expansion would clobber variable replacement when multiple variables
    are used.
  • Fixed internal tasks being displayed in moon query results.

v1.27.4

26 Jul 18:14
Compare
Choose a tag to compare

🐞 Fixes

  • Fixed an issue where moon docker scaffold would not respect .gitignore files.
  • Fixed an issue where task hashing would potentially hash too many files when extracting touched
    files from git status.
  • Fixed an issue where the automatic dependency installation wasn't triggering when switching
    branches.

v1.27.3

22 Jul 21:49
Compare
Choose a tag to compare

🚀 Updates

  • Added project.metadata to moon.yml so that custom fields can be defined.
  • Improved some task related error messages to include more information.

🐞 Fixes

  • Fixed an issue where the new action pipeline wouldn't wait for in-flight moonbase (remote caching)
    requests to finish. The old pipeline was not affected.
  • Fixed @in and @out tokens not being able to reference other token functions.

v1.27.2

18 Jul 04:54
Compare
Choose a tag to compare

🐞 Fixes

  • Fixed an issue where file groups expanded within task script or env weren't resolving relative
    to the project or workspace root (based on options).

⚙️ Internal

  • Updated proto to v0.38.3 (from v0.38.2).

v1.27.1

16 Jul 19:00
Compare
Choose a tag to compare

🚀 Updates

  • Removed the concurrency limit when running persistent tasks.

🐞 Fixes

  • Fixed an issue where task scripts would error with "command not found" (caused by over
    escaping/quoting).
  • Fixed an issue where a persistent task may not run or error with a missing dependency hash, if ran
    alongside many other persistent tasks.
  • Fixed an issue where "build" dependencies were being synced as project references.
  • Fixed an issue where the install depenencies action wouldn't run if the vendor directory
    (node_modules) was missing, but our operation was previously cached.
  • Fixed an issue where token variables were not being replaced in task scripts.

v1.27.0

15 Jul 18:48
Compare
Choose a tag to compare

🚀 Updates

  • Enabled the experiments.actionPipelineV2 setting in .moon/workspace.yml by default.
    • If you run into any issues running tasks, disable this setting and report an issue.
  • Added a new task field script, as an alternative to command args.
    • Scripts support multiple commands (&&), pipes, and redirects.
    • Scripts do not support task inheritance argument merging.
    • Scripts are always ran in a shell.
  • Added a new command, moon docker file, that can be used to generate an initial multi-stage
    Dockerfile for a project.
  • Added new docker settings to both .moon/workspace.yml and moon.yml, allowing it to be
    configured at the workspace and project levels.
  • Added support for murex shells.
    • Updated both unixShell and windowsShell task options.
  • Improved the "automatically install dependencies if a manifest/lockfile has changed" flow. This
    should trigger less than before.
  • We now generate JSON schemas for our configuration files to .moon/cache/schemas, so that they
    can be dynamically created based on the current moon version and environment.
    • Is automatically generated when running a task.
    • Added a moon sync config-schemas command to manually run this operation.
  • When writing JSON and YAML files, we attempt to write back to the file with its original
    indentation.

🐞 Fixes

  • Fixed action operations not being present in the run report when a task fails to run.
  • Fixed stdout/stderr not being included in the summary review of failed tasks.

🧰 Toolchain

  • Node
    • Added a node.syncPackageManagerField setting, to control the packageManager field in
      package.json.
  • Yarn
    • Will no longer call yarn set version and instead rely entirely on proto's toolchain.

⚙️ Internal

  • Updated proto to v0.38.2 (from v0.37.2).

v1.26.7

08 Jul 19:21
Compare
Choose a tag to compare

🚀 Updates

  • Updated bun.installArgs and node.bun.installArgs to stay in sync.

🐞 Fixes

  • Fixed moon run --affected not auto-installing dependencies in CI.
  • Fixed an issue where the project graph cache would not invalidate based on certain environment
    variables.
  • Fixed an issue where our console would be prematurely dropped, causing output flushing issues.

v1.26.6

02 Jul 00:15
Compare
Choose a tag to compare

🐞 Fixes

  • Fixed a regression where pwsh.exe would not fallback to powershell.exe when the former does
    not exist.
  • Respect CARGO_HOME during automatic rustup installation.

v1.26.5

01 Jul 05:59
Compare
Choose a tag to compare

🚀 Updates

  • Updated home-based environment variables, like CARGO_HOME, to support relative paths.

🐞 Fixes

  • Fixed an issue where globs wouldn't match when leading with ./.

⚙️ Internal

  • Updated proto to v0.37.2 (from v0.37.1).