github moonrepo/moon v2.1.0
2.1.0

11 hours ago

Release Notes

🚀 Updates

  • Environment
    • Improved our local and remote detection logic. We now also check for common remote devboxes
      (GitHub Codespaces, Gitpod, etc) in addition to CI environments.
  • Projects
    • Updated duplicate aliases to no longer be a hard error, and instead will apply to the first
      encountered project. Duplicates are possible when multiple toolchains all use the same package
      name (Go, Rust, Node, etc).
  • Tasks
    • Added 3 new settings to the affectedFiles option when using the object syntax:
      • filter - A list of glob patterns to filter the affected files list before passing to the
        task.
      • ignoreProjectBoundary - When matching affected files, ignore the project boundary and
        include workspace relative files. Otherwise, only files within the project are matched.
      • passDotWhenNoResults - When there are no affected files after matching and filtering, use
        . instead of an empty value.
    • Added a new option, runInSyncPhase, that will run the task during moon sync commands.
  • Toolchains
    • Added inheritAliases (default true) setting for each toolchain. Can toggle whether to
      inherit aliases for projects while extending the project graph.
    • Added installDependencies (default true) setting for each toolchain. Can toggle whether to
      install dependencies (via the InstallDependencies action) when running a task.

🧰 Toolchains

  • Go
    • Will now run go list --deps to determine project relationships while extending the project
      graph.
  • Python
    • Normalized package/dependency names to PEP 503 during graph extending.
    • Fixed an issue where package manager toolchain settings were not being inherited correctly.
  • TypeScript
    • Added a pruneProjectReferences setting that prunes non-moon managed project references when
      syncing.

🐞 Fixes

  • Fixed invalid JSON schema in MCP generate tool.
  • Fixed $projectTitle and $projectAliases tokens not being substituted.
  • Fixed an issue where bash may not be available (falls back to sh).
  • Fixed an issue where a task command could not end with --.
  • Fixed some issues where .config/moon was not respected.
  • Potential fix for tail-end console output not being written.

⚙️ Internal

  • Updated dependencies.

Install moon_cli 2.1.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/moonrepo/moon/releases/download/v2.1.0/moon_cli-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/moonrepo/moon/releases/download/v2.1.0/moon_cli-installer.ps1 | iex"

Download moon_cli 2.1.0

File Platform Checksum
moon_cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
moon_cli-x86_64-pc-windows-msvc.zip x64 Windows checksum
moon_cli-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
moon_cli-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
moon_cli-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
moon_cli-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum

Don't miss a new moon release

NewReleases is sending notifications on new releases.