Releases: moonrepo/moon
Releases · moonrepo/moon
v1.25.1
🚀 Updates
- Rewrote process failure error messages to include exit status information. This should help
uncover processes killed by signals, and help debug the -1 exit code issues.
v1.25.0
💥 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 tomoon run
andmoon check
that will include a summary of all actions
that were processed/failed within the pipeline. This is the same output used inmoon 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
🐞 Fixes
- Reworked the binary provided by
@moonrepo/cli
to work better on Windows.
v1.24.5
🐞 Fixes
- Fixed an issue where proto managed tools may error with "Failed to detect an applicable version".
v1.24.4
🐞 Fixes
- Fixed a regression where
runInCI
was being overzealously applied tomoon run
commands. - Fixed generated VCS hooks not containing a trailing newline.
v1.24.3
🐞 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
🐞 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
1.24.1
🐞 Fixes
- Fixed an issue where versions in
.prototools
weren't being respected. - Fixed task
deps.args
anddeps.env
not expanding tokens correctly.
v1.24.0
🚀 Updates
- Added an experimental
moon templates
command, that lists all available codegen templates. - Added a
--dependents
flag tomoon project-graph <id>
andmoon 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.
- When passing variables as command line arguments, they are now entirely modeled after the
- 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
🐞 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.