|
1 | 1 | --- |
2 | 2 | slug: moon-v1.38 |
3 | | -title: moon v1.38 - Go WASM toolchain ... |
| 3 | +title: moon v1.38 - Go WASM toolchain, MCP tools, terminal notifications, and more! |
4 | 4 | authors: [milesj] |
5 | | -tags: [toolchain, wasm, plugin, go, mcp, ai, webhooks] |
6 | | -# image: ./img/moon/v1.38.png |
| 5 | +tags: [toolchain, wasm, plugin, go, mcp, ai, webhooks, terminal, notifications] |
| 6 | +image: ./img/moon/v1.38.png |
7 | 7 | --- |
8 | 8 |
|
9 | | -In this release, we're stoked to release yet another WASM toolchain plugin, and improved MCP/AI |
10 | | -support! |
| 9 | +In this release, we're stoked to release the Go WASM toolchain plugin, and improved MCP/AI support! |
11 | 10 |
|
12 | 11 | <!--truncate--> |
13 | 12 |
|
14 | 13 | ## RFC: Task inheritance via inline configuration |
15 | 14 |
|
16 | | -TODO |
| 15 | +Task inheritance is one of moon's most powerful features, allowing you to define tasks at the |
| 16 | +top-level and have them automatically inherited by projects that match certain conditions. In it's |
| 17 | +current form, task inheritance is based on the file name of the configuration file, but this |
| 18 | +approach has several limitations. |
| 19 | + |
| 20 | +We're planning to improve task inheritance and have written up an |
| 21 | +[RFC to discuss these changes](https://github.com/moonrepo/moon/issues/2023). We'd appreciate any |
| 22 | +and all feedback! |
17 | 23 |
|
18 | 24 | ## New Go toolchain powered by WASM |
19 | 25 |
|
@@ -51,11 +57,41 @@ We hope you enjoy this new Go toolchain. With that said, we are _not_ Go experts |
51 | 57 | hear from you on what works, what doesn't, what can be improved, and what features you would like to |
52 | 58 | see added! |
53 | 59 |
|
| 60 | +## New MCP tools |
| 61 | + |
| 62 | +In our last release, we introduced the [`moon mcp` command](./moon-v1.37#mcp-editor-integration), |
| 63 | +offering deep editor integration with AI models like GitHub Copilot and Cursor. This release expands |
| 64 | +on that by introducing 3 more tools to utilize: |
| 65 | + |
| 66 | +- `get_touched_files` - Gets touched files between base and head revisions. |
| 67 | +- `sync_projects` - Runs the `SyncProject` action for one or many projects by `id`. |
| 68 | +- `sync_workspace` - Runs the `SyncWorkspace` action. |
| 69 | + |
| 70 | +## New OS terminal notifications |
| 71 | + |
| 72 | +This was a feature we originally scoped out during moon's inception, almost 3 years ago, but we |
| 73 | +never got around to implementing it. However, there has been some improvements to native operating |
| 74 | +system notifications in Rust lately, so it felt like a good time to finally implement it! |
| 75 | + |
| 76 | +And on that note, we are introducing a new |
| 77 | +[`notifier.terminalNotifications`](/docs/config/workspace#terminalnotifications) setting that allows |
| 78 | +you to receive terminal notifications for pipeline events. |
| 79 | + |
| 80 | +```yaml title=".moon/workspace.yml" |
| 81 | +notifier: |
| 82 | + terminalNotifications: 'failure' |
| 83 | +``` |
| 84 | + |
| 85 | +> View the [official guide](/docs/guides/notifications) for more information! |
| 86 | + |
54 | 87 | ## Other changes |
55 | 88 |
|
56 | 89 | View the [official release](https://github.com/moonrepo/moon/releases/tag/v1.38.0) for a full list |
57 | 90 | of changes. |
58 | 91 |
|
| 92 | +- Added new `moon toolchain` command and sub-commands. |
| 93 | + - Add a toolchain to `.moon/toolchain.yml` with `moon toolchain add`. |
| 94 | + - View information about a toolchain plugin with `moon toolchain info`. |
59 | 95 | - Added a `notifier.webhookAcknowledge` setting, that ensures webhooks resolve with a 2XX status |
60 | 96 | code. |
61 | 97 | - Updated proto to [v0.50.1](https://github.com/moonrepo/proto/releases/tag/v0.50.0) (from 0.49.4). |
|
0 commit comments