@gitkraken/provider-apis 0.26.4 → 0.27.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 +20 -0
- package/dist/index.js +61 -56
- package/dist/index.provider-utils.js +1 -1
- package/dist/index.providers.js +85 -80
- package/dist/providers/bitbucket/bitbucket.d.ts +9 -0
- package/dist/types/exportedTypes/gitProvider.d.ts +6 -1
- package/dist/types/internalTypes/bitbucket.d.ts +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.27.1
|
|
4
|
+
|
|
5
|
+
- added `getAccountsForWorkspace` (Bitbucket)
|
|
6
|
+
- updated issue API route to comply with deprecation notice (Jira Cloud)
|
|
7
|
+
|
|
8
|
+
## 0.27.0
|
|
9
|
+
|
|
10
|
+
### ⚠️ Breaking Changes
|
|
11
|
+
|
|
12
|
+
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:
|
|
13
|
+
```ts
|
|
14
|
+
type GitRepositoryPermissions = {
|
|
15
|
+
canCreateWebhook: boolean | null;
|
|
16
|
+
canPush: boolean;
|
|
17
|
+
isAdmin: boolean;
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
More properties will be added in the future as our surface's requirements change.
|
|
22
|
+
|
|
3
23
|
## 0.26.4
|
|
4
24
|
|
|
5
25
|
- add `getTreeForRepo` (GitLab)
|