With this release, we're landing the first iteration of our notifier service, starting with webhooks! We've also spent some time working on quality of life improvements.
To start, we have a few breaking changes this release to be aware of!
Minor changes to ID formatting
An ID refers to many things — project names, task names, target segments, so on and so forth. When parsing these values, we format them to remove unwanted characters, as these IDs are used in many contexts, many of which need to be strict.
Previously, we would remove unwanted characters entirely. Instead, we now replace them with dashes
-) for better readability. Take the following for example:
type has been renamed to
This setting was renamed for a few reasons. To start, tasks actually have a type internally that is not configured, but is inferred based on what's configured. This was a bit confusing.
And secondly, our toolchain refers to language integrations as platforms, and since this setting determines which tool to run with, we wanted to align on the platform terminology.
command: 'rm -rf ./dist'
command: 'rm -rf ./dist'
Because of this change, the
$taskTypetoken was also renamed to
Webhook events (experimental)
Looking to gather metrics for your pipelines? Gain insight into run durations and failures? Maybe you want to send Slack or Discord notifications? With our new notifier system, this is now possible through webhooks!
Simply enable the
notifier.webhookUrl setting to start
receiving events from your CI environments.
View the official guide on webhooks for a full list of events and an example payload structure!
YAML anchors and aliases
We've updated our YAML configuration files to support extended syntax,
&) and aliases (
With this new syntax, you're now able to reduce the amount of duplication required in your config
files, especially when declaring tasks, as demonstrated below!
command: 'astro dev'
command: 'astro build'
command: 'astro check'
command: 'astro preview'
VS Code extension
View the official release for a full list of changes.
- Increased runtime performance and reduced memory consumption.
- Template enum variables can now define objects for their
depscan now omit the
~:prefix for tasks within the current project.
moon checkcommand can now use the
Expect the following in the v0.18 release!
- Workflow improvements for
- Benchmarks and performance tuning.
- Individual stdout/stderr log files when running tasks.