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