2.1.0
Summary
- Added es5 support and clarified the default supported versions of node (>=8.0.0 for default)
- Updating project docs for consistency
- Adding project unsharing to API. It was in the docs, but missing from the API
- Updating deprecated protected branches endpoint. Previously this was
projects.branches.protect
now itsprojects.protectedBranches.protect
- Added Owned Runners and Runner Jobs API
Breaking Changes between 1.3.3 and 2.1.0
- The
list
functions are no longer supported and have all been renamed toall
- The
update
functions are no longer supported and have all been renamed toedit
- The
addKey
function has been renamed toadd
in UserKeys class - The deploy_keys and merge_requests properties have been renamed to deployKeys and mergeRequests
- Removed old group member functions from the groups class as they have been moved to the GroupMembers class. This includes the addMember, listMembers, editMember, and removeMember. These functions can now be access via group.members.add, group.members.all, group.members.edit and group.members.remove respectively.
- Removed the old group project functions from the Group class. These are now located in the GroupProject class. The functions that have been removed are listProjects, addProjects. These functions can be access by group.projects.all, and group.projects.add respectively.
- Updated the structure of the ProjectRepository class such that its commits, branches, tags and files are properties and can be accessed like
repository.commits.all()
etc. - Removed unused labels endpoint since it already exists under projects.labels