Commit Graph

7 Commits

Author SHA1 Message Date
wolfy1339 948a1b7147
feat: v13 (#1874)
BREAKING CHANGE: Drop support for NodeJS < 18
BREAKING CHANGE: replace node-fetch with the Fetch API
BREAKING CHANGE: default webhookPath is now /api/github/webhooks
BREAKING CHANGE: probot receive now only supports payloads in JSON format, previously also (unintionally) allowed JS.

closes #1643


---------

Co-authored-by: Aras Abbasi <aras.abbasi@googlemail.com>
Co-authored-by: Alexander Fortin <shaftoe@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Aaron Dewes <aaron.dewes@protonmail.com>
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
Co-authored-by: Aaron Dewes <aaron@runcitadel.space>
Co-authored-by: prettier-toc-me[bot] <56236715+prettier-toc-me[bot]@users.noreply.github.com>
Co-authored-by: Yaseen <9275716+ynx0@users.noreply.github.com>
2024-01-25 16:03:28 -05:00
Gregor Martynus 4b3ae0eee5 feat: update `@octokit/webhooks` to v9 (#1559)
BREAKING CHANGE: remove '*' event
BREAKING CHANGE: app.webhooks.middleware has been removed in `@octokit/webhooks` v9
BREAKING CHANGE: removes the `webhookPath` option on `new Probot({})` for the webhooks middleware

Co-authored-by: wolfy1339 <webmaster@wolfy1339.com>
2021-06-24 12:00:09 -07:00
Gregor Martynus e11b91e838
fix: add workaround for "appId option is required" when in setup mode (#1513) 2021-04-23 12:12:29 -07:00
Gregor Martynus 42b043e588
feat: un-deprecate `(app) => {}`. Deprecate `({ app, getRouter }) => {}` in favor of `(app, { getRouter }) => {}` (#1441)
see discussion at https://github.com/probot/probot/issues/1286#issuecomment-744094299
2020-12-15 11:04:32 -08:00
Gregor Martynus 60b702bd05 fix: load app function only once when using createNodeMiddleware (#1432) 2020-12-07 21:14:05 -08:00
Gregor Martynus d315f0c2b6 feat: `createProbot()`, `createNodeMiddleware(app, { probot })`. Deprecates `getOptions`, `createNodeMiddleware(app, { Probot })` (#1431) 2020-12-07 21:14:05 -08:00
Gregor Martynus bdbe94ee42 feat: createNodeMiddleware 2020-12-07 21:14:05 -08:00