@backstage/plugin-catalog-backend-module-msgraph 0.3.2-next.1 → 0.3.2

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 +37 -0
  2. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @backstage/plugin-catalog-backend-module-msgraph
2
2
 
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 8d9f673106: Add annotation `microsoft.com/email` when using the `defaultUserTransformer`.
8
+
9
+ This will allow users of the Microsoft auth provider to utilize the predefined
10
+ SignIn resolver instead of maintaining their own.
11
+
12
+ ```typescript
13
+ // backend/plugins/auth.ts
14
+
15
+ // [...]
16
+
17
+ export default async function createPlugin(
18
+ env: PluginEnvironment,
19
+ ): Promise<Router> {
20
+ return await createRouter({
21
+ // [...]
22
+ providerFactories: {
23
+ microsoft: providers.microsoft.create({
24
+ signIn: {
25
+ resolver:
26
+ providers.microsoft.resolvers.emailMatchingUserEntityAnnotation(),
27
+ },
28
+ }),
29
+ },
30
+ });
31
+ }
32
+ ```
33
+
34
+ - Updated dependencies
35
+ - @backstage/plugin-catalog-backend@1.1.2
36
+ - @backstage/backend-tasks@0.3.1
37
+ - @backstage/config@1.0.1
38
+ - @backstage/catalog-model@1.0.2
39
+
3
40
  ## 0.3.2-next.1
4
41
 
5
42
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-msgraph",
3
3
  "description": "A Backstage catalog backend module that helps integrate towards Microsoft Graph",
4
- "version": "0.3.2-next.1",
4
+ "version": "0.3.2",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@azure/msal-node": "^1.1.0",
37
- "@backstage/backend-tasks": "^0.3.1-next.1",
38
- "@backstage/catalog-model": "^1.0.2-next.0",
39
- "@backstage/config": "^1.0.1-next.0",
40
- "@backstage/plugin-catalog-backend": "^1.1.2-next.2",
37
+ "@backstage/backend-tasks": "^0.3.1",
38
+ "@backstage/catalog-model": "^1.0.2",
39
+ "@backstage/config": "^1.0.1",
40
+ "@backstage/plugin-catalog-backend": "^1.1.2",
41
41
  "@microsoft/microsoft-graph-types": "^2.6.0",
42
42
  "@types/node-fetch": "^2.5.12",
43
43
  "lodash": "^4.17.21",
@@ -48,9 +48,9 @@
48
48
  "winston": "^3.2.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@backstage/backend-common": "^0.13.3-next.2",
52
- "@backstage/backend-test-utils": "^0.1.24-next.1",
53
- "@backstage/cli": "^0.17.1-next.2",
51
+ "@backstage/backend-common": "^0.13.3",
52
+ "@backstage/backend-test-utils": "^0.1.24",
53
+ "@backstage/cli": "^0.17.1",
54
54
  "@types/lodash": "^4.14.151",
55
55
  "msw": "^0.35.0"
56
56
  },
@@ -59,5 +59,5 @@
59
59
  "config.d.ts"
60
60
  ],
61
61
  "configSchema": "config.d.ts",
62
- "gitHead": "cfbf5762d7d91eee18999306b21d63840400ee29"
62
+ "gitHead": "96323f280ba32ee526c5b151cda42260aee927c9"
63
63
  }