@gitkraken/provider-apis 0.13.2 → 0.14.1

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 CHANGED
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.14.1
4
+
5
+ - added `JiraServer` provider with the following functions
6
+ - `getCurrentUser`
7
+ - `getJiraProjects`
8
+ - `getIssuesForProject`
9
+ - `setIssueStatus`
10
+ - `getLabels`
11
+ - added `state.category` field to `Issue` (Jira)
12
+ - added `states` to `WorkItemState` (Azure DevOps)
13
+
14
+ ## 0.14.0
15
+
16
+ - added `setIssueAssignees` (GitHub, GitLab, and Trello)
17
+ - added `setIssueAssignee` (Azure DevOps and Jira)
18
+ - added `setPullRequestReviewers` (GitHub, GitLab, Bitbucket, and Bitbucket Server)
19
+ - added `addPullRequestReviewer` (Azure DevOps)
20
+ - added `removePullRequestReviewer` (Azure DevOps)
21
+ - added `closePullRequest` (Bitbucket Server)
22
+ - added `mergePullRequest` (Bitbucket Server)
23
+ - added `getMergeStrategies` (Bitbucket Server)
24
+ - added `headCommit.buildStatuses` field to `GitPullRequest` (GitHub and GitLab)
25
+
26
+ ### ⚠️ Breaking Changes
27
+
28
+ - replaced `headCommit.buildStatus` with `headCommit.buildStatuses` in `GitPullRequest` (GitHub)
29
+
3
30
  ## 0.13.2
4
31
 
5
32
  - added `setPullRequestAssignees` (GitHub and GitLab)
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { BitbucketServer } from './providers/bitbucketServer/bitbucketServer';
4
4
  import { GitHub } from './providers/github/github';
5
5
  import { GitLab } from './providers/gitlab/gitlab';
6
6
  import { Jira } from './providers/jira/jira';
7
+ import { JiraServer } from './providers/jiraServer/jiraServer';
7
8
  import { Trello } from './providers/trello/trello';
8
9
  import * as AzureDevopsUtils from './providerUtils/azureDevops';
9
10
  import * as BitbucketUtils from './providerUtils/bitbucket';
@@ -20,10 +21,11 @@ declare const makeProviderAPIs: (config?: Partial<Config>) => {
20
21
  github: GitHub;
21
22
  gitlab: GitLab;
22
23
  jira: Jira;
24
+ jiraServer: JiraServer;
23
25
  trello: Trello;
24
26
  };
25
27
  export default makeProviderAPIs;
26
- export { AzureDevOps, Bitbucket, BitbucketServer, GitHub, GitLab, Jira, Trello };
28
+ export { AzureDevOps, Bitbucket, BitbucketServer, GitHub, GitLab, Jira, JiraServer, Trello };
27
29
  export type * from './providers/azureDevops/azureDevOps';
28
30
  export type * from './providers/bitbucket/bitbucket';
29
31
  export type * from './providers/gitProvider';
@@ -32,6 +34,7 @@ export type { FetchIssuesData, FetchPullRequestsData } from './providers/github/
32
34
  export type * from './providers/gitlab/gitlab';
33
35
  export type * from './providers/issueProvider';
34
36
  export type * from './providers/jira/jira';
37
+ export type * from './providers/jiraServer/jiraServer';
35
38
  export type * from './providers/trello/trello';
36
39
  export type * from './types';
37
40
  declare const Utils: {