@gitkraken/provider-apis 0.48.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/index.js +238 -236
- package/dist/index.provider-utils.js +1 -1
- package/dist/index.providers.js +245 -243
- package/dist/providers/azureDevops/azureDevOps.d.ts +26 -11
- package/dist/providers/bitbucket/bitbucket.d.ts +11 -9
- package/dist/providers/bitbucketServer/bitbucketServer.d.ts +12 -2
- package/dist/providers/github/github.d.ts +4 -2
- package/dist/providers/github/githubHelpers.d.ts +19 -1
- package/dist/providers/gitlab/gitlab.d.ts +33 -11
- package/dist/providers/jira/jira.d.ts +5 -1
- package/dist/providers/jira/jiraHelpers.d.ts +13 -1
- package/dist/providers/jira/jiraServer.d.ts +5 -1
- package/dist/types/exportedTypes/gitProvider.d.ts +10 -0
- package/dist/types/exportedTypes/github.d.ts +13 -1
- package/dist/types/exportedTypes/gitlab.d.ts +12 -0
- package/dist/types/exportedTypes/types.d.ts +16 -0
- package/dist/types/internalTypes/bitbucket.d.ts +1 -1
- package/dist/types/internalTypes/github.d.ts +1 -0
- package/dist/types/internalTypes/gitlab.d.ts +7 -0
- package/dist/utils.d.ts +17 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.50.0
|
|
4
|
+
|
|
5
|
+
- Added an optional `states` selector to PR/issue list inputs across GitHub, GitLab, Bitbucket, Bitbucket Server, Azure DevOps, and Jira, honored per provider without changing the default (open-only) behavior
|
|
6
|
+
- Added `pageSize` to `NumberedPageInput` and honored it uniformly across numbered-page providers (Bitbucket, Bitbucket Server, Azure DevOps); enriched `NumberedPageInfo` with `currentPage` and totals where the provider exposes them
|
|
7
|
+
- Fixed reviewer/assignee filter parity: GitLab now honors the full `assigneeLogins` array instead of only the first entry, and added reviewer filtering where it was missing
|
|
8
|
+
- Added `isCrossRepository` to `GitPullRequest`, computed uniformly across GitHub, GitLab, Bitbucket, Bitbucket Server, and Azure DevOps by comparing head vs base repository identity
|
|
9
|
+
- Added best-effort `headRepository.isFork` where a provider exposes a genuine fork signal cheaply (Azure DevOps via `forkSource`, GitHub via a new `isFork` GraphQL field)
|
|
10
|
+
- Added an opt-in `includeRemoteInfo` flag to Azure DevOps PR listing that populates `repository.remoteInfo` / `headRepository.remoteInfo` (clone URLs) via a per-page repository lookup instead of an N+1 call per PR
|
|
11
|
+
- Added an optional free-text `query` param to Bitbucket Cloud's PR listing methods that matches the PR title and description via a BBQL clause, combined with the existing `states` filter
|
|
12
|
+
- Consolidated the five per-provider page-size helpers into a shared `resolvePageSize` util (internal refactor, no change to any provider's paging behavior)
|
|
13
|
+
- Bumped the vulnerable dev-only transitive dependency `js-yaml` → 4.2.0 to clear the open Dependabot alert (quadratic-complexity DoS in merge key handling; no changes to the published package)
|
|
14
|
+
|
|
15
|
+
## 0.49.0
|
|
16
|
+
|
|
17
|
+
- Added `getGroupsForCurrentUser` to GitLab (lists the groups/namespaces the current user is a member of via the REST API, with `topLevelOnly` defaulting to `true` and `NumberedPageInfo` pagination; returns each group's `fullPath` needed to replicate GitLab's subgroup-prefix matching when filtering repos by group)
|
|
18
|
+
|
|
3
19
|
## 0.48.0
|
|
4
20
|
|
|
5
21
|
- Added `getPullRequestDiff` to GitHub (requests the PR resource with the `application/vnd.github.diff` media type and returns the unified diff, with GitHub Enterprise `baseUrl` support)
|