Releases: moonrepo/moon
Releases · moonrepo/moon
v1.27.6
📢 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
🐞 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
🐞 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 fromgit status
. - Fixed an issue where the automatic dependency installation wasn't triggering when switching
branches.
v1.27.3
🚀 Updates
- Added
project.metadata
tomoon.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
🐞 Fixes
- Fixed an issue where file groups expanded within task
script
orenv
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
🚀 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
🚀 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 tocommand
+args
.- Scripts support multiple commands (
&&
), pipes, and redirects. - Scripts do not support task inheritance argument merging.
- Scripts are always ran in a shell.
- Scripts support multiple commands (
- 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
andmoon.yml
, allowing it to be
configured at the workspace and project levels. - Added support for murex shells.
- Updated both
unixShell
andwindowsShell
task options.
- Updated both
- 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 thepackageManager
field in
package.json
.
- Added a
- Yarn
- Will no longer call
yarn set version
and instead rely entirely on proto's toolchain.
- Will no longer call
⚙️ Internal
- Updated proto to v0.38.2 (from v0.37.2).
v1.26.7
🚀 Updates
- Updated
bun.installArgs
andnode.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
🐞 Fixes
- Fixed a regression where
pwsh.exe
would not fallback topowershell.exe
when the former does
not exist. - Respect
CARGO_HOME
during automatic rustup installation.
v1.26.5
🚀 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).