Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moon 1.31.0 #203374

Merged
merged 2 commits into from
Jan 6, 2025
Merged

moon 1.31.0 #203374

merged 2 commits into from
Jan 6, 2025

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
#### 💥 Breaking
  • We've updated the task inheritance order to better reflect specificity. The biggest changes are
    that deno/node/bun are now a higher priority than javascript/typescript, and stack is the lowest
    priority. This should only affect users with very complex inheritance chains.

🚀 Updates

  • We are deprecating the concept of the "platform", as this is required for the next step in
    supporting WASM based toolchain plugins. Going forward, any reference to platform is now a
    toolchain. The following changes have been made:
    • Deprecated the top-level platform setting in moon.yml, use toolchain.default instead.
      • Additionally, the toolchain can now be inferred from the top-level language setting and any
        config files in the project/workspace root. This pattern is preferred when possible.
    • Deprecated the platform task setting, use toolchain instead.
    • Deprecated the taskPlatform query field, use taskToolchain instead.
    • Deprecated the --platform option for moon query tasks, use --toolchain instead.
    • Deprecated the $taskPlatform token, use $taskToolchain instead.
  • Added the ability to run targets in moon run and moon ci using a glob-like syntax.
    • For example: :build-*, app-*:build, #tag-{foo,bar}:build, etc.
  • Added a --no-bail flag to moon run, that will continue running tasks even when a task fails.
  • Added glob support (and glob://) to generator.templates in .moon/workspace.yml, allowing you
    to glob for your codegen template locations.
  • Added a task option inferInputs, that will automatically infer inputs based on file groups and
    substituted environment variables used within the task.
  • Updated task option runInCI to support the values "always" (always run) and "affected" (only run
    if affected, same as true).
  • Updated task inputs to automatically be inherited from file group token functions used within the
    task's script, command, args, or env.
  • Updated the extends setting in .moon/workspace.yml, toolchain.yml, and tasks.yml, to
    support a list of files/URLs to extend.
  • Updated our unstable remote service (Bazel RE API) with new functionality:
    • Added an unstable_remote.cache.compression setting, which can be set to zstd to enable
      zstandard compression on output blobs.
    • Symlink based outputs will now be created as symlinks on Windows, where previously they were
      copies. Do note that symlinks require privileged access on Windows to function correctly.
  • Updated the moon templates command:
    • Templates are now sorted by identifier.
    • Added a --filter option to filter the templates list by ID.
  • Updated toolchain dependency installs to retry up to 3 attempts if the install command fails.
  • Improved the task output prefixing logic.

🐞 Fixes

  • Fixed a panic that could occur during command argument parsing.
  • Fixed an issue where remote cached blobs would sometimes fail to be created locally.
  • Fixed an issue when ctrl+cing multiple persistent tasks would sometimes leave them running in
    the background.

⚙️ Internal

  • Updated proto to v0.44.2 (from 0.44.1).
  • Updated dependencies.

@github-actions github-actions bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Jan 6, 2025
Copy link
Contributor

github-actions bot commented Jan 6, 2025

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jan 6, 2025
@BrewTestBot BrewTestBot enabled auto-merge January 6, 2025 21:29
@BrewTestBot BrewTestBot added this pull request to the merge queue Jan 6, 2025
Merged via the queue into master with commit 6f8e383 Jan 6, 2025
15 checks passed
@BrewTestBot BrewTestBot deleted the bump-moon-1.31.0 branch January 6, 2025 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants