Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

Update @octokit/rest to the latest version 🚀 #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Nov 20, 2018

The dependency @octokit/rest was updated from 15.18.0 to 16.0.1.

This version 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.


Release Notes for v16.0.1

To upgrade to v16, make sure you have the latest v15 release installed first:

npm install @octokit/rest@15.18.0

Now run the tests and look for DEPRECATED messages in the logs. Once you see no more deprecations, upgrading to v16 should cause no problems.

BREAKING CHANGES

  • all previously deprecated methods have been removed

  • preview headers that are not required to use an API have been removed

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

  • Methods for undocumented endpoints have been removed.

    Instead of client.users.getById({id}) use client.request({method: GET, url: /user/:id, id})
    Instead of client.repos.getById({id}) use client.request({method: GET, url: /repositories/:id, id})

  • octokit.enterprise.* methods have been removed. They will be moved into a plugin like https://github.com/octokit/plugin-scim.js

  • routes: the milestone parameter is no longer validated using a regex as it cannot be derived from octokit/routes

  • travis: dropped support for node 4

  • error.message is no longer a JSON string containing GitHub’s error message. Instead the JSON is parsed internally and error properties are assigned with its value. This is not technically a breaking change but a bug fix, but as this bug was around for a long time and plenty of apps depend on JSON.parse(error.message) to be working, we treat it as a breaking change by way of precaution

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

Features

Bug Fixes

  • routes: remove validation for milestone parameter as it cannot be derived from octokit/routes (4d04d17)
  • only set preview headers required to use the API (1628821)
  • parse JSON from GitHub error messages (dd6306e)

Continuous Integration

  • travis: drop tests in node 4 & 9, test in node 10 (ad8b1e5)

Bug Fixes in v16.0.1

  • typescript: Adding return types (18ac5bf), closes #1116
  • typescript: Adding the noImplicitAny flag to validate:ts (ef4d35a)
  • typescript: Github.plugin is a static method, not an instance method (01763bf)
  • typescript: include a header object when transforming Content-Type and Content-Length to headers.content-type and headers.content-length (0b9cc37)

Thanks @mamodom for your great help with these Typescript fixes 💐

Commits

The new version differs by 86 commits.

  • 01763bf fix(typescript): Github.plugin is a static method, not an instance method
  • ef4d35a fix(typescript): Adding the noImplicitAny flag to validate:ts
  • 18ac5bf fix(typescript): Adding return types
  • 0b9cc37 fix(typescript): include a header object when transforming Content-Type and Content-Length to headers.content-type and headers.content-length
  • ebea33d build: remove obsolete artefacts for flow types
  • 9021da4 build(typescript): date response header
  • 9efa49e docs(README): typo in code example
  • 09c2ba8 build(package): next dist-tag
  • 138f08d build: TypeScript typing definitions for v16 updates (#1113)
  • 506dc3a docs: wrong variable name in example (#1112)
  • 46a1ee9 build(package): remove engine field
  • 82a4678 ci(travis): test node_modules folder size is < 1mb
  • 73207c7 build: package-lock.json
  • c597bf7 build(package): update @octokit/request
  • ed90210 build(package-lock): initial version

There are 86 commits in total.

See the full diff

FAQ and help

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


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Nov 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 26, 2018

  • The dependency @octokit/rest was updated from 15.18.0 to 16.0.3.

Update to this version instead 🚀

Release Notes for v16.0.3

Bug Fixes

  • aliasing octokit.gitdataoctokit.git, octokit.authorizationoctokit.oauthAuthorizations, octokit.pullRequestsoctokit.pulls (0766d51)

Thanks to @hipstersmoothie for their help 💐

Commits

The new version differs by 11 commits.

  • 0766d51 fix: aliasing octokit.gitdataoctokit.git, octokit.authorizationoctokit.oauthAuthorizations, octokit.pullRequestsoctokit.pulls
  • 05f3f7b build: routes.json
  • abcadaa build: generate routes.json without manually mapping scopes
  • 367c710 test: octokit.pulls.*
  • db3074c build(types): remove obsolete code (#1122)
  • 72e26d2 build: routes
  • 2a7343f chore(package): update lockfile package-lock.json
  • 0b13a63 chore(package): update @octokit/routes to version 15.2.0
  • b774ade chore(package): update lockfile package-lock.json
  • 31185c9 fix(package): update @octokit/request to version 2.1.2
  • d926a8f docs(README): Change github.paginate to octokit.paginate (#1126)

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 26, 2018

  • The dependency @octokit/rest was updated from 15.18.0 to 16.0.4.

Update to this version instead 🚀

Release Notes for v16.0.4

Bug Fixes

  • package: remove node-fetch dependency (1d2ed27)

Merci @pvdlg for their help 💐

Commits

The new version differs by 5 commits.

  • 62ccd3f build: replace http:// with https:// in lock file
  • 705155b build: package lock file
  • 1d2ed27 fix(package): remove node-fetch dependency
  • d235f83 refactor: replace node-fetch with @octokit/request
  • 6713e41 build(package): publish to @latest

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 26, 2018

  • The dependency @octokit/rest was updated from 15.18.0 to 16.0.5.

Update to this version instead 🚀

Release Notes for v16.0.5

16.0.5 (2018-11-26)

Bug Fixes

  • typescript: octokit.authenticate definitions using overloads (23ca22d)
Commits

The new version differs by 2 commits.

  • 23ca22d fix(typescript): octokit.authenticate definitions using overloads
  • b152011 refactor: harmonize variable naming of the Octokit client variable

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 28, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 28, 2018

  • The dependency @octokit/rest was updated from 15.18.0 to 16.1.0.

Update to this version instead 🚀

Release Notes for v16.1.0

16.1.0 (2018-11-28)

Features

  • package: error.request is now set to the request options that resulted in an error, via @octokit/request@2.2.0 (7497080)
Commits

The new version differs by 4 commits.

  • 5851ea8 build: package lock file
  • 7497080 feat(package): error.request is now set to the request options that resulted in an error, via @octokit/request@2.2.0
  • fde8194 docs(README): don't forget await! (#1142)
  • ac814bc docs(README): typo

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 10, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 10, 2018

  • The dependency @octokit/rest was updated from 15.18.0 to 16.2.0.

Update to this version instead 🚀

Release Notes for v16.2.0

16.2.0 (2018-12-10)

Features

Commits

The new version differs by 3 commits.

  • 2fa40d0 feat(#1153): octokit.apps.createContentAttachment()
  • 20f55cf docs(README): higher rate limits for oauth apps
  • 978c73d build(docs): fix description for .git.deletRef() API

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 19, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 19, 2018

  • The dependency @octokit/rest was updated from 15.18.1 to 16.3.0.

Update to this version instead 🚀

Release Notes for v16.3.0

16.3.0 (2018-12-19)

Features

Commits

The new version differs by 4 commits.

See the full diff

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

greenkeeper bot commented Jan 3, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.3.1.

Update to this version instead 🚀

Release Notes for v16.3.1

Bug Fixes

  • use URL in "Link" response header for pagination (cab5b62)
Commits

The new version differs by 14 commits.

  • 97bcd33 build(package): @octokit/fixtures-server v5.0.1
  • e749b46 test: "?page=1" query parameter is no longer passed by default
  • cab5b62 fix: use URL in "Link" response header for pagination
  • 0640e23 test: paginate with link header pointing to different path
  • 4ee751a docs(README): typo
  • e0d0fb4 docs(README): update throttling plugin for v2.0
  • 74ef678 test: adapt for latest octokit/fixtures
  • 13f3339 chore(package): update lockfile package-lock.json
  • da30b29 chore(package): update @octokit/fixtures-server to version 4.0.0
  • 53d09eb docs(README): table of contents (#1173)
  • cda2038 docs(README): add toc placeholder
  • f8ca019 docs(README): Automatic retries
  • 8fea336 docs(README): Throttling section (#1171)
  • 735b073 build(package): update @octokit/routes to version 16.1.1 (#1169)

See the full diff

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

greenkeeper bot commented Jan 3, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.3.2.

Update to this version instead 🚀

Release Notes for v16.3.2

16.3.2 (2019-01-03)

Bug Fixes

  • Typescript: remove callbacks from endpoint methods (#1180) (1c0f7f6)
Commits

The new version differs by 2 commits.

  • 1c0f7f6 fix(Typescript): remove callbacks from endpoint methods (#1180)
  • d4f3ae5 build: update @octokit/request to version 2.2.1 (#1179)

See the full diff

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

greenkeeper bot commented Jan 7, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.4.0.

Update to this version instead 🚀

Release Notes for v16.4.0

16.4.0 (2019-01-07)

Features

  • typescript: Definitions for octokit.request() and octokit.paginate() (#1184) (b9a8650)
Commits

The new version differs by 3 commits.

  • b9a8650 feat(typescript): Definitions for octokit.request() and octokit.paginate() (#1184)
  • c85e286 docs(README): minor grammar corrections (#1182)
  • 72ad297 build(package): update @octokit/routes to version 17.0.0

See the full diff

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

greenkeeper bot commented Jan 8, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.5.0.

Update to this version instead 🚀

Release Notes for v16.5.0

16.5.0 (2019-01-08)

Features

  • typescript: Octokit.Request & Octokit.Paginate interfaces (1623a1d)
Commits

The new version differs by 2 commits.

  • 228148d refactor(typescript): Github -> Octokit
  • 1623a1d feat(typescript): Octokit.Request & Octokit.Paginate interfaces

See the full diff

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

greenkeeper bot commented Jan 8, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.6.0.

Update to this version instead 🚀

Release Notes for v16.6.0

16.6.0 (2019-01-08)

Features

Commits

The new version differs by 3 commits.

  • 2057d2a feat(pagination): early exit
  • 8830462 test: pagination with early exit
  • ab18bd9 docs(README): pagination with early exit

See the full diff

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

greenkeeper bot commented Jan 8, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.6.1.

Update to this version instead 🚀

Release Notes for v16.6.1

16.6.1 (2019-01-08)

Bug Fixes

  • add responses mapped to undefined to final result (0737ada)
Commits

The new version differs by 2 commits.

  • 0737ada fix: add responses mapped to undefined to final result
  • b9767d1 test: add responses mapped to undefined to final result

See the full diff

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

greenkeeper bot commented Jan 9, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.7.0.

Update to this version instead 🚀

Release Notes for v16.7.0

16.7.0 (2019-01-09)

Features

  • typescript: custom Octokit constructor options for plugins (06b2069)
  • typescript: Octokit.plugin() definition that returns correct Octokit Class API (2ef7811)
Commits

The new version differs by 4 commits.

  • 06b2069 feat(typescript): custom Octokit constructor options for plugins
  • 1920196 test(typescript): custom Octokit constructor options
  • 47ceb69 test(typescript): Octokit.plugin() validation
  • 2ef7811 feat(typescript): Octokit.plugin() definition that returns correct Octokit Class API

See the full diff

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

greenkeeper bot commented Jan 10, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.8.0.

Update to this version instead 🚀

Release Notes for v16.8.0

16.8.0 (2019-01-10)

Bug Fixes

  • allow to use octokit.registerEndpoints() to merge new endpoints into existing scope (2c672ca)

Features

  • typescript: octokit.registerEndpoints() definitions (724f8f6)
  • typescript: complete .endpoint types (c068824)
Commits

The new version differs by 5 commits.

  • c068824 feat(typescript): complete .endpoint types
  • 6e98bc3 test(typescript): validate octokit.registerEndpoints(endpoints)
  • 724f8f6 feat(typescript): octokit.registerEndpoints() definitions
  • 2c672ca fix: allow to use octokit.registerEndpoints() to merge new endpoints into existing scope
  • ba9eefd test: octokit.registerEndpoints() should not remove existing endpoint methods on same scope

See the full diff

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

greenkeeper bot commented Jan 12, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.8.1.

Update to this version instead 🚀

Release Notes for v16.8.1

16.8.1 (2019-01-12)

Bug Fixes

  • do not load the same plugin again (b4c38e2)
Commits

The new version differs by 1 commits.

  • b4c38e2 fix: do not load the same plugin again

See the full diff

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

greenkeeper bot commented Jan 16, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.9.0.

Update to this version instead 🚀

Release Notes for v16.9.0

16.9.0 (2019-01-16)

Bug Fixes

  • octokit.projects.update() - invalid public parameter replaced with private (fecabe5)
  • octokit.search.repos() - sort parameter now accepts 'help-wanted-issues' (d528c50)

Features

  • octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() - octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() is now deprecated (fe4d9fb)
  • octokit.repos.updateReview({owner,repo,number,review_id,body}) (6527b32)
  • octokit.search.issuesAndPullRequests() - octokit.search.issues() is now deprecated (a8e392a)
Commits

The new version differs by 19 commits.

  • e6b7d4e test: un-skip add-labels-to-issue scenario
  • abcf40c refactor: replace deprecated properties and methods in tests
  • be18f17 build(generate-routes): add deprecation messages to endpoint options
  • a8e392a feat: octokit.search.issuesAndPullRequests() - octokit.search.issues() is now deprecated
  • fe4d9fb feat: octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint() - octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint() is now deprecated
  • beed7bb test: deprecations
  • d528c50 fix: octokit.search.repos() - sort parameter now accepts 'help-wanted-issues'
  • fecabe5 fix: octokit.projects.update() - invalid public parameter replaced with private
  • 6527b32 feat: octokit.repos.updateReview({owner,repo,number,review_id,body})
  • cc6312e build(package): lock file
  • 41adb50 build(package): @octokit/routes@18.1.4
  • ecf41ad test(package): don’t run test/*-test.js files in "test" script
  • 1092cac ci(travis): spead up builds by uninstalling packages unneeded for jobs
  • aee5ef1 ci(travis): install g++-4.8
  • c697a45 ci(travis): run memory test

There are 19 commits in total.

See the full diff

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

greenkeeper bot commented Jan 17, 2019

  • The dependency @octokit/rest was updated from 15.18.1 to 16.10.0.

Update to this version instead 🚀

Release Notes for v16.10.0

16.10.0 (2019-01-17)

Features

  • two-factor authentication (fb38885)
Commits

The new version differs by 5 commits.

  • fb38885 feat: two-factor authentication
  • 81df303 test: two-factor authentication
  • d195d23 docs(README): two-factor authentication
  • fa51220 build: add deprecations to docs
  • 852040f ci(travis): cache node_modules/cypress/dist

See the full diff

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants