@backstage/core-app-api 1.17.0-next.1 → 1.17.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # @backstage/core-app-api
2
2
 
3
+ ## 1.17.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/core-plugin-api@1.10.8
9
+ - @backstage/config@1.3.2
10
+ - @backstage/types@1.2.1
11
+ - @backstage/version-bridge@1.0.11
12
+
13
+ ## 1.17.0
14
+
15
+ ### Minor Changes
16
+
17
+ - 1e0230e: Support custom `AuthConnector` for `OAuth2`.
18
+
19
+ A user can pass their own `AuthConnector` implementation in `OAuth2` constructor.
20
+ In which case the session manager will use that instead of the `DefaultAuthConnector` to interact with the
21
+ authentication provider.
22
+
23
+ A custom `AuthConnector` may call the authentication provider from the front-end, store and retrieve tokens
24
+ in the session storage, for example, and otherwise send custom requests to the authentication provider and
25
+ handle its responses.
26
+
27
+ Note, that if the custom `AuthConnector` transforms scopes returned from the authentication provider,
28
+ the transformation must be the same as `OAuth2CreateOptions#scopeTransform` passed to `OAuth2` constructor.
29
+ See creating `DefaultAuthConnector` in `OAuth2#create(...)` for an example.
30
+
31
+ ### Patch Changes
32
+
33
+ - 73f6cc3: Updated `I18nextTranslationApi` to support interpolation of JSX elements.
34
+ - cc119b2: Fixed an issue causing `OAuthRequestDialog` to re-render on mount.
35
+ - Updated dependencies
36
+ - @backstage/core-plugin-api@1.10.7
37
+ - @backstage/config@1.3.2
38
+ - @backstage/types@1.2.1
39
+ - @backstage/version-bridge@1.0.11
40
+
3
41
  ## 1.17.0-next.1
4
42
 
5
43
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/core-app-api",
3
- "version": "1.17.0-next.1",
3
+ "version": "1.17.1",
4
4
  "description": "Core app API used by Backstage apps",
5
5
  "backstage": {
6
6
  "role": "web-library"
@@ -50,10 +50,10 @@
50
50
  "test": "backstage-cli package test"
51
51
  },
52
52
  "dependencies": {
53
- "@backstage/config": "1.3.2",
54
- "@backstage/core-plugin-api": "1.10.7-next.0",
55
- "@backstage/types": "1.2.1",
56
- "@backstage/version-bridge": "1.0.11",
53
+ "@backstage/config": "^1.3.2",
54
+ "@backstage/core-plugin-api": "^1.10.8",
55
+ "@backstage/types": "^1.2.1",
56
+ "@backstage/version-bridge": "^1.0.11",
57
57
  "@types/prop-types": "^15.7.3",
58
58
  "history": "^5.0.0",
59
59
  "i18next": "^22.4.15",
@@ -64,8 +64,8 @@
64
64
  "zod": "^3.22.4"
65
65
  },
66
66
  "devDependencies": {
67
- "@backstage/cli": "0.32.1-next.3",
68
- "@backstage/test-utils": "1.7.8-next.2",
67
+ "@backstage/cli": "^0.33.0",
68
+ "@backstage/test-utils": "^1.7.9",
69
69
  "@testing-library/dom": "^10.0.0",
70
70
  "@testing-library/jest-dom": "^6.0.0",
71
71
  "@testing-library/react": "^16.0.0",