Skip to content

Releases: adnanh/webhook

webhook 2.3.6

19 Nov 11:41
Compare
Choose a tag to compare
  • added pass-environment-to-command field in hooks.json file definition, to allow user to pass variables from headers, query or payload as environment variables to the command
  • better error handling
  • code refactoring
  • improved test coverage
  • got rid of redundant webhook.go version for windows

webhook 2.3.5

04 Oct 15:12
Compare
Choose a tag to compare
  • Webhook will now fail if it cannot load hooks during the startup and it's not running in verbose mode (-verbose flag). If you wish to override this behaviour, use the -nopanic flag when starting webhook.

webhook 2.3.4

06 Jun 12:32
Compare
Choose a tag to compare
  • you can now define multiple hooks with the same id, the first one to satisfy all rules will be triggered
  • you can now return output from command by setting the property in hook JSON include-command-output-in-response to true
  • you can now pass headers, payload or query variables as json to your command using { "source": "entire-headers" }, { "source": "entire-payload" }, { "source": "entire-query" } respectively

webhook 2.3.3

16 May 12:06
Compare
Choose a tag to compare
  • separated windows and other platforms to their own build files
  • removed signal watcher for windows build target
  • you can pass static string as an argument to your command using { "source": "string", "name": "argument you want to pass" }

webhook 2.3.2

31 Mar 20:22
Compare
Choose a tag to compare
  • added hook reload on USR1 os signal (i.e. on Linux you can now use kill -USR1 webhookpid to reload hooks from hooks file, useful if you don't want to, or, you've forgot to enable hot reload)
  • allow charset declaration in Content-Type header (it will be ignored however, but the correct content type hook handler will be invoked, as opposed to previous versions where nothing would happen)

webhook 2.3.0

21 Mar 00:30
Compare
Choose a tag to compare
  • added support to decode JSON strings in payload to objects and then to reference them using the dot-notation syntax (useful for Bitbucket hooks where the payload is sent via the x-form-urlencoded as a JSON string)
  • code cleanup and refactoring
  • added tests

webhook 2.2.2

17 Mar 19:00
Compare
Choose a tag to compare
  • added support for custom URL prefix for hooks using the -urlprefix argument when starting the webhook
  • added response-message property for hooks that will be sent to the hook initiator when the hook gets requested (useful for slack slash commands)

webhook 2.2.0

14 Mar 12:06
Compare
Choose a tag to compare
  • added support for https

webhook 2.1.0

14 Mar 11:44
Compare
Choose a tag to compare
  • added hot-reload for hooks file

webhook 2.0.0

13 Mar 19:53
Compare
Choose a tag to compare
  • major architecture overhaul
  • new trigger rules
  • ability to pass data from header, payload and query variables
  • switched from martini to negroni