Skip to content

Releases: moonrepo/moon

v1.39.1

25 Jul 22:53

Choose a tag to compare

🐞 Fixes

  • Fixed a path error for @moonrepo/cli package.

v1.39.0

25 Jul 21:24

Choose a tag to compare

🚀 Updates

  • The automatic proto install has moved into a new SetupProto action, which is now part of the
    action graph, and does not run on every command. It's also a bit smarter and will only install
    when a toolchain requires it.
  • Added support for new task input formats based on the RFC: #1985
    • Added URI support for files (file://) and globs (glob://).
    • Added object support for files and globs.
  • Updated task input files:
    • Added a optional param, which allows the file to be optional (missing) during hashing.
      Defaults to true.
    • Added a content param, which will match against the file's contents to determine affected
      state.
  • Updated task input globs:
    • Added a cache param, which controls whether the glob results should be cached or not.
  • Updated the @moonrepo/cli npm package to no longer rely on postinstall scripts.
  • Improved argument quoting for commands and scripts.
  • Renamed project type to layer, as it better reflects what it does, a layer of access within
    the project stack. For backwards compatibility, the type name will still be supported until
    v2. The following changes have been made:
    • type -> layer in moon.yml
    • --type -> --layer in moon query projects
    • projectType -> projectLayer for MQL
    • $projectType -> $projectLayer for task tokens
    • enforceProjectTypeRelationships -> enforceLayerRelationships in .moon/workspace.yml

🐞 Fixes

  • Fixed moon query touched-files --defaultBranch requiring a "true" or "false" explicit value.

⚙️ Internal

  • Added telemetry for toolchain usage.
  • Added unstable support for bubbling up logs from WASM plugins.
  • Updated Rust to v1.88.0.
  • Updated proto to v0.51.4 (from 0.50.1).
  • Updated dependencies.

v1.38.6

18 Jul 00:15

Choose a tag to compare

🧰 Toolchains

  • Go
    • Fixed go.* parsing failures when there was no trailing newline.

⚙️ Internal

  • Updated proto to v0.50.5 (from 0.50.1) to resolve an "unknown field spec" error. This is triggered when the global proto binary is using v0.51, and moon is using proto < v0.50.5.

v1.38.5

11 Jul 16:35

Choose a tag to compare

🚀 Updates

  • Updated project locating to log the glob results for debugging purposes.

🐞 Fixes

  • Fixed a bun.lock parsing error.

v1.38.4

07 Jul 19:49

Choose a tag to compare

🚀 Updates

  • Updated MCP (Model Context Protocol) implementation to use protocol version 2025-06-18 from
    2025-03-26 - in turn, allowing Claude Code to use the MCP.
    • Updated sync_projects tool to sync all projects if no IDs provided.

📚 Documentation

  • Added Claude Code to MCP documentation.

v1.38.3

04 Jul 01:16

Choose a tag to compare

🐞 Fixes

  • Fixed the duplicate nodes in the action graph.

v1.38.2

02 Jul 03:11

Choose a tag to compare

🚀 Updates

  • More plugin pre-loading improvements.

🐞 Fixes

  • Potential fix for duplicate nodes in the action graph.
  • Potential fix for the node platform panicing for a missing package manager.
  • Potential fix for a fs rename error when installing proto.
  • Fixed a panic that would occur during moon ci job calculation.

v1.38.1

01 Jul 04:22

Choose a tag to compare

🚀 Updates

  • Added a new setting for toolchain plugins, versionFromPrototools, which controls how we inherit
    a version from the root .prototools file. By default this is enabled, but can be disabled, and configured with
    a string if the IDs don't match.
  • Added support for toolchain plugins to replace/wrap a task script in the extend_task_script WASM
    API.
  • Updated toolchain setup to preload the proto WASM plugin. This should help to alleviate network
    race conditions.
  • Updated moon setup to also install toolchain plugins.

🐞 Fixes

  • Fixed an issue where toolchain plugins do not inherit versions from .prototools.
  • Fixed an issue where a file lock would be created for proto installation, even when it didn't need
    to be installed.
  • Fixed an issue where moon docker prune would force install all toolchains. If you were relying
    on this functionality, run moon docker setup instead.

🧩 Plugins

  • WASM API
    • Added ExtendTaskScriptOutput.script field.

v1.38.0

24 Jun 21:43

Choose a tag to compare

💥 Breaking

  • WASM API
    • Renamed RegisterToolchainOutput.lock_file_name to RegisterToolchainOutput.lock_file_names
      and its type to Vec<String>.
    • Renamed RegisterToolchainOutput.manifest_file_name to
      RegisterToolchainOutput.manifest_file_names and its type to Vec<String>.

🚀 Updates

  • Added a new Go toolchain implementation, powered entirely by our new WASM plugin system. It can be enabled with the unstable_go identifier.
    • Supports tiers 1, 2, and 3!
    • Supports Go workspaces via go.work files.
    • Extracts project dependencies and relationships from go.mod files.
    • Extracts version and lockfile information from go.sum and go.work.sum files.
    • Basic vendor support (go mod vendor) during Docker prune.
  • Added new tools for moon mcp.
    • get_touched_files - Gets touched files between base and head.
    • sync_projects - Runs the SyncProject action for one or many projects.
    • sync_workspace - Runs the SyncWorkspace action.
  • Added new moon toolchain command and sub-commands.
    • Add a toolchain to .moon/toolchain.yml with moon toolchain add.
    • View information about a toolchain plugin with moon toolchain info.
  • Added support for terminal desktop notifications. Can be enabled with the new
    notifier.terminalNotifications setting in .moon/workspace.yml.
  • Added a notifier.webhookAcknowledge setting, that ensures webhooks resolve with a 2xx status
    code.
  • Updated project graph invalidation to take manifests from toolchain plugins into account.

🐞 Fixes

  • Fixed an issue with task output hydration that would sometimes fail with a permission denied error
    when cleaning stale files.

🧩 Plugins

  • Updated rust_toolchain to v0.2.0.
    • Cached the globals bin directory when extending task commands/scripts.
    • Task hashing now includes the host OS, arch, and libc.
  • WASM API
    • Added LocateDependenciesRootInput.toolchain_config field.
    • Added PruneDockerInput.toolchain_config field.
    • Added ScaffoldDockerInput.toolchain_config field.

⚙️ Internal

  • Updated proto to v0.50.1 (from 0.49.4).

v1.37.3

17 Jun 17:12

Choose a tag to compare

🐞 Fixes

  • Fixed an issue where git:// based code generation couldn't checkout a specific commit.
  • Fixed incorrect casing for the moon migrate --skipTouchedFilesCheck option.