Releases: moonrepo/moon
Releases · moonrepo/moon
v1.22.7
🐞 Fixes
- Fixed an issue where environment variable substitution would trigger recursively when referencing
itself.
v1.22.6
🚀 Updates
- We now include the exit code of a failing task in the logs for easier debugging.
🐞 Fixes
- Fixed an issue where the wrong path was being displayed for the task message "in ...".
⚙️ Internal
- Updated proto to v0.31.4 (from v0.31.2).
v1.22.5
🐞 Fixes
- Fixed
env
variable substitution not being able to reference values from an.env
file. - Fixed an issue where moon would move an existing proto binary when installing proto, triggering
permission issues.
v1.22.4
🐞 Fixes
- Fixed an issue where deleted but uncommitted files would log a hashing warning.
- Fixed an issue where parsing
bun.lockb
would fail if usinggithub:
protocols.
⚙️ Internal
- Updated proto to v0.31.2 (from v0.30.2).
v1.22.3
🚀 Updates
- Updated our project constraint enforcement to take the new
stack
setting into account. For
example, frontend applications can now depend on backend applications, where as previously they
could not.
v1.22.2
🐞 Fixes
- Fixed an issue where VCS hooks were being created in Docker, triggering cache issues.
v1.22.1
🚀 Updates
In v1.22, we made a change to affected tasks that pass all inputs
as arguments, instead of passing .
. This change was made to not overzealously pass files to the task that it doesn't care about, but it ended up causing problems for certain commands.
We didn't want to revert the change, but it also wasn't easy to fix without causing other issues, so as a compromise, we opted to introduce a new task option, affectedPassInputs
to handle this functionality.
v1.22.0
🚀 Updates
- Added
configuration
andscaffolding
variants to the projecttype
setting inmoon.yml
.- Updated project constraints to support these new variants.
- Added a
stack
setting tomoon.yml
, for categorizing which tech stack it belongs to.- Supports
frontend
,backend
,infrastructure
, andsystems
. - Added a
projectStack
field to the query language (MQL). - Added a
$projectStack
token variable for tasks. - Updated the
moon query projects
command to support a--stack
option, and include the stack
in the output. - Updated the
moon project
command to include the stack in the output.
- Supports
- Added a
description
setting for tasks, for providing human-readable information.- Updated the
moon project
andmoon task
commands to include the description in the output.
- Updated the
- Added an
installArgs
setting for bun/npm/pnpm/yarn in.moon/toolchain.yml
, to customize the
args used when installing dependencies. - Added a new built-in extension,
migrate-nx
, for migrating from Nx to moon.- Will convert all
nx.json
,workspace.json
, andproject.json
files.
- Will convert all
- Updated task input environment variables to support a wildcard match using
*
, for example
$VITE_*
.- This will include all environment variables in the current process that starts with
VITE_
.
- This will include all environment variables in the current process that starts with
- Updated the
envFile
task option to support a list of file paths. - Updated the
migrate-turborepo
extension.- Removed the requirement of moon's project graph. Will now scan for turbo.jsons instead.
- Updated affected tasks to use
inputs
as the list of files provided, instead of.
.
🐞 Fixes
- Fixed an issue where
bun install
was not running with--production
in Docker prune. - Fixed an issue where invalid IDs passed to certain commands would trigger a panic.
- Fixed an issue where
$PWD
in a task was pointing to the wrong directory.
🧩 Plugins
- Updated
deno_plugin
to v0.9.1.- Added Linux ARM64 support (requires Deno >= v1.41).
- Updated
rust_plugin
to v0.8.1.- Uses the full triple target when installing and uninstalling toolchains.
⚙️ Internal
- Updated Rust to v1.76.
- Updated proto to v0.30.2 (from v0.29.1).
v1.21.4
🐞 Fixes
- Fixed VCS hooks on Windows generating invalid PowerShell commands.
v1.21.3
🐞 Fixes
- Fixed a panic that would occur when running an action and path stripping would fail.