- Add some more Reflect instances
- Include integration with github-webhooks package.
- Code is adjusted for backwards-compatibility with GHC 7.10.
HasServerinstances 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 /
base4.10. - Bump up version bound for
githubto 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
GitHubSignedReqBodycombinator toGitHubSignedReqBody''to allow for configuring multiple signing keys, on a per-route basis. - Make
GitHubKeytake a function instead of simply anIOaction. - Reexport
KProxy, to make writingDemote'instances easier.
Initial release.
- Implement
GitHubSignedReqBodycombinator for automatic signature verification during routing. - Implement
GitHubEventcombinator for dispatching to routes based on the webhook type. - Known issue: only one global
GitHubKeycan be used across all routes.