- Webhook URLs can now be set to environment variables or Twig code. (#18)
- Webhooks can now specify custom request headers. (#12)
- Webhooks for element events can now be executed depending on whether the element is new, is a draft/revision, or is being duplicated/propagated/bulk-resaved. (#14)
- Modules and plugins can register additional webhook filters using the new
craft\webhooks\Plugin::EVENT_REGISTER_FILTER_TYPES
event.
- Fixed an error that could occur when detecting available component classes in Craft 3.2.
- Fixed a bug where it wasn’t possible to create or edit webhooks if a plugin contained an invalid class. (#8)
- Fixed a SQL error that would occur on installs that had been updated from Webhooks 1.x.
- Fixed a SQL error that occurred when attempting to uninstall Webhooks.
- Webhooks now logs requests, and it’s possible to view them from a new “Activity” page within the plugin.
- Added new
maxDepth
,maxAttempts
andattemptDelay
settings, which can be set fromconfig/webhooks.php
. - The Sender Class and Event Name webhook settings now show suggestions based on the available classes and events.
- Webhooks can now have custom payloads. (#3)
- Webhooks now requires Craft 3.1 or later.
- Webhook requests now include data for any magic event properties defined by
fields()
, if the event class implementsyii\base\Arrayable
. (#2)
- Webhooks is now translated into Chinese. (#1)
- Fixed a bug where the “Extra User Attributes”, “Extra Sender Attributes”, and “Extra Event Attributes” fields were visible when editing an existing webhook with a GET request method.
- Added support for webhooks that send GET requests.
- Webhook names and group names can now contain emojis, even if using MySQL.
- Typing
->
or=>
into a webhook’s Name field now creates a ➡️.
- Fixed a bug where webhook-send jobs didn’t have descriptions.
Initial release.