v4.0.1
Version v4.0.0 was a faulty release, here are the changes compared to v3
Breaking changes
-
In favour of better compatibility with es modules, the library has a named export now
const request = require("@octokit/request")
is now
const { request } = require("@octokit/rest")
or
import { request } from "@octokit/request"
-
Buffer responses now return an ArrayBuffer instead of a Buffer. To get a Buffer again, do simply
Buffer.from(response.data)