@backstage/core-app-api 1.0.2-next.1 → 1.0.3
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 +26 -0
- package/dist/index.esm.js +4 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @backstage/core-app-api
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8f7b1835df: Updated dependency `msw` to `^0.41.0`.
|
|
8
|
+
- 19781483a2: Handle URLs as the first argument to `fetchApi`, when using the `plugin:` protocol
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/core-plugin-api@1.0.3
|
|
11
|
+
|
|
12
|
+
## 1.0.3-next.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 8f7b1835df: Updated dependency `msw` to `^0.41.0`.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @backstage/core-plugin-api@1.0.3-next.0
|
|
19
|
+
|
|
20
|
+
## 1.0.2
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 1fae1f57c9: Fix SAML session schema to no longer require the (deprecated) id, to unbreak session data storage.
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
- @backstage/core-plugin-api@1.0.2
|
|
27
|
+
- @backstage/config@1.0.1
|
|
28
|
+
|
|
3
29
|
## 1.0.2-next.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/dist/index.esm.js
CHANGED
|
@@ -955,7 +955,6 @@ const samlSessionSchema = z.object({
|
|
|
955
955
|
picture: z.string().optional()
|
|
956
956
|
}),
|
|
957
957
|
backstageIdentity: z.object({
|
|
958
|
-
id: z.string(),
|
|
959
958
|
token: z.string(),
|
|
960
959
|
identity: z.object({
|
|
961
960
|
type: z.literal("user"),
|
|
@@ -1402,10 +1401,13 @@ class PluginProtocolResolverFetchMiddleware {
|
|
|
1402
1401
|
base = `${baseUrl.protocol}//${authority}${baseUrl.host}${baseUrl.pathname}`;
|
|
1403
1402
|
}
|
|
1404
1403
|
const target = `${join(base, pathname)}${search}${hash}`;
|
|
1405
|
-
return next(target, typeof input === "string" ? init : input);
|
|
1404
|
+
return next(target, typeof input === "string" || isUrl(input) ? init : input);
|
|
1406
1405
|
};
|
|
1407
1406
|
}
|
|
1408
1407
|
}
|
|
1408
|
+
function isUrl(a) {
|
|
1409
|
+
return typeof a === "object" && (a == null ? void 0 : a.constructor) === URL;
|
|
1410
|
+
}
|
|
1409
1411
|
|
|
1410
1412
|
class FetchMiddlewares {
|
|
1411
1413
|
static resolvePluginProtocol(options) {
|