@gitkraken/provider-apis 0.9.0 → 0.11.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 +38 -0
- package/dist/index.js +323 -124
- package/dist/providerUtils/jira.d.ts +2 -1
- package/dist/providers/azureDevops/azureDevOps.d.ts +49 -1
- package/dist/providers/azureDevops/azureDevOpsTypes.d.ts +36 -0
- package/dist/providers/bitbucket/bitbucket.d.ts +11 -1
- package/dist/providers/bitbucketServer/bitbucketServer.d.ts +3 -11
- package/dist/providers/gitProvider.d.ts +27 -1
- package/dist/providers/github/github.d.ts +109 -6
- package/dist/providers/github/githubHelpers.d.ts +8 -12
- package/dist/providers/github/githubTypes.d.ts +28 -0
- package/dist/providers/gitlab/gitlab.d.ts +59 -1
- package/dist/providers/issueProvider.d.ts +16 -2
- package/dist/providers/jira/jira.d.ts +19 -0
- package/dist/providers/trello/trello.d.ts +44 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.0
|
|
4
|
+
|
|
5
|
+
- added `searchIssues` (GitHub)
|
|
6
|
+
- added `getIssuesAssociatedWithUser` (GitHub)
|
|
7
|
+
- added `getMilestonesForRepo` (GitHub and GitLab)
|
|
8
|
+
- added `setPullRequestMilestone` (GitHub and GitLab)
|
|
9
|
+
- added `setIssueMilestone` (GitHub and GitLab)
|
|
10
|
+
- added `getLabelsForRepo` (GitHub and GitLab)
|
|
11
|
+
- added `getLabelsForProject` (Azure DevOps)
|
|
12
|
+
- added `getLabelsForResource` (Jira)
|
|
13
|
+
- added `getLabelsForBoard` (Trello)
|
|
14
|
+
- added `setPullRequestAsDraft` (GitHub, GitLab, and Azure DevOps)
|
|
15
|
+
- added `getIssueTypesForAzureProject` (Azure DevOps)
|
|
16
|
+
- added `getListsForTrelloBoard` (Trello)
|
|
17
|
+
- added `statusTransitions` field to `Issue` (Jira)
|
|
18
|
+
- added `milestones` field to `GitPullRequest` and `Issue` (GitHub and GitLab)
|
|
19
|
+
- added `labels` field to `GitPullRequest` and `Issue` (GitHub, GitLab, Azure DevOps, Jira, and Trello)
|
|
20
|
+
- added `state` field to `Issue` (GitHub, Azure DevOps, Jira, and Trello)
|
|
21
|
+
- updated `getRepos` for BitbucketServer to match behavior of other providers' `getRepos` functions (returns an `errors` array)
|
|
22
|
+
|
|
23
|
+
### ⚠️ Breaking Changes
|
|
24
|
+
|
|
25
|
+
- changed the type of the `state` field in `Issue` from `string` to `object`
|
|
26
|
+
|
|
27
|
+
## 0.10.0
|
|
28
|
+
|
|
29
|
+
- added `searchPullRequests` (GitHub)
|
|
30
|
+
- added `getPullRequestsAssociatedWithUser` (GitHub)
|
|
31
|
+
- added `closePullRequest` (GitHub, GitLab, Bitbucket, and Azure DevOps)
|
|
32
|
+
- added `mergePullRequest` (GitHub, GitLab, Bitbucket, and Azure DevOps)
|
|
33
|
+
- added `setIssueStatus` (GitHub, GitLab, Azure DevOps, Jira, and Trello)
|
|
34
|
+
- added `getJiraServerIssueUniqueId` (JiraUtils)
|
|
35
|
+
|
|
36
|
+
### ⚠️ Breaking Changes
|
|
37
|
+
|
|
38
|
+
- Jira's `getIssueUniqueId` no longer supports a `domain` parameter. Use `getJiraServerIssueUniqueId` instead.
|
|
39
|
+
- `getRepos` no longer throws if any of the repositories fail to fetch, meaning the index of the returned repositories may not match the index the inputs. It now also returns an `errors` property containing the inputs that failed. (GitHub, GitLab, Bitbucket, and Azure DevOps)
|
|
40
|
+
|
|
3
41
|
## 0.9.0
|
|
4
42
|
|
|
5
43
|
- Azure DevOps `GitPullRequest` objects now include `url`
|