89 KiB
@backstage/backend-plugin-api
1.9.2-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.7.2-next.0
- @backstage/plugin-permission-node@0.11.1-next.0
1.9.1
Patch Changes
90b572e: Adds an alphaTracingServiceto provide a unified interface for emitting trace spans across Backstage plugins.6209065: Addedcontextandpropagationto the alphaTracingService. Plugins can bridge OpenTelemetry context across async boundaries viatracing.propagation.extract(tracing.context.active(), carrier)followed bytracing.context.with(ctx, fn), and read propagated baggage viatracing.propagation.getActiveBaggage()ortracing.propagation.getBaggage(ctx).- Updated dependencies
- @backstage/errors@1.3.1
- @backstage/plugin-permission-node@0.11.0
- @backstage/plugin-auth-node@0.7.1
- @backstage/plugin-permission-common@0.9.9
- @backstage/cli-common@0.2.2
- @backstage/config@1.3.8
1.9.1-next.1
Patch Changes
90b572e: Adds an alphaTracingServiceto provide a unified interface for emitting trace spans across Backstage plugins.
1.9.1-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.3.1-next.0
- @backstage/plugin-auth-node@0.7.1-next.0
- @backstage/cli-common@0.2.2-next.0
- @backstage/config@1.3.8-next.0
- @backstage/plugin-permission-common@0.9.9-next.0
- @backstage/plugin-permission-node@0.10.13-next.0
- @backstage/types@1.2.2
1.9.0
Minor Changes
4559806: Added support for typedexampleson actions registered via the actions registry. Action authors can now provide examples with compile-time-checkedinputandoutputvalues that match their schema definitions.
Patch Changes
213ebe7: Aligned.Tbehavior betweenExtensionPointandServiceRefto consistently returnnullinstead of throwing.68c557b: Added stricter type checks inisDatabaseConflictError.- Updated dependencies
- @backstage/errors@1.3.0
- @backstage/plugin-auth-node@0.7.0
- @backstage/cli-common@0.2.1
- @backstage/plugin-permission-node@0.10.12
- @backstage/config@1.3.7
- @backstage/plugin-permission-common@0.9.8
1.9.0-next.2
Patch Changes
- Updated dependencies
- @backstage/errors@1.3.0-next.0
- @backstage/plugin-auth-node@0.7.0-next.2
- @backstage/cli-common@0.2.1-next.1
- @backstage/config@1.3.7-next.0
- @backstage/plugin-permission-common@0.9.8-next.0
- @backstage/plugin-permission-node@0.10.12-next.2
1.9.0-next.1
Minor Changes
4559806: Added support for typedexampleson actions registered via the actions registry. Action authors can now provide examples with compile-time-checkedinputandoutputvalues that match their schema definitions.
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.7.0-next.1
- @backstage/plugin-permission-node@0.10.12-next.1
1.8.1-next.0
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.2.1-next.0
- @backstage/plugin-auth-node@0.6.15-next.0
- @backstage/plugin-permission-node@0.10.12-next.0
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-permission-common@0.9.7
1.8.0
Minor Changes
-
cc8348e: Added optionalvisibilityPermissionfield toActionsRegistryActionOptions, allowing actions to declare aBasicPermissionthat controls visibility and access.import { createPermission } from '@backstage/plugin-permission-common'; const myPermission = createPermission({ name: 'myPlugin.myAction.use', attributes: {}, }); actionsRegistry.register({ name: 'my-action', title: 'My Action', description: 'An action that requires permission', visibilityPermission: myPermission, schema: { input: z => z.object({ name: z.string() }), output: z => z.object({ ok: z.boolean() }), }, action: async ({ input }) => { return { output: { ok: true } }; }, });Actions without a
visibilityPermissionfield continue to work as before. -
015668c: AddedcancelTaskmethod to theSchedulerServiceinterface and implementation, allowing cancellation of currently running scheduled tasks. For global tasks, the database lock is released and a periodic liveness check aborts the running task function. For local tasks, the task's abort signal is triggered directly. A newPOST /.backstage/scheduler/v1/tasks/:id/cancelendpoint is also available.
Patch Changes
dee4283: AddedpluginIdfield toActionsServiceActiontype, populated from the registering plugin's metadata.1ee5b28: Adds an alphaMetricsServiceto provide a unified interface for metrics instrumentation across Backstage plugins.a49a40d: Updated dependencyzodto^3.25.76 || ^4.0.0& migrated to/v3or/v4imports.- Updated dependencies
- @backstage/cli-common@0.2.0
- @backstage/plugin-permission-common@0.9.7
- @backstage/plugin-permission-node@0.10.11
- @backstage/plugin-auth-node@0.6.14
1.8.0-next.1
Minor Changes
015668c: AddedcancelTaskmethod to theSchedulerServiceinterface and implementation, allowing cancellation of currently running scheduled tasks. For global tasks, the database lock is released and a periodic liveness check aborts the running task function. For local tasks, the task's abort signal is triggered directly. A newPOST /.backstage/scheduler/v1/tasks/:id/cancelendpoint is also available.
Patch Changes
- Updated dependencies
- @backstage/cli-common@0.2.0-next.2
- @backstage/plugin-auth-node@0.6.14-next.2
- @backstage/plugin-permission-node@0.10.11-next.1
1.7.1-next.0
Patch Changes
1ee5b28: Adds an alphaMetricsServiceto provide a unified interface for metrics instrumentation across Backstage plugins.- Updated dependencies
- @backstage/cli-common@0.2.0-next.0
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-auth-node@0.6.14-next.0
- @backstage/plugin-permission-common@0.9.6
- @backstage/plugin-permission-node@0.10.11-next.0
1.7.0
Minor Changes
-
f1d29b4: Added support for extension point factories. This makes it possible to callregisterExtensionPointwith a single options argument and provide a factory for the extension point rather than a direct implementation. The factory is passed a context with areportModuleStartupFailuremethod that makes it possible for plugins to report and attribute startup errors to the module that consumed the extension point. -
bb9b471: Plugin IDs that do not match the standard format are deprecated (letters, digits, and dashes only, starting with a letter). Plugin IDs that do no match this format will be rejected in a future release.In addition, plugin IDs that don't match the legacy pattern that also allows underscores, with be rejected.
Patch Changes
7455dae: Use node prefix on native imports69d880e: Bump to latest zod to ensure it has the latest features- Updated dependencies
- @backstage/cli-common@0.1.18
- @backstage/plugin-auth-node@0.6.13
- @backstage/plugin-permission-common@0.9.6
- @backstage/plugin-permission-node@0.10.10
1.7.0-next.1
Minor Changes
-
bb9b471: Plugin IDs that do not match the standard format are deprecated (letters, digits, and dashes only, starting with a letter). Plugin IDs that do no match this format will be rejected in a future release.In addition, plugin IDs that don't match the legacy pattern that also allows underscores, with be rejected.
1.7.0-next.0
Minor Changes
f1d29b4: Added support for extension point factories. This makes it possible to callregisterExtensionPointwith a single options argument and provide a factory for the extension point rather than a direct implementation. The factory is passed a context with areportModuleStartupFailuremethod that makes it possible for plugins to report and attribute startup errors to the module that consumed the extension point.
Patch Changes
7455dae: Use node prefix on native imports69d880e: Bump to latest zod to ensure it has the latest features- Updated dependencies
- @backstage/cli-common@0.1.18-next.0
- @backstage/plugin-auth-node@0.6.12-next.0
- @backstage/plugin-permission-common@0.9.5-next.0
- @backstage/plugin-permission-node@0.10.9-next.0
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
1.6.1
Patch Changes
ae4dd5d: Move some of the symlink resolution toisChildPath- Updated dependencies
- @backstage/cli-common@0.1.17
- @backstage/plugin-auth-node@0.6.11
- @backstage/plugin-permission-common@0.9.4
- @backstage/plugin-permission-node@0.10.8
1.6.0
Minor Changes
2a0c4b0: Adds a new experimentalRootSystemMetadataServicefor tracking the collection of Backstage instances that may be deployed at any one time. It currently offers a single API,getInstalledPluginsthat returns a list of installed plugins based on config you have set up indiscovery.endpointsas well as the plugins installed on the instance you're calling the API with. It does not handle wildcard values or fallback values. The intention is for this plugin to provide plugin authors with a simple interface to fetch a trustworthy list of all installed plugins.
Patch Changes
d9759a1: BREAKING ALPHA: The oldinstanceMetadataServicehas been removed from alpha. Please switch over to using the stablecoreServices.rootInstanceMetadataand related types instead, available from@backstage/backend-plugin-api.- Updated dependencies
- @backstage/plugin-auth-node@0.6.10
- @backstage/plugin-permission-node@0.10.7
- @backstage/cli-common@0.1.16
1.6.0-next.1
Minor Changes
2a0c4b0: Adds a new experimentalRootSystemMetadataServicefor tracking the collection of Backstage instances that may be deployed at any one time. It currently offers a single API,getInstalledPluginsthat returns a list of installed plugins based on config you have set up indiscovery.endpointsas well as the plugins installed on the instance you're calling the API with. It does not handle wildcard values or fallback values. The intention is for this plugin to provide plugin authors with a simple interface to fetch a trustworthy list of all installed plugins.
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.10-next.1
- @backstage/plugin-permission-node@0.10.7-next.1
- @backstage/cli-common@0.1.16-next.2
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-permission-common@0.9.3
1.5.1-next.0
Patch Changes
d9759a1: BREAKING ALPHA: The oldinstanceMetadataServicehas been removed from alpha. Please switch over to using the stablecoreServices.rootInstanceMetadataand related types instead, available from@backstage/backend-plugin-api.- Updated dependencies
- @backstage/plugin-auth-node@0.6.10-next.0
- @backstage/cli-common@0.1.16-next.0
- @backstage/plugin-permission-node@0.10.7-next.0
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-permission-common@0.9.3
1.5.0
Minor Changes
a17d9df: PromoteinstanceMetadataservice to main entrypoint.62fc2de: Explicitly markcoreServices.rootInstanceMetadataas a root service.
Patch Changes
- Updated dependencies
- @backstage/plugin-permission-common@0.9.3
- @backstage/plugin-auth-node@0.6.9
- @backstage/config@1.3.6
- @backstage/plugin-permission-node@0.10.6
1.5.0-next.2
Minor Changes
62fc2de: Explicitly markcoreServices.rootInstanceMetadataas a root service.
1.5.0-next.1
Minor Changes
a17d9df: PromoteinstanceMetadataservice to main entrypoint.
Patch Changes
- Updated dependencies
- @backstage/plugin-permission-common@0.9.3-next.1
- @backstage/plugin-auth-node@0.6.9-next.1
- @backstage/plugin-permission-node@0.10.6-next.1
1.4.5-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.9-next.0
- @backstage/config@1.3.6-next.0
- @backstage/plugin-permission-node@0.10.6-next.0
- @backstage/cli-common@0.1.15
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-permission-common@0.9.3-next.0
1.4.4
Patch Changes
- Updated dependencies
- @backstage/config@1.3.5
- @backstage/plugin-auth-node@0.6.8
- @backstage/plugin-permission-common@0.9.2
- @backstage/plugin-permission-node@0.10.5
1.4.4-next.0
Patch Changes
- Updated dependencies
- @backstage/config@1.3.4-next.0
- @backstage/plugin-auth-node@0.6.8-next.0
- @backstage/plugin-permission-common@0.9.2-next.0
- @backstage/plugin-permission-node@0.10.5-next.0
1.4.3
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.7
- @backstage/types@1.2.2
- @backstage/plugin-permission-node@0.10.4
1.4.3-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.7-next.0
- @backstage/plugin-permission-node@0.10.4-next.0
1.4.2
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.6
- @backstage/plugin-permission-node@0.10.3
1.4.2-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.6-next.0
- @backstage/plugin-permission-node@0.10.3-next.0
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.3
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.9.1
1.4.1
Patch Changes
- Updated dependencies
- @backstage/config@1.3.3
- @backstage/plugin-permission-common@0.9.1
- @backstage/plugin-permission-node@0.10.2
- @backstage/plugin-auth-node@0.6.5
1.4.1-next.0
Patch Changes
- Updated dependencies
- @backstage/config@1.3.3-next.0
- @backstage/plugin-permission-common@0.9.1-next.0
- @backstage/plugin-permission-node@0.10.2-next.0
- @backstage/plugin-auth-node@0.6.5-next.0
1.4.0
Minor Changes
-
664c07a: AddedactionsRegistryandactionsexperimental services to/alphato allow registration of distributed actions from plugins, and the ability to invoke these actions. You can use these services by including them like the following:import { actionsRegistryServiceRef, actionsServiceRef, } from '@backstage/backend-plugin-api/alpha'; createBackendPlugin({ pluginId: 'test-plugin', register({ registerInit }) { registerInit({ deps: { actions: actionsServiceRef, actionsRegistry: actionsRegistryServiceRef, }, async init({ actions, actionsRegistry }) { actionsRegistry.register({ ..., }); await actions.invoke(...); }, }); }, });
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.4
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.9.0
- @backstage/plugin-permission-node@0.10.1
1.4.0-next.1
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.4-next.1
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.9.0
- @backstage/plugin-permission-node@0.10.1-next.1
1.4.0-next.0
Minor Changes
664c07a: AddedcoreServices.actionsRegistryandcoreServices.actionsto allow registration of distributed actions from plugins, and the ability to invoke these actions
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.4-next.0
- @backstage/plugin-permission-node@0.10.1-next.0
1.3.1
Patch Changes
acea1d4: update documentation72d019d: Removed various typosd385854: Minor doc comment update- Updated dependencies
- @backstage/plugin-auth-node@0.6.3
- @backstage/plugin-permission-common@0.9.0
- @backstage/plugin-permission-node@0.10.0
- @backstage/config@1.3.2
- @backstage/cli-common@0.1.15
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.3.1-next.2
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.3-next.2
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.9.0-next.0
- @backstage/plugin-permission-node@0.10.0-next.2
1.3.1-next.1
Patch Changes
acea1d4: update documentation72d019d: Removed various typosd385854: Minor doc comment update- Updated dependencies
- @backstage/plugin-auth-node@0.6.3-next.1
- @backstage/plugin-permission-common@0.9.0-next.0
- @backstage/plugin-permission-node@0.10.0-next.1
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.3.1-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.3-next.0
- @backstage/plugin-permission-node@0.9.2-next.0
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.8.4
1.3.0
Minor Changes
cf4eb13: Addedactorproperty toBackstageUserPrincipalcontaining the subject of the last service (if any) who performed authentication on behalf of the user.
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.2
- @backstage/plugin-permission-node@0.9.1
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.8.4
1.2.1
Patch Changes
- Updated dependencies
- @backstage/plugin-permission-node@0.9.0
- @backstage/plugin-auth-node@0.6.1
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.8.4
1.2.1-next.1
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.1-next.1
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.8.4
- @backstage/plugin-permission-node@0.8.9-next.1
1.2.1-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-permission-node@0.8.9-next.0
- @backstage/plugin-auth-node@0.6.1-next.0
1.2.0
Minor Changes
92a56f6: BREAKING ALPHA: Removed the deprecatedfeatureDiscoveryServiceRefandFeatureDiscoveryService.a4aa244: This change introduces theauditorservice definition.
Patch Changes
9ddfd94: Added newPermissionsRegistryServicethat is used by plugins to register permissions, resource types, and rules into the permission system. This replaces the existingcreatePermissionIntegrationRouterfrom@backstage/plugin-permission-node.72cddf2: UpdatedPermissionsRegistryServiceto usePermissionResourceRefs and added thegetPermissionRulesetmethod.- Updated dependencies
- @backstage/plugin-permission-node@0.8.8
- @backstage/plugin-auth-node@0.6.0
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.8.4
1.2.0-next.2
Patch Changes
72cddf2: UpdatedPermissionsRegistryServiceto usePermissionResourceRefs and added thegetPermissionRulesetmethod.- Updated dependencies
- @backstage/plugin-permission-node@0.8.8-next.2
- @backstage/plugin-auth-node@0.6.0-next.2
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.8.4
1.2.0-next.1
Minor Changes
92a56f6: BREAKING ALPHA: Removed the deprecatedfeatureDiscoveryServiceRefandFeatureDiscoveryService.
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.0-next.1
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.8.4
- @backstage/plugin-permission-node@0.8.8-next.1
1.2.0-next.0
Minor Changes
a4aa244: This change introduces theauditorservice definition.
Patch Changes
9ddfd94: Added newPermissionsRegistryServicethat is used by plugins to register permissions, resource types, and rules into the permission system. This replaces the existingcreatePermissionIntegrationRouterfrom@backstage/plugin-permission-node.- Updated dependencies
- @backstage/plugin-permission-node@0.8.8-next.0
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-auth-node@0.5.7-next.0
- @backstage/plugin-permission-common@0.8.4
1.1.1
Patch Changes
- Updated dependencies
- @backstage/types@1.2.1
- @backstage/plugin-auth-node@0.5.6
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/plugin-permission-common@0.8.4
1.1.1-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/plugin-auth-node@0.5.6-next.1
- @backstage/plugin-permission-common@0.8.4-next.0
- @backstage/cli-common@0.1.15
1.1.1-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.6-next.0
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.1
- @backstage/errors@1.2.6
- @backstage/types@1.2.0
- @backstage/plugin-permission-common@0.8.3
1.1.0
Minor Changes
12eac85: EXPERIMENTAL: Adds a newinstanceMetadataServiceto hold information about a specific backend instance.
Patch Changes
-
eef3ef1: Removed unusedexpressdependencies. -
0e9c9fa: TheRootLifecycleServicenow has a newaddBeforeShutdownHookmethod, and hooks added through this method will run immediately when a termination event is received.The backend will not proceed with the shutdown and run the
Shutdownhooks until allBeforeShutdownhooks have completed. -
Updated dependencies
- @backstage/plugin-auth-node@0.5.5
- @backstage/errors@1.2.6
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.1
- @backstage/types@1.2.0
- @backstage/plugin-permission-common@0.8.3
1.1.0-next.2
Patch Changes
-
0e9c9fa: TheRootLifecycleServicenow has a newaddBeforeShutdownHookmethod, and hooks added through this method will run immediately when a termination event is received.The backend will not proceed with the shutdown and run the
Shutdownhooks until allBeforeShutdownhooks have completed. -
Updated dependencies
- @backstage/errors@1.2.6-next.0
- @backstage/plugin-auth-node@0.5.5-next.2
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.1-next.0
- @backstage/types@1.2.0
- @backstage/plugin-permission-common@0.8.3-next.0
1.1.0-next.1
Minor Changes
12eac85: EXPERIMENTAL: Adds a newinstanceMetadataServiceto hold information about a specific backend instance.
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.5-next.1
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.0
- @backstage/errors@1.2.5
- @backstage/types@1.2.0
- @backstage/plugin-permission-common@0.8.2
1.0.3-next.0
Patch Changes
eef3ef1: Removed unusedexpressdependencies.- Updated dependencies
- @backstage/plugin-auth-node@0.5.5-next.0
- @backstage/cli-common@0.1.15
- @backstage/config@1.3.0
- @backstage/errors@1.2.5
- @backstage/types@1.2.0
- @backstage/plugin-permission-common@0.8.2
1.0.2
Patch Changes
d52d7f9: Support ISO and ms string forms of durations in config too- Updated dependencies
- @backstage/config@1.3.0
- @backstage/types@1.2.0
- @backstage/plugin-auth-node@0.5.4
- @backstage/plugin-permission-common@0.8.2
- @backstage/cli-common@0.1.15
- @backstage/errors@1.2.5
1.0.2-next.2
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.4-next.2
- @backstage/cli-common@0.1.15-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
1.0.2-next.1
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
- @backstage/plugin-auth-node@0.5.4-next.1
- @backstage/plugin-permission-common@0.8.1
1.0.2-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.4-next.0
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
1.0.1
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.3
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
1.0.1-next.1
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.3-next.1
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
1.0.1-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
1.0.0
Major Changes
-
ec1b4be: Release 1.0 of the new backend system! 🎉The backend system is finally getting promoted to 1.0.0. This means that the API is now stable and breaking changes should not occur until version 2.0.0, see our package versioning policy for more information what this means.
This release also marks the end of the old backend system based on
createRouterexports. Going forward backend plugins packages will start to deprecate and later this year remove exports supporting the old backend system. If you would like to help out with this transition, see https://github.com/backstage/backstage/issues/26353 or consult the migration guide.
Minor Changes
-
19ff127: BREAKING: The deprecated identity and token manager services have been removed. This means thatcoreServices.identityandcoreServices.tokenManagerare gone, along with related types and utilities in other packages. -
f687050: Removed the following deprecated exportsBackendPluginConfiguseCreateBackendPluginOptionsBackendModuleConfiguseCreateBackendModuleOptionsExtensionPointConfiguseCreateExtensionPointOptions
-
4d82481: Removed deprecatedServiceFactoryOrFunctiontype. -
d425fc4: BREAKING: The return values fromcreateBackendPlugin,createBackendModule, andcreateServiceFactoryare now simplyBackendFeatureandServiceFactory, instead of the previously deprecated form of a function that returns them. For this reason,createServiceFactoryalso no longer accepts the callback form where you provide direct options to the service. This also affects allcoreServices.*service refs.This may in particular affect tests; if you were effectively doing
createBackendModule({...})()(note the parentheses), you can now remove those extra parentheses at the end. You may encounter cases of this in yourpackages/backend/src/index.tstoo, where you add plugins, modules, and services. If you were usingcreateServiceFactorywith a function as its argument for the purpose of passing in options, this pattern has been deprecated for a while and is no longer supported. You may want to explore the new multiton patterns to achieve your goals, or moving settings to app-config.As part of this change, the
IdentityFactoryOptionstype was removed, and can no longer be used to tweak that service. The identity service was also deprecated some time ago, and you will want to migrate to the new auth system if you still rely on it.
Patch Changes
cd38da8: Deprecate thefeatureDiscoveryServiceRefin favor of using the newdiscoveryFeatureLoaderinstead.8052b9b: Add atoJSONon refs so that they can appear in expectations in jest tests66dbf0a: Allow the cache service to accept the human duration format for TTL0b2a402: Updates to the config schema to match reality- Updated dependencies
- @backstage/plugin-auth-node@0.5.2
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
1.0.0-next.2
Major Changes
-
ec1b4be: Release 1.0 of the new backend system! 🎉The backend system is finally getting promoted to 1.0.0. This means that the API is now stable and breaking changes should not occur until version 2.0.0, see our package versioning policy for more information what this means.
This release also marks the end of the old backend system based on
createRouterexports. Going forward backend plugins packages will start to deprecate and later this year remove exports supporting the old backend system. If you would like to help out with this transition, see https://github.com/backstage/backstage/issues/26353 or consult the migration guide.
Patch Changes
8052b9b: Add atoJSONon refs so that they can appear in expectations in jest tests- Updated dependencies
- @backstage/plugin-auth-node@0.5.2-next.2
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
0.9.0-next.1
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.2-next.1
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
0.9.0-next.0
Minor Changes
-
19ff127: BREAKING: The deprecated identity and token manager services have been removed. This means thatcoreServices.identityandcoreServices.tokenManagerare gone, along with related types and utilities in other packages. -
f687050: Removed the following deprecated exportsBackendPluginConfiguseCreateBackendPluginOptionsBackendModuleConfiguseCreateBackendModuleOptionsExtensionPointConfiguseCreateExtensionPointOptions
-
4d82481: Removed deprecatedServiceFactoryOrFunctiontype. -
d425fc4: BREAKING: The return values fromcreateBackendPlugin,createBackendModule, andcreateServiceFactoryare now simplyBackendFeatureandServiceFactory, instead of the previously deprecated form of a function that returns them. For this reason,createServiceFactoryalso no longer accepts the callback form where you provide direct options to the service. This also affects allcoreServices.*service refs.This may in particular affect tests; if you were effectively doing
createBackendModule({...})()(note the parentheses), you can now remove those extra parentheses at the end. You may encounter cases of this in yourpackages/backend/src/index.tstoo, where you add plugins, modules, and services. If you were usingcreateServiceFactorywith a function as its argument for the purpose of passing in options, this pattern has been deprecated for a while and is no longer supported. You may want to explore the new multiton patterns to achieve your goals, or moving settings to app-config.As part of this change, the
IdentityFactoryOptionstype was removed, and can no longer be used to tweak that service. The identity service was also deprecated some time ago, and you will want to migrate to the new auth system if you still rely on it.
Patch Changes
cd38da8: Deprecate thefeatureDiscoveryServiceRefin favor of using the newdiscoveryFeatureLoaderinstead.66dbf0a: Allow the cache service to accept the human duration format for TTL0b2a402: Updates to the config schema to match reality- Updated dependencies
- @backstage/plugin-auth-node@0.5.2-next.0
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
0.8.0
Minor Changes
-
389f5a4: BREAKING Deleted the following deprecatedUrlReaderexports- ReadUrlOptions: Use
UrlReaderServiceReadUrlOptionsinstead; - ReadUrlResponse: Use
UrlReaderServiceReadUrlResponseinstead; - ReadTreeOptions: Use
UrlReaderServiceReadTreeOptionsinstead; - ReadTreeResponse: Use
UrlReaderServiceReadTreeResponseinstead; - ReadTreeResponseFile: Use
UrlReaderServiceReadTreeResponseFileinstead; - ReadTreeResponseDirOptions: Use
UrlReaderServiceReadTreeResponseDirOptionsinstead; - SearchOptions: Use
UrlReaderServiceSearchOptionsinstead; - SearchResponse: Use
UrlReaderServiceSearchResponseinstead; - SearchResponseFile: Use
UrlReaderServiceSearchResponseFileinstead.
- ReadUrlOptions: Use
-
7c5f3b0: ThecreateServiceReffunction now accepts a new booleanmultipleoption. Themultipleoption defaults tofalseand when set totrue, it enables that multiple implementation are installed for the created service ref.We're looking for ways to make it possible to augment services without the need to replace the entire service.
Typical example of that being the ability to install support for additional targets for the
UrlReaderservice without replacing the service itself. This achieves that by allowing us to define services that can have multiple simultaneous implementation, allowing theUrlReaderimplementation to depend on such a service to collect all possible implementation of support for external targets:// @backstage/backend-defaults + export const urlReaderFactoriesServiceRef = createServiceRef<ReaderFactory>({ + id: 'core.urlReader.factories', + scope: 'plugin', + multiton: true, + }); ... export const urlReaderServiceFactory = createServiceFactory({ service: coreServices.urlReader, deps: { config: coreServices.rootConfig, logger: coreServices.logger, + factories: urlReaderFactoriesServiceRef, }, - async factory({ config, logger }) { + async factory({ config, logger, factories }) { return UrlReaders.default({ config, logger, + factories, }); }, });With that, you can then add more custom
UrlReaderfactories by installing more implementations of theurlReaderFactoriesServiceRefin your backend instance. Something like:// packages/backend/index.ts import { createServiceFactory } from '@backstage/backend-plugin-api'; import { urlReaderFactoriesServiceRef } from '@backstage/backend-defaults'; ... backend.add(createServiceFactory({ service: urlReaderFactoriesServiceRef, deps: {}, async factory() { return CustomUrlReader.factory; }, })); ... -
c99c620: BREAKING Removed the following deprecated types:ServiceRefConfiguseServiceRefOptionsRootServiceFactoryConfiguseRootServiceFactoryOptionsPluginServiceFactoryConfigusePluginServiceFactoryOptions
Patch Changes
-
6061061: AddedcreateBackendFeatureLoader, which can be used to create an installable backend feature that can in turn load in additional backend features in a dynamic way. -
ba9abf4: TheSchedulerServicenow allows tasks withfrequency: { trigger: 'manual' }. This means that the task will not be scheduled, but rather run only when manually triggered withSchedulerService.triggerTask. -
8b13183: AddedcreateBackendFeatureLoader, which can be used to programmatically select and install backend features.A feature loader can return an list of features to be installed, for example in the form on an
Arrayor other for of iterable, which allows for the loader to be defined as a generator function. Both synchronous and asynchronous loaders are supported.Additionally, a loader can depend on services in its implementation, with the restriction that it can only depend on root-scoped services, and it may not override services that have already been instantiated.
const searchLoader = createBackendFeatureLoader({ deps: { config: coreServices.rootConfig, }, *loader({ config }) { // Example of a custom config flag to enable search if (config.getOptionalString('customFeatureToggle.search')) { yield import('@backstage/plugin-search-backend/alpha'); yield import('@backstage/plugin-search-backend-module-catalog/alpha'); yield import('@backstage/plugin-search-backend-module-explore/alpha'); yield import('@backstage/plugin-search-backend-module-techdocs/alpha'); } }, }); -
ddde5fe: Fixed a type issue where plugin and modules depending on multiton services would not receive the correct type. -
f011d1b: fix typo ingetPluginRequestTokencomments -
Updated dependencies
- @backstage/plugin-permission-common@0.8.1
- @backstage/plugin-auth-node@0.5.0
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.8.0-next.3
Patch Changes
ddde5fe: Fixed a type issue where plugin and modules depending on multiton services would not receive the correct type.- Updated dependencies
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.5.0-next.3
- @backstage/plugin-permission-common@0.8.1-next.1
0.8.0-next.2
Minor Changes
-
7c5f3b0: ThecreateServiceReffunction now accepts a new booleanmultipleoption. Themultipleoption defaults tofalseand when set totrue, it enables that multiple implementation are installed for the created service ref.We're looking for ways to make it possible to augment services without the need to replace the entire service.
Typical example of that being the ability to install support for additional targets for the
UrlReaderservice without replacing the service itself. This achieves that by allowing us to define services that can have multiple simultaneous implementation, allowing theUrlReaderimplementation to depend on such a service to collect all possible implementation of support for external targets:// @backstage/backend-defaults + export const urlReaderFactoriesServiceRef = createServiceRef<ReaderFactory>({ + id: 'core.urlReader.factories', + scope: 'plugin', + multiton: true, + }); ... export const urlReaderServiceFactory = createServiceFactory({ service: coreServices.urlReader, deps: { config: coreServices.rootConfig, logger: coreServices.logger, + factories: urlReaderFactoriesServiceRef, }, - async factory({ config, logger }) { + async factory({ config, logger, factories }) { return UrlReaders.default({ config, logger, + factories, }); }, });With that, you can then add more custom
UrlReaderfactories by installing more implementations of theurlReaderFactoriesServiceRefin your backend instance. Something like:// packages/backend/index.ts import { createServiceFactory } from '@backstage/backend-plugin-api'; import { urlReaderFactoriesServiceRef } from '@backstage/backend-defaults'; ... backend.add(createServiceFactory({ service: urlReaderFactoriesServiceRef, deps: {}, async factory() { return CustomUrlReader.factory; }, })); ...
Patch Changes
-
6061061: AddedcreateBackendFeatureLoader, which can be used to create an installable backend feature that can in turn load in additional backend features in a dynamic way. -
ba9abf4: TheSchedulerServicenow allows tasks withfrequency: { trigger: 'manual' }. This means that the task will not be scheduled, but rather run only when manually triggered withSchedulerService.triggerTask. -
8b13183: AddedcreateBackendFeatureLoader, which can be used to programmatically select and install backend features.A feature loader can return an list of features to be installed, for example in the form on an
Arrayor other for of iterable, which allows for the loader to be defined as a generator function. Both synchronous and asynchronous loaders are supported.Additionally, a loader can depend on services in its implementation, with the restriction that it can only depend on root-scoped services, and it may not override services that have already been instantiated.
const searchLoader = createBackendFeatureLoader({ deps: { config: coreServices.rootConfig, }, *loader({ config }) { // Example of a custom config flag to enable search if (config.getOptionalString('customFeatureToggle.search')) { yield import('@backstage/plugin-search-backend/alpha'); yield import('@backstage/plugin-search-backend-module-catalog/alpha'); yield import('@backstage/plugin-search-backend-module-explore/alpha'); yield import('@backstage/plugin-search-backend-module-techdocs/alpha'); } }, }); -
Updated dependencies
- @backstage/plugin-permission-common@0.8.1-next.1
- @backstage/plugin-auth-node@0.5.0-next.2
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.7.1-next.1
Patch Changes
f011d1b: fix typo ingetPluginRequestTokencomments- Updated dependencies
- @backstage/plugin-permission-common@0.8.1-next.0
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.18-next.1
0.7.1-next.0
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
- @backstage/plugin-auth-node@0.4.18-next.0
- @backstage/plugin-permission-common@0.8.0
0.7.0
Minor Changes
36f91e8: BREAKING: ThePermissionsServiceno longer supports passing the deprecatedtokenoption, and the request options are now required.
Patch Changes
-
53ced70: Added a new Root Health Service which adds new endpoints for health checks. -
083eaf9: Fix bug where ISO durations could no longer be used for schedules -
062c01c: Deprecated the ability to define options for service factories throughcreateServiceFactory. In the future all service factories will return a plainServiceFactoryobject, rather than allowing users to pass options to the factory. To allow for customization of a service implementation one can instead export one or a few building blocks that allows for simple re-implementation of the service instead.For example, instead of:
export const fooServiceFactory = createServiceFactory<FooService>( (options?: { bar: string }) => ({ service: fooServiceRef, deps: { logger: coreServices.logger }, factory({ logger }) { return { // Implementation of the foo service using the `bar` option. }; }, }), );We instead encourage service implementations to provide an easy to use API for re-implementing the service for advanced use-cases:
/** @public */ export class DefaultFooService implements FooService { static create(options: { bar: string; logger: LoggerService }) { return new DefaultFooService(options.logger, options.bar ?? 'default'); } private constructor( private readonly logger: string, private readonly bar: string, ) {} // The rest of the implementation }A user that wishes to customize the service can then easily do so by defining their own factory:
export const customFooServiceFactory = createServiceFactory<FooService>({ service: fooServiceRef, deps: { logger: coreServices.logger }, factory({ logger }) { return DefaultFooService.create({ logger, bar: 'baz' }); }, });This is of course more verbose than the previous solution where the factory could be customized through
fooServiceFactory({ bar: 'baz' }), but this is a simplified which in practice should be using static configuration instead.In cases where the old options patterns significantly improves the usability of the service factory, the old pattern can still be implemented like this:
const fooServiceFactoryWithOptions = (options?: { bar: string }) => createServiceFactory<FooService>({ service: fooServiceRef, deps: { logger: coreServices.logger }, factory({ logger }) { return { // Implementation of the foo service using the `bar` option. }; }, }); export const fooServiceFactory = Object.assign( fooServiceFactoryWithOptions, fooServiceFactoryWithOptions(), );This change is being made because the ability to define an options callback encourages bad design of services factories. When possible, a service should be configurable through static configuration, and the existence of options may discourage that. More importantly though, the existing options do not work well with the dependency injection system of services, which is a problem for callbacks an other more advanced options. This lead to a bad pattern where only a few explicit dependencies where made available in callbacks, rather than providing an API that allowed simple re-implementation of the service with full access to dependency injection.
A separate benefit of this change is that it simplifies the TypeScript types in a way that allows TypeScript to provide a much better error message when a service factory doesn't properly implement the service interface.
-
fe47a3e: All service config types were renamed to option types in order to standardize frontend and backendcreate*function signatures:- The
ServiceRefConfigtype was renamed toServiceRefOptions; - The
RootServiceFactoryConfigtype was renamed toRootServiceFactoryOptions; - The
PluginServiceFactoryConfigtype was renamed toPluginServiceFactoryOptions
- The
-
Updated dependencies
- @backstage/plugin-permission-common@0.8.0
- @backstage/plugin-auth-node@0.4.17
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.6.22-next.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
- @backstage/plugin-auth-node@0.4.17-next.1
- @backstage/plugin-permission-common@0.7.14
0.6.21-next.0
Patch Changes
53ced70: Added a new Root Health Service which adds new endpoints for health checks.083eaf9: Fix bug where ISO durations could no longer be used for schedules- Updated dependencies
- @backstage/plugin-auth-node@0.4.16-next.0
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.14
0.6.19
Patch Changes
-
78a0b08: DEPRECATION: You should no longer do a function call on backend features when adding them to backends. The support for doing that is deprecated, and you should remove all trailing()parentheses after plugins and modules where you add them to your backend or test backends (e.g. when usingstartTestBackend).The background for this is that
createBackendPluginandcreateBackendModulefunction now effectively return aBackendFeaturerather than a() => BackendFeature. This is part of the cleanup efforts for New Backend System 1.0. In the short run this is non-breaking because the feature type has been given a callback signature that returns itself. But we strongly recommend that you remove all now-redundant calls made to feature objects, because that callback signature will be removed in a future release.Service factories are still callbacks at this point.
Example change:
await startTestBackend({ features: [ eventsServiceFactory(), // service - stays unchanged - catalogModuleBitbucketCloudEntityProvider(), // module - remove parentheses + catalogModuleBitbucketCloudEntityProvider, -
9bdc3e8: In tests, returnnullrather than throwing an error when trying to get theExtensionPoint.Tproperty, so that tests asserting the property are not easily broken. -
9e63318: Added an optionalaccessRestrictionsto external access service tokens and service principals in general, such that you can limit their access to certain plugins or permissions. -
3aa3fc7: Marked theTokenManagerServiceandIdentityServicetypes as deprecated -
b2ee7f3: Deprecated all of theUrlReaderrelated type names and replaced them with prefixed versions. Please update your imports.ReadTreeOptionswas renamed toUrlReaderServiceReadTreeOptionsReadTreeResponsewas renamed toUrlReaderServiceReadTreeResponseReadTreeResponseDirOptionswas renamed toUrlReaderServiceReadTreeResponseDirOptionsReadTreeResponseFilewas renamed toUrlReaderServiceReadTreeResponseFileReadUrlResponsewas renamed toUrlReaderServiceReadUrlResponseReadUrlOptionswas renamed toUrlReaderServiceReadUrlOptionsSearchOptionswas renamed toUrlReaderServiceSearchOptionsSearchResponsewas renamed toUrlReaderServiceSearchResponseSearchResponseFilewas renamed toUrlReaderServiceSearchResponseFile
-
9539a0b: ImprovedcoreServicesdoc comments -
6551b3d: Moved the declaration of theSchedulerServicehere, along with prefixed versions of all of the types it depends on, from@backstage/backend-tasks -
0665b7e: RenamedBackendPluginConfig,BackendModuleConfig, andExtensionPointConfigrespectively toCreateBackendPluginOptions,CreateBackendModuleOptions, andCreateExtensionPointOptionsto standardize frontend and backend factories signatures. -
1779188: Start using theisDatabaseConflictErrorhelper from the@backstage/backend-plugin-apipackage in order to avoid dependency with the soon to deprecate@backstage/backend-commonpackage. -
Updated dependencies
- @backstage/plugin-auth-node@0.4.14
- @backstage/plugin-permission-common@0.7.14
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.6.19-next.3
Patch Changes
-
9bdc3e8: In tests, returnnullrather than throwing an error when trying to get theExtensionPoint.Tproperty, so that tests asserting the property are not easily broken. -
b2ee7f3: Deprecated all of theUrlReaderrelated type names and replaced them with prefixed versions. Please update your imports.ReadTreeOptionswas renamed toUrlReaderServiceReadTreeOptionsReadTreeResponsewas renamed toUrlReaderServiceReadTreeResponseReadTreeResponseDirOptionswas renamed toUrlReaderServiceReadTreeResponseDirOptionsReadTreeResponseFilewas renamed toUrlReaderServiceReadTreeResponseFileReadUrlResponsewas renamed toUrlReaderServiceReadUrlResponseReadUrlOptionswas renamed toUrlReaderServiceReadUrlOptionsSearchOptionswas renamed toUrlReaderServiceSearchOptionsSearchResponsewas renamed toUrlReaderServiceSearchResponseSearchResponseFilewas renamed toUrlReaderServiceSearchResponseFile
-
Updated dependencies
- @backstage/plugin-auth-node@0.4.14-next.3
- @backstage/plugin-permission-common@0.7.14-next.0
- @backstage/cli-common@0.1.14-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.6.19-next.2
Patch Changes
3aa3fc7: Marked theTokenManagerServiceandIdentityServicetypes as deprecated- Updated dependencies
- @backstage/plugin-auth-node@0.4.14-next.2
- @backstage/cli-common@0.1.13
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.13
0.6.19-next.1
Patch Changes
9e63318: Added an optionalaccessRestrictionsto external access service tokens and service principals in general, such that you can limit their access to certain plugins or permissions.0665b7e: RenamedBackendPluginConfig,BackendModuleConfig, andExtensionPointConfigrespectively toCreateBackendPluginOptions,CreateBackendModuleOptions, andCreateExtensionPointOptionsto standardize frontend and backend factories signatures.- Updated dependencies
- @backstage/plugin-auth-node@0.4.14-next.1
0.6.19-next.0
Patch Changes
6551b3d: Moved the declaration of theSchedulerServicehere, along with prefixed versions of all of the types it depends on, from@backstage/backend-tasks1779188: Start using theisDatabaseConflictErrorhelper from the@backstage/backend-plugin-apipackage in order to avoid dependency with the soon to deprecate@backstage/backend-commonpackage.- Updated dependencies
- @backstage/plugin-auth-node@0.4.14-next.0
- @backstage/cli-common@0.1.13
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.13
0.6.18
Patch Changes
d229dc4: Move path utilities frombackend-commonto thebackend-plugin-apipackage.1fedf0c: Removed explicittoString()method fromServiceReftype.- Updated dependencies
- @backstage/backend-tasks@0.5.23
- @backstage/plugin-auth-node@0.4.13
0.6.18-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.23-next.1
- @backstage/plugin-auth-node@0.4.13-next.1
0.6.18-next.0
Patch Changes
1fedf0c: Removed explicittoString()method fromServiceReftype.- Updated dependencies
- @backstage/plugin-auth-node@0.4.13-next.0
- @backstage/backend-tasks@0.5.23-next.0
- @backstage/config@1.2.0
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.13
0.6.17
Patch Changes
007e7ea: Added a new requiredlistPublicServiceKeystoAuthService.54f2ac8: Addedinitializationoption tocreateServiceFactorywhich defines the initialization strategy for the service. The default strategy mimics the current behavior where plugin scoped services are initialized lazily by default and root scoped services are initialized eagerly.4fecffc: The credentials passed to theissueUserCookiemethod of theHttpAuthServiceare no longer required to represent a user principal.- Updated dependencies
- @backstage/backend-tasks@0.5.22
- @backstage/plugin-auth-node@0.4.12
- @backstage/config@1.2.0
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.13
0.6.17-next.1
Patch Changes
007e7ea: Added a new requiredlistPublicServiceKeystoAuthService.54f2ac8: Addedinitializationoption tocreateServiceFactorywhich defines the initialization strategy for the service. The default strategy mimics the current behavior where plugin scoped services are initialized lazily by default and root scoped services are initialized eagerly.4fecffc: The credentials passed to theissueUserCookiemethod of theHttpAuthServiceare no longer required to represent a user principal.- Updated dependencies
- @backstage/plugin-auth-node@0.4.12-next.1
- @backstage/backend-tasks@0.5.22-next.1
- @backstage/config@1.2.0
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.13
0.6.17-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.22-next.0
- @backstage/config@1.2.0
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.12-next.0
- @backstage/plugin-permission-common@0.7.13
0.6.16
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.4.11
- @backstage/backend-tasks@0.5.21
- @backstage/config@1.2.0
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.13
0.6.15
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.4.10
- @backstage/backend-tasks@0.5.20
- @backstage/config@1.2.0
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.13
0.6.14
Patch Changes
-
4a3d434: Added the newauth,httpAuth, anduserInfoservices that were created as part of BEP-0003 to thecoreServices.At the same time, the
httpRouterservice gained a newaddAuthPolicymethod that lets your plugin declare exemptions to the default auth policy - for example if you want to allow unauthenticated or cookie-based access to some subset of your feature routes.If you have migrated to the new backend system, please see the Auth Service Migration tutorial for more information on how to move toward using these services.
-
0502d82: Updated thePermissionsServicemethods to acceptBackstageCredentialsthrough options. -
Updated dependencies
- @backstage/plugin-auth-node@0.4.9
- @backstage/config@1.2.0
- @backstage/plugin-permission-common@0.7.13
- @backstage/backend-tasks@0.5.19
- @backstage/types@1.1.1
0.6.14-next.2
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.4.9-next.2
- @backstage/backend-tasks@0.5.19-next.2
- @backstage/config@1.2.0-next.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.13-next.1
0.6.14-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0-next.1
- @backstage/backend-tasks@0.5.19-next.1
- @backstage/plugin-auth-node@0.4.9-next.1
- @backstage/plugin-permission-common@0.7.13-next.1
- @backstage/types@1.1.1
0.6.13-next.0
Patch Changes
-
4a3d434: Added the newauth,httpAuth, anduserInfoservices that were created as part of BEP-0003 to thecoreServices.At the same time, the
httpRouterservice gained a newaddAuthPolicymethod that lets your plugin declare exemptions to the default auth policy - for example if you want to allow unauthenticated or cookie-based access to some subset of your feature routes.If you have migrated to the new backend system, please see the Auth Service Migration tutorial for more information on how to move toward using these services.
-
0502d82: Updated thePermissionsServicemethods to acceptBackstageCredentialsthrough options. -
Updated dependencies
- @backstage/plugin-auth-node@0.4.8-next.0
- @backstage/plugin-permission-common@0.7.13-next.0
- @backstage/backend-tasks@0.5.18-next.0
- @backstage/config@1.1.2-next.0
- @backstage/types@1.1.1
0.6.10
Patch Changes
9aac2b0: Use--cwdas the firstyarnargument1f020fe: SupporttokeninreadTree,readUrlandsearch- Updated dependencies
- @backstage/plugin-auth-node@0.4.4
- @backstage/backend-tasks@0.5.15
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.12
0.6.10-next.3
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.15-next.3
- @backstage/plugin-auth-node@0.4.4-next.3
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.12
0.6.10-next.2
Patch Changes
9aac2b0: Use--cwdas the firstyarnargument- Updated dependencies
- @backstage/backend-tasks@0.5.15-next.2
- @backstage/plugin-auth-node@0.4.4-next.2
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.12
0.6.10-next.1
Patch Changes
1f020fe: SupporttokeninreadTree,readUrlandsearch- Updated dependencies
- @backstage/backend-tasks@0.5.15-next.1
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.4-next.1
- @backstage/plugin-permission-common@0.7.12
0.6.10-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.15-next.0
- @backstage/plugin-auth-node@0.4.4-next.0
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.12
0.6.9
Patch Changes
516fd3e: Updated README to reflect release status- Updated dependencies
- @backstage/plugin-permission-common@0.7.12
- @backstage/backend-tasks@0.5.14
- @backstage/plugin-auth-node@0.4.3
- @backstage/config@1.1.1
- @backstage/types@1.1.1
0.6.9-next.2
Patch Changes
516fd3e: Updated README to reflect release status- Updated dependencies
- @backstage/plugin-auth-node@0.4.3-next.2
- @backstage/backend-tasks@0.5.14-next.2
0.6.9-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.1.1
- @backstage/backend-tasks@0.5.14-next.1
- @backstage/plugin-auth-node@0.4.3-next.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.11
0.6.9-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.14-next.0
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.3-next.0
- @backstage/plugin-permission-common@0.7.11
0.6.8
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.13
- @backstage/plugin-auth-node@0.4.2
- @backstage/plugin-permission-common@0.7.11
- @backstage/config@1.1.1
- @backstage/types@1.1.1
0.6.8-next.3
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.13-next.3
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.2-next.3
- @backstage/plugin-permission-common@0.7.10
0.6.8-next.2
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.4.2-next.2
- @backstage/backend-tasks@0.5.13-next.2
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.10
0.6.8-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.13-next.1
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.2-next.1
- @backstage/plugin-permission-common@0.7.10
0.6.8-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.13-next.0
- @backstage/plugin-auth-node@0.4.2-next.0
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.10
0.6.7
Patch Changes
013611b42e:knexhas been bumped to major version 3 andbetter-sqlite3to major version 9, which deprecate node 16 support.- Updated dependencies
- @backstage/backend-tasks@0.5.12
- @backstage/plugin-permission-common@0.7.10
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.1
0.6.7-next.2
Patch Changes
-
#20570
013611b42eThanks @freben! -knexhas been bumped to major version 3 andbetter-sqlite3to major version 9, which deprecate node 16 support. -
Updated dependencies
- @backstage/backend-tasks@0.5.12-next.2
- @backstage/plugin-auth-node@0.4.1-next.2
0.6.7-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.12-next.1
- @backstage/plugin-auth-node@0.4.1-next.1
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.9
0.6.7-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.12-next.0
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.1-next.0
- @backstage/plugin-permission-common@0.7.9
0.6.6
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.11
- @backstage/plugin-auth-node@0.4.0
- @backstage/config@1.1.1
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.9
0.6.6-next.2
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.4.0-next.2
- @backstage/backend-tasks@0.5.11-next.2
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.9-next.0
0.6.5-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.10-next.1
- @backstage/plugin-auth-node@0.3.2-next.1
- @backstage/config@1.1.0
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.8
0.6.5-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.3.2-next.0
- @backstage/config@1.1.0
- @backstage/backend-tasks@0.5.10-next.0
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.8
0.6.3
Patch Changes
ba4506076e: Ensure that root scoped services cannot accept (at a type level) plugin scoped deps474b792d6a: Service factory functions are now marked as feature factories that can be installed in the backend.- Updated dependencies
- @backstage/backend-tasks@0.5.8
- @backstage/plugin-auth-node@0.3.0
- @backstage/config@1.1.0
- @backstage/plugin-permission-common@0.7.8
- @backstage/types@1.1.1
0.6.3-next.3
Patch Changes
ba4506076e: Ensure that root scoped services cannot accept (at a type level) plugin scoped deps474b792d6a: Service factory functions are now marked as feature factories that can be installed in the backend.- Updated dependencies
- @backstage/config@1.1.0-next.2
- @backstage/plugin-permission-common@0.7.8-next.2
- @backstage/types@1.1.1-next.0
- @backstage/backend-tasks@0.5.8-next.3
- @backstage/plugin-auth-node@0.3.0-next.3
0.6.3-next.2
Patch Changes
- Updated dependencies
- @backstage/config@1.1.0-next.1
- @backstage/backend-tasks@0.5.8-next.2
- @backstage/plugin-auth-node@0.3.0-next.2
- @backstage/plugin-permission-common@0.7.8-next.1
- @backstage/types@1.1.0
0.6.3-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.1.0-next.0
- @backstage/backend-tasks@0.5.8-next.1
- @backstage/plugin-auth-node@0.3.0-next.1
- @backstage/plugin-permission-common@0.7.8-next.0
- @backstage/types@1.1.0
0.6.2-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.3.0-next.0
- @backstage/backend-tasks@0.5.7-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-permission-common@0.7.7
0.6.0
Minor Changes
c49785f00c: BREAKING: It is no longer possible to declare options as being required withcreateServiceFactory.629cbd194a: BREAKING: RenamedcoreServices.configtocoreServices.rootConfig.51987dbdaf: BREAKING: Removed the ability to define options for plugins and modules. Existing options should be migrated to instead use either static configuration or extension points.d008aefef8: BREAKING: Removing shared environments concept from the new experimental backend system.
Patch Changes
-
c7aa4ff179: Allow modules to register extension points. -
cc9256a33b: Added new experimentalfeatureDiscoveryServiceRef, available as an/alphaexport. -
a6d7983f34: BREAKING: Removed theservicesoption fromcreateBackend. Service factories are nowBackendFeatures and should be installed withbackend.add(...)instead. The following should be migrated:const backend = createBackend({ services: [myCustomServiceFactory] });To instead pass the service factory via
backend.add(...):const backend = createBackend(); backend.add(customRootLoggerServiceFactory); -
Updated dependencies
- @backstage/plugin-auth-node@0.2.17
- @backstage/backend-tasks@0.5.5
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-permission-common@0.7.7
0.6.0-next.2
Patch Changes
cc9256a33b: Added new experimentalfeatureDiscoveryServiceRef, available as an/alphaexport.- Updated dependencies
- @backstage/backend-tasks@0.5.5-next.2
- @backstage/plugin-auth-node@0.2.17-next.2
0.6.0-next.1
Minor Changes
629cbd194a: BREAKING: RenamedcoreServices.configtocoreServices.rootConfig.d008aefef8: BREAKING: Removing shared environments concept from the new experimental backend system.
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.2.17-next.1
- @backstage/backend-tasks@0.5.5-next.1
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-permission-common@0.7.7
0.5.5-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.5-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-auth-node@0.2.17-next.0
- @backstage/plugin-permission-common@0.7.7
0.5.4
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.4
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-auth-node@0.2.16
- @backstage/plugin-permission-common@0.7.7
0.5.4-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.4-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-auth-node@0.2.16-next.0
- @backstage/plugin-permission-common@0.7.7-next.0
0.5.3
Patch Changes
3bb4158a8a: Added startup hooks to the lifecycle services.- Updated dependencies
- @backstage/types@1.1.0
- @backstage/backend-tasks@0.5.3
- @backstage/plugin-auth-node@0.2.15
- @backstage/config@1.0.8
- @backstage/plugin-permission-common@0.7.6
0.5.3-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.3-next.2
- @backstage/config@1.0.7
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.15-next.2
- @backstage/plugin-permission-common@0.7.6-next.0
0.5.3-next.1
Patch Changes
3bb4158a8a: Added startup hooks to the lifecycle services.- Updated dependencies
- @backstage/backend-tasks@0.5.3-next.1
- @backstage/plugin-auth-node@0.2.15-next.1
- @backstage/plugin-permission-common@0.7.6-next.0
- @backstage/config@1.0.7
- @backstage/types@1.0.2
0.5.3-next.0
Patch Changes
- Updated dependencies
- @backstage/config@1.0.7
- @backstage/backend-tasks@0.5.3-next.0
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.15-next.0
- @backstage/plugin-permission-common@0.7.5
0.5.2
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.2
- @backstage/plugin-auth-node@0.2.14
- @backstage/config@1.0.7
- @backstage/types@1.0.2
- @backstage/plugin-permission-common@0.7.5
0.5.2-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.2-next.1
- @backstage/plugin-auth-node@0.2.14-next.1
- @backstage/config@1.0.7
0.5.2-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.2-next.0
- @backstage/plugin-auth-node@0.2.14-next.0
- @backstage/config@1.0.7
- @backstage/types@1.0.2
- @backstage/plugin-permission-common@0.7.5
0.5.1
Patch Changes
- Updated dependencies
- @backstage/plugin-permission-common@0.7.5
- @backstage/backend-tasks@0.5.1
- @backstage/plugin-auth-node@0.2.13
- @backstage/config@1.0.7
- @backstage/types@1.0.2
0.5.1-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.1-next.2
- @backstage/config@1.0.7
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.13-next.2
- @backstage/plugin-permission-common@0.7.5-next.0
0.5.1-next.1
Patch Changes
- Updated dependencies
- @backstage/plugin-permission-common@0.7.5-next.0
- @backstage/backend-tasks@0.5.1-next.1
- @backstage/config@1.0.7
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.13-next.1
0.5.1-next.0
Patch Changes
- Updated dependencies
- @backstage/config@1.0.7
- @backstage/backend-tasks@0.5.1-next.0
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.13-next.0
- @backstage/plugin-permission-common@0.7.4
0.5.0
Minor Changes
c1ee073a82: AddedlastModifiedAtfield onUrlReaderServiceresponses and alastModifiedAfteroption toUrlReaderService.readUrl.
Patch Changes
928a12a9b3: Internal refactor of/alphaexports.482dae5de1: Updated link to docs.- Updated dependencies
- @backstage/plugin-auth-node@0.2.12
- @backstage/backend-tasks@0.5.0
- @backstage/plugin-permission-common@0.7.4
- @backstage/config@1.0.7
- @backstage/types@1.0.2
0.4.1-next.2
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.2.12-next.2
- @backstage/backend-tasks@0.5.0-next.2
- @backstage/config@1.0.7-next.0
0.4.1-next.1
Patch Changes
482dae5de1: Updated link to docs.- Updated dependencies
- @backstage/plugin-auth-node@0.2.12-next.1
- @backstage/plugin-permission-common@0.7.4-next.0
- @backstage/backend-tasks@0.4.4-next.1
- @backstage/config@1.0.7-next.0
- @backstage/types@1.0.2
0.4.1-next.0
Patch Changes
928a12a9b3: Internal refactor of/alphaexports.- Updated dependencies
- @backstage/backend-tasks@0.4.4-next.0
- @backstage/config@1.0.6
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.12-next.0
- @backstage/plugin-permission-common@0.7.3
0.4.0
Minor Changes
e716946103: BREAKING: Split out the hook for both lifecycle services so that the first parameter ofaddShutdownHookis the hook function, and the second is the options.0ff03319be: BREAKING: The plugin ID option passed tocreateBackendPluginis nowpluginId, rather than justid. This is to make it matchcreateBackendModulemore closely.71a5ec0f06: BREAKING: Switched outLogMetatype forJsonObject.5febb216fe: BREAKING: TheCacheServicehas been changed to remove the indirection ofgetClient, instead making theCacheClientmethods directly available on theCacheService. In order to allow for the creation of clients with default options, there is now a new.withOptionsmethod that must be implemented as part of the service interface.b86efa2d04: SwitchServiceFactoryto be an opaque type, keeping only theservicefield as public API, but also adding a type parameter for the service scope.610d65e143: SwitchedBackendFeatureto be an opaque type.
Patch Changes
9c9456fd33: Removed the unusedTypesToServiceReftype181c03edb5: Aligned opaque type markers to all use a$typeproperty with namespacing.725383f69d: Tweaked messaging in the README.ae88f61e00: Theregistermethods passed tocreateBackendPluginandcreateBackendModulenow have dedicatedBackendPluginRegistrationPointsandBackendModuleRegistrationPointsarguments, respectively. This lets us make it clear on a type level that it's not possible to pass in extension points as dependencies to plugins (should only ever be done for modules). This has no practical effect on code that was already well behaved.- Updated dependencies
- @backstage/backend-tasks@0.4.3
- @backstage/config@1.0.6
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.11
- @backstage/plugin-permission-common@0.7.3
0.4.0-next.2
Minor Changes
e716946103: BREAKING: Split out the hook for both lifecycle services so that the first parameter ofaddShutdownHookis the hook function, and the second is the options.0ff03319be: BREAKING: The plugin ID option passed tocreateBackendPluginis nowpluginId, rather than justid. This is to make it matchcreateBackendModulemore closely.71a5ec0f06: BREAKING: Switched outLogMetatype forJsonObject.610d65e143: SwitchedBackendFeatureto be an opaque type.
Patch Changes
9c9456fd33: Removed the unusedTypesToServiceReftype181c03edb5: Aligned opaque type markers to all use a$typeproperty with namespacing.- Updated dependencies
- @backstage/backend-tasks@0.4.3-next.2
- @backstage/plugin-auth-node@0.2.11-next.2
- @backstage/config@1.0.6
- @backstage/types@1.0.2
- @backstage/plugin-permission-common@0.7.3
0.3.2-next.1
Patch Changes
ae88f61e00: Theregistermethods passed tocreateBackendPluginandcreateBackendModulenow have dedicatedBackendPluginRegistrationPointsandBackendModuleRegistrationPointsarguments, respectively. This lets us make it clear on a type level that it's not possible to pass in extension points as dependencies to plugins (should only ever be done for modules). This has no practical effect on code that was already well behaved.- Updated dependencies
- @backstage/backend-tasks@0.4.3-next.1
- @backstage/config@1.0.6
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.11-next.1
- @backstage/plugin-permission-common@0.7.3
0.3.2-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.4.3-next.0
- @backstage/plugin-auth-node@0.2.11-next.0
0.3.0
Minor Changes
8e06f3cf00: MovedloggerToWinstonLoggerto@backstage/backend-common.ecbec4ec4c: Updated all factory function creators to accept options as a top-level callback rather than extra parameter to the main factory function.
Patch Changes
-
6cfd4d7073: AddedRootLifecycleServiceandrootLifecycleServiceRef, as well as added aloggeroption to the existingLifecycleServiceShutdownHook. -
ecc6bfe4c9: AddedServiceFactoryOrFunctiontype, for use when either aServiceFactoryor() => ServiceFactorycan be used. -
5b7bcd3c5e: AddedcreateSharedEnvironmentfor creating a shared environment containing commonly used services in a split backend setup of the backend. -
02b119ff93: Added a newrootHttpRouterServiceRefandRootHttpRouterServiceinterface. -
5e2cebe9a3: MigrateUrlReaderinto this package to gradually remove the dependency on backend-common. -
843a0a158c: Added new core identity service. -
5437fe488f: Migrated types related toTokenManagerService,CacheServiceandDatabaseServiceinto backend-plugin-api. -
6f02d23b01: MovedPluginEndpointDiscoverytype from backend-common to backend-plugin-api. -
483e907eaf: ThecreateServiceFactoryfunction has been updated to no longer use a duplicate callback pattern for plugin scoped services. The outer callback is now replaced by an optionalcreateRootContextmethod. This change was made in order to support TypeScript 4.9, but it also simplifies the API surface a bit, especially for plugin scoped service factories that don't need to create a root context. In addition, the factory and root context functions can now be synchronous.A factory that previously would have looked like this:
createServiceFactory({ service: coreServices.cache, deps: { config: coreServices.config, plugin: coreServices.pluginMetadata, }, async factory({ config }) { const cacheManager = CacheManager.fromConfig(config); return async ({ plugin }) => { return cacheManager.forPlugin(plugin.getId()); }; }, });Now instead looks like this:
createServiceFactory({ service: coreServices.cache, deps: { config: coreServices.config, plugin: coreServices.pluginMetadata, }, async createRootContext({ config }) { return CacheManager.fromConfig(config); }, async factory({ plugin }, manager) { return manager.forPlugin(plugin.getId()); }, });Although in many cases the
createRootContextisn't needed, for example:createServiceFactory({ service: coreServices.logger, deps: { rootLogger: coreServices.rootLogger, plugin: coreServices.pluginMetadata, }, factory({ rootLogger, plugin }) { return rootLogger.child({ plugin: plugin.getId() }); }, }); -
16054afdec: DocumentedcoreServicesan all of its members. -
0e63aab311: Updated theRootLoggerServiceto also have anaddRedactionsmethod. -
62b04bb865: Updates allcreate*methods to simplify their type definitions and ensure they all have configuration interfaces. -
Updated dependencies
- @backstage/backend-tasks@0.4.1
- @backstage/config@1.0.6
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.9
- @backstage/plugin-permission-common@0.7.3
0.3.0-next.1
Minor Changes
8e06f3cf00: MovedloggerToWinstonLoggerto@backstage/backend-common.
Patch Changes
ecc6bfe4c9: AddedServiceFactoryOrFunctiontype, for use when either aServiceFactoryor() => ServiceFactorycan be used.02b119ff93: Added a newrootHttpRouterServiceRefandRootHttpRouterServiceinterface.5437fe488f: Migrated types related toTokenManagerService,CacheServiceandDatabaseServiceinto backend-plugin-api.16054afdec: DocumentedcoreServicesan all of its members.62b04bb865: Updates allcreate*methods to simplify their type definitions and ensure they all have configuration interfaces.- Updated dependencies
- @backstage/backend-tasks@0.4.1-next.1
- @backstage/config@1.0.6-next.0
- @backstage/types@1.0.2
- @backstage/plugin-permission-common@0.7.3-next.0
0.2.1-next.0
Patch Changes
6cfd4d7073: AddedRootLifecycleServiceandrootLifecycleServiceRef, as well as added alabelsoption to the existingLifecycleServiceShutdownHook.5e2cebe9a3: MigrateUrlReaderinto this package to gradually remove the dependency on backend-common.6f02d23b01: MovedPluginEndpointDiscoverytype from backend-common to backend-plugin-api.- Updated dependencies
- @backstage/backend-common@0.18.0-next.0
- @backstage/config@1.0.6-next.0
- @backstage/backend-tasks@0.4.1-next.0
- @backstage/plugin-permission-common@0.7.3-next.0
0.2.0
Minor Changes
884d749b14: BREAKING: All core service references are now exported via a singlecoreServicesobject. For example, theloggerServiceRefis now accessed viacoreServices.loggerinstead.a025190552: BREAKING: All service interfaces are now suffixed with*Service.
Patch Changes
cb1c2781c0: UpdatedLoggerServiceinterface with more log methods and meta.d6dbf1792b: Added initial support for registering shutdown hooks vialifecycleServiceRef.- Updated dependencies
- @backstage/backend-common@0.17.0
- @backstage/backend-tasks@0.4.0
- @backstage/plugin-permission-common@0.7.2
- @backstage/config@1.0.5
0.2.0-next.3
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.4.0-next.3
- @backstage/plugin-permission-common@0.7.2-next.2
- @backstage/backend-common@0.17.0-next.3
- @backstage/config@1.0.5-next.1
0.2.0-next.2
Minor Changes
884d749b14: BREAKING: All core service references are now exported via a singlecoreServicesobject. For example, theloggerServiceRefis now accessed viacoreServices.loggerinstead.
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.17.0-next.2
- @backstage/backend-tasks@0.4.0-next.2
- @backstage/config@1.0.5-next.1
- @backstage/plugin-permission-common@0.7.2-next.1
0.1.5-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.17.0-next.1
- @backstage/backend-tasks@0.4.0-next.1
- @backstage/config@1.0.5-next.1
- @backstage/plugin-permission-common@0.7.2-next.1
0.1.5-next.0
Patch Changes
d6dbf1792b: Added initial support for registering shutdown hooks vialifecycleServiceRef.- Updated dependencies
- @backstage/backend-common@0.16.1-next.0
- @backstage/plugin-permission-common@0.7.2-next.0
- @backstage/backend-tasks@0.3.8-next.0
- @backstage/config@1.0.5-next.0
0.1.4
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.16.0
- @backstage/backend-tasks@0.3.7
- @backstage/plugin-permission-common@0.7.1
- @backstage/config@1.0.4
0.1.4-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.16.0-next.1
- @backstage/backend-tasks@0.3.7-next.1
- @backstage/config@1.0.4-next.0
- @backstage/plugin-permission-common@0.7.1-next.0
0.1.4-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.16.0-next.0
- @backstage/backend-tasks@0.3.7-next.0
- @backstage/plugin-permission-common@0.7.1-next.0
- @backstage/config@1.0.4-next.0
0.1.3
Patch Changes
28377dc89f: Allow interfaces to be used for inferred option types.a35a27df70: Added documentation forcreateBackendModule, with guidelines for choosing a module ID.- Updated dependencies
- @backstage/backend-common@0.15.2
- @backstage/backend-tasks@0.3.6
- @backstage/plugin-permission-common@0.7.0
- @backstage/config@1.0.3
0.1.3-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.3.6-next.2
- @backstage/backend-common@0.15.2-next.2
- @backstage/plugin-permission-common@0.7.0-next.2
- @backstage/config@1.0.3-next.2
0.1.3-next.1
Patch Changes
a35a27df70: Added documentation forcreateBackendModule, with guidelines for choosing a module ID.- Updated dependencies
- @backstage/backend-common@0.15.2-next.1
- @backstage/backend-tasks@0.3.6-next.1
- @backstage/config@1.0.3-next.1
- @backstage/plugin-permission-common@0.6.5-next.1
0.1.3-next.0
Patch Changes
28377dc89f: Allow interfaces to be used for inferred option types.- Updated dependencies
- @backstage/backend-common@0.15.2-next.0
- @backstage/backend-tasks@0.3.6-next.0
- @backstage/config@1.0.3-next.0
- @backstage/plugin-permission-common@0.6.5-next.0
0.1.2
Patch Changes
2c57c0c499: MadeApiRef.defaultFactoryinternal.91eed37a39: UpdatedcreateBackendPluginandcreateBackendModuleto properly forward lack of options.409ed984e8: Service are now scoped to either'plugin'or'root'scope. Service factories have been updated to provide dependency instances directly rather than factory functions.eef91a2558: Simplified theServiceFactorytype and removedAnyServiceFactory.854ba37357: ThecreateServiceFactorymethod has been updated to return a higher-order factory that can accept options.68513f169a: When defining a newServiceRefyou can now also include adefaultFactory, which will be used to construct instances of the service in case there is no explicit factory defined.- Updated dependencies
- @backstage/backend-common@0.15.1
- @backstage/backend-tasks@0.3.5
- @backstage/config@1.0.2
- @backstage/plugin-permission-common@0.6.4
0.1.2-next.2
Patch Changes
409ed984e8: Service are now scoped to either'plugin'or'root'scope. Service factories have been updated to provide dependency instances directly rather than factory functions.854ba37357: ThecreateServiceFactorymethod has been updated to return a higher-order factory that can accept options.- Updated dependencies
- @backstage/config@1.0.2-next.0
- @backstage/plugin-permission-common@0.6.4-next.2
- @backstage/backend-common@0.15.1-next.3
- @backstage/backend-tasks@0.3.5-next.1
0.1.2-next.1
Patch Changes
2c57c0c499: MadeApiRef.defaultFactoryinternal.91eed37a39: UpdatedcreateBackendPluginandcreateBackendModuleto properly forward lack of options.- Updated dependencies
- @backstage/backend-common@0.15.1-next.2
- @backstage/plugin-permission-common@0.6.4-next.1
0.1.2-next.0
Patch Changes
eef91a2558: Simplified theServiceFactorytype and removedAnyServiceFactory.68513f169a: When defining a newServiceRefyou can now also include adefaultFactory, which will be used to construct instances of the service in case there is no explicit factory defined.- Updated dependencies
- @backstage/backend-common@0.15.1-next.0
- @backstage/backend-tasks@0.3.5-next.0
- @backstage/plugin-permission-common@0.6.4-next.0
0.1.1
Patch Changes
0599732ec0: Refactored experimental backend system with new type names.34c2f5aca1: The factory returned bycreateBackendPluginandcreateBackendModuleno longer require a parameter to be passed if the options are optional.- Updated dependencies
- @backstage/backend-common@0.15.0
- @backstage/backend-tasks@0.3.4
0.1.1-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.15.0-next.0
- @backstage/backend-tasks@0.3.4-next.0
0.1.0
Minor Changes
91c1d12123: Introduced new package for creating backend plugins using the new alpha backend plugin framework. This package is still considered EXPERIMENTAL and things will change without warning. Do not use this for production.
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.14.1
- @backstage/plugin-permission-common@0.6.3
- @backstage/backend-tasks@0.3.3
0.1.0-next.0
Minor Changes
91c1d12123: Introduced new package for creating backend plugins using the new alpha backend plugin framework. This package is still considered EXPERIMENTAL and things will change without warning. Do not use this for production.
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.14.1-next.3
- @backstage/plugin-permission-common@0.6.3-next.1
- @backstage/backend-tasks@0.3.3-next.3