This repository has been archived by the owner on Feb 11, 2022. It is now read-only.
Releases: greenkeeper-keeper/hapi-greenkeeper-keeper
Releases · greenkeeper-keeper/hapi-greenkeeper-keeper
v1.0.2
options validation
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
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)