Version 2.4.2
September 18, 2023
Fixed
- Fixed a potential SSRF vulnerability.
Version 2.4.1
September 9, 2021
Added
- Added the
disableAllWebhooks
setting. (#4)
Version 2.4.0.1
August 30, 2021
Fixed
- Fixed a bug where pending webhook requests weren’t being updated when new webhooks were triggered with matching debounce keys.
Version 2.4.0
August 30, 2021
Added
- Added new “Element is being saved for the first time” and “Element is a provisional draft” webhook filters.
- Some webhook filters now disable other mutually-exclusive filters when active and enabled.
- Pending webhook requests now have a “Send now” button, for manually triggering a webhook if the queue job was lost or failed. (#35)
- Old webhook request activity is now purged during garbage collection. (#57)
- Added the “Initial Delay” setting. (#53)
- Added the “Purge Duration” setting.
- Added
craft\webhooks\filters\ExclusiveFilterInterface
.
Changed
- Webhooks now requires Craft 3.7 or later.
- Webhook request details now use a slideout instead of an HUD.
- Improved the performance of clearing out completed webhook request logs. (#32)
- Exceptions thrown for webhook requests are now logged.
Fixed
- Fixed an error that could occur when calling
craft\webhooks\Plugin::getRequestData()
if an invalid request ID was passed. - Fixed an exception that could occur when retrying webhook requests, if the queue driver didn’t support delayed jobs.
- Fixed an exception that could occur when sending webhook requests, if Guzzle wasn’t able to connect to the server.
- Fixed an error during install, if the database tables already existed. (#46)
Version 2.3.3
April 1, 2021
Fixed
- Fixed a MySQL error that could occur with a large webhook response body.
Version 2.3.2
June 27, 2020
Fixed
- Fixed a PHP error that occurred when running Craft 3.5 or later. (#34)
Version 2.3.1
June 19, 2020
Added
- Added a new “Element is enabled” filter. (#29)
Version 2.3.0
June 18, 2020
Added
- Added a settings page in the control panel.
- Webhooks have a new “Debounce Key Format” setting, which can be used to debouncing similar webhook requests. (#27)
- Webhook URLs can now be set to environment variables or Twig code. (#18)
- Webhooks can now send PUT requests. (#21)
- The Activity page now has a “Clear” button, which will clear out all request activity for completed requests. (#32)
- Added a new
guzzleConfig
plugin setting, which can be set fromconfig/webhooks.php
to customize the Guzzle config for webhook requests. (#31)
Fixed
- Fixed a bug where webhooks would lose their custom payload template when enabled or disabled from the Manage Webhooks page. (#22)
- Fixed a bug where the Edit Webhook page wouldn’t immediately show available filters if the webhook didn’t have any preselected filters.
Version 2.2.0
July 29, 2019
Added
- Webhooks can now specify custom request headers. (#12)
Version 2.1.0
July 26, 2019
Added
- 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
- Fixed an error that could occur when detecting available component classes in Craft 3.2.
Version 2.0.1
March 20, 2019
Fixed
- 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.
Version 2.0.0
March 19, 2019
Added
- 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)
Changed
- Webhooks now requires Craft 3.1 or later.
Version 1.1.2
December 21, 2018
Changed
- Webhook requests now include data for any magic event properties defined by
fields()
, if the event class implementsyii\base\Arrayable
. (#2)
Version 1.1.1
December 17, 2018
Added
- Webhooks is now translated into Chinese. (#1)
Fixed
- 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.
Version 1.1.0
December 13, 2018
Added
- 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 ➡️.
Version 1.0.1
December 13, 2018
Fixed
- Fixed a bug where webhook-send jobs didn’t have descriptions.
Version 1.0.0
December 13, 2018
Initial release.