Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update probot to the latest version 馃殌 #210

Closed
wants to merge 1 commit into from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Mar 8, 2019

The dependency probot was updated from 7.5.1 to 8.0.0.

This version is not covered by your current version range.

If you don鈥檛 accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for v8.0.0

馃う鈥嶁檪锔廤e did a little 馃挬

We released both v8.0.0 and v9.0.0 at the same time. Please update directly to v9. See changelogs at https://github.com/probot/probot/releases/tag/v9.0.0

Commits

The new version differs by 70 commits ahead by 70, behind by 3.

  • 7648419 chore(package): update lockfile package-lock.json
  • 49afe60 fix(package): update pkg-conf to version 3.0.0
  • e86c260 test: convert webhook proxy test to TS (#851)
  • 4cf59e2 test: convert final test to TypeScript (#850)
  • 6229a14 build(package): Update Jest to v24 (#863)
  • 3630bc2 feat: Add overloads for all Webhook events (#858)
  • be1440f fix: remove unnecessary escaping in private key error message (#862)
  • 8c5495f feat: standalone run command (#751)
  • eed8380 chore(package): update lockfile package-lock.json
  • 7d30231 chore(package): update ts-jest to version 24.0.0
  • 973c6a4 feat: options.Octokit to pass custom Octokit version (#840)
  • 987db21 chore(tests): Convert setup script to TS (#849)
  • be833af chore(package): update lockfile package-lock.json
  • f500527 chore(package): update @types/node to version 11.9.0
  • bce1ff7 fix(typescript): @octokit/webhooks import (#854)

There are 70 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don鈥檛 help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 馃尨

greenkeeper bot added a commit that referenced this pull request Mar 8, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 8, 2019

  • The dependency probot was updated from 7.5.1 to 9.0.0.

Update to this version instead 馃殌

Release Notes for v8.0.1

8.0.1 (2019-03-03)

Bug Fixes

  • make smee-client requirement optional again (#868) (99784f3)
Commits

The new version differs by 3 commits.

  • 99784f3 fix: make smee-client requirement optional again (#868)
  • d79c71b docs(README): npm beta badge -> next badge
  • 867159d build(package): update semantic-release to v16.0.0-beta.18

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 8, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 8, 2019

  • The dependency probot was updated from 7.5.1 to 9.0.0.

Update to this version instead 馃殌

Release Notes for v8.0.2

8.0.2 (2019-03-03)

Bug Fixes

Commits

The new version differs by 74 commits ahead by 74, behind by 80.

  • f360c5f fix: error.code => error.status (#871)
  • 99784f3 fix: make smee-client requirement optional again (#868)
  • d79c71b docs(README): npm beta badge -> next badge
  • 867159d build(package): update semantic-release to v16.0.0-beta.18
  • 7648419 chore(package): update lockfile package-lock.json
  • 49afe60 fix(package): update pkg-conf to version 3.0.0
  • e86c260 test: convert webhook proxy test to TS (#851)
  • 4cf59e2 test: convert final test to TypeScript (#850)
  • 6229a14 build(package): Update Jest to v24 (#863)
  • 3630bc2 feat: Add overloads for all Webhook events (#858)
  • be1440f fix: remove unnecessary escaping in private key error message (#862)
  • 8c5495f feat: standalone run command (#751)
  • eed8380 chore(package): update lockfile package-lock.json
  • 7d30231 chore(package): update ts-jest to version 24.0.0
  • 973c6a4 feat: options.Octokit to pass custom Octokit version (#840)

There are 74 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 8, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 8, 2019

  • The dependency probot was updated from 7.5.1 to 9.0.0.

Update to this version instead 馃殌

Release Notes for v9.0.0

Breaking changes

  • 鈿狅笍 all previously deprecated methods have been removed. Make sure you address all deprecation messages you see with Probot v7 before upgrading.

  • context.github.query(): Changes in errors thrown due to GraphQL errors

    • error.name is now GraphqlError, was GraphQLQueryError
    • error.query is now error.request.query
  • preview headers that are not required to use an API are no longer set automatically. Set using {headers: { accept: '<preview header here>'}

  • .gitdata.getTags() has been removed. Use .git.listRefs({namespace: tags}) instead

  • Methods for undocumented endpoints have been removed.

    • Instead of octokit.users.getById({id}) use octokit.request('GET /user/:id', {id})
    • Instead of octokit.repos.getById({id}) use octokit.request('GET /repositories/:id', {id})
  • octokit.enterprise.* methods have been removed. Use your own @ocotkit/rest instance and install the @octokit/enterprise-rest plugin

  • octokit.issues.addLabels sends labels parameter with "labels" namespace instead of sending the array in the request body root. This is not supported by GitHub Enterprise 2.15 or older. You have several options.

    1. Use the @octokit/enterprise-compatibility plugin
    2. Use the @octokit/enterprise-rest plugin loading all routes for the GHE version you want to support
    3. Use octokit.request() directly:
    octokit.request('/repos/:owner/:repo/issues/:number/labels', {
      owner,
      repo,
      number,
      data: ['label1', 'label2']
    })
  • The milestone parameter is no longer validated using a regex as it cannot be derived from octokit/routes

  • error.status is now the response status code number. The status text is no longer returned

  • Deprecated event.event property is no longer supported. Use event.name instead

  • Deprecated new Probot({catchErrors}) has been removed

  • probot simulate hase been removed, use probot receive instead

Features

Deprecations

  • context.github.query() is now context.github.graphql()

  • context.github.query(query, variables, headers) is now context.github.graphql(query, options). options.headers is passed as headers. Other options are passed as variables, with the exception of method, baseUrl, url, headers, request, and query.

  • context.github.paginate(promise, mapFn) is now context.github.paginate(requestOptions, mapFn). Example:

    Before

    const allIssues = await context.github.paginate(
      context.github.issues.getAll(context.repo())
    )

    After

    const allIssues = await context.github.paginate(
      context.github.issues.getAll.endpoint.merge(context.repo())
    )

Bug Fixes

  • create only a single redis connection when REDIS_URL is set (6638331)
  • error.code => error.status (#871) (596a42d)
  • make .issues.addLabels() compatible with current GHE versions (aa1c570)
  • make smee-client requirement optional again (#868) (1581315)
  • pass baseUrl option to @octokit/app (#839) (eab6851)
  • remove deprecated "simulate" command (57587b8)
  • remove deprecated catchErrors constructor option (f46c41c)
  • remove handling deprecated .event property (1f76ec6)
  • logging: error.status is the new error.code. The old error.status is no more (2918249)
  • package: update pkg-conf to version 3.0.0 (b77e06c)
  • remove unnecessary escaping in private key error message (#862) (8c47d1f)
  • Update dependencies (#870) (d32ce60)
  • typescript: @octokit/webhooks import (#854) (30ac1a4)
Commits

The new version differs by commits.

See the full diff

@gr2m gr2m closed this in #211 Mar 10, 2019
gr2m pushed a commit that referenced this pull request Mar 10, 2019
@greenkeeper greenkeeper bot deleted the greenkeeper/probot-8.0.0 branch March 10, 2019 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants