Releases: moonrepo/moon
Releases · moonrepo/moon
v1.0.1
🐞 Fixes
- Updated
envFile
to log a warning instead of triggering an error when.env
is missing. - Updated
envFile
to support workspace relative paths when prefixed with/
. - Fixed an issue where
.moon/tasks/*.yml
were not scaffolded intoDockerfile
s. - Fixed an issue where a CI environment wasn't detected for some CI providers.
- Fixed a project cache issue when running tasks inside and outside of a container.
v1.0.0
💥 Breaking
- Updated the installer scripts and the
moon upgrade
command to install themoon
binary to
~/.moon/bin
.
🚀 Updates
- Added a
constraints
setting to.moon/workspace.yml
, allowing for project/dep relationships to
be enforced. - Added a
hasher.warnOnMissingInputs
setting to.moon/workspace.yml
. - Added a
shell
task option tomoon.yml
that will wrap system tasks in a shell. - Added a
tags
setting tomoon.yml
for project categorization. - Added a
--tags
option to themoon query projects
command. - Added a
telemetry
setting to.moon/workspace.yml
. - Added 5 new token variables:
$projectAlias
,$date
,$time
,$datetime
, and$timestamp
. - Updated task
env
and.env
files to support variable substitution using${VAR_NAME}
syntax. - Updated system tasks to now execute within a shell.
🐞 Fixes
- Reworked how task inputs are resolved when empty
[]
is configured, and all**/*
is inherited.
⚙️ Internal
- Updated the new version check to only run on the
check
,ci
,run
, andsync
commands. - Will now detect 16 additional CI environments: Agola, AppCenter, Appcircle, Azure, Bamboo,
Bitrise, Buddy, Cirrus, Codemagic, Heroku, Jenkins, Jenkins X, Netlify, TeamCity, Vela,
Woodpecker. - Will now attempt to detect CD environments for more accurate metrics.
- We now create a cache directory tag in
.moon/cache
.
@moonrepo/[email protected]
🐞 Fixes
- Fixed an issue where using a custom project language would break the project graph cache.
@moonrepo/[email protected]
🐞 Fixes
- Fixed an issue with pnpm lockfile parsing.
- Fixed an issue where the project graph cache wouldn't be invalidated if moon was ran from a sub-directory.
@moonrepo/[email protected]
🐞 Fixes
- Fixed an issue where failing tasks ran with the global
moon
binary wouldn't bubble up the
correct exit code. - Fixed an issue where a root-level project was synced as a TypeScript project reference to itself.
@moonrepo/[email protected]
🚀 Updates
- Task
inputs
declared as literal file paths will now be logged to the console as a warning when
they do not exist during hashing.
🐞 Fixes
- Fixed an issue when project dependencies that form a cycle would recurse indefinitely and panic.
@moonrepo/[email protected]
🐞 Fixes
- Fixed an issue where tasks with
cache
disabled were considered empty hashes when declared as a
dependency of another task. - Fixed an issue where matching against
package.json
workspaces would sometimes fail. - Fixed an issue where glob parsing would sometimes fail on Windows.
@moonrepo/[email protected]
🚀 Updates
- Unknown config fields will now display a warning.
🐞 Fixes
- Fixed an issue where
moon docker setup
couldn't find the manifest file for staged builds.
⚙️ Internal
- Added a
MOON_DEBUG_PROCESS_ENV
env var for debugging processes. - Updated glob failures to include the glob expression for easier debugging.
@moonrepo/[email protected]
💥 Breaking
- Toolchain has been moved to
~/.proto
from~/.moon
. This should be a transparent change, but at
minimum your tools will be re-downloaded and installed. - Targets that generate an empty hash are now considered a failure, as they may be an edge case not
accounted for.
🚀 Updates
- Added a
moon docker setup
command for efficiently installing project dependencies. - Added a
moon query hash
command for inspecting the hash manifest. - Added a
moon query hash-diff
command for diffing 2 hashes. - Updated moon's toolchain to build upon proto, our new toolchain layer.
- Updated our toolchain and configuration to take
.prototools
into account.
🐞 Fixes
- Fixed hashing to avoid including
git status
files when running in CI. - Fixed an issue where dependencies of an affected target were not always being ran.
- Fixed an issue where gitignored folders were being considered projects if the globs matched.
- Fixed an issue where project-level glob negations (starting with
!
) weren't being handled
correctly.
⚙️ Internal
- Updated terminal checkpoint colors for tools to pink (to match proto).
- Migrated to rustls from openssl. Please report any TLS/SSL issues.
- Loosened
package.json
parsing.
@moonrepo/[email protected]
🐞 Fixes
- Fixed an issue where an object
browser
field inpackage.json
would fail to parse. - Fixed an issue where checking for a new version would constantly run.
- Fixed an issue where
moon upgrade
would not report a newer available version.