Skip to content

2.6.8

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 19:27

Release Notes

This is a re-release of v2.6.7 as it failed to publish.

🐞 Fixes

  • Fixed an issue where running moon from a subdirectory of the workspace produced different task
    hashes than running it from the root, so nothing hit the cache, and moon installed dependencies
    for the project alone. Toolchain versions are inherited from the workspace root's .prototools
    again, and the proto environment of toolchain plugins is rooted at the workspace instead of the
    working directory, so dependency roots and lockfiles above the working directory are found.
  • Fixed an issue where moon mcp did not exit when its stdin was closed, which is how an MCP client
    stops a stdio server. When a client exited without stopping the server, like when it was killed,
    the server kept running in the background.
  • Fixed an issue where a task that's restricted to other operating systems with the os option was
    reported as passed, though its command never ran, and on subsequent runs as cached, as it was
    hashed and archived like a task that ran. It's now reported as skipped (in the terminal and the
    run report), and is not hashed or cached. Tasks that depend on it still run.
  • Fixed an issue where a project that depends on itself, like a package that lists itself in its
    package.json dependencies, failed every command with "adding a relationship from a to a would
    introduce a cycle". A dependency on the project itself, by its ID or an alias, is now skipped.
  • Fixed an issue where the error for a cycle of project dependencies only named the dependency that
    closed it. It now names every project in the cycle, like a → b → c → a, and suggests making one
    of its dependencies a development (or production) dependency, as cycles between the two are
    allowed.
  • Fixed an issue where a * in a like query (~ or !~) didn't match the / of a scoped ID, like
    @acme/core. So project~* left out scoped projects, project~*core* matched nothing, and
    project!~*utils kept @acme/utils. For identifiers (project IDs and aliases, tags, task IDs,
    and toolchain IDs), a * now also matches /. projectSource is a path, so a * still doesn't
    match / there.
  • Fixed an issue where a dependencies workspace member with characters that are glob syntax to moon,
    but not to its ecosystem, like the parentheses of apps/my app (1) in the workspaces of a
    package.json, failed every command with "Failed to create glob from pattern". A member without
    glob syntax (*, ?, [, or {) is now matched as a literal path. A member that still isn't a
    valid glob fails with an error that names the toolchain and the member.

Install moon_cli 2.6.8

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

Download moon_cli 2.6.8

File Platform Checksum
moon_cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
moon_cli-x86_64-apple-darwin.tar.xz Intel 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