{"push_id":2156648672,"size":64,"distinct_size":5,"ref":"refs/heads/master","head":"de8ad87e5f52aff7541aa54983c36bef58c179e2","before":"1e07daf8f7774d02cdd2b3dd8a01eaebd9694f3d","commits":[{"sha":"8fada7d4e2010896933e06a0d5b14b290b662b51","author":{"name":"Gregor Martynus","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"docs(README): remove custom Promise option","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/8fada7d4e2010896933e06a0d5b14b290b662b51"},{"sha":"ccd5a7b097e35e62629c7d998616782704b8b2f0","author":{"name":"Gregor Martynus","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"chore(examples): remove custom Promise option","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/ccd5a7b097e35e62629c7d998616782704b8b2f0"},{"sha":"d594b68c9ec70389123d9580a1c3c52a77110265","author":{"name":"Gregor Martynus","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"chore(types): remove custom Promise option","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/d594b68c9ec70389123d9580a1c3c52a77110265"},{"sha":"c7fd9b69f23439acd6c786e07850df577362f32c","author":{"name":"Gregor Martynus","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"breaking: remove custom Promise option\n\nBREAKING CHANGE: passing a custom `Promise` option to the constructor is no longer supported\n\n```js\nconst Client = require(./../lib/index)\nconst github = new Client({\n  Promise: Promise\n})\n```\n\nAll suppertod Node versions (4, 6 and 8) have Promise support built in now. So migrating should be as simple as removing the `Promise` option altogether.","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/c7fd9b69f23439acd6c786e07850df577362f32c"},{"sha":"45dbc6f194c04791610da8c9c947c3d4e513effa","author":{"name":"Chris Opperwall","email":"72a8076ebf77d0ea631f9c053147bf6c011dee06@ifixit.com"},"message":"breaking: remove \"netrc\" authentication type (#640)\n\nBREAKING CHANGE: Authentication with `\"netrc\"` is no longer supported:\r\n\r\n```js\r\ngithub.authenticate({\r\n  type: \"netrc\"\r\n})\r\n```\r\n\r\nInstead, use the [netrc](https://www.npmjs.com/package/netrc) package directly and pass username/password to `\"basic\"` authentication\r\n\r\n```js\r\nconst netrc = require('netrc')\r\nconst myNetrc = netrc()\r\n\r\ngithub.authenticate({\r\n  type: 'basic',\r\n  username: myNetrc['api.github.com'].login,\r\n  password: myNetrc['api.github.com'].password\r\n})\r\n```","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/45dbc6f194c04791610da8c9c947c3d4e513effa"},{"sha":"9725eaae5a4a442c59f46e6584f94265a8713d92","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"chore(package): -follow-redirects","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/9725eaae5a4a442c59f46e6584f94265a8713d92"},{"sha":"8af6531a8264fbc744953afe2101136d75e8564a","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"docs(README): remove followRedirects option","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/8af6531a8264fbc744953afe2101136d75e8564a"},{"sha":"d22c5eca8c221bd030c40ab2bc50dfa2ebefd433","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"test: follow redirects","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/d22c5eca8c221bd030c40ab2bc50dfa2ebefd433"},{"sha":"181f2817a442ec05627089042cee182b375cc445","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"feat: always follow redirects\n\nBREAKING CHANGE: the `followRedirects` option has been removed. Previous problems with non-GET redirects should be handled correctly now, the method is always forwarded as all redirects remain within the same host","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/181f2817a442ec05627089042cee182b375cc445"},{"sha":"5d1ab324f1cf085df006554b8eb822c8f4b418ac","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"chore(package): url-template","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/5d1ab324f1cf085df006554b8eb822c8f4b418ac"},{"sha":"2a9203e80962e1e8f86e6b5a88757769c64536cd","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"test: pass new required options to `github.repos.uploadAsset()`","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/2a9203e80962e1e8f86e6b5a88757769c64536cd"},{"sha":"6c5cd840f68a1a1fd1b0122ec771654d57dd250c","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"fix: github.repos.uploadAsset() options\n\nBREAKING CHANGE: The current implementation has the upload URL hard coded, while the specification says that it has to be received from the Release API endpoint:\nhttps://developer.github.com/v3/repos/releases/#upload-a-release-asset\n\nThe new implementation also requires `contentType` as well as `contentLength`. The latter is not documented, but is required. The `filePath` option has been replaced with a `file` option which can be either a read stream, a buffer or a string.\n\nAltogether, uploading an asset before worked like this:\n\n```js\ngithub.repos.getReleaseByTag({\n  owner: \"octokit-fixture-org\",\n  repo: \"release-assets\",\n  tag: \"v1.0.0\"\n})\n\n.then(result => {\n  return github.repos.uploadAsset({\n    owner: \"octokit-fixture-org\",\n    repo: \"release-assets\",\n    id: result.data.id,\n    filePath: pathResolve(__dirname, \"test-upload.txt\"),\n    name: \"test-upload.txt\",\n    label: \"test\"\n  })\n})\n```\n\nNow it looks like this\n\n```js\ngithub.repos.getReleaseByTag({\n  owner: \"octokit-fixture-org\",\n  repo: \"release-assets  repo: \"release-assets  repo: \"release-assets  repo: \"release-assets  repo: \"release-assets  repo: \"release-assets  repo: \"release-assets  repo: \"release-assett/  repo: \"release-assets  repo: \"release-assets  repo: \"releas   label: \"test\"\n  })\n})\n```\n\nIf you prefer a higher-level release asset upload library, have a look at https://github.com/gr2m/octokit-release-asset-upload","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/6c5cd840f68a1a1fd1b0122ec771654d57dd250c"},{"sha":"5cf2fc96cfb086c3be3b76950efaf29b60a61dbe","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"test: 100% test coverage for custom errors","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/5cf2fc96cfb086c3be3b76950efaf29b60a61dbe"},{"sha":"63bfb68285c5fa3fd2a55f38af0333fa33febdfc","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"refactor: pass message to all custom errors, remove default message","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/63bfb68285c5fa3fd2a55f38af0333fa33febdfc"},{"sha":"7485801513ed406f99a75c8f1acc37f89284b0c7","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"chore: remove unused 2nd argument from `error.BadRequest`","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/7485801513ed406f99a75c8f1acc37f89284b0c7"},{"sha":"24485dd6aac7a8e5670abc5f239bae24270847a3","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"docs: remove `debug` option, document `DEBUG=node-github:*` environment variable","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/24485dd6aac7a8e5670abc5f239bae24270847a3"},{"sha":"985a745c225ca9af37163286e47095930ec99e1a","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"breaking: `debug` option removed\n\nBREAKING CHANGE: The `debug` option for the GitHub Client constructor\nhas been removed. Set `DEBUG=node-github:*` environment variable instead","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/985a745c225ca9af37163286e47095930ec99e1a"},{"sha":"bd1360c0eebfdcc801969d133d1940361c9ebbcd","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"chore(package): debug, nock","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/bd1360c0eebfdcc801969d133d1940361c9ebbcd"},{"sha":"77a9c429c769900e1840627667380001db35b403","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"test: invalid argument","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/77a9c429c769900e1840627667380001db35b403"},{"sha":"874648796fbbb72dc96661a63b99df32b7c6dc81","author":{"name":"Gregor","email":"ea91fced17e6d4fa3a4177170bd0ec596e28b305@martynus.net"},"message":"test: constructor","distinct":false,"url":"https://api.github.com/repos/gr2m/node-github/commits/874648796fbbb72dc96661a63b99df32b7c6dc81"}]}
{"actor":{"display_login":"gr2m"}}