Webhook Versions Save

webhook is a lightweight incoming webhook server to run shell commands

2.6.4

6 years ago

Enhancements

  • Added IP Logging for incoming requests #139

Bugfixes

  • Fixed invalid test payloads due to introduction of IP Whitelist rules in #116

Binaries

I've attached binaries that I've managed to cross-compile without problems.

2.6.3

7 years ago

Enhancements

  • Added IP Whitelist match rule #116
  • Added SHA256 Payload Signature check rule #124

Binaries

I've attached binaries that I've managed to cross-compile without problems.

2.6.2

7 years ago

Enhancements

  • Added support for loading hooks from multiple files. When starting webhook use the -hooks flag 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.

2.6.1

7 years ago

Enhancements

  • Added trigger-rule-mismatch-http-response-code to 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.

2.6.0

7 years ago

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 -version flag so you can view the current webhook version without starting it
  • Added source: 'query' as an alias to source: '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.

2.5.0

7 years ago

Breaking changes

  • When using envname in pass-environment-to-command flag, it will no longer be prefixed with HOOK_, so "envname": "SOMETHING" will result in SOMETHING environment variable to be passed to command, instead of old HOOK_SOMETHING behavior. (#98)
  • when using include-command-output-in-response flag, 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-response flag, 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.

2.4.0

7 years ago
  • removed support for multiple hooks with the same id (#76, #78, #82)
  • fixed the leak of the expected calculated SHA1 payload signature (#83)
  • fixed upstream issue with negroni logger (#91)

2.3.9

7 years ago
  • added support for naming environment variables (#75) (thanks @faide)

2.3.8

8 years ago
  • added response headers to hook definition that will be returned when the hook is requested
  • added -header name=value flag for specifying headers returned with each response

2.3.7

8 years ago
  • added "omitempty" to json fields