@backstage/plugin-proxy-backend 0.2.17-next.0 → 0.2.18

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 +51 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # @backstage/plugin-proxy-backend
2
2
 
3
+ ## 0.2.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-common@0.10.7
9
+
10
+ ## 0.2.18-next.0
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+ - @backstage/backend-common@0.10.7-next.0
16
+
17
+ ## 0.2.17
18
+
19
+ ### Patch Changes
20
+
21
+ - 332d3decb2: Adds a new option `skipInvalidTargets` for the proxy `createRouter` which allows the proxy backend to be started with an invalid proxy configuration. If configured, it will simply skip the failed proxy and mount the other valid proxies.
22
+
23
+ To configure it to pass by failing proxies:
24
+
25
+ ```
26
+ const router = await createRouter({
27
+ config,
28
+ logger,
29
+ discovery,
30
+ skipInvalidProxies: true,
31
+ });
32
+ ```
33
+
34
+ If you would like it to fail if a proxy is configured badly:
35
+
36
+ ```
37
+ const router = await createRouter({
38
+ config,
39
+ logger,
40
+ discovery,
41
+ });
42
+ ```
43
+
44
+ - Updated dependencies
45
+ - @backstage/backend-common@0.10.6
46
+
47
+ ## 0.2.17-next.1
48
+
49
+ ### Patch Changes
50
+
51
+ - Updated dependencies
52
+ - @backstage/backend-common@0.10.6-next.0
53
+
3
54
  ## 0.2.17-next.0
4
55
 
5
56
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-proxy-backend",
3
3
  "description": "A Backstage backend plugin that helps you set up proxy endpoints in the backend",
4
- "version": "0.2.17-next.0",
4
+ "version": "0.2.18",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -29,7 +29,7 @@
29
29
  "clean": "backstage-cli clean"
30
30
  },
31
31
  "dependencies": {
32
- "@backstage/backend-common": "^0.10.5",
32
+ "@backstage/backend-common": "^0.10.7",
33
33
  "@backstage/config": "^0.1.13",
34
34
  "@types/express": "^4.17.6",
35
35
  "express": "^4.17.1",
@@ -43,7 +43,7 @@
43
43
  "yup": "^0.32.9"
44
44
  },
45
45
  "devDependencies": {
46
- "@backstage/cli": "^0.13.1-next.0",
46
+ "@backstage/cli": "^0.13.2",
47
47
  "@types/http-proxy-middleware": "^0.19.3",
48
48
  "@types/supertest": "^2.0.8",
49
49
  "@types/uuid": "^8.0.0",
@@ -55,5 +55,5 @@
55
55
  "config.d.ts"
56
56
  ],
57
57
  "configSchema": "config.d.ts",
58
- "gitHead": "a28838ac5c80c7332caa6ca0569d2ec85151784f"
58
+ "gitHead": "4f4bc77a4152d372b10a4e8d97d92f00e23f3b56"
59
59
  }