@gitkraken/provider-apis 0.26.3 → 0.27.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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.27.0
4
+
5
+ ### ⚠️ Breaking Changes
6
+
7
+ 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:
8
+ ```ts
9
+ type GitRepositoryPermissions = {
10
+ canCreateWebhook: boolean | null;
11
+ canPush: boolean;
12
+ isAdmin: boolean;
13
+ };
14
+ ```
15
+
16
+ More properties will be added in the future as our surface's requirements change.
17
+
18
+ ## 0.26.4
19
+
20
+ - add `getTreeForRepo` (GitLab)
21
+
22
+ - fix problem where normalizing sprints for issues would throw an error (Jira Data Center)
23
+
3
24
  ## 0.26.3
4
25
 
5
26
  - add property `GitRepository.projectID` (Azure DevOps)