Skip to content

Releases: probot/probot

v8.0.0-beta.4

30 Jan 01:51
Compare
Choose a tag to compare
v8.0.0-beta.4 Pre-release
Pre-release

8.0.0-beta.4 (2019-01-30)

Bug Fixes

  • remove deprecated "simulate" command (739e3a1)
  • remove deprecated catchErrors constructor option (4a740ce)
  • remove handling deprecated .event property (a3fb089)

BREAKING CHANGES

  • Deprecated event.event property is no longer handled. Use event.name instead
  • Deprecated new Probot({catchErrors}) has been removed
  • probot simulate hase been removed, use probot receive instead

v8.0.0-beta.3

27 Jan 18:41
Compare
Choose a tag to compare
v8.0.0-beta.3 Pre-release
Pre-release

8.0.0-beta.3 (2019-01-27)

Bug Fixes

  • create only a single redis connection when REDIS_URL is set (e1d7873)

v8.0.0-beta.2

26 Jan 18:13
Compare
Choose a tag to compare
v8.0.0-beta.2 Pre-release
Pre-release

8.0.0-beta.2 (2019-01-26)

Features

  • Cluster support for request throttling (37938d2)

v8.0.0-beta.1

19 Jan 02:11
Compare
Choose a tag to compare
v8.0.0-beta.1 Pre-release
Pre-release

BREAKING CHANGES

  • 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
  • all previously deprecated methods have been removed

  • 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 .gitdata.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

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())
    )

Features

Bug Fixes

  • logging: error.status is the new error.code. The old error.status is no more (3b3d656)
  • make .issues.addLabels() compatible with current GHE versions (d41c422)

Build System

v7.5.0

10 Jan 19:27
Compare
Choose a tag to compare

馃悾 Features

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

馃悳 Bug Fixes

  • Fix typings for stats app (#728) @wolfy1339
  • Update dotenv to the latest version 馃殌 (#781) @Greenkeeper[bot]
  • Update @types/jsonwebtoken to the latest version 馃殌 (#757) @Greenkeeper[bot]
  • PRIVATE_KEY_PATH error handling (#778) (#782) @NikhilM98
  • Use path.resolve instead of path.join to resolve payload paths. (#785) @krtx
  • Removed allowed failure configuration for node 10 (#802) @brwne
  • Typescript: Fixed GitHubAPI.paginate callback signature (#775) @Eddman
  • Typescript: Fix webhook payload definition (#793) @gimenete
  • Typescript: Fix Webhooks class constructor (#798) @wolfy1339

馃幇 Others

See full changelog

Improvements

20 Nov 18:35
Compare
Choose a tag to compare

Improvements

See full changelog

v7.3.1

15 Oct 20:11
Compare
Choose a tag to compare

Fixes

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

See full changelog

v7.3.0

15 Oct 18:58
Compare
Choose a tag to compare

Improvements

See full changelog

v7.2.0

26 Sep 19:48
Compare
Choose a tag to compare

Improvements

7.1.2

14 Sep 00:00
Compare
Choose a tag to compare

Improvements

  • Remove duplicated word (#682) @borNfreee

Security Update

See full changelog