Releases: octokit/rest.js
Releases · octokit/rest.js
v15.1.1
15.1.1 (2018-02-25)
Bug Fixes
- accept case-insensitive custom headers (e01e1a7), (3dfa788)
- return string (instead of Buffer) if content-type header ends with "utf-8" (4fbc49b)
v15.1.0
15.1.0 (2018-02-25)
Features
options.agent
for advanced request options in Node (6027d55)
v15.0.4
15.0.4 (2018-02-25)
Bug Fixes
- handle binary response correctly (02a40de)
v15.0.3
15.0.3 (2018-02-24)
Bug Fixes
- add missing params to pullRequest.createComment:
commit_id
, path
, position
(#747) (d5cd259)
v15.0.2
15.0.2 (2018-02-23)
Bug Fixes
- set options.title as required for octokit.pullRequests.create(options) (#748) (e2ada1c)
v15.0.1
(v15.0.0 was published by accident and unpublished shortly after, sorry)
Breaking Changes
- Before, methods like
octokit.issues.deleteLabel()
returned an empty string for {data}
. They now correctly return undefined
Features
- bundle size: only require what’s needed from lodash (b3f3cf8)
- fetch-based request for browser (b10ff5b)
- package: build with webpack, now with source maps & gzipped file, better bundle report (0972406)
Bug Fixes
- do not remove port number from passed URL (b87a744)
- do not return empty strings for empty responses (93adfa5)
- handle redirect correctly (ab42d88)
- load all plugins again (f3fff9f)
see all changes
v14.0.9
14.0.9 (2018-02-09)
Bug Fixes
- include stacktraces for each type of error (a4f3b13)
- remove
HttpError
sub-classes (2a5bbcf)
- set the error code as a number for all errors (381105e)
- use ES6 classes to extend Error (ad6b97b)
v14.0.8
14.0.8 (2018-01-31)
Bug Fixes
- typescript: ReposUploadAssetParams.file type definition (#715) (aa44d73)
v14.0.6
14.0.6 (2018-01-27)
Bug Fixes
- correctly upload asset if file is Buffer/ArrayBuffer (d191dfc)