v44.1.102026-11-21
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix(types): Type repository search refs (#3911)
Search.all has no explicit ref option for repository searches. This adds ref?: string to the blobs, commits, and wiki_blobs overloads, matching the GitLab project search API, and documents a branch search example.
The existing generic search parameters already forward ref at runtime; this change makes the option discoverable and checks its type. Regression tests cover branch and tag forwarding for all three scopes, reject numeric refs during type checking, and preserve the result types.
Fixes #3860
Relates #3862
v44.1.92026-11-21
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: chore(ci): Post Codecov coverage without waiting for CI to finish (#3909)
v44.1.82026-11-21
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix: NuGet.downloadSymbolFile header assignment (#3906)
## Summary
As a portion of the #3898 i had missed this change that effectively broke the header assignment. While this implementation has its flaws, it at least works for the short term until i can refactor passing custom headers for specific endpoints.
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix(types): Correct webhook and merge request discussion note types (#3863) (@dmitryuk)
## Summary
Various event webhook types were out of date:
- WebhookBaseNoteEventSchema: add object_attributes.action
- WebhookMergeRequestEventSchema: add optional object_attributes.oldrev
- WebhookEmojiEventSchema: allow event_type 'revoke', make note and issue optional
- MergeRequestDiscussionNoteSchema: add optional suggestions
v44.1.72026-11-21
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: chore(release): Make the tests scope a non-release scope (#3905)
v44.1.62026-11-20
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix: Removing deprecated API UserStarredMetricsDashboard (#3901)
## Summary
The UserStarredMetricsDashboard API was deprecated back in v16, but was missed during the last major update PR. This will not be marked as breaking since the recommended Gitlab support for the library is set to v19+ which already does not support this API.
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: chore(tests): Add unit tests for Git, MergeRequest, and Issue resources (#3903)
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix: Update ContainerRegistryProtectionTagRule edit and prefixUrl usage (#3898)
## Summary
The url generation through getProfixURL kept failing the way the baseUrl was being set.
Additionally, updated the broken ContainerRegistryProtectionTagRule edit function which returns the wrong type
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: chore(tests): Add unit tests for security and analytics resources (#3902)
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix: Incorrect path in various services (#3899)
## Summary
- Fix incorrect paths in three services
- Add missing unit tests
v44.1.52026-11-17
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix: Seperate our e2e testing branch and update READMEs (#3897)
## Summary
- Readme's have been outdated for a while, using the wrong badges for example
- e2e tests on main pointing to a PR, but this would set the wrong status on the main branch pipeline. Instead, move the tests to a dedicated pipeline and branch to keep the status consistent
v44.1.42026-11-17
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix: Projects.edit incorrectly nested its body parameter (#3896)
fixes #3895
v44.1.32026-11-16
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix(ci): Restricting the scopes of the gcp service account (#3894)
v44.1.22026-11-16
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: fix(types): Allow a null label in LabelEventSchema (#3859) (@pataar)
## Problem
The resource label events endpoints (IssueLabelEvents, MergeRequestLabelEvents, EpicLabelEvents) return "label": null for an event whose label has since been deleted:
``json
{
"id": 123,
"user": { "id": 1, "username": "jane", "...": "..." },
"created_at": "2024-01-29T14:26:49.909+01:00",
"resource_type": "Issue",
"resource_id": 456,
"label": null,
"action": "add"
}
`
GitLab keeps the event and nullifies its label reference when the label is removed from the project or group, so any long-lived issue or merge request can carry a few of these. Observed on a self-managed GitLab instance.
LabelEventSchema types the field as label: LabelSchema, so event.label.name compiles without complaint and throws TypeError: Cannot read properties of null (reading 'name') at runtime.
## Change
label: LabelSchema → label: LabelSchema | null.
Types only, no runtime change. Nothing inside gitbeaker reads the field. For consumers this surfaces the missing null check at compile time — which is the point, but it does mean code doing event.label.name will need a ?.` after upgrading.
v44.1.12026-11-16
Patch Changes
- @gitbeaker/cli, @gitbeaker/core, @gitbeaker/requester-utils, @gitbeaker/rest: chore(ci): Authenticate e2e to GCP with OIDC and support e2e for fork PRs (#3893)
## Summary
- GCP authentication without a stored key
- e2e jobs now exchange their CircleCI OIDC token for short-lived GCP credentials (Workload Identity Federation), so CircleCI no longer stores a GCP service account key.
- GCP only accepts tokens from this project's jobs that use the new gcp context. Only the e2e setup, teardown and image cleanup jobs use it.
- Packer takes a short-lived access token instead of the key.
- E2E tests for PRs from forks
- Fork PRs never get credentials, so their e2e tests couldn't run. A maintainer can now trigger the validate-and-test pipeline on main with e2e_pr=<PR number>.
- That run uses main's config: only main's code creates and deletes the GitLab instance. The PR's code runs in jobs with no context, which never save caches.
- Teardown now finds a pipeline's GitLab instances by label instead of reading the workspace, which the PR's code can write to.
- Fork PR pipelines no longer show the approve-e2e-tests button, which could only fail there.
- CODECOV_TOKEN moves into a codecov context, so no secrets are left in project environment variables.
- Misc CI changes
- The main workflow is renamed to validate-and-test.
- The GitLab image cleanup moves out of validate-and-test, where its approval left main's status pending forever, into its own manually triggered pipeline (.circleci/cleanup-gitlab-images.yml).