@gitkraken/provider-apis 0.28.2 → 0.28.4
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 +14 -1
- package/dist/index.js +107 -107
- package/dist/index.provider-utils.js +1 -1
- package/dist/index.providers.js +150 -150
- package/dist/providers/bitbucket/bitbucket.d.ts +4 -0
- package/dist/providers/github/githubHelpers.d.ts +4 -1
- package/dist/types/exportedTypes/gitProvider.d.ts +6 -8
- package/dist/types/internalTypes/bitbucket.d.ts +11 -1
- package/dist/types/internalTypes/github.d.ts +25 -27
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.28.4
|
|
4
|
+
|
|
5
|
+
- fix the TypeScript type of various `id` fields (from `number` to `string`) (GitHub, GitHub Enterprise)
|
|
6
|
+
- add future-proofing for `GitComment.id` and `GitPullRequestReviewComment.id` fields (GitHub Enterprise)
|
|
7
|
+
|
|
8
|
+
## 0.28.3
|
|
9
|
+
|
|
10
|
+
- fix REST API url for GitLab Self-Managed when it's not included in the base URL
|
|
11
|
+
|
|
3
12
|
## 0.28.2
|
|
4
13
|
|
|
5
14
|
- add support for Enterprise Managed Users (GitHub Enterprise Cloud)
|
|
6
15
|
- stop fetching approved field (GitLab Self-Managed)
|
|
7
16
|
|
|
8
17
|
## 0.28.1
|
|
9
|
-
|
|
18
|
+
|
|
19
|
+
- added repo/repos optional input for specifying fetching from specific repos in
|
|
10
20
|
- getPullRequestsAssociatedWithUser (github)
|
|
11
21
|
- getPullRequestsForUserAndWorkspace (bitbucket)
|
|
12
22
|
- getPullRequestsForUser (gitlab)
|
|
@@ -21,11 +31,13 @@
|
|
|
21
31
|
In order to fix the Jira Cloud paging bug, we needed to change the argument types and return types for both Jira Cloud and Jira Data Center issue fetching functions. The argument types have been changed to use `CursorPageInput` instead of `NumberedPageInput`, and the return types have been changed to use `CursorPageInfo` instead of `NumberedPageInfo`. The following functions have been affected:
|
|
22
32
|
|
|
23
33
|
Jira Cloud:
|
|
34
|
+
|
|
24
35
|
- `getIssuesForProject`
|
|
25
36
|
- `getIssuesForProjects`
|
|
26
37
|
- `getIssuesForResourceForCurrentUser`
|
|
27
38
|
|
|
28
39
|
Jira Data Center:
|
|
40
|
+
|
|
29
41
|
- `getIssuesForProject`
|
|
30
42
|
- `getIssuesForProjects`
|
|
31
43
|
- `getIssuesForResourceForCurrentUser`
|
|
@@ -54,6 +66,7 @@ Jira Data Center:
|
|
|
54
66
|
### ⚠️ Breaking Changes
|
|
55
67
|
|
|
56
68
|
Removed the `permission` field from `GitRepository` and replaced it with the `permissions` field. The old `permission` field was a GitHub-specific addition that was not normalized for other providers. The new `permissions` field is designed to be normalized with other providers, and also offers granular properties:
|
|
69
|
+
|
|
57
70
|
```ts
|
|
58
71
|
type GitRepositoryPermissions = {
|
|
59
72
|
canCreateWebhook: boolean | null;
|