Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Releases: greenkeeper-keeper/hapi-greenkeeper-keeper

v1.0.2

30 Jan 15:27
Compare
Choose a tag to compare

<a name"1.0.2">

1.0.2 (2017-01-30)

Bug Fixes

  • package: update http-status-codes to version 1.1.6 (4352973e)
  • ping: reported success for ping requests (41da0a2b)

options validation

09 Jan 06:15
9b5ffb3
Compare
Choose a tag to compare

Breaking changes

  • the plugin options are now validated when the plugin is initialized to provide faster feedback about misconfiguration. if your configuration does not match the requirements, this change will prevent your server from starting. however, this will prevent a misconfiguration from causing problems when processing a webhook because it should be noticed earlier.

config as plugin options

08 Jan 21:42
4a45f3e
Compare
Choose a tag to compare

Internal changes

  • Backfilled with a full suite of unit and integration changes
  • Refactored the design of the code to support better testability

Fixes

  • Commit statuses are now checked at the rolled-up level rather than looping through the individual statuses. This has the impact of not accepting an empty statuses list as passing before services have a chance to register) (#20)
  • The status codes used to respond to the webhooks align better with what can be expected of the server for that webhook (#11)
  • Switched from the token version of basic auth to token auth, which removes the need to provide a GitHub user as part of the configuration (#17)

Breaking changes

  • Configuration is now expected to be provided as plugin options rather than environment variables. It is up to the consumer of the plugin how they want to collect configuration, but whatever is chosen needs to be passed along to the plugin when it is registered with their server. (#3)