- Add some more Reflect instances
- Include integration with github-webhooks package.
- Code is adjusted for backwards-compatibility with GHC 7.10.
HasServer
instances are updated for servant-0.13 or later, due tohoistServerWithContext
.
- Use constant-time equality to check signatures.
- Add dynamic key capabilities.
- Support GHC 8.2 /
base
4.10. - Bump up version bound for
github
to 0.18.
- Drop support for GHC <8.
- Drop support for Servant <0.11.
- Switch from Crypto package to cryptonite package.
- Now servant-github-webhook builds with stack.
- Pass reflected key index to the handler function for GitHubSignedReqBody. This allows for more generic handler functions, as they can determine programmatically which repository they are responding to.
- Improve documentation (formatting and typos) and examples (remove unnecessary verbosity).
- Generalize
GitHubSignedReqBody
combinator toGitHubSignedReqBody''
to allow for configuring multiple signing keys, on a per-route basis. - Make
GitHubKey
take a function instead of simply anIO
action. - Reexport
KProxy
, to make writingDemote'
instances easier.
Initial release.
- Implement
GitHubSignedReqBody
combinator for automatic signature verification during routing. - Implement
GitHubEvent
combinator for dispatching to routes based on the webhook type. - Known issue: only one global
GitHubKey
can be used across all routes.