probot / reminders

set reminders on Issues and Pull Requests
https://github.com/apps/reminders
ISC License
162 stars 24 forks source link

Update probot to the latest version πŸš€ #33

Closed greenkeeper[bot] closed 4 years ago

greenkeeper[bot] commented 6 years ago

Version 7.0.0 of probot was just published.

Dependency probot
Current Version 6.2.1
Type dependency

The version 7.0.0 is not covered by your current version range.

If you don’t 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.

It might be worth looking into these changes and trying to get this project onto the latest version of probot.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v7.0.0

Improvements

  • Probot has been rewritten in TypeScript. Overall, you should see no significant difference between 6.2.0 and 7.0.0 and you can continue writing your apps in plain ol' JavaScript if you'd like. Writing Probot apps in TypeScript is still experimental, but if you'd like to help us improve the experience, please check out #512 and open pull requests to improve TypeScript support.

  • Rename robot to app (#542)

  • A lot of documentation improvements, including docs on Environment Configuration

Fixes

  • Fix path to GraphQL API when using GitHub Enterprise. Now you can use Probot to make GraphQL requests against your GitHub Enterprise instance (#580)

  • Fix deprecation warning from Octokit.js for response.meta (#550)

Commits

The new version differs by 37 commits ahead by 37, behind by 2.

  • a90fe25 7.0.0
  • 48887fa Various cleanup and fixes from TS checklist (#585)
  • be1d856 Add some documentation about TS to README and CONTRIBUTING (#590)
  • d740f2a chore: Use tslint-config-standard (#594)
  • cec2e58 chore(package): update @types/jest to version 23.1.3 (#593)
  • 866929f Revert "Configuration: DISABLE_STATS=true" (#591)
  • dee76d2 chore(package): update @types/jest to version 23.0.0 (#555)
  • 3ac0fa1 docs(configuration): DISABLE_STATS=true (#578)
  • 73ac539 fix: Fix path to GraphQL API when using GitHub Enterprise (#580)
  • 43ea6ce Adds error case (#589)
  • a542433 doc: Clarify that WEBHOOK_SECRET needs to match GitHub settings (#588)
  • c2476c7 chore: Replace jsdoc with typedoc (#583)
  • 8df333c Adds missing awaits (#584)
  • 6c2cc02 doc: Update robot => app in README (#586)
  • 9920d26 docs: clarify GitHub apps as GA in 2.13 and above (#579)

There are 37 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 6 years ago

Version 7.0.1 just got published.

Update to this version instead πŸš€

Release Notes v7.0.1

Bug Fixes

  • Fixes a bug with context.event #611
  • Updates @octokit/rest
Commits

The new version differs by 8 commits.

  • b32fc2b 7.0.1
  • 8340d85 Update ocotokit/rest.js to v15.9.4 (#610)
  • fa37137 fix: Remove extra event setting (#611)
  • 13ca06d Update eslint to the latest version πŸš€ (#581)
  • b5806ba docs: Fix new contribution grammar (#609)
  • 1aaf280 update the example app id image (#606)
  • eef8479 Update links for our API (#604)
  • 9ec8765 Remove next tag (#595)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.1.0 just got published.

Update to this version instead πŸš€

Release Notes v7.1.0

Improvements

  • If a webhook received from GitHub is not using the same value configured for WEBHOOK_SECRET you'll now see a more helpful error message telling you how to fix it. (#621, #647) @hiimbex

  • By default, installation tokens are cached for 59 minutes. You can now change that by setting INSTALLATION_TOKEN_TTL (#638) @tommilligan

  • PRIVATE_KEY can now be a base64 encoded string, which make it a little easier to set in some deployment environments (#624) @tcbyrd

  • Many more improvements to our TypeScript support, including:

  • Update versions for a few dependencies:

Documentation:

See full changelog

Commits

The new version differs by 30 commits.

  • 9a09eaf 7.1.0
  • 782707a fix: Show friendly error when the webhook secret on GitHub does not match WEBHOOK_SECRET (#647)
  • 42d3d39 chore: Add template for release-drafter app (#666)
  • 96b186a chore: Convert resolver tests to TypeScript (#660)
  • 84518e5 chore(package): update ts-jest to version 23.1.4 (#662)
  • c8d9f0a chore(package): update bottleneck to version 2.8.0 (#661)
  • 8a12f83 Convert logger test to Typescript (#656)
  • 1820442 Add probot-messages (#657)
  • d8383d3 Rename event->name in docs (#631)
  • 691d724 chore(package): update @types/node to version 10.7.0 (#659)
  • 1351932 chore(package): update typedoc to version 0.12.0 (#658)
  • 686232d chore: Rename plugins to apps (#654)
  • 59f924e Add environment variable option to provide a base64 encoded key (#624)
  • 4159d80 chore(tests): Convert graphql tests to TypeScript (#629)
  • 4118f1d Added env var INSTALLATION_TOKEN_TTL (#638)

There are 30 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 7.1.1 just got published.

Update to this version instead πŸš€

Release Notes v7.1.1

Improvements

See full changelog

Commits

The new version differs by 11 commits ahead by 11, behind by 1.

  • 069ec5e 7.1.1
  • 217eaa3 add npm ignore for package-locks
  • facac54 update octokit/rest and tests to use /app/installations (#681)
  • 31ec2a3 chore(test): convert server to TypeScript (#664)
  • 94d3d10 chore(package): update standard to version 12.0.0 (#672)
  • 415b6ea chore(test): Convert private-key tests to ts (#676)
  • 0a417e9 chore(package): update tslint-config-standard to version 8.0.0 (#677)
  • c01361f docs: Response object should call .send() and not .end() (#671)
  • ba0616d 7.1.0
  • 6ac4a06 Fix link to deployment docs (#669)
  • 84660d0 TypeScript: set the proper response type when making a GraphQL query with context.github.query() (#667)

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead πŸš€

Release Notes for 7.1.2

Improvements

Security Update

See full changelog

Commits

The new version differs by 11 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead πŸš€

Release Notes for v7.2.0

Improvements

Commits

The new version differs by 7 commits.

  • 2ff0ec6 7.2.0
  • 3be935b httpSSSSSSS (#701)
  • 1da7009 chore(tests): convert serializers test to TypeScript (#695)
  • 1e63aa5 Update development docs to explain GitHub App Manifests (#700)
  • f6946a0 Probot Support for GitHub App Manifests (#650)
  • fc99246 Resolve Jest transform option deprecation warning (#694)
  • bdb2c0e chore(package): update nock to version 10.0.0

See the full diff

Probot
Developing an app
GitHub Apps to automate and improve your workflow
greenkeeper[bot] commented 6 years ago

Update to this version instead πŸš€

Release Notes for v7.3.0

Improvements

See full changelog

Commits

The new version differs by 17 commits.

  • 5dc37f6 7.3.0
  • 76b5edd Update docs for manually receiving events (#730)
  • ad06bd5 Deprecate probot simulate in favor of probot receive (#726)
  • aef4d72 Wrap pem in quotes to make Glitch happy (#737)
  • 8964e7c Update development.md (#735)
  • 6b5e9a2 chore(package): update @octokit/rest to version 15.13.1 (#732)
  • 914d968 Update standard-markdown to the latest version πŸš€and lint docs
  • 00f0e19 chore(package): update typedoc to version 0.13.0 (#731)
  • 0036fee chore(package): update commander to version 2.19.0 (#729)
  • f657a97 Create README.pt-br.md (#711)
  • 7cb1167 fix(package): update dotenv to version 6.1.0 (#724)
  • 1f88f43 Update octokit rest (#721)
  • 3bee037 remove manual base64 encoding/decoding of private key (#717)
  • 8663f1b chore(test): convert app/default test to TypeScript (#703)
  • 18821db chore(test): convert Sentry test to TypeScript (#702)

There are 17 commits in total.

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead πŸš€

Release Notes for v7.3.1

Fixes

  • Allow starting probot without token or id/cert (#738) @bkeepers

See full changelog

Commits

The new version differs by 3 commits.

  • 09fbf09 7.3.1
  • 2215a43 Remove test requiring error to be thrown for missing id/cert
  • 5fdf3a2 Allow starting probot without token or id/cert

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for Improvements

Improvements

Commits

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

  • 58559ff 7.4.0
  • 59bf271 refactor: rename deprecated methods
  • 9d15925 fix(package): @octokit/rest@^15.18.0
  • 5c622e4 docs: links in "Serverless Deployment" (#773)
  • 107c4e6 Include version in manifest (#763)
  • 7831ef0 Fix for probot receive to allow app auth instead in addition to token auth (#754)
  • 5443ce0 Add documentation about template flag (#752)
  • 9e60d34 Follow GitHub Casing Standards (#756)
  • e1e1b32 fix(package): update is-base64 to version 0.1.0 (#750)
  • 286f2d4 Improve documentation on testing Probot apps with nock (#734)
  • 35dd36d Improve GraphQL query for TypeScript (#710)
  • 787e36f Create serverless-deployment.md (#698)
  • f82d647 chore(test): convert apps/stats test to TypeScript (#704)
  • 85502cf chore(tests): convert logging test to TypeScript (#696)
  • 494fd3c Add done parameter to paginate callback in GitHubAPI interface (#718)

There are 20 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v7.5.0

🐣 Features

  • Prefill Glitch app name as GitHub app name for app manifests (#742) @yeskunall

🐜 Bug Fixes

🎰 Others

See full changelog

Commits

The new version differs by 28 commits.

  • ca85391 7.5.0
  • cc5b80b fix: pass utf8 as 2nd argument when reading private key from file using fs.readFileSync
  • 301fc47 test: pass utf8 as 2nd argument when reading private key from file using fs.readFileSync
  • 222256a fix: GitHubAPI.paginate callback signature in stats
  • 33f321a fix(typescript): Webhooks class constructor definition (#798)
  • 6ad29f8 fix(typescript): webhook callback definitions (#793)
  • f6d7bdc Add pull reminders badge to README (#814)
  • 2b78263 fix(typescript): GitHubAPI.paginate callback signature (#775)
  • fe99d0b build(package): lock file update
  • 8d8292b build(npmrc): bye bye bey
  • d23ebba Update year to 2019 (#812)
  • 6b73d5a docs: Fix URL for Serverless GCF repository (#805)
  • dc558dc docs: Fix sample code for serverless deployment (#807)
  • 6620ba1 tests: Removed allowed failure configuration for node 10 (#802)
  • 444fcac fix: Spelling (#800)

There are 28 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v7.5.1

7.5.1 (2019-03-03)

Bug Fixes

Commits

The new version differs by 10 commits.

  • c95f5ed build(package): lock file
  • b42f83d build(package): update semantic-release
  • d32ce60 fix: Update dependencies (#870)
  • e975bbd update spelling
  • beb8466 docs(CONTRIBUTING): Merging the Pull Request & releasing a new version
  • 0dbb499 ci(travis): semantic-release setup
  • d742bc7 build: lock file
  • d835553 build(package): semantic-release setup
  • c8ed774 doc: update GitHub actions workflow reference (#823)
  • 7d938d6 docs(README): fix link to travis

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v8.0.0

πŸ€¦β€β™‚οΈWe 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

greenkeeper[bot] commented 5 years ago

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 73 commits ahead by 73, behind by 80.

  • 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)
  • 987db21 chore(tests): Convert setup script to TS (#849)

There are 73 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

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] commented 5 years ago

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

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v9.0.1

9.0.1 (2019-03-13)

Bug Fixes

  • package: update dotenv to version 7.0.0 (28ead7e)
Commits

The new version differs by 5 commits.

  • 52e7223 chore(package): update lockfile package-lock.json
  • 28ead7e fix(package): update dotenv to version 7.0.0
  • b2f3858 test: Convert manifest creation test to TS (#884)
  • 620e40b build(package): update typescript to 2.9 (#886)
  • 9265609 docs(README): remove npm @next badge

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v9.0.2

9.0.2 (2019-03-19)

Bug Fixes

  • package: update @octokit/graphql to version 2.0.2 (e584124)
Commits

The new version differs by 4 commits.

  • 7824645 chore(package): update lockfile package-lock.json
  • e584124 fix(package): update @octokit/graphql to version 2.0.2
  • f768901 chore(package): update lockfile package-lock.json
  • 12ebbd5 chore(package): update supertest to version 4.0.2

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v9.1.0

9.1.0 (2019-03-25)

Features

Commits

The new version differs by 1 commits.

  • 036ee3b feat(typescript): export type OnCallback (#896)

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v9.1.1

9.1.1 (2019-03-27)

Bug Fixes

  • package: update semver to version 6.0.0 (fd63724), closes #897
Commits

The new version differs by 2 commits.

  • 61e99ab chore(package): update lockfile package-lock.json
  • fd63724 fix(package): update semver to version 6.0.0

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v9.2.0

9.2.0 (2019-04-03)

Features

Commits

The new version differs by 5 commits.

  • 23e8eab feat: Update @octokit/rest to 16.22.0 (#901)
  • 363d9a4 chore(package): update lockfile package-lock.json
  • 1d485c0 chore(package): update @types/semver to version 6.0.0
  • 2d6b3fc chore(package): update lockfile package-lock.json
  • bd0a3cf chore(package): update @types/dotenv to version 6.1.1

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€