@backstage/plugin-auth-backend 0.23.0-next.2 → 0.23.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/package.json +27 -27
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
+ ## 0.23.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d425fc4: **BREAKING**: The return values from `createBackendPlugin`, `createBackendModule`, and `createServiceFactory` are now simply `BackendFeature` and `ServiceFactory`, instead of the previously deprecated form of a function that returns them. For this reason, `createServiceFactory` also no longer accepts the callback form where you provide direct options to the service. This also affects all `coreServices.*` service refs.
8
+
9
+ This may in particular affect tests; if you were effectively doing `createBackendModule({...})()` (note the parentheses), you can now remove those extra parentheses at the end. You may encounter cases of this in your `packages/backend/src/index.ts` too, where you add plugins, modules, and services. If you were using `createServiceFactory` with a function as its argument for the purpose of passing in options, this pattern has been deprecated for a while and is no longer supported. You may want to explore the new multiton patterns to achieve your goals, or moving settings to app-config.
10
+
11
+ As part of this change, the `IdentityFactoryOptions` type was removed, and can no longer be used to tweak that service. The identity service was also deprecated some time ago, and you will want to [migrate to the new auth system](https://backstage.io/docs/tutorials/auth-service-migration) if you still rely on it.
12
+
13
+ ### Patch Changes
14
+
15
+ - 527d973: Migrated the `Bitbucket Server` auth provider to be implemented using the new `@backstage/plugin-auth-backend-module-bitbucket-server-provider` module.
16
+ - d908d8c: Migrated the `Auth0` auth provider to be implemented using the new `@backstage/plugin-auth-backend-module-auth0-provider` module.
17
+ - 19ff127: Internal refactor to remove dependencies on the identity and token manager services, which have been removed. Public APIs no longer require the identity service or token manager to be provided.
18
+ - 3c2d690: Allow users without defined email to be ingested by the `msgraph` catalog plugin and add `userIdMatchingUserEntityAnnotation` sign-in resolver for the Microsoft auth provider to support sign-in for users without defined email.
19
+ - 92118cd: Updated dependency `@node-saml/passport-saml` to `^5.0.0`.
20
+ - c2b63ab: Updated dependency `supertest` to `^7.0.0`.
21
+ - Updated dependencies
22
+ - @backstage/backend-common@0.25.0
23
+ - @backstage/plugin-auth-backend-module-aws-alb-provider@0.2.0
24
+ - @backstage/backend-plugin-api@1.0.0
25
+ - @backstage/plugin-auth-node@0.5.2
26
+ - @backstage/catalog-model@1.7.0
27
+ - @backstage/catalog-client@1.7.0
28
+ - @backstage/plugin-catalog-node@1.13.0
29
+ - @backstage/plugin-auth-backend-module-auth0-provider@0.1.0
30
+ - @backstage/plugin-auth-backend-module-microsoft-provider@0.2.0
31
+ - @backstage/plugin-auth-backend-module-atlassian-provider@0.3.0
32
+ - @backstage/plugin-auth-backend-module-bitbucket-provider@0.2.0
33
+ - @backstage/plugin-auth-backend-module-github-provider@0.2.0
34
+ - @backstage/plugin-auth-backend-module-gitlab-provider@0.2.0
35
+ - @backstage/plugin-auth-backend-module-google-provider@0.2.0
36
+ - @backstage/plugin-auth-backend-module-oauth2-provider@0.3.0
37
+ - @backstage/plugin-auth-backend-module-oidc-provider@0.3.0
38
+ - @backstage/plugin-auth-backend-module-okta-provider@0.1.0
39
+ - @backstage/plugin-auth-backend-module-onelogin-provider@0.2.0
40
+ - @backstage/plugin-auth-backend-module-bitbucket-server-provider@0.1.0
41
+ - @backstage/plugin-auth-backend-module-azure-easyauth-provider@0.2.0
42
+ - @backstage/plugin-auth-backend-module-cloudflare-access-provider@0.3.0
43
+ - @backstage/plugin-auth-backend-module-gcp-iap-provider@0.3.0
44
+ - @backstage/plugin-auth-backend-module-oauth2-proxy-provider@0.2.0
45
+ - @backstage/config@1.2.0
46
+ - @backstage/errors@1.2.4
47
+ - @backstage/types@1.1.1
48
+
3
49
  ## 0.23.0-next.2
4
50
 
5
51
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-auth-backend",
3
- "version": "0.23.0-next.2",
3
+ "version": "0.23.0",
4
4
  "description": "A Backstage backend plugin that handles authentication",
5
5
  "backstage": {
6
6
  "role": "backend-plugin",
@@ -43,31 +43,31 @@
43
43
  "test": "backstage-cli package test"
44
44
  },
45
45
  "dependencies": {
46
- "@backstage/backend-common": "^0.25.0-next.2",
47
- "@backstage/backend-plugin-api": "^1.0.0-next.2",
48
- "@backstage/catalog-client": "^1.7.0-next.1",
49
- "@backstage/catalog-model": "^1.6.0",
46
+ "@backstage/backend-common": "^0.25.0",
47
+ "@backstage/backend-plugin-api": "^1.0.0",
48
+ "@backstage/catalog-client": "^1.7.0",
49
+ "@backstage/catalog-model": "^1.7.0",
50
50
  "@backstage/config": "^1.2.0",
51
51
  "@backstage/errors": "^1.2.4",
52
- "@backstage/plugin-auth-backend-module-atlassian-provider": "^0.3.0-next.2",
53
- "@backstage/plugin-auth-backend-module-auth0-provider": "^0.1.0-next.0",
54
- "@backstage/plugin-auth-backend-module-aws-alb-provider": "^0.2.0-next.2",
55
- "@backstage/plugin-auth-backend-module-azure-easyauth-provider": "^0.2.0-next.2",
56
- "@backstage/plugin-auth-backend-module-bitbucket-provider": "^0.2.0-next.2",
57
- "@backstage/plugin-auth-backend-module-bitbucket-server-provider": "^0.1.0-next.0",
58
- "@backstage/plugin-auth-backend-module-cloudflare-access-provider": "^0.3.0-next.2",
59
- "@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.3.0-next.2",
60
- "@backstage/plugin-auth-backend-module-github-provider": "^0.2.0-next.2",
61
- "@backstage/plugin-auth-backend-module-gitlab-provider": "^0.2.0-next.2",
62
- "@backstage/plugin-auth-backend-module-google-provider": "^0.2.0-next.2",
63
- "@backstage/plugin-auth-backend-module-microsoft-provider": "^0.2.0-next.2",
64
- "@backstage/plugin-auth-backend-module-oauth2-provider": "^0.3.0-next.2",
65
- "@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "^0.2.0-next.2",
66
- "@backstage/plugin-auth-backend-module-oidc-provider": "^0.3.0-next.2",
67
- "@backstage/plugin-auth-backend-module-okta-provider": "^0.1.0-next.2",
68
- "@backstage/plugin-auth-backend-module-onelogin-provider": "^0.2.0-next.2",
69
- "@backstage/plugin-auth-node": "^0.5.2-next.2",
70
- "@backstage/plugin-catalog-node": "^1.12.7-next.2",
52
+ "@backstage/plugin-auth-backend-module-atlassian-provider": "^0.3.0",
53
+ "@backstage/plugin-auth-backend-module-auth0-provider": "^0.1.0",
54
+ "@backstage/plugin-auth-backend-module-aws-alb-provider": "^0.2.0",
55
+ "@backstage/plugin-auth-backend-module-azure-easyauth-provider": "^0.2.0",
56
+ "@backstage/plugin-auth-backend-module-bitbucket-provider": "^0.2.0",
57
+ "@backstage/plugin-auth-backend-module-bitbucket-server-provider": "^0.1.0",
58
+ "@backstage/plugin-auth-backend-module-cloudflare-access-provider": "^0.3.0",
59
+ "@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.3.0",
60
+ "@backstage/plugin-auth-backend-module-github-provider": "^0.2.0",
61
+ "@backstage/plugin-auth-backend-module-gitlab-provider": "^0.2.0",
62
+ "@backstage/plugin-auth-backend-module-google-provider": "^0.2.0",
63
+ "@backstage/plugin-auth-backend-module-microsoft-provider": "^0.2.0",
64
+ "@backstage/plugin-auth-backend-module-oauth2-provider": "^0.3.0",
65
+ "@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "^0.2.0",
66
+ "@backstage/plugin-auth-backend-module-oidc-provider": "^0.3.0",
67
+ "@backstage/plugin-auth-backend-module-okta-provider": "^0.1.0",
68
+ "@backstage/plugin-auth-backend-module-onelogin-provider": "^0.2.0",
69
+ "@backstage/plugin-auth-node": "^0.5.2",
70
+ "@backstage/plugin-catalog-node": "^1.13.0",
71
71
  "@backstage/types": "^1.1.1",
72
72
  "@google-cloud/firestore": "^7.0.0",
73
73
  "@node-saml/passport-saml": "^5.0.0",
@@ -103,9 +103,9 @@
103
103
  "yn": "^4.0.0"
104
104
  },
105
105
  "devDependencies": {
106
- "@backstage/backend-defaults": "^0.5.0-next.2",
107
- "@backstage/backend-test-utils": "^1.0.0-next.2",
108
- "@backstage/cli": "^0.27.1-next.2",
106
+ "@backstage/backend-defaults": "^0.5.0",
107
+ "@backstage/backend-test-utils": "^1.0.0",
108
+ "@backstage/cli": "^0.27.1",
109
109
  "@types/body-parser": "^1.19.0",
110
110
  "@types/cookie-parser": "^1.4.2",
111
111
  "@types/express-session": "^1.17.2",