Releases: adnanh/webhook
Releases · adnanh/webhook
webhook 2.6.5
webhook 2.6.4
webhook 2.6.3
webhook 2.6.2
Enhancements
- Added support for loading hooks from multiple files. When starting webhook use the
-hooksflag multiple times to specify multiple files to load. If the hot reload is enabled, when the file is removed, hooks from that file will be removed as well and the file will no longer be watched for changes.
Binaries
I've attached binaries that I've managed to cross-compile without problems.
webhook 2.6.1
Enhancements
- Added
trigger-rule-mismatch-http-response-codeto the hook definition so you can control the HTTP response status code returned when the trigger rule is not satisfied for the given hook.
Binaries
I've attached binaries that I've managed to cross-compile without problems.
webhook 2.6.0
Breaking changes
- Parse parameters as JSON will no longer stop hook execution if it encounters errors while parsing the arguments (i.e. argument does not exist, or does not contain valid JSON string).
- Argument extraction will no longer stop after the first error is encountered, but instead will continue to try to extract other arguments. (partially related to #106)
Enhancements
- Added
-versionflag so you can view the current webhook version without starting it - Added
source: 'query'as an alias tosource: 'url'
Bugfixes
- Arguments which have header as the source will now properly be matched regardless of the argument name case (it will be canonicalized) (#106)
Binaries
I've attached binaries that I've managed to cross-compile without problems.
webhook 2.5.0
Breaking changes
- When using
envnameinpass-environment-to-commandflag, it will no longer be prefixed with HOOK_, so "envname": "SOMETHING" will result inSOMETHINGenvironment variable to be passed to command, instead of oldHOOK_SOMETHINGbehavior. (#98) - when using
include-command-output-in-responseflag, webhook will no longer return wrapped output in the JSON form, but instead will return raw stdout output, stderr will be logged (#87) - when using
include-command-output-in-responseflag, webhook will no longer return 200 OK header if the command failed to execute or encountered errors while executing (#88)
Binaries
I've attached binaries that I've managed to cross-compile without problems.
webhook 2.4.0
webhook 2.3.9
webhook 2.3.8
- added response headers to hook definition that will be returned when the hook is requested
- added
-header name=valueflag for specifying headers returned with each response