Closed renovate[bot] closed 3 years ago
This PR contains the following updates:
10.9.0
11.2.2
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.
This PR contains the following updates:
10.9.0
->11.2.2
Release Notes
probot/probot
### [`v11.2.2`](https://togithub.com/probot/probot/releases/v11.2.2) [Compare Source](https://togithub.com/probot/probot/compare/v11.2.1...v11.2.2) ##### Bug Fixes - add workaround for "appId option is required" when in setup mode ([#1513](https://togithub.com/probot/probot/issues/1513)) ([e11b91e](https://togithub.com/probot/probot/commit/e11b91e838302ba93d5f78f522863c23f3fee459)) ### [`v11.2.1`](https://togithub.com/probot/probot/releases/v11.2.1) [Compare Source](https://togithub.com/probot/probot/compare/v11.2.0...v11.2.1) ##### Bug Fixes - bump `@octokit/plugin-rest-endpoint-methods` to v5 ([#1511](https://togithub.com/probot/probot/issues/1511)) ([9342caf](https://togithub.com/probot/probot/commit/9342caf1abd8a0a7bb3fb883008ec3f199acfdf9)) ### [`v11.2.0`](https://togithub.com/probot/probot/releases/v11.2.0) [Compare Source](https://togithub.com/probot/probot/compare/v11.1.1...v11.2.0) ##### Features - Add dark mode to builtin pages ([#1509](https://togithub.com/probot/probot/issues/1509)) ([ce96884](https://togithub.com/probot/probot/commit/ce9688493029f32a5abdeb3a4fb91d56d00c18e5)) ### [`v11.1.1`](https://togithub.com/probot/probot/releases/v11.1.1) [Compare Source](https://togithub.com/probot/probot/compare/v11.1.0...v11.1.1) ##### Bug Fixes - update design of probot landing page ([#1508](https://togithub.com/probot/probot/issues/1508)) ([0e37427](https://togithub.com/probot/probot/commit/0e37427938897381dd6d22a6b718b6ee296c532e)) ### [`v11.1.0`](https://togithub.com/probot/probot/releases/v11.1.0) [Compare Source](https://togithub.com/probot/probot/compare/v11.0.6...v11.1.0) ##### Features - add `onAny` and `onError` methods from `@octokit/webhooks` ([#1480](https://togithub.com/probot/probot/issues/1480)) ([9a24f9d](https://togithub.com/probot/probot/commit/9a24f9dcb50eda72f05eb2cdd777ac47b3c0fecb)) ### [`v11.0.6`](https://togithub.com/probot/probot/releases/v11.0.6) [Compare Source](https://togithub.com/probot/probot/compare/v11.0.5...v11.0.6) ##### Bug Fixes - **deps:** pin version of [@octokit/webhooks](https://togithub.com/octokit/webhooks) ([#1472](https://togithub.com/probot/probot/issues/1472)) ([cd14dd4](https://togithub.com/probot/probot/commit/cd14dd472d8d6d19fb9bf601be60e2c91582b0cb)) ### [`v11.0.5`](https://togithub.com/probot/probot/releases/v11.0.5) [Compare Source](https://togithub.com/probot/probot/compare/v11.0.4...v11.0.5) ##### Bug Fixes - clarify error message in case of invalid app authentication ([#1465](https://togithub.com/probot/probot/issues/1465)) thanks [@e](https://togithub.com/e)Xpire163 ([5f1831b](https://togithub.com/probot/probot/commit/5f1831b99a99afe2b82aba8cd10f776925a9bf06)) ### [`v11.0.4`](https://togithub.com/probot/probot/releases/v11.0.4) [Compare Source](https://togithub.com/probot/probot/compare/v11.0.3...v11.0.4) ##### Bug Fixes - **TypeScript:** fix description of `context.pullRequest` method ([#1461](https://togithub.com/probot/probot/issues/1461)) ([a5779ff](https://togithub.com/probot/probot/commit/a5779ff835a033c4abd4500ccfeb6f70deebbde0)) ### [`v11.0.3`](https://togithub.com/probot/probot/releases/v11.0.3) [Compare Source](https://togithub.com/probot/probot/compare/v11.0.2...v11.0.3) ##### Bug Fixes - correctly import (transpiled) app function for run and receive ([#1457](https://togithub.com/probot/probot/issues/1457)) thanks [@ZauberNerd](https://togithub.com/ZauberNerd) ([2275698](https://togithub.com/probot/probot/commit/22756986333c508b4244120efaff4bbe4e6a6db1)) ### [`v11.0.2`](https://togithub.com/probot/probot/releases/v11.0.2) [Compare Source](https://togithub.com/probot/probot/compare/v11.0.1...v11.0.2) ##### Bug Fixes - **typescript:** remove `options.webhookProxy` from `Probot` constructor ([#1459](https://togithub.com/probot/probot/issues/1459)) ([01bb678](https://togithub.com/probot/probot/commit/01bb6788f3b3d089be507d5957877c7ce92160ff)) ### [`v11.0.1`](https://togithub.com/probot/probot/releases/v11.0.1) [Compare Source](https://togithub.com/probot/probot/compare/v11.0.0...v11.0.1) ##### Bug Fixes - import app functions transpiled from TypeScript ([#1448](https://togithub.com/probot/probot/issues/1448)) ([3356845](https://togithub.com/probot/probot/commit/335684509e0aab140014c96a35e03b46ff6f64dc)) ### [`v11.0.0`](https://togithub.com/probot/probot/releases/v11.0.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.19.0...v11.0.0) ##### BREAKING CHANGES For a smooth upgrade, make sure to update to the latest Probot v10 version first (`npm install probot@10`), run your tests, and address all deprecation messages. Nearly all removed APIs have previously been deprecated. - deprecated `context.octokit.*` have been removed via [`@octokit/plugin-rest-endpoint-methods` v4](https://togithub.com/octokit/plugin-rest-endpoint-methods.js/releases/v4.0.0) - `probot.server` property removed. Build your own server instead using `import { Server } from "probot"` - `probot.load()` is now asynchronous and no longer returns the instance - [`express-async-errors`](https://togithub.com/davidbanham/express-async-errors) is no longer used. - `Probot` constructor parameter no longer supported in `createNodeMiddleware(app, { Probot })`. Pass a `probot` instance instead: `createNodeMiddleware(app, { probot })` - `getOptions()` has been removed. Use `{ probot: createProbot() }` instead - `probot.load(appFn)` no longer accepts `appFn` to be a path string. Pass the actual function instead. - `probot.setup()` removed. Use the new `Server` class instead: ```js const { Server, Probot } = require("probot") const server = new Server({ // optional: host, port, webhookPath, webhookProxy, Probot: Probot.defaults({ id, privateKey, ... }) }) // load probot app function await server.load((app) => {}) // start listening to requests await server.start() // stop server with: await server.stop() ``` If you have more than one app function, combine them in a function instead ```js const app1 = require("./app1") const app2 = require("./app2") module.exports = function app ({ probot, getRouter }) { await app1({ probot, getRouter }) await app2({ probot, getRouter }) } ``` - `probot.start()` / `probot.stop()` removed. Use the new `Server` class instead: ```js const { Server, Probot } = require("probot") const server = new Server({ Probot: Probot.defaults({ id, privateKey, ... }) // optional: host, port, webhookPath, webhookProxy, }) // load probot app function await server.load((app) => {}) // start listening to requests await server.start() // stop server with: await server.stop() ``` - `REDIS_URL` is ignored when using `Probot` constructor. Use `new Probot({ redisConfig: redis://... })` instead - `Probot` constructor no longer reads environment variables. Pass options instead, or `import { createProbot } from "probot"` instead - `Probot.run()` has been removed. Use `import { run} from "probot"` instead - `context.github` has been removed. Use `context.octokit` instead - `context.event` has been removed. Use `context.name` instead - `app.route()` has been removed. Use the `getRouter()` argument from the app function instead: `(app, { getRouter }) => { ... }` - `app.router` has been removed. Use `getRouter()` from the app function instead: `(app, { getRouter }) => { ... }` - `probot.logger` has been removed. Use `probot.log` instead - `new Probot({ id })` has been removed. Use `new Probot({ appId })` instead - `new Probot({ cert })` has been removed. Use `new Probot({ privateKey })` instead - `probot.webhook` has been removed. Use `probot.webhooks` instead - `createProbot(options)` no longer supports any keys besides `overrides`, `defaults`, or `env` - `options.throttleOptions` has been removed. Set `options.Octokit` to `ProbotOctokit.defaults({ throttle })` instead - `import { Application } from probot` has been removed. Use `import { Probot } from probot` instead, the APIs are the same ### [`v10.19.0`](https://togithub.com/probot/probot/releases/v10.19.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.18.0...v10.19.0) ##### Features - un-deprecate `(app) => {}`. Deprecate `({ app, getRouter }) => {}` in favor of `(app, { getRouter }) => {}` ([#1441](https://togithub.com/probot/probot/issues/1441)) ([42b043e](https://togithub.com/probot/probot/commit/42b043e5888e719bbb6fd6eda961f348ed17d31d)), closes [/github.com/probot/probot/issues/1286#issuecomment-744094299](https://togithub.com//github.com/probot/probot/issues/1286/issues/issuecomment-744094299) ### [`v10.18.0`](https://togithub.com/probot/probot/releases/v10.18.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.17.3...v10.18.0) ##### Features - `createProbot()` ([#1431](https://togithub.com/probot/probot/issues/1431)) ([d315f0c](https://togithub.com/probot/probot/commit/d315f0c2b62d799a6ff1a348b0d10bd55717f9b4)) - `new Probot({ appId })` ([a94fdca](https://togithub.com/probot/probot/commit/a94fdca9fd69acbd9ae925f41f783417a8d52859)) - `Probot.version`, `Probot.defaults()` ([2ff5d21](https://togithub.com/probot/probot/commit/2ff5d21e2a1bc38d8552ae45843355e97cb205ac)) - `run(appFn, { env })` ([3d90806](https://togithub.com/probot/probot/commit/3d90806c95e17b078cd2bc9d4565513905c86416)) - createNodeMiddleware ([bdbe94e](https://togithub.com/probot/probot/commit/bdbe94ee42a1bd13e87695765953042246149487)) - use new `Server` class when using `probot run` binary ([8a3599d](https://togithub.com/probot/probot/commit/8a3599db8255197fdd83d395e4e7abe7493860d9)) ##### Deprecations - `probot.load()` ([3d4b363](https://togithub.com/probot/probot/commit/3d4b363261ac22726fa3e34542b06f7372e7c658)) - `probot.start()` / `probot.stop()` / `probot.setup()` ([7a8f268](https://togithub.com/probot/probot/commit/7a8f2685619816bb4e9eb3d88c48525195a5ff3b)) - Deprecates `new Probot({ id })` ([a94fdca](https://togithub.com/probot/probot/commit/a94fdca9fd69acbd9ae925f41f783417a8d52859)) ##### Bug Fixes - \`createProbot() without options ([8c01e90](https://togithub.com/probot/probot/commit/8c01e90ecc10aab552d72906a13887303cbcb06f)) - load app function only once when using createNodeMiddleware ([#1432](https://togithub.com/probot/probot/issues/1432)) ([60b702b](https://togithub.com/probot/probot/commit/60b702bd0584c676850027adc3e0501c749eff9f)) - **server:** log error requests as `[METHOD] /[PATH] [STATUS] - [NUM]ms`, e.g `POST / 500 - 123ms` ([9d767e1](https://togithub.com/probot/probot/commit/9d767e191eab8297591e9ffb78e8646ec4baf2c6)) ### [`v10.17.3`](https://togithub.com/probot/probot/releases/v10.17.3) [Compare Source](https://togithub.com/probot/probot/compare/v10.17.2...v10.17.3) ##### Bug Fixes - `app.route()` with `(app) => {}` app function ([#1430](https://togithub.com/probot/probot/issues/1430)) ([d203219](https://togithub.com/probot/probot/commit/d203219707ec2510f7c26798649ff97e776b16db)) ### [`v10.17.2`](https://togithub.com/probot/probot/releases/v10.17.2) [Compare Source](https://togithub.com/probot/probot/compare/v10.17.1...v10.17.2) ##### Bug Fixes - remove `GHE_HOST` deprecation message when using `probot run` cli ([#1423](https://togithub.com/probot/probot/issues/1423)) ([0ec5f23](https://togithub.com/probot/probot/commit/0ec5f23098dca444004005b40fc029de32adb7b8)), closes [#1422](https://togithub.com/probot/probot/issues/1422) ### [`v10.17.1`](https://togithub.com/probot/probot/releases/v10.17.1) [Compare Source](https://togithub.com/probot/probot/compare/v10.17.0...v10.17.1) ##### Bug Fixes - set default log level correctly to `"info"` ([49153b8](https://togithub.com/probot/probot/commit/49153b8dd4bc07eb712b154ac8dd10eba427fdef)) ### [`v10.17.0`](https://togithub.com/probot/probot/releases/v10.17.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.16.0...v10.17.0) ##### Features - `import { run } from "probot"`. Deprecates Probot.run() ([f35b58a](https://togithub.com/probot/probot/commit/f35b58a54c782490dc7749baf9726a5863055097)) - `new Probot({ baseUrl })`. Deprecates `GHE_HOST` / `GHE_PROTOCOL` when using with the `Probot` constructor ([7abbef7](https://togithub.com/probot/probot/commit/7abbef776c3a9136210306d02008df5a426b95f0)) - `new Probot({ logLevel })`. Deprecates `LOG_LEVEL` when using `Probot` constructor ([7c46218](https://togithub.com/probot/probot/commit/7c46218da89b8248a6c1943fabe5713466756330)) - deprecate `INSTALLATION_TOKEN_TTL` ([dfc59fc](https://togithub.com/probot/probot/commit/dfc59fc20ce11d4b74648cdaac5490cefad59a0c)) - deprecate `LOG_FORMAT`, `LOG_LEVEL_IN_STRING`, `SENTRY_DSN` environment variables when using `Probot` constructor. Pass a custom log instance instead: ([514c764](https://togithub.com/probot/probot/commit/514c7645e86067de9abb0ab402f83ac705f8547f)) - deprecate `REDIS_URL` environment variable when using with the `Probot` constructor. Use `new Probot({ redisConfig: "redis://..." })` instead ([1dbd999](https://togithub.com/probot/probot/commit/1dbd999982ea8954f9dade3f89fe67d1da469bd7)) ### [`v10.16.0`](https://togithub.com/probot/probot/releases/v10.16.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.15.0...v10.16.0) ##### Features - use `@probot/get-private-key` ([#1414](https://togithub.com/probot/probot/issues/1414)) ([47d9f3a](https://togithub.com/probot/probot/commit/47d9f3a2e19b3fce3e9b657a8c312ea35b9f939c)), closes [#1309](https://togithub.com/probot/probot/issues/1309) ### [`v10.15.0`](https://togithub.com/probot/probot/releases/v10.15.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.14.1...v10.15.0) ##### Features - `context.octokit`. Deprecates `context.github` ([#1413](https://togithub.com/probot/probot/issues/1413)) ([0527b98](https://togithub.com/probot/probot/commit/0527b980397971b502e5faa5cdf95c96f83eff38)) ### [`v10.14.1`](https://togithub.com/probot/probot/releases/v10.14.1) [Compare Source](https://togithub.com/probot/probot/compare/v10.14.0...v10.14.1) ##### Bug Fixes - **deps:** update `@octokit/core` to latest ([#1412](https://togithub.com/probot/probot/issues/1412)) ([9351df4](https://togithub.com/probot/probot/commit/9351df4b5edd247328c2b1e91e8253c871d1fc49)) ### [`v10.14.0`](https://togithub.com/probot/probot/releases/v10.14.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.13.0...v10.14.0) ##### Features - deprecate `{ Application }` export. Use `{ Probot }` instead, it has the same APIs now. ([#1408](https://togithub.com/probot/probot/issues/1408)) ([0e52e05](https://togithub.com/probot/probot/commit/0e52e05319506005e7a414dafb92edc3dad02227)) ### [`v10.13.0`](https://togithub.com/probot/probot/releases/v10.13.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.12.0...v10.13.0) ##### Features - `probot.on()` / `probot.receive()` / `probot.auth()` ([#1407](https://togithub.com/probot/probot/issues/1407)) ([1812cfe](https://togithub.com/probot/probot/commit/1812cfeb2fedac293a3bfc001002e5210870ccb8)) ### [`v10.12.0`](https://togithub.com/probot/probot/releases/v10.12.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.11.0...v10.12.0) ##### Features - `getRouter` argument for app function (`({ app, getRouter }) => {}`) ([#1406](https://togithub.com/probot/probot/issues/1406)) ([de3adc1](https://togithub.com/probot/probot/commit/de3adc116948506ed585fd2e3f3363475b058301)) ### [`v10.11.0`](https://togithub.com/probot/probot/releases/v10.11.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.10.2...v10.11.0) ##### Features - `(app) => {}` is now `({ app }) => {}` ([#1405](https://togithub.com/probot/probot/issues/1405)) ([4bfae5a](https://togithub.com/probot/probot/commit/4bfae5a54f84a711e2ce19f973817291e54614b2)) ### [`v10.10.2`](https://togithub.com/probot/probot/releases/v10.10.2) [Compare Source](https://togithub.com/probot/probot/compare/v10.10.1...v10.10.2) ##### Bug Fixes - stop using `.webhooks.on("*", handler)` in favor of \`.webhooks.onAny(handler) ([ab6fcb1](https://togithub.com/probot/probot/commit/ab6fcb1dc49eb6914fcdf7ee07b7f94263292654)) ### [`v10.10.1`](https://togithub.com/probot/probot/releases/v10.10.1) [Compare Source](https://togithub.com/probot/probot/compare/v10.10.0...v10.10.1) ##### Bug Fixes - correct payload type by omitting context keys ([#1389](https://togithub.com/probot/probot/issues/1389)) ([2b30518](https://togithub.com/probot/probot/commit/2b30518fbda0adc5a0e06a89ecdc4099a8b229fa)) ### [`v10.10.0`](https://togithub.com/probot/probot/releases/v10.10.0) [Compare Source](https://togithub.com/probot/probot/compare/v10.9.5...v10.10.0) ##### Features - use `octokit-auth-probot` ([#1392](https://togithub.com/probot/probot/issues/1392)) ([8ba3a8e](https://togithub.com/probot/probot/commit/8ba3a8e8a48ff3deeeea6308064318193330dd41)) ### [`v10.9.5`](https://togithub.com/probot/probot/releases/v10.9.5) [Compare Source](https://togithub.com/probot/probot/compare/v10.9.4...v10.9.5) ##### Bug Fixes - use `webhooks.onError()` instead of deprecated `webhooks.on("error", ...)` ([#1390](https://togithub.com/probot/probot/issues/1390)) ([a5b36b3](https://togithub.com/probot/probot/commit/a5b36b3344aa5a378bcf11e4384cbd53f1272832)) ### [`v10.9.4`](https://togithub.com/probot/probot/releases/v10.9.4) [Compare Source](https://togithub.com/probot/probot/compare/v10.9.3...v10.9.4) ##### Bug Fixes - **typescript:** TypeScript issues TS2305,TS2707,TS7006 ([41ee70c](https://togithub.com/probot/probot/commit/41ee70cbf142a710f9bff305ccbe6894bd33d4f0)), closes [#1387](https://togithub.com/probot/probot/issues/1387) ### [`v10.9.3`](https://togithub.com/probot/probot/releases/v10.9.3) [Compare Source](https://togithub.com/probot/probot/compare/v10.9.2...v10.9.3) ##### Bug Fixes - **types:** set correct type for `context` passed to event handler ([#1378](https://togithub.com/probot/probot/issues/1378)) ([05abeef](https://togithub.com/probot/probot/commit/05abeef921937f9b5c68d37f83883bc521c4fc1e)), closes [#r501871740](https://togithub.com/probot/probot/issues/r501871740) ### [`v10.9.2`](https://togithub.com/probot/probot/releases/v10.9.2) [Compare Source](https://togithub.com/probot/probot/compare/v10.9.1...v10.9.2) ##### Bug Fixes - **typescript:** adapt for latest `@octokit/webhooks` ([#1374](https://togithub.com/probot/probot/issues/1374)) ([630d78e](https://togithub.com/probot/probot/commit/630d78e34780c8f64702a15b42854c2fa0f9af54)) ### [`v10.9.1`](https://togithub.com/probot/probot/releases/v10.9.1) [Compare Source](https://togithub.com/probot/probot/compare/v10.9.0...v10.9.1) ##### Bug Fixes - do not overwrite `options.throttle` passed to `{Octokit: ProbotOctokit.defaults(options)}` ([#1373](https://togithub.com/probot/probot/issues/1373)) ([9483546](https://togithub.com/probot/probot/commit/9483546c740ae36d0e3fb68fbdb9f91bf1985ec2))Configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.