Skip to content

Conversation

@gr2m
Copy link
Contributor

@gr2m gr2m commented Feb 6, 2020

gr2m added 30 commits January 31, 2020 13:18
BREAKING CHANGE: `octokit.pulls.createFromIssue` removed. The API endpoint is deprecated and will be removed in future

BREAKING CHANGE: , `octokit.git.listRefs` removed. Use `octokit.git.listMatchingRefs()` instead.

BREAKING CHANGE: `octokit.repos.getCommitRefSha` removed. Use `octokit.repos.getCommit({ mediaType: { format: "sha" }, owner, repo, ref })` instead
…tokit.issues.updateLabel({ name, new_name})`

BREAKING CHANGE: `octokit.issues.updateLabel({ current_name, name})` is now `octokit.issues.updateLabel({ name, new_name})`
BREAKING CHANGE: `octokit.registerEndpoints()` has been removed.

Instead of

```js
await octokit.registerEndpoints({
  misc: {
    getRoot: {
      method: "GET",
      url: "/"
    }
  }
});
```

do

```js
octokit.misc.getRoot = octokit.request.defaults({
  method: "GET",
  url: "/"
});
```

or

```js
Object.assign(octokit.misc, {
  getRoot: octokit.request.defaults({
    method: "GET",
    url: "/"
  })
})
```
…as that was the version the last `generated/types.ts` was built with / copied from
BREAKING CHANGE: all previously deprecated methods and parameters have been removed.
gr2m and others added 26 commits January 31, 2020 13:27
BREAKING CHANGE: All `*Legacy` methods have been removed. They have all been deprecated in the previous version
BREAKING CHANGE: remainging deprecated endpoint methods removed.
BREAKING CHANGE: Node 8 is out of maintenance since Jan 2020. We no longer test against it
@gr2m gr2m merged commit cecf68c into master Feb 6, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2020

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gr2m gr2m deleted the beta branch February 9, 2020 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants