v1.30.0
·
104 commits
to master
since this release
💥 Breaking
- If you renamed a project using the
id
setting inmoon.yml
, you can no longer reference that
project in dependencies and targets using its original ID. - Refactored the
moon query tasks
command.- CLI options have been replaced with new task based options, instead of being project based.
- Now utilizes the new task graph and affected tracker.
- The
moon project-graph --json
output no longer includes task data (thetasks
field is an empty
map).- Use
moon task-graph
to access this data, and piece things together using the project
taskTargets
field. - The
moon project --json
output pieces everything together automatically.
- Use
🚀 Updates
- Added unstable support for self-hosted remote caches, powered by the
Bazel Remote Execution API.- Allows for 3rd-party implementations like
bazel-remote
to be used. - Currently supports the gRPC protocol, and will support HTTP in a later release.
- Our moonbase product will be sunset in the future.
- Allows for 3rd-party implementations like
- Added Python tier 2 and 3 support.
- Will download and install Python into the toolchain when a
version
is configured. - Will parse the
requirements.txt
to resolve and install dependencies. - Added a
python
setting to.moon/toolchain.yml
. - Added a
toolchain.python
setting tomoon.yml
. - Updated
moon bin
commands to support Python.
- Will download and install Python into the toolchain when a
- Added a new task graph, that enables new granular based functionality for task related features.
- Added a new
moon task-graph
command. - Can now control the depth of upstream (dependencies) and downstream (dependents).
- Affected information now tracks based on dependent graph connections.
- Added
--upstream
and--downstream
options tomoon query tasks
.
- Added a new
- Added basic support for Git submodules, and will now extract touched files from all submodules.
- Added 7 new token variables:
$arch
,$os
,$osFamily
,$vcsBranch
,$vcsRepository
,
$vcsRevision
,$workingDir
- Added a
rust.binstallVersion
setting to.moon/toolchain.yml
. - Updated Pkl configurations to support
read()
for environment variables. - Resolved the
strictProjectIds
experiment and you can no longer reference the original ID. - Resolved the
disallowRunInCiMismatch
experiment and you can no longer have a CI based task
depend on a non-CI based task.
🐞 Fixes
- Fixed
moon project-graph <id>
not including all dependencies/dependents. It was only showing
direct relationships. - Fixed an issue where touched file paths would include Git submodule directories and trigger hasher warnings.
⚙️ Internal
- Updated dependencies.
- Updated proto to v0.42.2 (from 0.42.0).