@backstage/plugin-auth-backend 0.24.4-next.2 → 0.24.4

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 +57 -0
  2. package/package.json +29 -29
package/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
+ ## 0.24.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 7956beb: Marked the remaining exports related to `createRouter` and the old backend system as deprecated.
8
+
9
+ For more information about migrating to the new backend system, see the [migration guide](https://backstage.io/docs/backend-system/building-backends/migrating#the-auth-plugin).
10
+
11
+ Support for the old backend system will be removed in the next release of this plugin.
12
+
13
+ - b6702ea: Deprecated `getDefaultOwnershipEntityRefs` in favor of the new `.resolveOwnershipEntityRefs(...)` method in the `AuthResolverContext`.
14
+
15
+ The following code in a custom sign-in resolver:
16
+
17
+ ```ts
18
+ import { getDefaultOwnershipEntityRefs } from '@backstage/plugin-auth-backend';
19
+
20
+ // ...
21
+
22
+ const ent = getDefaultOwnershipEntityRefs(entity);
23
+ ```
24
+
25
+ Can be replaced with the following:
26
+
27
+ ```ts
28
+ const { ownershipEntityRefs: ent } = await ctx.resolveOwnershipEntityRefs(
29
+ entity,
30
+ );
31
+ ```
32
+
33
+ - Updated dependencies
34
+ - @backstage/plugin-auth-node@0.6.1
35
+ - @backstage/plugin-auth-backend-module-microsoft-provider@0.3.1
36
+ - @backstage/plugin-auth-backend-module-oauth2-provider@0.4.1
37
+ - @backstage/plugin-auth-backend-module-oidc-provider@0.4.1
38
+ - @backstage/plugin-auth-backend-module-okta-provider@0.2.1
39
+ - @backstage/backend-plugin-api@1.2.1
40
+ - @backstage/catalog-client@1.9.1
41
+ - @backstage/catalog-model@1.7.3
42
+ - @backstage/config@1.3.2
43
+ - @backstage/errors@1.2.7
44
+ - @backstage/types@1.2.1
45
+ - @backstage/plugin-auth-backend-module-atlassian-provider@0.4.1
46
+ - @backstage/plugin-auth-backend-module-auth0-provider@0.2.1
47
+ - @backstage/plugin-auth-backend-module-aws-alb-provider@0.4.1
48
+ - @backstage/plugin-auth-backend-module-azure-easyauth-provider@0.2.6
49
+ - @backstage/plugin-auth-backend-module-bitbucket-provider@0.3.1
50
+ - @backstage/plugin-auth-backend-module-bitbucket-server-provider@0.2.1
51
+ - @backstage/plugin-auth-backend-module-cloudflare-access-provider@0.4.1
52
+ - @backstage/plugin-auth-backend-module-gcp-iap-provider@0.4.1
53
+ - @backstage/plugin-auth-backend-module-github-provider@0.3.1
54
+ - @backstage/plugin-auth-backend-module-gitlab-provider@0.3.1
55
+ - @backstage/plugin-auth-backend-module-google-provider@0.3.1
56
+ - @backstage/plugin-auth-backend-module-oauth2-proxy-provider@0.2.6
57
+ - @backstage/plugin-auth-backend-module-onelogin-provider@0.3.1
58
+ - @backstage/plugin-catalog-node@1.16.1
59
+
3
60
  ## 0.24.4-next.2
4
61
 
5
62
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-auth-backend",
3
- "version": "0.24.4-next.2",
3
+ "version": "0.24.4",
4
4
  "description": "A Backstage backend plugin that handles authentication",
5
5
  "backstage": {
6
6
  "role": "backend-plugin",
@@ -47,31 +47,31 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@backstage/backend-common": "^0.25.0",
50
- "@backstage/backend-plugin-api": "1.2.1-next.1",
51
- "@backstage/catalog-client": "1.9.1",
52
- "@backstage/catalog-model": "1.7.3",
53
- "@backstage/config": "1.3.2",
54
- "@backstage/errors": "1.2.7",
55
- "@backstage/plugin-auth-backend-module-atlassian-provider": "0.4.1-next.1",
56
- "@backstage/plugin-auth-backend-module-auth0-provider": "0.2.1-next.1",
57
- "@backstage/plugin-auth-backend-module-aws-alb-provider": "0.4.1-next.2",
58
- "@backstage/plugin-auth-backend-module-azure-easyauth-provider": "0.2.6-next.1",
59
- "@backstage/plugin-auth-backend-module-bitbucket-provider": "0.3.1-next.1",
60
- "@backstage/plugin-auth-backend-module-bitbucket-server-provider": "0.2.1-next.1",
61
- "@backstage/plugin-auth-backend-module-cloudflare-access-provider": "0.4.1-next.1",
62
- "@backstage/plugin-auth-backend-module-gcp-iap-provider": "0.4.1-next.1",
63
- "@backstage/plugin-auth-backend-module-github-provider": "0.3.1-next.1",
64
- "@backstage/plugin-auth-backend-module-gitlab-provider": "0.3.1-next.1",
65
- "@backstage/plugin-auth-backend-module-google-provider": "0.3.1-next.1",
66
- "@backstage/plugin-auth-backend-module-microsoft-provider": "0.3.1-next.1",
67
- "@backstage/plugin-auth-backend-module-oauth2-provider": "0.4.1-next.2",
68
- "@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "0.2.6-next.1",
69
- "@backstage/plugin-auth-backend-module-oidc-provider": "0.4.1-next.2",
70
- "@backstage/plugin-auth-backend-module-okta-provider": "0.2.1-next.2",
71
- "@backstage/plugin-auth-backend-module-onelogin-provider": "0.3.1-next.1",
72
- "@backstage/plugin-auth-node": "0.6.1-next.1",
73
- "@backstage/plugin-catalog-node": "1.16.1-next.1",
74
- "@backstage/types": "1.2.1",
50
+ "@backstage/backend-plugin-api": "^1.2.1",
51
+ "@backstage/catalog-client": "^1.9.1",
52
+ "@backstage/catalog-model": "^1.7.3",
53
+ "@backstage/config": "^1.3.2",
54
+ "@backstage/errors": "^1.2.7",
55
+ "@backstage/plugin-auth-backend-module-atlassian-provider": "^0.4.1",
56
+ "@backstage/plugin-auth-backend-module-auth0-provider": "^0.2.1",
57
+ "@backstage/plugin-auth-backend-module-aws-alb-provider": "^0.4.1",
58
+ "@backstage/plugin-auth-backend-module-azure-easyauth-provider": "^0.2.6",
59
+ "@backstage/plugin-auth-backend-module-bitbucket-provider": "^0.3.1",
60
+ "@backstage/plugin-auth-backend-module-bitbucket-server-provider": "^0.2.1",
61
+ "@backstage/plugin-auth-backend-module-cloudflare-access-provider": "^0.4.1",
62
+ "@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.4.1",
63
+ "@backstage/plugin-auth-backend-module-github-provider": "^0.3.1",
64
+ "@backstage/plugin-auth-backend-module-gitlab-provider": "^0.3.1",
65
+ "@backstage/plugin-auth-backend-module-google-provider": "^0.3.1",
66
+ "@backstage/plugin-auth-backend-module-microsoft-provider": "^0.3.1",
67
+ "@backstage/plugin-auth-backend-module-oauth2-provider": "^0.4.1",
68
+ "@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "^0.2.6",
69
+ "@backstage/plugin-auth-backend-module-oidc-provider": "^0.4.1",
70
+ "@backstage/plugin-auth-backend-module-okta-provider": "^0.2.1",
71
+ "@backstage/plugin-auth-backend-module-onelogin-provider": "^0.3.1",
72
+ "@backstage/plugin-auth-node": "^0.6.1",
73
+ "@backstage/plugin-catalog-node": "^1.16.1",
74
+ "@backstage/types": "^1.2.1",
75
75
  "@google-cloud/firestore": "^7.0.0",
76
76
  "@node-saml/passport-saml": "^5.0.0",
77
77
  "@types/express": "^4.17.6",
@@ -105,9 +105,9 @@
105
105
  "yn": "^4.0.0"
106
106
  },
107
107
  "devDependencies": {
108
- "@backstage/backend-defaults": "0.8.2-next.2",
109
- "@backstage/backend-test-utils": "1.3.1-next.2",
110
- "@backstage/cli": "0.31.0-next.1",
108
+ "@backstage/backend-defaults": "^0.8.2",
109
+ "@backstage/backend-test-utils": "^1.3.1",
110
+ "@backstage/cli": "^0.31.0",
111
111
  "@types/body-parser": "^1.19.0",
112
112
  "@types/cookie-parser": "^1.4.2",
113
113
  "@types/express-session": "^1.17.2",