@backstage/plugin-app-backend 0.3.22-next.0 → 0.3.22

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 +30 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @backstage/plugin-app-backend
2
2
 
3
+ ## 0.3.22
4
+
5
+ ### Patch Changes
6
+
7
+ - f685e1398f: Loading of app configurations now reference the `@deprecated` construct from
8
+ JSDoc to determine if a property in-use has been deprecated. Users are notified
9
+ of deprecated keys in the format:
10
+
11
+ ```txt
12
+ The configuration key 'catalog.processors.githubOrg' of app-config.yaml is deprecated and may be removed soon. Configure a GitHub integration instead.
13
+ ```
14
+
15
+ When the `withDeprecatedKeys` option is set to `true` in the `process` method
16
+ of `loadConfigSchema`, the user will be notified that deprecated keys have been
17
+ identified in their app configuration.
18
+
19
+ The `backend-common` and `plugin-app-backend` packages have been updated to set
20
+ `withDeprecatedKeys` to true so that users are notified of deprecated settings
21
+ by default.
22
+
23
+ - eb00e8af14: Updated the cache control headers for static assets to instruct clients to cache them for 14 days.
24
+ - eb00e8af14: Added a new asset cache that stores static assets from previous deployments in the database. This fixes an issue where users have old browser tabs open and try to lazy-load static assets that no longer exist in the latest version.
25
+
26
+ The asset cache is enabled by passing the `database` option to `createRouter`.
27
+
28
+ - Updated dependencies
29
+ - @backstage/backend-common@0.10.4
30
+ - @backstage/config@0.1.13
31
+ - @backstage/config-loader@0.9.3
32
+
3
33
  ## 0.3.22-next.0
4
34
 
5
35
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-app-backend",
3
3
  "description": "A Backstage backend plugin that serves the Backstage frontend app",
4
- "version": "0.3.22-next.0",
4
+ "version": "0.3.22",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -30,9 +30,9 @@
30
30
  "clean": "backstage-cli clean"
31
31
  },
32
32
  "dependencies": {
33
- "@backstage/backend-common": "^0.10.4-next.0",
34
- "@backstage/config": "^0.1.13-next.0",
35
- "@backstage/config-loader": "^0.9.3-next.0",
33
+ "@backstage/backend-common": "^0.10.4",
34
+ "@backstage/config": "^0.1.13",
35
+ "@backstage/config-loader": "^0.9.3",
36
36
  "@backstage/types": "^0.1.1",
37
37
  "@types/express": "^4.17.6",
38
38
  "express": "^4.17.1",
@@ -47,8 +47,8 @@
47
47
  "yn": "^4.0.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@backstage/backend-test-utils": "^0.1.14-next.0",
51
- "@backstage/cli": "^0.12.0-next.0",
50
+ "@backstage/backend-test-utils": "^0.1.14",
51
+ "@backstage/cli": "^0.12.0",
52
52
  "@backstage/types": "^0.1.1",
53
53
  "@types/supertest": "^2.0.8",
54
54
  "mock-fs": "^5.1.0",
@@ -60,5 +60,5 @@
60
60
  "migrations/**/*.{js,d.ts}",
61
61
  "static"
62
62
  ],
63
- "gitHead": "31184691d5a38cb78b091c8f7ad6db80604519a6"
63
+ "gitHead": "600d6e3c854bbfb12a0078ca6f726d1c0d1fea0b"
64
64
  }