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-legacy instead.
🐞 Fixes
- Fixed an issue where
runDepsInParallel: false would 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 ci failing in certain CI provider pull request builds, where the base branch is
provided as a fully-qualified refs/heads/<branch> ref that couldn't be resolved in a detached
HEAD checkout.
- Fixed task binaries failing with "command not found" in CI providers like CircleCI, where an
export PATH=... in the $BASH_ENV file would overwrite the PATH that moon injects for tasks.
BASH_ENV is no longer passed to bash wrapped child processes, unless explicitly set with the
task env option.
- Fixed an issue where task
outputStyle was 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 empty stdout.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 --dependents would skip
the dependents of lib:build when app:build depends on it.
- Fixed tasks that emit read-only outputs (e.g.
0444 files) failing on every cache hit with a
"Permission denied" error when the casOutputsCache experiment is enabled. Caches that already
contain read-only objects are healed automatically.
- Fixed an issue where
moon query changed-files would include uncommitted changes from the local
index (git status) even when an explicit --head revision was provided, causing false positives
when comparing 2 revisions. This also applies to affected detection with an explicit head, e.g.
the MOON_HEAD environment variable or --affected base:head. Additionally, MOON_BASE and
MOON_HEAD environment 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 | sh
Install 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