It's now possible to create more robust webhooks templates, and to filter for specific packages!
Whether you're automating in the name of ChatOps to get notifications for events on packages, or you're building complex CI/CD deployment machinery, or you're integrating payments via IFTTT or Zapier; our webhooks have got you covered to make this easier.
Two new enhancements added:
- A "standard library" of functions/operators is now available that you call to build more complicated and dynamic messages. For example, you might loop over the tags on a package, and do something different if one of the tags is labelled "hotfix".
- You can now add a package search query to the webhook, and this uses the same search syntax supported elsewhere. If present, packages that emit events need to match the search query provided. In this way, you could filter webhooks for only certain types of packages, in addition to specific events.
Putting both of them together, you can create some powerfully dynamic notification pipelines: