Commit Graph

10 Commits

Author SHA1 Message Date
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 15e4b00702 feat: probot v11
BREAKING CHANGE: TBD
2020-12-15 13:54:49 -08: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 d673f3b8fd test: import types 2020-12-07 21:14:05 -08:00
Gregor Martynus 514c7645e8 feat: deprecate `LOG_FORMAT`, `LOG_LEVEL_IN_STRING`, `SENTRY_DSN` environment variables when using `Probot` constructor. Pass a custom log instance instead:
```
import { Probot } from "probot";
import pino from "pino";
import { getTransformStream } from "@probot/pino";

const transform = getTransformStream({
  level: "info",
  logFormat: "pretty",
  logLevelInString: false,
  sentryDsn: "https://1234abcd@sentry.io/12345
});

transform.pipe(pino.destination(1));
const log = pino(pinoOptions, transform);

new Probot({ log })
```
2020-11-19 16:36:25 -08:00
Gregor Martynus f829f9505a test: remove unused nock import 2020-11-19 16:36:25 -08:00
Gregor Martynus 4bfae5a54f
feat: `(app) => {}` is now `({ app }) => {}` (#1405)
deprecates `(app) => {}`
2020-11-11 14:25:36 -08:00
Gregor Martynus 072b8c26b5 v10.0.0
CHANGELOG: https://github.com/probot/probot/releases/tag/v10.0.0
2020-09-01 10:09:40 -07:00
Gregor Martynus e3f6cf583b
fix: revert "v9.14.0" (#1314)
This reverts commit ee65669677.

It was merged accidentally and incorrectly using squash & merge, which resulted in a 9.x feature relaese instead of tagging the the latest 10.x release as latest
2020-08-21 10:46:00 -07:00
Gregor Martynus ee65669677
feat: v10 (#1310) 2020-08-21 10:38:30 -07:00