Release v1.44.0-next.2
Upgrade Helper: https://backstage.github.io/upgrade-helper/?to=1.44.0-next.2
@backstage/config@1.3.5-next.0
@backstage/config
1.3.4-next.0
Patch Changes
- b45b094: Allow colon to be used as config key.
1.3.3
Patch Changes
- ff23618: Loosen the requirements for a key to be considered valid config.
- 3507fcd: Just some more circular dep cleanup
1.3.3-next.0
Patch Changes
- ff23618: Loosen the requirements for a key to be considered valid config.
- 3507fcd: Just some more circular dep cleanup
1.3.2
Patch Changes
- Updated dependencies
- @backstage/types@1.2.1
- @backstage/errors@1.2.7
1.3.2-next.0
Patch Changes
- Updated dependencies
- @backstage/types@1.2.1-next.0
- @backstage/errors@1.2.7-next.0
1.3.1
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.6
- @backstage/types@1.2.0
1.3.1-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.6-next.0
- @backstage/types@1.2.0
1.3.0
Minor Changes
- d52d7f9: Make
readDurationFromConfigsupport both ISO and ms formats as well, to make it easier to enter time as an end user
Patch Changes
- Updated dependencies
- @backstage/types@1.2.0
- @backstage/errors@1.2.5
1.2.0
Minor Changes
- 50cf9df: The
ConfigReadernow treatsnullvalues as present but explicitly undefined, meaning it will not fall back to the next level of configuration.
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.2.0-next.1
Minor Changes
- 50cf9df: The
ConfigReadernow treatsnullvalues as present but explicitly undefined, meaning it will not fall back to the next level of configuration.
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.4-next.0
- @backstage/types@1.1.1
1.1.2-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.4-next.0
- @backstage/types@1.1.1
1.1.1
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
1.1.1-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.3-next.0
- @backstage/types@1.1.1
1.1.0
Minor Changes
- 62f448edb0b5: Added a
readDurationFromConfigfunction
Patch Changes
- 406b786a2a2c: Mark package as being free of side effects, allowing more optimized Webpack builds.
- 8cec7664e146: Removed
@types/nodedependency - Updated dependencies
- @backstage/errors@1.2.2
- @backstage/types@1.1.1
1.1.0-next.2
Patch Changes
- 406b786a2a2c: Mark package as being free of side effects, allowing more optimized Webpack builds.
- Updated dependencies
- @backstage/errors@1.2.2-next.0
- @backstage/types@1.1.1-next.0
1.1.0-next.1
Patch Changes
- 8cec7664e146: Removed
@types/nodedependency - Updated dependencies
- @backstage/errors@1.2.1
- @backstage/types@1.1.0
1.1.0-next.0
Minor Changes
- 62f448edb0b5: Added a
readDurationFromConfigfunction
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1
- @backstage/types@1.1.0
1.0.8
Patch Changes
- Updated dependencies
- @backstage/types@1.1.0
1.0.7
Patch Changes
- 482dae5de1c: Updated link to docs.
- Updated dependencies
- @backstage/types@1.0.2
1.0.7-next.0
Patch Changes
- 482dae5de1c: Updated link to docs.
- Updated dependencies
- @backstage/types@1.0.2
1.0.6
Patch Changes
- ba2d69ee17: Adds the ability to coerce values to their boolean representatives.
Values such as
"true"1onandywill becometruewhen usinggetBooleanand the oppositesfalse. This happens particularly when such parameters are used with environmental substitution as environment variables are always strings. - Updated dependencies
- @backstage/types@1.0.2
1.0.6-next.0
Patch Changes
- ba2d69ee17: Adds the ability to coerce values to their boolean representatives.
Values such as
"true"1onandywill becometruewhen usinggetBooleanand the oppositesfalse. This happens particularly when such parameters are used with environmental substitution as environment variables are always strings. - Updated dependencies
- @backstage/types@1.0.2
1.0.5
Patch Changes
- Updated dependencies
- @backstage/types@1.0.2
1.0.5-next.1
Patch Changes
- Updated dependencies
- @backstage/types@1.0.2-next.1
1.0.5-next.0
Patch Changes
- Updated dependencies
- @backstage/types@1.0.2-next.0
1.0.4
Patch Changes
- Updated dependencies
- @backstage/types@1.0.1
1.0.4-next.0
Patch Changes
- Updated dependencies
- @backstage/types@1.0.1-next.0
1.0.3
Patch Changes
- Updated dependencies
- @backstage/types@1.0.0
1.0.3-next.2
Patch Changes
- Updated dependencies
- @backstage/types@1.0.0
1.0.3-next.1
Patch Changes
- Updated dependencies
- @backstage/types@1.0.0
1.0.3-next.0
Patch Changes
- Updated dependencies
- @backstage/types@1.0.0
1.0.2
Patch Changes
- 7d47def9c4: Removed dependency on
@types/jest.
1.0.2-next.0
Patch Changes
- 7d47def9c4: Removed dependency on
@types/jest.
1.0.1
Patch Changes
- 6e830352d4: Updated dependency
@types/nodeto^16.0.0.
1.0.1-next.0
Patch Changes
- 6e830352d4: Updated dependency
@types/nodeto^16.0.0.
1.0.0
Major Changes
- b58c70c223: This package has been promoted to v1.0! To understand how this change affects the package, please check out our versioning policy.
Patch Changes
- Updated dependencies
- @backstage/types@1.0.0
0.1.15
Patch Changes
- Fix for the previous release with missing type declarations.
- Updated dependencies
- @backstage/types@0.1.3
0.1.14
Patch Changes
- c77c5c7eb6: Added
backstage.roletopackage.json - Updated dependencies
- @backstage/types@0.1.2
0.1.13
Patch Changes
-
f685e1398f: Loading of app configurations now reference the
@deprecatedconstruct from JSDoc to determine if a property in-use has been deprecated. Users are notified of deprecated keys in the format:The configuration key 'catalog.processors.githubOrg' of app-config.yaml is deprecated and may be removed soon. Configure a GitHub integration instead.When the
withDeprecatedKeysoption is set totruein theprocessmethod ofloadConfigSchema, the user will be notified that deprecated keys have been identified in their app configuration.The
backend-commonandplugin-app-backendpackages have been updated to setwithDeprecatedKeysto true so that users are notified of deprecated settings by default.
0.1.13-next.0
Patch Changes
-
f685e1398f: Loading of app configurations now reference the
@deprecatedconstruct from JSDoc to determine if a property in-use has been deprecated. Users are notified of deprecated keys in the format:The configuration key 'catalog.processors.githubOrg' of app-config.yaml is deprecated and may be removed soon. Configure a GitHub integration instead.When the
withDeprecatedKeysoption is set totruein theprocessmethod ofloadConfigSchema, the user will be notified that deprecated keys have been identified in their app configuration.The
backend-commonandplugin-app-backendpackages have been updated to setwithDeprecatedKeysto true so that users are notified of deprecated settings by default.
0.1.12
Patch Changes
- f5343e7c1a: The
ConfigReader#getmethod now always returns a deep clone of the configuration data.
0.1.11
Patch Changes
- 10d267a1b7: Minor exports cleanup
- 41c49884d2: Start using the new
@backstage/typespackage. Initially, this means using theObservableandJson*types from there. The types also remain in their old places but deprecated, and will be removed in a future release. - 925a967f36: Replace usage of test-utils-core with test-utils
0.1.10
Patch Changes
- febddedcb2: Bump
lodashto remediateSNYK-JS-LODASH-590103security vulnerability
0.1.9
Patch Changes
- f88b2c7db: Documented
Configinterface and mark types as public.
0.1.8
Patch Changes
- 47113f1f1: Only warn once per key when trying to read visibility-filtered values
0.1.7
Patch Changes
- 90f25476a: Extended the
Configinterface to have an optionalsubscribemethod that can be used be notified of updates to the configuration.
0.1.6
Patch Changes
- e9d3983ee: Add warning when trying to access configuration values that have been filtered out by visibility.
0.1.5
Patch Changes
- d8b81fd28: Bump
json-schemadependency from0.2.5to0.3.0.
0.1.4
Patch Changes
- 0434853a5: Reformulate the json types to break type recursion
0.1.3
Patch Changes
-
a1f5e6545: Adds an optional type to
config.get&config.getOptional. This avoids the need for casting. For example:const config = useApi(configApiRef);
const myConfig = config.get<SomeTypeDefinition>('myPlugin.complexConfig');
// vs
const myConfig config.get('myPlugin.complexConfig') as SomeTypeDefinition;
0.1.2
Patch Changes
- e3bd9fc2f: Fix unneeded defensive code
- e3bd9fc2f: Fix useless conditional
@backstage/config-loader@1.10.5-next.0
@backstage/config-loader
1.10.4-next.0
Patch Changes
- b45b094: Allow colon to be used as config key.
- Updated dependencies
- @backstage/config@1.3.4-next.0
1.10.3
Patch Changes
- a73f495: Allow using
BACKSTAGE_ENVfor loading environment specific config files - Updated dependencies
- @backstage/types@1.2.2
1.10.3-next.0
Patch Changes
- a73f495: Allow using
BACKSTAGE_ENVfor loading environment specific config files
1.10.2
Patch Changes
- ff23618: Loosen the requirements for a key to be considered valid config.
- Updated dependencies
- @backstage/config@1.3.3
1.10.2-next.0
Patch Changes
- ff23618: Loosen the requirements for a key to be considered valid config.
- Updated dependencies
- @backstage/config@1.3.3-next.0
1.10.1
Patch Changes
- 72d019d: Removed various typos
- Updated dependencies
- @backstage/config@1.3.2
- @backstage/cli-common@0.1.15
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.10.1-next.0
Patch Changes
- 72d019d: Removed various typos
- Updated dependencies
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.10.0
Minor Changes
- 2fd73aa: The include transforms applied during config loading will now only apply to the known keys
$file,$env, and$include. Any other key that begins with a `# @backstage/config-loader will now be passed through as is.
Patch Changes
- f422984: Added
@types/minimisttodevDependencies - Updated dependencies
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.10.0-next.0
Minor Changes
- 2fd73aa: The include transforms applied during config loading will now only apply to the known keys
$file,$env, and$include. Any other key that begins with a `# @backstage/config-loader will now be passed through as is.
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.9.6
Patch Changes
- f866b86: Internal refactor to use explicit
requirefor lazy-loading dependency. - Updated dependencies
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.9.6-next.0
Patch Changes
- f866b86: Internal refactor to use explicit
requirefor lazy-loading dependency. - Updated dependencies
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.9.5
Patch Changes
- 8ecf8cb: Exclude
@backstage/backend-commonfrom schema collection if@backstage/backend-defaultsis present - Updated dependencies
- @backstage/types@1.2.1
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.9.5-next.1
Patch Changes
- Updated dependencies
- @backstage/types@1.2.1-next.0
- @backstage/config@1.3.2-next.0
- @backstage/errors@1.2.7-next.0
- @backstage/cli-common@0.1.15
1.9.5-next.0
Patch Changes
- 8ecf8cb: Exclude
@backstage/backend-commonfrom schema collection if@backstage/backend-defaultsis present - Updated dependencies
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.1
- @backstage/errors@1.2.6
- @backstage/types@1.2.0
1.9.3
Patch Changes
- 5c9cc05: Use native fetch instead of node-fetch
- Updated dependencies
- @backstage/errors@1.2.6
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.1
- @backstage/types@1.2.0
1.9.3-next.1
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.6-next.0
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.1-next.0
- @backstage/types@1.2.0
1.9.3-next.0
Patch Changes
- 5c9cc05: Use native fetch instead of node-fetch
- Updated dependencies
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.0
- @backstage/errors@1.2.5
- @backstage/types@1.2.0
1.9.2
Patch Changes
- c5e39e7: Internal refactor to use the deferred from the types package
- Updated dependencies
- @backstage/config@1.3.0
- @backstage/types@1.2.0
- @backstage/cli-common@0.1.15
- @backstage/errors@1.2.5
1.9.2-next.0
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.15-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.9.1
Patch Changes
- ef3c507: Updated dependency
typescript-json-schemato^0.65.0. - Updated dependencies
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.9.1-next.0
Patch Changes
- ef3c507: Updated dependency
typescript-json-schemato^0.65.0. - Updated dependencies
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.9.0
Minor Changes
- 274428f: Add configuration key to File and Remote
ConfigSources that enables configuration of parsing logic. Previously limited to yaml, theseConfigSources now allow for a multitude of parsing options (e.g. JSON).
Patch Changes
- 93095ee: Make sure node-fetch is version 2.7.0 or greater
- 1edd6c2: The
envoption ofConfigSources.defaultnow correctly allows undefined members. - 493feac: Add boolean
allowMissingDefaultConfigoption toConfigSources.defaultandConfigSources.defaultForTargets, which results in omission of a ConfigSource for the default app-config.yaml configuration file if it's not present. - Updated dependencies
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.9.0-next.2
Patch Changes
- 93095ee: Make sure node-fetch is version 2.7.0 or greater
- Updated dependencies
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.9.0-next.1
Minor Changes
- 274428f: Add configuration key to File and Remote
ConfigSources that enables configuration of parsing logic. Previously limited to yaml, theseConfigSources now allow for a multitude of parsing options (e.g. JSON).
Patch Changes
- 1edd6c2: The
envoption ofConfigSources.defaultnow correctly allows undefined members. - Updated dependencies
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.8.2-next.0
Patch Changes
- 493feac: Add boolean
allowMissingDefaultConfigoption toConfigSources.defaultandConfigSources.defaultForTargets, which results in omission of a ConfigSource for the default app-config.yaml configuration file if it's not present. - Updated dependencies
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.8.1
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.8.1-next.0
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.14-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.8.0
Minor Changes
-
2ce31b3: The default environment variable substitution function will now trim whitespace characters from the substituted value. This alleviates bugs where whitespace characters are mistakenly included in environment variables.
If you depend on the old behavior, you can override the default substitution function with your own, for example:
ConfigSources.default({
substitutionFunc: async name => process.env[name],
}); -
99bab65: Support parameter substitution for environment variables
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.13
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.8.0-next.0
Minor Changes
- 99bab65: Support parameter substitution for environment variables
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.13
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.7.0
Minor Changes
- db8358d: Forward
nullvalues read from configuration files in configuration data, rather than treating them as an absence of config.
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/cli-common@0.1.13
- @backstage/types@1.1.1
1.7.0-next.1
Minor Changes
- db8358d: Forward
nullvalues read from configuration files in configuration data, rather than treating them as an absence of config.
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0-next.1
- @backstage/cli-common@0.1.13
- @backstage/errors@1.2.4-next.0
- @backstage/types@1.1.1
1.6.3-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.4-next.0
- @backstage/config@1.1.2-next.0
- @backstage/cli-common@0.1.13
- @backstage/types@1.1.1
1.6.2
Patch Changes
- 0a9a03c: Make schema processing gracefully handle an empty config.
- 6bb6f3e: Updated dependency
fs-extrato^11.2.0. Updated dependency@types/fs-extrato^11.0.0. - bf3da16: Updated dependency
typescript-json-schemato^0.63.0. - Updated dependencies
- @backstage/cli-common@0.1.13
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
1.6.2-next.0
Patch Changes
- 0a9a03c: Make schema processing gracefully handle an empty config.
- Updated dependencies
- @backstage/cli-common@0.1.13
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
1.6.1
Patch Changes
- 7acbb5a: Removed
mock-fsdev dependency. - Updated dependencies
- @backstage/cli-common@0.1.13
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
1.6.1-next.0
Patch Changes
- 7acbb5a: Removed
mock-fsdev dependency. - Updated dependencies
- @backstage/config@1.1.1
- @backstage/cli-common@0.1.13
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
1.6.0
Minor Changes
- 24f5a85: Add "path" to
TransformFunccontext
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.13
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
1.6.0-next.0
Minor Changes
- 24f5a85: Add "path" to
TransformFunccontext
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.13
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
1.5.3
Patch Changes
- 22ca64f117: Correctly resolve config targets into absolute paths
- 087bab5b42: Updated dependency
typescript-json-schemato^0.62.0. - Updated dependencies
- @backstage/cli-common@0.1.13
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
1.5.2-next.0
Patch Changes
- 22ca64f117: Correctly resolve config targets into absolute paths
- Updated dependencies
- @backstage/cli-common@0.1.13
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
1.5.1
Patch Changes
- 0b55f773a7: Removed some unused dependencies
- 30c553c1d2: Updated dependency
typescript-json-schemato^0.61.0. - 773ea341d2: The
FileConfigSourcewill now retry file reading after a short delay if it reads an empty file. This is to avoid flakiness during watch mode where change events can trigger before the file content has been written. - a4617c422a: Added
watchoption to configuration loaders that can be used to disable file watching by setting it tofalse. - Updated dependencies
- @backstage/errors@1.2.3
- @backstage/cli-common@0.1.13
- @backstage/config@1.1.1
- @backstage/types@1.1.1
1.5.1-next.1
Patch Changes
- 0b55f773a7: Removed some unused dependencies
- 30c553c1d2: Updated dependency
typescript-json-schemato^0.61.0. - a4617c422a: Added
watchoption to configuration loaders that can be used to disable file watching by setting it tofalse. - Updated dependencies
- @backstage/errors@1.2.3-next.0
- @backstage/cli-common@0.1.13-next.0
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
1.5.1-next.0
Patch Changes
- 773ea341d2: The
FileConfigSourcewill now retry file reading after a short delay if it reads an empty file. This is to avoid flakiness during watch mode where change events can trigger before the file content has been written. - Updated dependencies
- @backstage/cli-common@0.1.13-next.0
- @backstage/config@1.1.0
- @backstage/errors@1.2.2
- @backstage/types@1.1.1
1.5.0
Minor Changes
-
9606ba0939e6: Deep visibility now also applies to values that are not covered by the configuration schema.
For example, given the following configuration schema:
// plugins/a/config.schema.ts
export interface Config {
/** @deepVisibility frontend */
a?: unknown;
}
// plugins/a/config.schema.ts
export interface Config {
a?: {
b?: string;
};
}All values under
aare now visible to the frontend, while previously onlyaanda/bwould've been visible.
Patch Changes
- 8cec7664e146: Removed
@types/nodedependency - f9657b891b00: Do not unnecessarily notify subscribers when no-op updates to config happen
- Updated dependencies
- @backstage/config@1.1.0
- @backstage/errors@1.2.2
- @backstage/types@1.1.1
- @backstage/cli-common@0.1.12
1.5.0-next.3
Patch Changes
- Updated dependencies
- @backstage/config@1.1.0-next.2
- @backstage/errors@1.2.2-next.0
- @backstage/types@1.1.1-next.0
- @backstage/cli-common@0.1.12
1.5.0-next.2
Patch Changes
- 8cec7664e146: Removed
@types/nodedependency - Updated dependencies
- @backstage/config@1.1.0-next.1
- @backstage/cli-common@0.1.12
- @backstage/errors@1.2.1
- @backstage/types@1.1.0
1.5.0-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.1.0-next.0
- @backstage/cli-common@0.1.12
- @backstage/errors@1.2.1
- @backstage/types@1.1.0
1.5.0-next.0
Minor Changes
-
9606ba0939e6: Deep visibility now also applies to values that are not covered by the configuration schema.
For example, given the following configuration schema:
// plugins/a/config.schema.ts
export interface Config {
/** @deepVisibility frontend */
a?: unknown;
}
// plugins/a/config.schema.ts
export interface Config {
a?: {
b?: string;
};
}All values under
aare now visible to the frontend, while previously onlyaanda/bwould've been visible.
Patch Changes
- f9657b891b00: Do not unnecessarily notify subscribers when no-op updates to config happen
- Updated dependencies
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
- @backstage/errors@1.2.1
- @backstage/types@1.1.0
1.4.0
Minor Changes
-
2f1859585998: Loading invalid TypeScript configuration schemas will now throw an error rather than silently being ignored.
In particular this includes defining any additional types other than
Configin the schema file, or use of unsupported types such asRecordorPartial. -
cd514545d1d0: Adds a new
deepVisibilityschema keyword that sets child visibility recursively to the defined value, respecting preexisting values or childdeepVisibility.Example usage:
export interface Config {
/**
* Enforces a default of `secret` instead of `backend` for this object.
* @deepVisibility secret
*/
mySecretProperty: {
type: 'object';
properties: {
secretValue: {
type: 'string';
};
verySecretProperty: {
type: 'string';
};
};
};
}Example of a schema that would not be allowed:
export interface Config {
/**
* Set the top level property to secret, enforcing a default of `secret` instead of `backend` for this object.
* @deepVisibility secret
*/
mySecretProperty: {
type: 'object';
properties: {
frontendUrl: {
/**
* We can NOT override the visibility to reveal a property to the front end.
* @visibility frontend
*/
type: 'string';
};
verySecretProperty: {
type: 'string';
};
};
};
}
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
- @backstage/errors@1.2.1
- @backstage/types@1.1.0
1.4.0-next.1
Minor Changes
-
2f1859585998: Loading invalid TypeScript configuration schemas will now throw an error rather than silently being ignored.
In particular this includes defining any additional types other than
Configin the schema file, or use of unsupported types such asRecordorPartial.
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
- @backstage/errors@1.2.1
- @backstage/types@1.1.0
1.4.0-next.0
Minor Changes
-
cd514545d1d0: Adds a new
deepVisibilityschema keyword that sets child visibility recursively to the defined value, respecting preexisting values or childdeepVisibility.Example usage:
export interface Config {
/**
* Enforces a default of `secret` instead of `backend` for this object.
* @deepVisibility secret
*/
mySecretProperty: {
type: 'object';
properties: {
secretValue: {
type: 'string';
};
verySecretProperty: {
type: 'string';
};
};
};
}Example of a schema that would not be allowed:
export interface Config {
/**
* Set the top level property to secret, enforcing a default of `secret` instead of `backend` for this object.
* @deepVisibility secret
*/
mySecretProperty: {
type: 'object';
properties: {
frontendUrl: {
/**
* We can NOT override the visibility to reveal a property to the front end.
* @visibility frontend
*/
type: 'string';
};
verySecretProperty: {
type: 'string';
};
};
};
}
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
- @backstage/errors@1.2.1
- @backstage/types@1.1.0
1.3.2
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
- @backstage/types@1.1.0
1.3.2-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
- @backstage/types@1.1.0
1.3.1
Patch Changes
- f25427f665f7: Fix a bug where config items with
/in the key were incorrectly handled. - a5c5491ff50c: Use
durationToMillisecondsfrom@backstage/typesinstead of our own - Updated dependencies
- @backstage/types@1.1.0
- @backstage/errors@1.2.0
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
1.3.1-next.1
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.0-next.0
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.7
- @backstage/types@1.0.2
1.3.1-next.0
Patch Changes
- f25427f665f7: Fix a bug where config items with
/in the key were incorrectly handled. - Updated dependencies
- @backstage/config@1.0.7
- @backstage/cli-common@0.1.12
- @backstage/errors@1.1.5
- @backstage/types@1.0.2
1.3.0
Minor Changes
-
201206132da: Introduced a new config source system to replace
loadConfig. There is a newConfigSourceinterface along with utilities provided byConfigSources, as well as a number of built-in configuration source implementations. The new system is more flexible and makes it easier to create new and reusable sources of configuration, such as loading configuration from secret providers.The following is an example of how to load configuration using the default behavior:
const source = ConfigSources.default({
argv: options?.argv,
remote: options?.remote,
});
const config = await ConfigSources.toConfig(source);The
ConfigSourceinterface looks like this:export interface ConfigSource {
readConfigData(options?: ReadConfigDataOptions): AsyncConfigSourceIterator;
}It is best implemented using an async iterator:
class MyConfigSource implements ConfigSource {
async *readConfigData() {
yield {
config: [
{
context: 'example',
data: { backend: { baseUrl: 'http://localhost' } },
},
],
};
}
}
Patch Changes
- 7c116bcac7f: Fixed the way that some request errors are thrown
- 473db605a4f: Added a new
noUndeclaredPropertiesoption toSchemaLoaderto support enforcing that there are no extra keys when verifying config. - Updated dependencies
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.7
- @backstage/errors@1.1.5
- @backstage/types@1.0.2
1.3.0-next.0
Minor Changes
-
201206132da: Introduced a new config source system to replace
loadConfig. There is a newConfigSourceinterface along with utilities provided byConfigSources, as well as a number of built-in configuration source implementations. The new system is more flexible and makes it easier to create new and reusable sources of configuration, such as loading configuration from secret providers.The following is an example of how to load configuration using the default behavior:
const source = ConfigSources.default({
argv: options?.argv,
remote: options?.remote,
});
const config = await ConfigSources.toConfig(source);The
ConfigSourceinterface looks like this:export interface ConfigSource {
readConfigData(options?: ReadConfigDataOptions): AsyncConfigSourceIterator;
}It is best implemented using an async iterator:
class MyConfigSource implements ConfigSource {
async *readConfigData() {
yield {
config: [
{
context: 'example',
data: { backend: { baseUrl: 'http://localhost' } },
},
],
};
}
}
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.7
- @backstage/errors@1.1.5
- @backstage/types@1.0.2
1.2.0
Minor Changes
-
c791fcd96b9: Configuration validation is now more permissive when it comes to config whose values are
stringbut whose schemas declare them to bebooleanornumber.For example, configuration was previously marked invalid when a string
'true'was set on a property expecting typebooleanor a string'146'was set on a property expecting typenumber(as when providing configuration via variable substitution sourced from environment variables). Now, such configurations will be considered valid and their values will be coerced to the right type at read-time.
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.7
- @backstage/errors@1.1.5
- @backstage/types@1.0.2
1.1.9
Patch Changes
- 52b0022dab7: Updated dependency
mswto^1.0.0. - 482dae5de1c: Updated link to docs.
- Updated dependencies
- @backstage/errors@1.1.5
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.7
- @backstage/types@1.0.2
1.1.9-next.0
Patch Changes
- 52b0022dab7: Updated dependency
mswto^1.0.0. - 482dae5de1c: Updated link to docs.
- Updated dependencies
- @backstage/errors@1.1.5-next.0
- @backstage/cli-common@0.1.12-next.0
- @backstage/config@1.0.7-next.0
- @backstage/types@1.0.2
1.1.8
Patch Changes
- Updated dependencies
- @backstage/config@1.0.6
- @backstage/cli-common@0.1.11
- @backstage/errors@1.1.4
- @backstage/types@1.0.2
1.1.8-next.0
Patch Changes
- Updated dependencies
- @backstage/config@1.0.6-next.0
- @backstage/cli-common@0.1.11
- @backstage/errors@1.1.4
- @backstage/types@1.0.2
1.1.7
Patch Changes
- 3280711113: Updated dependency
mswto^0.49.0. - 40e7e6e1a2: Updated dependency
typescript-json-schemato^0.55.0. - Updated dependencies
- @backstage/errors@1.1.4
- @backstage/types@1.0.2
- @backstage/cli-common@0.1.11
- @backstage/config@1.0.5
1.1.7-next.2
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.11-next.0
- @backstage/config@1.0.5-next.1
- @backstage/errors@1.1.4-next.1
- @backstage/types@1.0.2-next.1
1.1.7-next.1
Patch Changes
- 40e7e6e1a2: Updated dependency
typescript-json-schemato^0.55.0. - Updated dependencies
- @backstage/types@1.0.2-next.1
- @backstage/config@1.0.5-next.1
- @backstage/cli-common@0.1.10
- @backstage/errors@1.1.4-next.1
1.1.7-next.0
Patch Changes
- 3280711113: Updated dependency
mswto^0.49.0. - Updated dependencies
- @backstage/types@1.0.2-next.0
- @backstage/cli-common@0.1.10
- @backstage/config@1.0.5-next.0
- @backstage/errors@1.1.4-next.0
1.1.6
Patch Changes
- Updated dependencies
- @backstage/types@1.0.1
- @backstage/cli-common@0.1.10
- @backstage/config@1.0.4
- @backstage/errors@1.1.3
1.1.6-next.0
Patch Changes
- Updated dependencies
- @backstage/types@1.0.1-next.0
- @backstage/cli-common@0.1.10
- @backstage/config@1.0.4-next.0
- @backstage/errors@1.1.3-next.0
1.1.5
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.10
- @backstage/config@1.0.3
- @backstage/errors@1.1.2
- @backstage/types@1.0.0
1.1.5-next.2
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.10
- @backstage/config@1.0.3-next.2
- @backstage/errors@1.1.2-next.2
- @backstage/types@1.0.0
1.1.5-next.1
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.10
- @backstage/config@1.0.3-next.1
- @backstage/errors@1.1.2-next.1
- @backstage/types@1.0.0
1.1.5-next.0
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.10
- @backstage/config@1.0.3-next.0
- @backstage/errors@1.1.2-next.0
- @backstage/types@1.0.0
1.1.4
Patch Changes
- 5ecca7e44b: No longer log when reloading remote config.
- 7d47def9c4: Removed dependency on
@types/jest. - 667d917488: Updated dependency
mswto^0.47.0. - 87ec2ba4d6: Updated dependency
mswto^0.46.0. - bf5e9030eb: Updated dependency
mswto^0.45.0. - Updated dependencies
- @backstage/cli-common@0.1.10
- @backstage/config@1.0.2
- @backstage/errors@1.1.1
1.1.4-next.2
Patch Changes
- 5ecca7e44b: No longer log when reloading remote config.
- 7d47def9c4: Removed dependency on
@types/jest. - Updated dependencies
- @backstage/cli-common@0.1.10-next.0
- @backstage/config@1.0.2-next.0
- @backstage/errors@1.1.1-next.0
1.1.4-next.1
Patch Changes
- 667d917488: Updated dependency
mswto^0.47.0. - 87ec2ba4d6: Updated dependency
mswto^0.46.0.
1.1.4-next.0
Patch Changes
- bf5e9030eb: Updated dependency
mswto^0.45.0.
1.1.3
Patch Changes
- bcada7cd9f: From now on the
$fileplaceholder will trim the whitespaces and newline characters from the end of the file it reads. - a70869e775: Updated dependency
mswto^0.43.0. - 72622d9143: Updated dependency
yamlto^2.0.0. - 8006d0f9bf: Updated dependency
mswto^0.44.0. - a3acec8819: Updated dependency
typescript-json-schemato^0.54.0. - Updated dependencies
- @backstage/errors@1.1.0
1.1.3-next.1
Patch Changes
- a70869e775: Updated dependency
mswto^0.43.0. - 72622d9143: Updated dependency
yamlto^2.0.0. - a3acec8819: Updated dependency
typescript-json-schemato^0.54.0.
1.1.3-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.1.0-next.0
1.1.2
Patch Changes
- 8f7b1835df: Updated dependency
mswto^0.41.0.
1.1.2-next.0
Patch Changes
- 8f7b1835df: Updated dependency
mswto^0.41.0.
1.1.1
Patch Changes
- cfc0f19699: Updated dependency
fs-extrato10.1.0. - 9e8ef53498: Handle empty config files gracefully
- Updated dependencies
- @backstage/cli-common@0.1.9
- @backstage/config@1.0.1
1.1.1-next.1
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.1.9-next.0
- @backstage/config@1.0.1-next.0
1.1.1-next.0
Patch Changes
- cfc0f19699: Updated dependency
fs-extrato10.1.0. - 9e8ef53498: Handle empty config files gracefully
1.1.0
Minor Changes
- 19f6c6c32a: Added
ignoreSchemaErrorstoschema.process.
Patch Changes
- e0a51384ac: build(deps): bump
ajvfrom 7.0.3 to 8.10.0 - 230ad0826f: Bump to using
@types/nodev16 - c47509e1a0: Implemented changes suggested by Deepsource.io including multiple double non-null assertion operators and unexpected awaits for non-promise values.
1.1.0-next.1
Minor Changes
- 19f6c6c32a: Added
ignoreSchemaErrorstoschema.process.
Patch Changes
- 230ad0826f: Bump to using
@types/nodev16
1.0.1-next.0
Patch Changes
- e0a51384ac: build(deps): bump
ajvfrom 7.0.3 to 8.10.0 - c47509e1a0: Implemented changes suggested by Deepsource.io including multiple double non-null assertion operators and unexpected awaits for non-promise values.
1.0.0
Major Changes
- b58c70c223: This package has been promoted to v1.0! To understand how this change affects the package, please check out our versioning policy.
Patch Changes
- 664821371e: The
typescript-json-schemadependency that is used during schema collection is now lazy loaded, as it eagerly loads in the TypeScript compiler. - f910c2a3f8: build(deps): bump
typescript-json-schemafrom 0.52.0 to 0.53.0 - Updated dependencies
- @backstage/config@1.0.0
- @backstage/errors@1.0.0
- @backstage/types@1.0.0
0.9.7
Patch Changes
- e0a69ba49f: build(deps): bump
fs-extrafrom 9.1.0 to 10.0.1