@backstage/integration 1.3.0-next.1 → 1.3.1-next.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,36 @@
1
1
  # @backstage/integration
2
2
 
3
+ ## 1.3.1-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - eadf56bbbf: Bump `git-url-parse` version to `^13.0.0`
8
+ - 667d917488: Updated dependency `msw` to `^0.47.0`.
9
+ - 87ec2ba4d6: Updated dependency `msw` to `^0.46.0`.
10
+ - 42918e085c: Fixed bug in the `bitbucketServer` integration where token did not take precedence over supplied username and password which is described in the documentation.
11
+
12
+ ## 1.3.1-next.0
13
+
14
+ ### Patch Changes
15
+
16
+ - bf5e9030eb: Updated dependency `msw` to `^0.45.0`.
17
+
18
+ ## 1.3.0
19
+
20
+ ### Minor Changes
21
+
22
+ - 593dea6710: Add support for Basic Auth for Bitbucket Server.
23
+ - ad35364e97: feat(techdocs): add edit button support for bitbucketServer
24
+
25
+ ### Patch Changes
26
+
27
+ - 163243a4d1: Handle incorrect return type from Octokit paginate plugin to resolve reading URLs from GitHub
28
+ - c4b460a47d: Avoid double encoding of the file path in `getBitbucketDownloadUrl`
29
+ - 29f782eb37: Updated dependency `@types/luxon` to `^3.0.0`.
30
+ - 1f27d83933: Fixed bug in getGitLabFileFetchUrl where a target whose path did not contain the
31
+ `/-/` scope would result in a fetch URL that did not support
32
+ private-token-based authentication.
33
+
3
34
  ## 1.3.0-next.1
4
35
 
5
36
  ### Minor Changes
package/dist/index.cjs.js CHANGED
@@ -816,8 +816,7 @@ function getBitbucketServerRequestOptions(config) {
816
816
  const headers = {};
817
817
  if (config.token) {
818
818
  headers.Authorization = `Bearer ${config.token}`;
819
- }
820
- if (config.username && config.password) {
819
+ } else if (config.username && config.password) {
821
820
  const buffer = Buffer.from(`${config.username}:${config.password}`, "utf8");
822
821
  headers.Authorization = `Basic ${buffer.toString("base64")}`;
823
822
  }