@gitkraken/provider-apis 0.38.0 → 0.40.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,40 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.40.0
4
+
5
+ - Added `resolveReviewThread` to Github
6
+ - Added `unresolveReviewThread` to Github
7
+
8
+ ## 0.39.0
9
+
10
+ - Added `getWorkspacesForCurrentUser` to Bitbucket
11
+ - Added `getReposForWorkspace` to Bitbucket.
12
+ - Added `getAllReposForWorkspace` to Bitbucket
13
+ - Added `getAllReposForWorkspaceWithPermissions` to Bitbucket
14
+
15
+ ### ⚠️ Future Breaking Changes
16
+
17
+ - Deprecated `getWorkspacesForUser` in Bitbucket
18
+ - Deprecated `getReposForCurrentUser` in Bitbucket
19
+ - Deprecated `getReposPermissionsForCurrentUser` in Bitbucket
20
+ - Deprecated `decorateReposWithPermissions` in Bitbucket
21
+
22
+ ### How to migrate from deprecated methods
23
+
24
+ #### getWorkspacesForUser
25
+
26
+ Simply replace the function with `getWorkspacesForCurrentUser`.
27
+
28
+ #### getReposForCurrentUser
29
+
30
+ Replace the function with any of `getReposForWorkspace`, `getAllReposForWorkspace`, or `getAllReposForWorkspaceWithPermissions`.
31
+ These functions require a workspace ID, which can be obtained by calling `getWorkspacesForCurrentUser`.
32
+
33
+ #### getReposPermissionsForCurrentUser and decorateReposWithPermissions
34
+
35
+ Use `getAllReposForWorkspaceWithPermissions` instead. This function returns the repositories along with permissions information,
36
+ so it is no longer necessary to fetch repositories and their permissions separately.
37
+
3
38
  ## 0.38.0
4
39
 
5
40
  - Added `deleteComment` to Github