feat(gitlab): add support for GitLab protected branches (list and unprotect)

This commit is contained in:
2026-02-28 16:59:43 +00:00
parent 016eaf1b91
commit 82940c7c0f
5 changed files with 36 additions and 1 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2026-02-28 - 2.3.0 - feat(gitlab)
add support for GitLab protected branches (list and unprotect)
- Added IGitLabProtectedBranch interface
- Added GitLabClient.getProtectedBranches(projectId) returning IGitLabProtectedBranch[]
- Added GitLabClient.unprotectBranch(projectId, branchName) to remove branch protection
- Exported IGitLabProtectedBranch from index.ts
- Non-breaking API additions; recommended minor version bump
## 2026-02-28 - 2.2.0 - feat(gitlabclient)
add deleteProject method to delete a project using GitLab API DELETE /api/v4/projects/:id