Skip to content

Releases: octokit/rest.js

v15.5.0

18 Apr 18:11
Compare
Choose a tag to compare

Bug Fixes

  • routes: default header for checks APIs (96a2f95)
  • amend accept header for github apps, keep custom accept headers intact (09e3c46)
  • workaround for github.activity.markNotificationsAsRead() (#694) (c1fc675)

Features

  • authentication type "app". "integration" is now deprecated (b56f0d2)

v15.4.1

18 Apr 18:11
Compare
Choose a tag to compare

Bug Fixes

  • validate: default to empty member array if optional parent parameter is not set (72bd9af)

v15.4.0

18 Apr 18:11
Compare
Choose a tag to compare

v15.3.0

18 Apr 18:11
Compare
Choose a tag to compare

This release has a lot of changes to lib/routes.json. The old and new routes.json are attached to this release so you can use your favorite JSON Diff tool to compare them (like [jsondiff](http://tlrobinson.net/projects/javascript-fun/jsondiff/ by Tom Robinson)

Bug Fixes

Routes

  • encoding param not required for gitdata.createBlob() (2a4e15e)
  • add missing owner/repo parameters to getReference (00f4fed)
  • add missing pagination parameters (e6f2cc6)
  • admin pre-receive environment routes (2b08691)
  • color & name params not required for issues.updateLabel() (b38ba74)
  • fix repo installations paths (443d1de)
  • replace body param with assignees (4554d58)
  • path fixes for lfs & large import files routes (234bbc9)
  • remove invalid user_id parameter from createInstallationToken & getInstallationRepositories (861b733)
  • remove invalid pagination parameters (cfcca4a)
  • title parameter not required for issues.updateMilestone() (167130a)
  • various fixes (1e151e2)
  • add ?recursive enum parameter to "Get tree" (d22619c)

Validation

  • parse parameter value to integer before checking for enum (d5595f3)
  • throw "cannot be null" error correctly (42a7a49)

Features

  • handle deprecation and aliasing of method names (191a554)
  • nested properties in endpoint definitions (b7c434e)

v15.2.7

18 Apr 18:11
Compare
Choose a tag to compare

15.2.7 (2018-04-30)

Bug Fixes

  • handle empty responses to HEAD requests (fc800a2)

v15.2.6

18 Apr 18:11
Compare
Choose a tag to compare

15.2.6 (2018-03-29)

Bug Fixes

v15.2.5

18 Apr 18:11
Compare
Choose a tag to compare

15.2.5 (2018-03-19)

Bug Fixes

  • octokit.apps.getInstallations() does not throw TypeError (e542799)

v15.2.4

18 Apr 18:11
Compare
Choose a tag to compare

15.2.4 (2018-03-16)

Bug Fixes

  • typescript: update types to reflect client option changes (#815) (7835bde)

v15.2.3

18 Apr 18:12
Compare
Choose a tag to compare

15.2.3 (2018-03-15)

Bug Fixes

  • typescript: agent client option is optional (#803) (4800e03)

v15.2.2

18 Apr 18:12
Compare
Choose a tag to compare

Bug Fixes