github / rally

GitHub <> Rally integration
MIT License
123 stars 33 forks source link

Bump probot from 9.14.1 to 11.0.0 #213

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps probot from 9.14.1 to 11.0.0.

Release notes

Sourced from probot's releases.

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

  • 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 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:

    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

    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:

    const { Server, Probot } = require("probot")
    const server = new Server({
    

... (truncated)

Commits
  • 15e4b00 feat: probot v11
  • 42b043e feat: un-deprecate (app) => {}. Deprecate ({ app, getRouter }) => {} in f...
  • 41820c3 docs(webhooks): typo in usage example (#1445) thanks @homeles
  • a028c3d build(deps): bump highlight.js from 10.3.1 to 10.4.1 (#1429)
  • 3aa0d5f docs: log stubbing (#1355)
  • f6a7970 refactor: webhooks.on("*") is now webhooks.onAny() (#1401)
  • 60b702b fix: load app function only once when using createNodeMiddleware (#1432)
  • 8c01e90 fix: `createProbot() without options
  • d315f0c feat: createProbot(), createNodeMiddleware(app, { probot }). Deprecates `...
  • d1a66fc test: remove test/fixtures/test-private-key.pem from gitignore
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 3 years ago

Superseded by #218.