Release Notes
🚀 Updates
- Added Renovate support. View the official guide for more information.
- Updated BitBucket codeowners to use the new syntax & file location. If you are using the old syntax, you can use
bitbucket-legacyinstead.
🐞 Fixes
- Fixed an issue where
runDepsInParallel: falsewould only serialize direct dependencies, allowing
a dependency's own dependencies (grandchildren) to run in parallel with earlier serial
dependencies. The entire dependency subtree is now ordered. - Fixed
moon cifailing in certain CI provider pull request builds, where the base branch is
provided as a fully-qualifiedrefs/heads/<branch>ref that couldn't be resolved in a detached
HEADcheckout. - Fixed task binaries failing with "command not found" in CI providers like CircleCI, where an
export PATH=...in the$BASH_ENVfile would overwrite thePATHthat moon injects for tasks.
BASH_ENVis no longer passed tobashwrapped child processes, unless explicitly set with the
taskenvoption. - Fixed an issue where task
outputStylewas being applied to the primary target. It will only
apply to transitive targets. - Fixed an issue where captured task output containing non-UTF-8 bytes (for example, Windows
codepage output from Python) was discarded entirely, resulting in emptystdout.log/stderr.log
state files, cache hits replaying no output, and missing output in run reports. Invalid bytes are
now replaced with�instead. - Fixed an issue where a task's dependents would not run when requested with a downstream scope
(moon ci,--dependents,--downstream), if the task was first added to the action graph as a
dependency of another target. For example,moon run app:build lib:build --dependentswould skip
the dependents oflib:buildwhenapp:builddepends on it. - Fixed tasks that emit read-only outputs (e.g.
0444files) failing on every cache hit with a
"Permission denied" error when thecasOutputsCacheexperiment is enabled. Caches that already
contain read-only objects are healed automatically. - Fixed an issue where
moon query changed-fileswould include uncommitted changes from the local
index (git status) even when an explicit--headrevision was provided, causing false positives
when comparing 2 revisions. This also applies to affected detection with an explicit head, e.g.
theMOON_HEADenvironment variable or--affected base:head. Additionally,MOON_BASEand
MOON_HEADenvironment variables that are set but empty are now ignored. - Fixed an issue where synced VCS hooks were always written to
.moon/hooks, even when the workspace
configuration lived in.config/moon. Hooks are now placed alongside the config, in
.config/moon/hooks.
Install moon_cli 2.4.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/moonrepo/moon/releases/download/v2.4.3/moon_cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/moonrepo/moon/releases/download/v2.4.3/moon_cli-installer.ps1 | iex"Download moon_cli 2.4.3
| File | Platform | Checksum |
|---|---|---|
| moon_cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| moon_cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| moon_cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| moon_cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| moon_cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| moon_cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| moon_cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |