This repository has been archived by the owner on May 29, 2023. It is now read-only.
fix(deps): update dependency @octokit/rest to v16 #87
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^15.15.1
->^16.0.0
Release Notes
octokit/rest.js
v16.0.1
Compare Source
Bug Fixes
noImplicitAny
flag tovalidate:ts
(ef4d35a)header
object when transformingContent-Type
andContent-Length
toheaders.content-type
andheaders.content-length
(0b9cc37)Thanks @mamodom for your great help with these Typescript fixes 💐
v16.0.0
Compare Source
To upgrade to v16, make sure you have the latest v15 release installed first:
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})
insteadMethods for undocumented endpoints have been removed.
Instead of
client.users.getById({id})
useclient.request({method: GET, url: /user/:id, id})
Instead of
client.repos.getById({id})
useclient.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.jsroutes: the
milestone
parameter is no longer validated using a regex as it cannot be derived from octokit/routestravis: 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 precautionerror.status
is now the response status code number. The status text is no longer returnedFeatures
Bug Fixes
Continuous Integration
Renovate configuration
📅 Schedule: "after 9am and before 3pm" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.