* webhook-types:
Test for context.isBot
Add test for deprecated receive behavior
Add strong typing for exported webhooks property
Fix deprecation warnings
Make most webhook payload properties optional for now
Move webhook type declarations
* ts-extract-github-adapter: (24 commits)
Doc tweaks
Remove @private
Fix accidental change to catchErrors in constructor
Add deprecations for `app.app()` and `app.auth`
Rename `adapter` to just `github`
chore(package): update ts-jest to version 23.0.0 (#602)
chore(test): Convert application tests to TypeScript (#614)
Clarifies the Probot requires a webhook secret (#621)
chore(test): Run tslint against tests (#622)
Tweak formatting of config docs (#603)
Fix: Improve typing of Context (#617)
fix: Make cacheErrors option optional (#616)
7.0.1
Update ocotokit/rest.js to v15.9.4 (#610)
fix: Remove extra event setting (#611)
Update eslint to the latest version 🚀 (#581)
docs: Fix new contribution grammar (#609)
update the example app id image (#606)
Update links for our API (#604)
Remove next tag (#595)
...
* origin/master:
chore(package): update ts-jest to version 23.0.0 (#602)
chore(test): Convert application tests to TypeScript (#614)
Clarifies the Probot requires a webhook secret (#621)
chore(test): Run tslint against tests (#622)
Tweak formatting of config docs (#603)
Fix: Improve typing of Context (#617)
fix: Make cacheErrors option optional (#616)
7.0.1
Update ocotokit/rest.js to v15.9.4 (#610)
fix: Remove extra event setting (#611)
Update eslint to the latest version 🚀 (#581)
docs: Fix new contribution grammar (#609)
update the example app id image (#606)
Update links for our API (#604)
Remove next tag (#595)
7.0.0
Various cleanup and fixes from TS checklist (#585)
Add some documentation about TS to README and CONTRIBUTING (#590)
chore: Use tslint-config-standard (#594)
* State event in Context constructor implements WebhookEvent
* State Context implements WebhookEvent
* Explicitly state properties in Context constructor instead of using
Object.assign
* ts-extract-github-adapter:
chore(package): update @types/jest to version 23.1.3 (#593)
Revert "Configuration: DISABLE_STATS=true" (#591)
chore(package): update @types/jest to version 23.0.0 (#555)
docs(configuration): DISABLE_STATS=true (#578)
fix: Fix path to GraphQL API when using GitHub Enterprise (#580)
Adds error case (#589)
doc: Clarify that `WEBHOOK_SECRET` needs to match GitHub settings
(#588)
chore: Replace jsdoc with typedoc (#583)
Adds missing awaits (#584)
doc: Update robot => app in README (#586)
docs: clarify GitHub apps as GA in 2.13 and above (#579)
docs: Tweak payload info in testing.md (#575)
add backticks (#574)
docs: Typo (#572)
fix: Throw if GHE_HOST includes a protocol (#570)
feat: app.load() (#554)
fix: Optimize IGNORED_ACCOUNTS check to reduce the number of API
requests that the stats endpoint makes for spammy accounts (#566)
add env config docs (#544)
* origin/master:
chore(package): update @types/jest to version 23.1.3 (#593)
Revert "Configuration: DISABLE_STATS=true" (#591)
chore(package): update @types/jest to version 23.0.0 (#555)
docs(configuration): DISABLE_STATS=true (#578)
fix: Fix path to GraphQL API when using GitHub Enterprise (#580)
Adds error case (#589)
doc: Clarify that `WEBHOOK_SECRET` needs to match GitHub settings
(#588)
chore: Replace jsdoc with typedoc (#583)
Adds missing awaits (#584)
doc: Update robot => app in README (#586)
docs: clarify GitHub apps as GA in 2.13 and above (#579)
docs: Tweak payload info in testing.md (#575)
add backticks (#574)
docs: Typo (#572)
fix: Throw if GHE_HOST includes a protocol (#570)
feat: app.load() (#554)
fix: Optimize IGNORED_ACCOUNTS check to reduce the number of API
requests that the stats endpoint makes for spammy accounts (#566)
add env config docs (#544)
Both `get` and `set` are async in the metadata library. The `await` in `get` is required in this case because otherwise it will always to set a promise on the metadata, which doesn't make sense, and the await in set is required to not swallow the rejection if it fails.
This helps enforce the idea that a payload fixture file should be the
webhook payload body, so that the fixture can be referenced by both
tests and `probot simulate`.