Bug fixes:
- Typescript: only set generated Array body properties to string[].
Features:
- Add
maintainer_can_modify
flag to create pull request.
Breaking changes:
- Changes to pullRequests.getReview, pullRequests.getReviewComments.
Features:
- Allow pull request comment endpoints to include reactions.
- Add pull request review examples.
Bug fixes:
- Make base param not required for updating pull request.
Features:
- Add search commits preview api.
Bug fixes:
- Fix typescript bindings.
Features:
- Preview Review Requests API.
- Preview pull request reviews.
- Traffic api now official.
Bug fixes:
- Fix link for accept header example in README.
Features:
- Add a TypeScript generator.
- Update protected branches api changes.
Bug fixes:
- Provide correct values for moveProjectsCard "position" parameter.
Bug fixes:
- Fix enterprise uploadAsset edge case.
Breaking changes:
- Rename listAssets() to getAssets() for consistency.
Features:
- Add support for .netrc authentication.
- Add netrc auth example.
- Organization membership API changes.
Features:
- Add X-GitHub-RequestId, Retry-After request headers.
- Add trailing slash to getReferences url to return all references.
- Allow the ref param to be the empty string.
Bug fixes:
- Some example fixes.
Bug fixes:
- Don't trim endpoint params.
Features:
- Generate flow-type type definitions.
Bug fixes:
- Fix ref params being uri encoded.
Bug fixes:
- Fix validation regex for get-org-membership.
Bug fixes:
- Fix accept header management for updated endpoint urls.
Breaking changes:
- Move projects to its own section.
- Project endpoint url changes.
- Several additional breaking endpoint url changes.
Features:
- Add installation repository endpoints.
- Add fingerprint param to update-authorization endpoint.
Features:
- Add /installations/repositories endpoint.
Bug fixes:
- Reject promise for missing parameters.
Bug fixes:
- Replace ES6 code so the library runs for versions of node < v4.
- Make
team_id
required for update ldap endpoints.
Bug fixes:
- Fix enterprise ldap update endpoints by adding
ldap_dn
param.
Features:
- Add pre-receive endpoints.
- Add params for editGist endpoint.
Bug fixes:
- Adjust params for updateProtectedBranchRequiredStatusChecks.
- Use body by default for non head/get/delete requests.
- Fix mismatched endpoints in acceptTree object.
- Prevent
accept
andAccept
mixing in headers. - Adjust getFollowers endpoint url.
- Adjust testHook endpoint url.
Features:
- All pagination-related functions now promisified.
Bugfixes:
- Fix for remove assignees from issue.
Breaking changes:
- Replace user with owner in endpoints
Features:
- Take care of accept headers for preview APIs in the library so there's no need to manually provide it on a per-request basis.
Bugfixes:
- Change removeAssigneesFromIssue assignees param to body json input.
Breaking changes:
- Merge button squash boolean param has been renamed to merge_method string param.
Features:
- Add some integration-related endpoints.
- Add support for integration authentication.
- Add preview merge params to edit user repo endpoint.
- Add preview merge params to org repos endpoint.
- Add preview merge params to user repos endpoint.
- Add filter to apidoc.
- Add basic getNextPage example.
Bugfixes:
- Fix permissions param.
Features:
- Add projects api.
Breaking changes:
- Fix issues.updateLabel endpoint. Change first
name
param tooldname
and add newname
param.
Features:
- Add X-Poll-Interval header for events API.
Bugfixes:
- Fix reactions validation regex.
Features:
- Add repository traffic api
Bugfixes:
- Allow for passing some required parameters as null
Features:
- Add github pages preview endpoints.
- Add preview apis section to readme.
Bugfixes:
- Avoid parsing non json data. (Fixes renderMarkdown, getRawBlob)
Features:
- Remove preview notes for multiple assignees api.
- Remove preview notes for issue locking/unlocking api.
- Add protected branch api endpoints.
- Destroy socket on timeout.
Features:
- Add repos.getShaOfCommitRef.
Bugfixes:
- Remove repos.getAll affiliation regex validation.
Features:
- Add add-assignees-to-issue, remove-assignees-from-issue endpoints.
- Add note that licenses api is in preview period.
- Add get-tag-signature-verification endpoint.
- Add commit-signature-verification endpoint.
- Add params for create-deployment-status, create-deployment endpoints.
- Allow lazy instantiation.
- Add promise support.
Features:
- Add get raw blob example.
Bugfixes:
- Make createDeployment task param optional.
- Add missing org param for issues.getForOrg.
Breaking changes:
- Remove getAllPages utility method.
- Move migration-related endpoints to its own section.
Features:
- Add source import endpoints.
- Add enterprise search indexing endpoint.
Features:
- Add repo invite endpoints.
- Add permission param to add-collaborator.
- Add GPG endpoints.
Features:
- Add reaction endpoints.
Bugfixes:
- Fix custom headers not being used.
- Fix includePreview config flag not working properly. (Removed and need to use custom headers.)
Bugfixes:
- Allow empty string for path param for getContent.
Features:
- Add support to allow api stuff under preview period.
- Add assignees preview param for issues endpoints.
- Add issues#lock/unlock.
- Add some more examples.
- Add pull request merge squash preview params.
- Add list/get/delete grant(s) endpoints.
- Add params for create authorization.
- Add get-or-create-authorization-for-app endpoint.
- Add add get-or-create-authorization-for-app-and-fingerprint.
- Add check/reset/revoke authorization endpoints.
- Add get-events-timeline endpoint.
Bugfixes:
- Fix custom headers not persisting across pages.
- Make path param required for get-content.
- If user specifies protocol = http, use port 80 rather than default 443.