@backstage/backend-app-api 0.6.0-next.0 → 0.6.0-next.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @backstage/backend-app-api
2
2
 
3
+ ## 0.6.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 81e0120: Fixed an issue where configuration schema for the purpose of redacting secrets from logs was not being read correctly.
8
+ - f235ca7: Make sure to not filter out schemas in `createConfigSecretEnumerator`
9
+ - Updated dependencies
10
+ - @backstage/config@1.2.0-next.1
11
+ - @backstage/config-loader@1.7.0-next.1
12
+ - @backstage/backend-common@0.21.4-next.1
13
+ - @backstage/backend-plugin-api@0.6.14-next.1
14
+ - @backstage/backend-tasks@0.5.19-next.1
15
+ - @backstage/plugin-auth-node@0.4.9-next.1
16
+ - @backstage/plugin-permission-node@0.7.25-next.1
17
+ - @backstage/cli-common@0.1.13
18
+ - @backstage/cli-node@0.2.4-next.0
19
+ - @backstage/errors@1.2.4-next.0
20
+ - @backstage/types@1.1.1
21
+
3
22
  ## 0.6.0-next.0
4
23
 
5
24
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/backend-app-api",
3
- "version": "0.6.0-next.0",
3
+ "version": "0.6.0-next.1",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/index.cjs.js CHANGED
@@ -199,7 +199,7 @@ async function createConfigSecretEnumerator(options) {
199
199
  const { logger, dir = process.cwd() } = options;
200
200
  const { packages } = await getPackages.getPackages(dir);
201
201
  const schema = (_a = options.schema) != null ? _a : await configLoader.loadConfigSchema({
202
- dependencies: packages.map((p) => p.packageJson.name).filter(() => false)
202
+ dependencies: packages.map((p) => p.packageJson.name)
203
203
  });
204
204
  return (config) => {
205
205
  var _a2;
@@ -212,7 +212,7 @@ async function createConfigSecretEnumerator(options) {
212
212
  );
213
213
  const secrets = /* @__PURE__ */ new Set();
214
214
  JSON.parse(
215
- JSON.stringify(secretsData),
215
+ JSON.stringify(secretsData.data),
216
216
  (_, v) => typeof v === "string" && secrets.add(v)
217
217
  );
218
218
  logger.info(