97 KiB
@backstage/backend-test-utils
1.11.4-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.17.2-next.0
- @backstage/plugin-auth-node@0.7.2-next.0
- @backstage/backend-app-api@1.7.1-next.0
- @backstage/backend-plugin-api@1.9.2-next.0
- @backstage/plugin-events-node@0.4.23-next.0
1.11.3
Patch Changes
7fb12b8: Added a new tracing service mock to be leveraged in testsada7df7: FixedmockCredentialsto include the internalversion: 'v1'field on all credential objects (none(),user(),limitedUser(),service()), and fixeduser()to encode the user entity ref into the token (matchinguser.token(ref)behavior). This makes mock credentials compatible withtoInternalBackstageCredentials(), which validates the version field, and ensures that credentials for different users produce different tokens.e9b78e9: Removed theuuiddependency and replaced usage with the built-incrypto.randomUUID().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/backend-plugin-api@1.9.1
- @backstage/backend-defaults@0.17.1
- @backstage/backend-app-api@1.7.0
- @backstage/plugin-auth-node@0.7.1
- @backstage/plugin-permission-common@0.9.9
- @backstage/config@1.3.8
- @backstage/plugin-events-node@0.4.22
1.11.3-next.2
Patch Changes
7fb12b8: Added a new tracing service mock to be leveraged in tests- Updated dependencies
- @backstage/backend-plugin-api@1.9.1-next.1
- @backstage/backend-defaults@0.17.1-next.2
1.11.3-next.1
Patch Changes
e9b78e9: Removed theuuiddependency and replaced usage with the built-incrypto.randomUUID().- Updated dependencies
- @backstage/backend-defaults@0.17.1-next.1
- @backstage/plugin-auth-node@0.7.1-next.1
- @backstage/plugin-permission-common@0.9.9-next.1
1.11.3-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.3.1-next.0
- @backstage/backend-app-api@1.7.0-next.0
- @backstage/backend-defaults@0.17.1-next.0
- @backstage/plugin-auth-node@0.7.1-next.0
- @backstage/backend-plugin-api@1.9.1-next.0
- @backstage/config@1.3.8-next.0
- @backstage/plugin-events-node@0.4.22-next.0
- @backstage/plugin-permission-common@0.9.9-next.0
- @backstage/types@1.2.2
1.11.2
Patch 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.f44c6bd: Deduplicated internal readiness-polling helpers used by the database and cache test infrastructure.- Updated dependencies
- @backstage/backend-plugin-api@1.9.0
- @backstage/backend-defaults@0.17.0
- @backstage/errors@1.3.0
- @backstage/plugin-auth-node@0.7.0
- @backstage/backend-app-api@1.6.1
- @backstage/config@1.3.7
- @backstage/plugin-events-node@0.4.21
- @backstage/plugin-permission-common@0.9.8
1.11.2-next.2
Patch Changes
- Updated dependencies
- @backstage/errors@1.3.0-next.0
- @backstage/plugin-auth-node@0.7.0-next.2
- @backstage/backend-app-api@1.6.1-next.2
- @backstage/backend-defaults@0.16.1-next.2
- @backstage/backend-plugin-api@1.9.0-next.2
- @backstage/config@1.3.7-next.0
- @backstage/plugin-events-node@0.4.21-next.2
- @backstage/plugin-permission-common@0.9.8-next.0
1.11.2-next.1
Patch 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.- Updated dependencies
- @backstage/backend-plugin-api@1.9.0-next.1
- @backstage/backend-defaults@0.16.1-next.1
- @backstage/plugin-auth-node@0.7.0-next.1
- @backstage/backend-app-api@1.6.1-next.1
- @backstage/plugin-events-node@0.4.21-next.1
1.11.2-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.16.1-next.0
- @backstage/backend-plugin-api@1.8.1-next.0
- @backstage/backend-app-api@1.6.1-next.0
- @backstage/plugin-auth-node@0.6.15-next.0
- @backstage/plugin-events-node@0.4.21-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.11.1
Patch Changes
dee4283: AddedpluginIdfield toActionsServiceActiontype, populated from the registering plugin's metadata.164711a: AddedcancelTasktoMockSchedulerServiceand mock scheduler service factory.62f0a53: Fixed error forwarding in the actions registry so that known errors likeInputErrorandNotFoundErrorthrown by actions preserve their original status codes and messages instead of being wrapped inForwardedErrorand coerced to 500.a49a40d: Updated dependencyzodto^3.25.76 || ^4.0.0& migrated to/v3or/v4imports.1ee5b28: Adds a new metrics service mock to be leveraged in tests- Updated dependencies
- @backstage/backend-plugin-api@1.8.0
- @backstage/backend-defaults@0.16.0
- @backstage/plugin-permission-common@0.9.7
- @backstage/plugin-auth-node@0.6.14
- @backstage/backend-app-api@1.6.0
- @backstage/plugin-events-node@0.4.20
1.11.1-next.2
Patch Changes
164711a: AddedcancelTasktoMockSchedulerServiceand mock scheduler service factory.- Updated dependencies
- @backstage/backend-plugin-api@1.8.0-next.1
- @backstage/backend-defaults@0.16.0-next.2
- @backstage/backend-app-api@1.6.0-next.1
- @backstage/plugin-auth-node@0.6.14-next.2
- @backstage/plugin-events-node@0.4.20-next.1
1.11.1-next.1
Patch Changes
62f0a53: Fixed error forwarding in the actions registry so that known errors likeInputErrorandNotFoundErrorthrown by actions preserve their original status codes and messages instead of being wrapped inForwardedErrorand coerced to 500.- Updated dependencies
- @backstage/backend-defaults@0.16.0-next.1
- @backstage/plugin-auth-node@0.6.14-next.1
- @backstage/backend-app-api@1.5.1-next.0
- @backstage/backend-plugin-api@1.7.1-next.0
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-events-node@0.4.20-next.0
- @backstage/plugin-permission-common@0.9.6
1.11.1-next.0
Patch Changes
1ee5b28: Adds a new metrics service mock to be leveraged in tests- Updated dependencies
- @backstage/backend-defaults@0.15.3-next.0
- @backstage/backend-plugin-api@1.7.1-next.0
- @backstage/backend-app-api@1.5.1-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-events-node@0.4.20-next.0
- @backstage/plugin-permission-common@0.9.6
1.11.0
Minor Changes
42abfb1: AddedcreateServiceMock, a public utility for creatingServiceMockinstances for custom service refs. This allows plugin authors to define mock creators for their own services following the same pattern as the built-inmockServicesmocks.
Patch Changes
f1d29b4: UpdatedstartTestBackendto support factory-based extension points (v1.1 format) in addition to the existing direct implementation format.7455dae: Use node prefix on native imports68eb322: Added@types/jestas an optional peer dependency, since jest types are exposed in the public API surface.69d880e: Bump to latest zod to ensure it has the latest features- Updated dependencies
- @backstage/backend-app-api@1.5.0
- @backstage/backend-plugin-api@1.7.0
- @backstage/backend-defaults@0.15.2
- @backstage/plugin-auth-node@0.6.13
- @backstage/plugin-permission-common@0.9.6
- @backstage/plugin-events-node@0.4.19
1.11.0-next.1
Minor Changes
42abfb1: AddedcreateServiceMock, a public utility for creatingServiceMockinstances for custom service refs. This allows plugin authors to define mock creators for their own services following the same pattern as the built-inmockServicesmocks.
Patch Changes
68eb322: Added@types/jestas an optional peer dependency, since jest types are exposed in the public API surface.- Updated dependencies
- @backstage/backend-app-api@1.5.0-next.1
- @backstage/backend-defaults@0.15.2-next.1
- @backstage/backend-plugin-api@1.7.0-next.1
- @backstage/plugin-auth-node@0.6.13-next.1
- @backstage/plugin-events-node@0.4.19-next.0
1.10.4-next.0
Patch Changes
f1d29b4: UpdatedstartTestBackendto support factory-based extension points (v1.1 format) in addition to the existing direct implementation format.7455dae: Use node prefix on native imports69d880e: Bump to latest zod to ensure it has the latest features- Updated dependencies
- @backstage/backend-plugin-api@1.7.0-next.0
- @backstage/backend-defaults@0.15.1-next.0
- @backstage/plugin-auth-node@0.6.12-next.0
- @backstage/backend-app-api@1.5.0-next.0
- @backstage/plugin-permission-common@0.9.5-next.0
- @backstage/plugin-events-node@0.4.19-next.0
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
1.10.3
Patch Changes
872eb91: Upgradezod-to-json-schemato latest version- Updated dependencies
- @backstage/backend-defaults@0.15.0
- @backstage/backend-plugin-api@1.6.1
- @backstage/backend-app-api@1.4.1
- @backstage/plugin-auth-node@0.6.11
- @backstage/plugin-permission-common@0.9.4
1.10.3-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.15.0-next.2
- @backstage/backend-app-api@1.4.0
- @backstage/plugin-auth-node@0.6.10
1.10.3-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.14.1-next.0
- @backstage/backend-app-api@1.4.0
- @backstage/backend-plugin-api@1.6.0
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-auth-node@0.6.10
- @backstage/plugin-events-node@0.4.18
- @backstage/plugin-permission-common@0.9.3
1.10.2
Patch Changes
de96a60: chore(deps): bumpexpressfrom 4.21.2 to 4.22.08be23a4: Switchedtextextensionsdependency fortext-extensions.5a737e1: Fix PostgreSQL 18TestDatabasesby pinning the data directory- Updated dependencies
- @backstage/plugin-auth-node@0.6.10
- @backstage/backend-defaults@0.14.0
- @backstage/plugin-events-node@0.4.18
- @backstage/backend-app-api@1.4.0
- @backstage/backend-plugin-api@1.6.0
1.10.2-next.1
Patch Changes
de96a60: chore(deps): bumpexpressfrom 4.21.2 to 4.22.08be23a4: Switchedtextextensionsdependency fortext-extensions.5a737e1: Fix PostgreSQL 18TestDatabasesby pinning the data directory- Updated dependencies
- @backstage/backend-defaults@0.14.0-next.1
- @backstage/plugin-auth-node@0.6.10-next.1
- @backstage/plugin-events-node@0.4.18-next.1
- @backstage/backend-plugin-api@1.6.0-next.1
- @backstage/backend-app-api@1.4.0-next.1
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-permission-common@0.9.3
1.10.1-next.0
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.10-next.0
- @backstage/backend-app-api@1.4.0-next.0
- @backstage/backend-defaults@0.14.0-next.0
- @backstage/backend-plugin-api@1.5.1-next.0
- @backstage/plugin-events-node@0.4.18-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.10.0
Minor Changes
-
d57b13b: Added support for Postgres 18 to the availableTestDatabases.Note that the set of default databases to test against for users of the
TestDatabasesclass was also updated to include Postgres 14 and 18, instead of 13 and 17. If you need to override this, you can pass in an explicitidsargument, for exampleids: ['POSTGRES_17', 'POSTGRES_13', 'SQLITE_3'].
Patch Changes
f3001fd: Tweak some of the mock services to have more precise types05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript'serasableSyntaxOnlysetting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.- Updated dependencies
- @backstage/backend-defaults@0.13.1
- @backstage/backend-plugin-api@1.5.0
- @backstage/backend-app-api@1.3.0
- @backstage/plugin-permission-common@0.9.3
- @backstage/plugin-events-node@0.4.17
- @backstage/plugin-auth-node@0.6.9
- @backstage/config@1.3.6
1.10.0-next.2
Patch Changes
f3001fd: Tweak some of the mock services to have more precise types- Updated dependencies
- @backstage/backend-plugin-api@1.5.0-next.2
1.10.0-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.13.1-next.1
- @backstage/backend-plugin-api@1.5.0-next.1
- @backstage/backend-app-api@1.3.0-next.1
- @backstage/plugin-permission-common@0.9.3-next.1
- @backstage/plugin-auth-node@0.6.9-next.1
- @backstage/plugin-events-node@0.4.17-next.1
1.10.0-next.0
Minor Changes
-
d57b13b: Added support for Postgres 18 to the availableTestDatabases.Note that the set of default databases to test against for users of the
TestDatabasesclass was also updated to include Postgres 14 and 18, instead of 13 and 17. If you need to override this, you can pass in an explicitidsargument, for exampleids: ['POSTGRES_17', 'POSTGRES_13', 'SQLITE_3'].
Patch Changes
05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript'serasableSyntaxOnlysetting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.- Updated dependencies
- @backstage/backend-defaults@0.13.1-next.0
- @backstage/plugin-events-node@0.4.17-next.0
- @backstage/plugin-auth-node@0.6.9-next.0
- @backstage/backend-app-api@1.2.9-next.0
- @backstage/config@1.3.6-next.0
- @backstage/backend-plugin-api@1.4.5-next.0
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-permission-common@0.9.3-next.0
1.9.1
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.13.0
- @backstage/backend-app-api@1.2.8
- @backstage/config@1.3.5
- @backstage/backend-plugin-api@1.4.4
- @backstage/plugin-auth-node@0.6.8
- @backstage/plugin-events-node@0.4.16
- @backstage/plugin-permission-common@0.9.2
1.9.1-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.3.4-next.0
- @backstage/backend-defaults@0.13.0-next.1
- @backstage/backend-app-api@1.2.8-next.0
- @backstage/backend-plugin-api@1.4.4-next.0
- @backstage/plugin-auth-node@0.6.8-next.0
- @backstage/plugin-permission-common@0.9.2-next.0
- @backstage/plugin-events-node@0.4.16-next.0
1.9.1-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.13.0-next.0
- @backstage/backend-app-api@1.2.7
- @backstage/plugin-auth-node@0.6.7
- @backstage/backend-plugin-api@1.4.3
- @backstage/config@1.3.3
- @backstage/errors@1.2.7
- @backstage/types@1.2.2
- @backstage/plugin-events-node@0.4.15
- @backstage/plugin-permission-common@0.9.1
1.9.0
Minor Changes
4e2c237: ThemockServices.rootConfig()instance now has anupdatemethod that can be used to test configuration subscriptions and updates.
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.12.1
- @backstage/plugin-auth-node@0.6.7
- @backstage/plugin-events-node@0.4.15
- @backstage/types@1.2.2
- @backstage/backend-app-api@1.2.7
- @backstage/backend-plugin-api@1.4.3
1.9.0-next.1
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.7-next.0
- @backstage/backend-defaults@0.12.1-next.0
- @backstage/backend-plugin-api@1.4.3-next.0
- @backstage/backend-app-api@1.2.7-next.0
- @backstage/plugin-events-node@0.4.15-next.0
1.9.0-next.0
Minor Changes
4e2c237: ThemockServices.rootConfig()instance now has anupdatemethod that can be used to test configuration subscriptions and updates.
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@1.2.6
- @backstage/backend-defaults@0.12.0
- @backstage/backend-plugin-api@1.4.2
- @backstage/config@1.3.3
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-auth-node@0.6.6
- @backstage/plugin-events-node@0.4.14
- @backstage/plugin-permission-common@0.9.1
1.8.0
Minor Changes
dffaf70: Switched outmockServices.schedulerto use a mocked implementation instead of the default scheduler implementation. This implementation runs any scheduled tasks immediately on startup, as long as they don't have an initial delay or a manual trigger. After the initial run, the tasks are never run again unless manually triggered.
Patch Changes
-
279e1f7: Updated the type definition ofmockErrorHandlerto ensure that it is used correctly.// This is wrong and will now result in a type error app.use(mockErrorHandler); // This is the correct usage app.use(mockErrorHandler()); -
3a7dad9: Updatedbetter-sqlite3to v12 -
Updated dependencies
- @backstage/backend-defaults@0.12.0
- @backstage/backend-app-api@1.2.6
- @backstage/plugin-auth-node@0.6.6
- @backstage/backend-plugin-api@1.4.2
- @backstage/plugin-events-node@0.4.14
1.7.1-next.0
Patch Changes
3a7dad9: Updatedbetter-sqlite3to v12- Updated dependencies
- @backstage/backend-defaults@0.11.2-next.0
- @backstage/backend-app-api@1.2.6-next.0
- @backstage/plugin-auth-node@0.6.6-next.0
- @backstage/backend-plugin-api@1.4.2-next.0
- @backstage/plugin-events-node@0.4.14-next.0
- @backstage/config@1.3.3
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.9.1
1.7.0
Minor Changes
ead925a: Add a standardtoStringon credentials objects
Patch Changes
- Updated dependencies
- @backstage/config@1.3.3
- @backstage/plugin-permission-common@0.9.1
- @backstage/backend-defaults@0.11.1
- @backstage/backend-app-api@1.2.5
- @backstage/backend-plugin-api@1.4.1
- @backstage/plugin-auth-node@0.6.5
- @backstage/plugin-events-node@0.4.13
1.7.0-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.3.3-next.0
- @backstage/plugin-permission-common@0.9.1-next.0
- @backstage/backend-defaults@0.11.1-next.1
- @backstage/backend-app-api@1.2.5-next.0
- @backstage/backend-plugin-api@1.4.1-next.0
- @backstage/plugin-auth-node@0.6.5-next.0
- @backstage/plugin-events-node@0.4.13-next.0
1.7.0-next.0
Minor Changes
ead925a: Add a standardtoStringon credentials objects
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.11.1-next.0
- @backstage/backend-app-api@1.2.4
- @backstage/plugin-auth-node@0.6.4
- @backstage/backend-plugin-api@1.4.0
- @backstage/plugin-events-node@0.4.12
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-permission-common@0.9.0
1.6.0
Minor Changes
-
6dfb7be: AddedmockServices.permissions()that can return actual results. -
c999c25: Added anactionsRegistryServiceMockandactionsServiceMockto/alphaexport for the experimental services.This allows you to write tests for your actions by doing something similar to the following:
import { actionsRegistryServiceMock } from '@backstage/backend-test-utils/alpha'; const mockActionsRegistry = actionsRegistryServiceMock(); const mockCatalog = catalogServiceMock({ entities: [ ... ], }); createGetCatalogEntityAction({ catalog: mockCatalog, actionsRegistry: mockActionsRegistry, }); await expect( mockActionsRegistry.invoke({ id: 'test:get-catalog-entity', input: { name: 'test' }, }), ).resolves.toEqual(...)
Patch Changes
12c1fd4: Make theusercredentials mock behave more like production- Updated dependencies
- @backstage/backend-defaults@0.11.0
- @backstage/plugin-auth-node@0.6.4
- @backstage/backend-app-api@1.2.4
- @backstage/backend-plugin-api@1.4.0
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.12
- @backstage/plugin-permission-common@0.9.0
1.6.0-next.2
Patch Changes
12c1fd4: Make theusercredentials mock behave more like production- Updated dependencies
- @backstage/backend-defaults@0.11.0-next.2
- @backstage/backend-app-api@1.2.4-next.2
- @backstage/backend-plugin-api@1.4.0-next.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-auth-node@0.6.4-next.1
- @backstage/plugin-events-node@0.4.12-next.1
1.6.0-next.1
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.4-next.1
- @backstage/backend-app-api@1.2.4-next.1
- @backstage/backend-defaults@0.10.1-next.1
- @backstage/backend-plugin-api@1.4.0-next.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.12-next.1
1.6.0-next.0
Minor Changes
c999c25: Added mock implementations forActionsServiceandActionsRegistryService
Patch Changes
- Updated dependencies
- @backstage/backend-plugin-api@1.4.0-next.0
- @backstage/backend-defaults@0.10.1-next.0
- @backstage/backend-app-api@1.2.4-next.0
- @backstage/plugin-auth-node@0.6.4-next.0
- @backstage/plugin-events-node@0.4.12-next.0
1.5.0
Minor Changes
b3832d1: Add a functionalmockServices.events()c6bc67d: Added Valkey support alongside Redis in backend-defaults cache clients, using the new Keyv Valkey package. Also extended backend-test-utils to support Valkey in tests.
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.10.0
- @backstage/backend-app-api@1.2.3
- @backstage/plugin-auth-node@0.6.3
- @backstage/backend-plugin-api@1.3.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.11
1.5.0-next.3
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.10.0-next.3
- @backstage/plugin-auth-node@0.6.3-next.2
- @backstage/backend-app-api@1.2.3-next.2
- @backstage/backend-plugin-api@1.3.1-next.2
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.11-next.2
1.5.0-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.10.0-next.2
- @backstage/config@1.3.2
- @backstage/backend-app-api@1.2.3-next.1
- @backstage/plugin-auth-node@0.6.3-next.1
- @backstage/backend-plugin-api@1.3.1-next.1
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.11-next.1
1.5.0-next.1
Minor Changes
c6bc67d: Added Valkey support alongside Redis in backend-defaults cache clients, using the new Keyv Valkey package. Also extended backend-test-utils to support Valkey in tests.
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.10.0-next.1
- @backstage/backend-app-api@1.2.3-next.1
- @backstage/plugin-auth-node@0.6.3-next.1
- @backstage/backend-plugin-api@1.3.1-next.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.11-next.1
1.5.0-next.0
Minor Changes
b3832d1: Add a functionalmockServices.events()
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.9.1-next.0
- @backstage/backend-app-api@1.2.3-next.0
- @backstage/backend-plugin-api@1.3.1-next.0
- @backstage/plugin-auth-node@0.6.3-next.0
- @backstage/plugin-events-node@0.4.11-next.0
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.4.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/backend-defaults@0.9.0
- @backstage/backend-plugin-api@1.3.0
- @backstage/backend-app-api@1.2.2
- @backstage/plugin-auth-node@0.6.2
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.10
1.3.2-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.9.0-next.2
- @backstage/backend-app-api@1.2.1
- @backstage/backend-plugin-api@1.2.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-auth-node@0.6.1
- @backstage/plugin-events-node@0.4.9
1.3.2-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.9.0-next.1
- @backstage/backend-app-api@1.2.1
- @backstage/plugin-auth-node@0.6.1
- @backstage/backend-plugin-api@1.2.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.9
1.3.2-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.9.0-next.0
- @backstage/backend-app-api@1.2.1
- @backstage/plugin-auth-node@0.6.1
- @backstage/backend-plugin-api@1.2.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.9
1.3.1
Patch Changes
c3a91d5: Added support for PostgreSQL version 1737c6510: Moved@types/jesttodevDependencies.- Updated dependencies
- @backstage/backend-defaults@0.8.2
- @backstage/plugin-auth-node@0.6.1
- @backstage/plugin-events-node@0.4.9
- @backstage/backend-app-api@1.2.1
- @backstage/backend-plugin-api@1.2.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.3.1-next.2
Patch Changes
37c6510: Moved@types/jesttodevDependencies.- Updated dependencies
- @backstage/backend-defaults@0.8.2-next.2
- @backstage/plugin-events-node@0.4.9-next.2
- @backstage/backend-app-api@1.2.1-next.2
- @backstage/backend-plugin-api@1.2.1-next.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-auth-node@0.6.1-next.1
1.3.1-next.1
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.6.1-next.1
- @backstage/backend-app-api@1.2.1-next.1
- @backstage/backend-defaults@0.8.2-next.1
- @backstage/backend-plugin-api@1.2.1-next.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.9-next.1
1.3.1-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.8.2-next.0
- @backstage/backend-app-api@1.2.1-next.0
- @backstage/plugin-auth-node@0.6.1-next.0
- @backstage/backend-plugin-api@1.2.1-next.0
- @backstage/plugin-events-node@0.4.9-next.0
1.3.0
Minor Changes
dd05a97: Added mocks for the newPermissionsRegistryService.a4aa244: This change introduces mocks for theauditorservice.
Patch Changes
f866b86: Internal refactor to use explicitrequirefor lazy-loading dependency.fb051f2: Sync feature installation compatibility logic with@backstage/backend-app-api.72cddf2: Added the newgetPermissionRulesetmethod tomockServices.permissionsRegistry.- Updated dependencies
- @backstage/backend-defaults@0.8.0
- @backstage/backend-plugin-api@1.2.0
- @backstage/plugin-auth-node@0.6.0
- @backstage/backend-app-api@1.2.0
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.8
1.3.0-next.3
Patch Changes
72cddf2: Added the newgetPermissionRulesetmethod tomockServices.permissionsRegistry.- Updated dependencies
- @backstage/backend-defaults@0.8.0-next.3
- @backstage/backend-plugin-api@1.2.0-next.2
- @backstage/backend-app-api@1.2.0-next.3
- @backstage/plugin-auth-node@0.6.0-next.2
- @backstage/plugin-events-node@0.4.8-next.2
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
1.3.0-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-plugin-api@1.2.0-next.1
- @backstage/plugin-auth-node@0.6.0-next.1
- @backstage/backend-defaults@0.8.0-next.2
- @backstage/backend-app-api@1.2.0-next.2
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/types@1.2.1
- @backstage/plugin-events-node@0.4.8-next.1
1.3.0-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@1.1.2-next.1
- @backstage/backend-defaults@0.8.0-next.1
- @backstage/backend-plugin-api@1.2.0-next.0
- @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-events-node@0.4.8-next.0
1.3.0-next.0
Minor Changes
dd05a97: Added mocks for the newPermissionsRegistryService.a4aa244: This change introduces mocks for theauditorservice.
Patch Changes
f866b86: Internal refactor to use explicitrequirefor lazy-loading dependency.fb051f2: Sync feature installation compatibility logic with@backstage/backend-app-api.- Updated dependencies
- @backstage/backend-defaults@0.8.0-next.0
- @backstage/backend-plugin-api@1.2.0-next.0
- @backstage/backend-app-api@1.1.2-next.0
- @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-events-node@0.4.8-next.0
1.2.1
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.7.0
- @backstage/backend-app-api@1.1.1
- @backstage/types@1.2.1
- @backstage/plugin-auth-node@0.5.6
- @backstage/backend-plugin-api@1.1.1
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
- @backstage/plugin-events-node@0.4.7
1.2.1-next.1
Patch Changes
- Updated dependencies
- @backstage/types@1.2.1-next.0
- @backstage/backend-app-api@1.1.1-next.1
- @backstage/backend-defaults@0.7.0-next.1
- @backstage/backend-plugin-api@1.1.1-next.1
- @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-events-node@0.4.7-next.1
1.2.1-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.7.0-next.0
- @backstage/backend-app-api@1.1.1-next.0
- @backstage/plugin-auth-node@0.5.6-next.0
- @backstage/backend-plugin-api@1.1.1-next.0
- @backstage/config@1.3.1
- @backstage/errors@1.2.6
- @backstage/types@1.2.0
- @backstage/plugin-events-node@0.4.7-next.0
1.2.0
Minor Changes
-
de6f280: BREAKING Upgraded @keyv/redis and keyv packages to resolve a bug related to incorrect resolution of cache keys.This is a breaking change for clients using the
redisstore for cache withuseRedisSetsoption set to false since cache keys will be calculated differently (without the sets:namespace: prefix). For clients with default configuration (or useRedisSets set to false) the cache keys will stay the same, but since @keyv/redis library no longer supports redis sets they won't be utilised anymore.If you were using
useRedisSetsoption in configuration make sure to remove it fromapp-config.yaml:backend: cache: store: redis connection: redis://user:pass@cache.example.com:6379 - useRedisSets: false
Patch Changes
0e9c9fa: Mock the newRootLifecycleService.addBeforeShutdownHookmethod.- Updated dependencies
- @backstage/backend-defaults@0.6.0
- @backstage/plugin-auth-node@0.5.5
- @backstage/backend-plugin-api@1.1.0
- @backstage/backend-app-api@1.1.0
- @backstage/plugin-events-node@0.4.6
- @backstage/errors@1.2.6
- @backstage/config@1.3.1
- @backstage/types@1.2.0
1.2.0-next.2
Patch Changes
0e9c9fa: Mock the newRootLifecycleService.addBeforeShutdownHookmethod.- Updated dependencies
- @backstage/backend-defaults@0.6.0-next.2
- @backstage/backend-plugin-api@1.1.0-next.2
- @backstage/backend-app-api@1.1.0-next.2
- @backstage/errors@1.2.6-next.0
- @backstage/plugin-auth-node@0.5.5-next.2
- @backstage/plugin-events-node@0.4.6-next.2
- @backstage/config@1.3.1-next.0
- @backstage/types@1.2.0
1.2.0-next.1
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.5-next.1
- @backstage/backend-defaults@0.6.0-next.1
- @backstage/backend-app-api@1.1.0-next.1
- @backstage/backend-plugin-api@1.1.0-next.1
- @backstage/config@1.3.0
- @backstage/errors@1.2.5
- @backstage/types@1.2.0
- @backstage/plugin-events-node@0.4.6-next.1
1.2.0-next.0
Minor Changes
-
de6f280: BREAKING Upgraded @keyv/redis and keyv packages to resolve a bug related to incorrect resolution of cache keys.This is a breaking change for clients using the
redisstore for cache withuseRedisSetsoption set to false since cache keys will be calculated differently (without the sets:namespace: prefix). For clients with default configuration (or useRedisSets set to false) the cache keys will stay the same, but since @keyv/redis library no longer supports redis sets they won't be utilised anymore.If you were using
useRedisSetsoption in configuration make sure to remove it fromapp-config.yaml:backend: cache: store: redis connection: redis://user:pass@cache.example.com:6379 - useRedisSets: false
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.6.0-next.0
- @backstage/backend-plugin-api@1.0.3-next.0
- @backstage/backend-app-api@1.0.3-next.0
- @backstage/plugin-events-node@0.4.6-next.0
- @backstage/plugin-auth-node@0.5.5-next.0
- @backstage/config@1.3.0
- @backstage/errors@1.2.5
- @backstage/types@1.2.0
1.1.0
Minor Changes
5064827: Made it possible to constructmockServices.databasewith a given knex instance
Patch Changes
7aae8e3: ThemockServices.discovery.factory()factory now uses the mocked discovery service as its implementation, avoid the need for configuration.eb82994: Removed unusedmswdependency.4e58bc7: Upgrade to uuid v11 internally- Updated dependencies
- @backstage/config@1.3.0
- @backstage/plugin-events-node@0.4.5
- @backstage/backend-defaults@0.5.3
- @backstage/types@1.2.0
- @backstage/plugin-auth-node@0.5.4
- @backstage/backend-plugin-api@1.0.2
- @backstage/backend-app-api@1.0.2
- @backstage/errors@1.2.5
1.1.0-next.3
Patch Changes
- Updated dependencies
- @backstage/plugin-events-node@0.4.5-next.3
- @backstage/backend-defaults@0.5.3-next.3
- @backstage/backend-app-api@1.0.2-next.2
- @backstage/backend-plugin-api@1.0.2-next.2
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.5.4-next.2
1.1.0-next.2
Minor Changes
5064827: Made it possible to constructmockServices.databasewith a given knex instance
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.5.3-next.2
- @backstage/plugin-events-node@0.4.5-next.2
- @backstage/plugin-auth-node@0.5.4-next.2
- @backstage/backend-app-api@1.0.2-next.2
- @backstage/backend-plugin-api@1.0.2-next.2
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.0.3-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@1.0.2-next.1
- @backstage/backend-defaults@0.5.3-next.1
- @backstage/backend-plugin-api@1.0.2-next.1
- @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-events-node@0.4.4-next.1
1.0.3-next.0
Patch Changes
7aae8e3: ThemockServices.discovery.factory()factory now uses the mocked discovery service as its implementation, avoid the need for configuration.eb82994: Removed unusedmswdependency.- Updated dependencies
- @backstage/plugin-events-node@0.4.3-next.0
- @backstage/plugin-auth-node@0.5.4-next.0
- @backstage/backend-defaults@0.5.3-next.0
- @backstage/backend-app-api@1.0.2-next.0
- @backstage/backend-plugin-api@1.0.2-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.0.1
Patch Changes
fd6e6f4: build(deps): bumpcookiefrom 0.6.0 to 0.7.0a19ce00: ThecreateMockDirectorycleanup strategy has been changed, no longer requiring it to be called outside individual tests.9cc7dd6: Minor doc string changes- Updated dependencies
- @backstage/backend-defaults@0.5.1
- @backstage/backend-app-api@1.0.1
- @backstage/plugin-auth-node@0.5.3
- @backstage/plugin-events-node@0.4.1
- @backstage/backend-plugin-api@1.0.1
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
1.0.1-next.2
Patch Changes
fd6e6f4: build(deps): bumpcookiefrom 0.6.0 to 0.7.0- Updated dependencies
- @backstage/backend-app-api@1.0.1-next.1
- @backstage/backend-defaults@0.5.1-next.2
- @backstage/plugin-auth-node@0.5.3-next.1
- @backstage/backend-plugin-api@1.0.1-next.1
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-events-node@0.4.1-next.1
1.0.1-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.5.1-next.1
- @backstage/backend-app-api@1.0.1-next.0
- @backstage/backend-plugin-api@1.0.1-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/plugin-events-node@0.4.1-next.0
1.0.1-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.5.1-next.0
- @backstage/backend-app-api@1.0.1-next.0
- @backstage/plugin-events-node@0.4.1-next.0
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/backend-plugin-api@1.0.1-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.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: Removed service mocks for the identity and token manager services, which have been removed from@backstage/backend-plugin-api. -
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
710f621: Added missing service mock formockServices.rootConfig.mock, and fixed the definition ofmockServices.rootHttpRouter.factoryto not have a duplicate callback.f421d2a: Make MySQL pool settings a bit more lax0363bf1: There is a newmockErrorHandlerutility to help in mocking the error middleware in tests.c2b63ab: Updated dependencysupertestto^7.0.0.- Updated dependencies
- @backstage/backend-defaults@0.5.0
- @backstage/backend-app-api@1.0.0
- @backstage/backend-plugin-api@1.0.0
- @backstage/plugin-auth-node@0.5.2
- @backstage/plugin-events-node@0.4.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.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
f421d2a: Make MySQL pool settings a bit more laxc2b63ab: Updated dependencysupertestto^7.0.0.- Updated dependencies
- @backstage/backend-app-api@1.0.0-next.2
- @backstage/backend-defaults@0.5.0-next.2
- @backstage/plugin-auth-node@0.5.2-next.2
- @backstage/backend-plugin-api@1.0.0-next.2
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-events-node@0.4.0-next.2
0.6.0-next.1
Patch Changes
710f621: Added missing service mock formockServices.rootConfig.mock, and fixed the definition ofmockServices.rootHttpRouter.factoryto not have a duplicate callback.- Updated dependencies
- @backstage/backend-defaults@0.5.0-next.1
- @backstage/plugin-auth-node@0.5.2-next.1
- @backstage/backend-app-api@0.10.0-next.1
- @backstage/backend-plugin-api@0.9.0-next.1
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-events-node@0.4.0-next.1
0.6.0-next.0
Minor Changes
-
19ff127: BREAKING: Removed service mocks for the identity and token manager services, which have been removed from@backstage/backend-plugin-api. -
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
0363bf1: There is a newmockErrorHandlerutility to help in mocking the error middleware in tests.- Updated dependencies
- @backstage/backend-app-api@0.10.0-next.0
- @backstage/backend-plugin-api@0.9.0-next.0
- @backstage/backend-defaults@0.5.0-next.0
- @backstage/plugin-events-node@0.4.0-next.0
- @backstage/plugin-auth-node@0.5.2-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.5.0
Minor Changes
-
861f162: BREAKING: Removed these deprecated helpers:setupRequestMockHandlersis removed; useregisterMswTestHooksinstead.MockDirectoryOptionsis removed; useCreateMockDirectoryOptionsinstead.
Stopped exporting the deprecated and internal
isDockerDisabledForTestshelper.Removed
getmethod fromServiceFactoryTesterwhich is replaced bygetSubject
Patch Changes
8b13183: Internal updates to support latest version ofBackendFeautures from@backstage/backend-plugin-api.b63d378: Update internal imports7c5f3b0: Update theServiceFactoryTesterto be able to test services that enables multi implementation installation.4e79d19: The default services forstartTestBackendandServiceFactoryTesternow includes the Root Health Service.- Updated dependencies
- @backstage/backend-defaults@0.4.2
- @backstage/backend-app-api@0.9.0
- @backstage/backend-plugin-api@0.8.0
- @backstage/plugin-auth-node@0.5.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-events-node@0.3.9
0.4.5-next.3
Patch Changes
- Updated dependencies
- @backstage/backend-plugin-api@0.8.0-next.3
- @backstage/backend-defaults@0.4.2-next.3
- @backstage/backend-app-api@0.8.1-next.3
- @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-events-node@0.3.9-next.3
0.4.5-next.2
Patch Changes
8b13183: Internal updates to support latest version ofBackendFeautures from@backstage/backend-plugin-api.7c5f3b0: Update theServiceFactoryTesterto be able to test services that enables multi implementation installation.- Updated dependencies
- @backstage/backend-defaults@0.4.2-next.2
- @backstage/backend-plugin-api@0.8.0-next.2
- @backstage/backend-app-api@0.8.1-next.2
- @backstage/plugin-auth-node@0.5.0-next.2
- @backstage/plugin-events-node@0.3.9-next.2
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.4.5-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-plugin-api@0.7.1-next.1
- @backstage/backend-app-api@0.8.1-next.1
- @backstage/backend-defaults@0.4.2-next.1
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.18-next.1
- @backstage/plugin-events-node@0.3.9-next.1
0.4.5-next.0
Patch Changes
4e79d19: The default services forstartTestBackendandServiceFactoryTesternow includes the Root Health Service.- Updated dependencies
- @backstage/backend-defaults@0.4.2-next.0
- @backstage/backend-app-api@0.8.1-next.0
- @backstage/backend-plugin-api@0.7.1-next.0
- @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-events-node@0.3.9-next.0
0.4.4
Patch Changes
2f99178: TheServiceFactoryTest.getmethod was deprecated and theServiceFactoryTest.getSubjectshould be used instead. ThegetSubjectmethod has the same behavior, but has a better method name to indicate that the service instance returned is the subject currently being tested.edf5cc3: The functionisDockerDisabledForTestsis deprecated and will no longer be exported in the near future as it should only be used internally.b05e1e1: Service factories exported by this package have been updated to use the new service factory format that doesn't use a callback.fce7887: Added mock for the Root Health Service inmockServices.906c817: UpdatedstartTestBackendandServiceFactoryTesterto only accept plain service factory or backend feature objects, no longer supporting the callback form. This lines up with the changes to@backstage/backend-plugin-apiand should not require any code changes.95a3a0b: Rename frontend and backendsetupRequestMockHandlersmethods toregisterMswTestHooks.b9ed1bb: bumped better-sqlite3 from ^9.0.0 to ^11.0.098ccf00: Internal refactor ofmockServices.httpAuth.factoryto allow it to still be constructed with options, but without declaring options viacreateServiceFactory.- Updated dependencies
- @backstage/backend-plugin-api@0.7.0
- @backstage/backend-defaults@0.4.0
- @backstage/backend-app-api@0.8.0
- @backstage/plugin-events-node@0.3.8
- @backstage/plugin-auth-node@0.4.17
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.4.4-next.1
Patch Changes
b9ed1bb: bumped better-sqlite3 from ^9.0.0 to ^11.0.0- Updated dependencies
- @backstage/backend-defaults@0.3.4-next.1
- @backstage/backend-app-api@0.7.10-next.1
- @backstage/backend-plugin-api@0.6.22-next.1
- @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-events-node@0.3.8-next.1
0.4.3-next.0
Patch Changes
fce7887: Added mock for the Root Health Service inmockServices.- Updated dependencies
- @backstage/backend-plugin-api@0.6.21-next.0
- @backstage/backend-defaults@0.3.3-next.0
- @backstage/backend-app-api@0.7.9-next.0
- @backstage/plugin-auth-node@0.4.16-next.0
- @backstage/plugin-events-node@0.3.7-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.4.0
Minor Changes
- 805cbe7: Added
TestCachesthat functions just likeTestDatabases
Patch Changes
78a0b08: Internal refactor to handleBackendFeaturecontract change.9e63318: Made it possible to give access restrictions tomockCredentials.service006b3e8: The typeMockDirectoryOptionswas renamed toCreateMockDirectoryOptionsso that it's clear these options are exclusive to the mock directory factory.0634fdc: RefactoredTestDatabasesto no longer depend onbackend-common6a576dc: Fix the logger service mock to prevent returningundefinedfrom thechildmethod.6c11f6e: Use imports from backend-defaults instead of the deprecated ones from backend-app-api- Updated dependencies
- @backstage/backend-app-api@0.7.6
- @backstage/backend-plugin-api@0.6.19
- @backstage/plugin-auth-node@0.4.14
- @backstage/backend-defaults@0.3.0
- @backstage/plugin-events-node@0.3.5
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.4.0-next.3
Patch Changes
006b3e8: The typeMockDirectoryOptionswas renamed toCreateMockDirectoryOptionsso that it's clear these options are exclusive to the mock directory factory.- Updated dependencies
- @backstage/backend-plugin-api@0.6.19-next.3
- @backstage/plugin-auth-node@0.4.14-next.3
- @backstage/plugin-events-node@0.3.5-next.2
- @backstage/backend-app-api@0.7.6-next.3
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.4.0-next.2
Patch Changes
0634fdc: RefactoredTestDatabasesto no longer depend onbackend-common- Updated dependencies
- @backstage/backend-plugin-api@0.6.19-next.2
- @backstage/backend-app-api@0.7.6-next.2
- @backstage/plugin-auth-node@0.4.14-next.2
- @backstage/plugin-events-node@0.3.5-next.1
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.4.0-next.1
Minor Changes
- 805cbe7: Added
TestCachesthat functions just likeTestDatabases
Patch Changes
9e63318: Made it possible to give access restrictions tomockCredentials.service- Updated dependencies
- @backstage/backend-app-api@0.7.6-next.1
- @backstage/backend-plugin-api@0.6.19-next.1
- @backstage/backend-common@0.23.0-next.1
- @backstage/plugin-auth-node@0.4.14-next.1
- @backstage/plugin-events-node@0.3.5-next.0
0.3.9-next.0
Patch Changes
6a576dc: Fix the logger service mock to prevent returningundefinedfrom thechildmethod.- Updated dependencies
- @backstage/backend-app-api@0.7.6-next.0
- @backstage/backend-common@0.22.1-next.0
- @backstage/plugin-events-node@0.3.5-next.0
- @backstage/backend-plugin-api@0.6.19-next.0
- @backstage/plugin-auth-node@0.4.14-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.3.8
Patch Changes
d229dc4: Move path utilities frombackend-commonto thebackend-plugin-apipackage.7e5a50d: addedeventsServiceFactorytodefaultServiceFactoriesto resolve issue where different instances of the EventsServices could be used- Updated dependencies
- @backstage/backend-app-api@0.7.3
- @backstage/backend-common@0.22.0
- @backstage/backend-plugin-api@0.6.18
- @backstage/plugin-events-node@0.3.4
- @backstage/plugin-auth-node@0.4.13
0.3.8-next.2
Patch Changes
7e5a50d: addedeventsServiceFactorytodefaultServiceFactoriesto resolve issue where different instances of the EventsServices could be used- Updated dependencies
- @backstage/backend-common@0.22.0-next.2
- @backstage/plugin-events-node@0.3.4-next.2
0.3.8-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.7.2-next.1
- @backstage/backend-common@0.22.0-next.1
- @backstage/plugin-auth-node@0.4.13-next.1
- @backstage/backend-plugin-api@0.6.18-next.1
0.3.8-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.7.1-next.0
- @backstage/plugin-auth-node@0.4.13-next.0
- @backstage/backend-common@0.21.8-next.0
- @backstage/backend-plugin-api@0.6.18-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.3.7
Patch Changes
3256f14:startTestBackendwill now add placeholder plugins when a modules are provided without their parent plugin.007e7ea: Added mock of the newlistPublicServiceKeysmethod forAuthService.- Updated dependencies
- @backstage/backend-common@0.21.7
- @backstage/backend-app-api@0.7.0
- @backstage/backend-plugin-api@0.6.17
- @backstage/plugin-auth-node@0.4.12
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.3.7-next.1
Patch Changes
3256f14:startTestBackendwill now add placeholder plugins when a modules are provided without their parent plugin.007e7ea: Added mock of the newlistPublicServiceKeysmethod forAuthService.- Updated dependencies
- @backstage/backend-common@0.21.7-next.1
- @backstage/backend-app-api@0.7.0-next.1
- @backstage/backend-plugin-api@0.6.17-next.1
- @backstage/plugin-auth-node@0.4.12-next.1
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.3.7-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.6.3-next.0
- @backstage/backend-common@0.21.7-next.0
- @backstage/backend-plugin-api@0.6.17-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.12-next.0
0.3.6
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.6.2
- @backstage/plugin-auth-node@0.4.11
- @backstage/backend-common@0.21.6
- @backstage/backend-plugin-api@0.6.16
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.3.5
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.6.1
- @backstage/backend-common@0.21.5
- @backstage/plugin-auth-node@0.4.10
- @backstage/backend-plugin-api@0.6.15
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
0.3.4
Patch Changes
-
4a3d434: Added support for the newauthandhttpAuthservices that were created as part of BEP-0003. These services will be present by default in test apps, and you can access mocked versions of their features undermockServices.authandmockServices.httpAuthif you want to inspect or replace their behaviors.There is also a new
mockCredentialsthat you can use for acquiring mocks of the various types of credentials that are used in the new system. -
9802004: AddedmockServices.userInfo, which now also automatically is made available in test backends. -
fd61d39: Updated dependencytestcontainersto^10.0.0. -
ff40ada: Updated dependencymysql2to^3.0.0. -
0fb419b: Updated dependencyuuidto^9.0.0. Updated dependency@types/uuidto^9.0.0. -
Updated dependencies
- @backstage/backend-common@0.21.4
- @backstage/plugin-auth-node@0.4.9
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/backend-plugin-api@0.6.14
- @backstage/backend-app-api@0.6.0
- @backstage/types@1.1.1
0.3.4-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.6.0-next.2
- @backstage/backend-common@0.21.4-next.2
- @backstage/plugin-auth-node@0.4.9-next.2
- @backstage/backend-plugin-api@0.6.14-next.2
- @backstage/config@1.2.0-next.1
- @backstage/errors@1.2.4-next.0
- @backstage/types@1.1.1
0.3.4-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0-next.1
- @backstage/backend-app-api@0.6.0-next.1
- @backstage/backend-common@0.21.4-next.1
- @backstage/backend-plugin-api@0.6.14-next.1
- @backstage/plugin-auth-node@0.4.9-next.1
- @backstage/errors@1.2.4-next.0
- @backstage/types@1.1.1
0.3.3-next.0
Patch Changes
-
4a3d434: Added support for the newauthandhttpAuthservices that were created as part of BEP-0003. These services will be present by default in test apps, and you can access mocked versions of their features undermockServices.authandmockServices.httpAuthif you want to inspect or replace their behaviors.There is also a new
mockCredentialsthat you can use for acquiring mocks of the various types of credentials that are used in the new system. -
9802004: AddedmockServices.userInfo, which now also automatically is made available in test backends. -
fd61d39: Updated dependencytestcontainersto^10.0.0. -
ff40ada: Updated dependencymysql2to^3.0.0. -
0fb419b: Updated dependencyuuidto^9.0.0. Updated dependency@types/uuidto^9.0.0. -
Updated dependencies
- @backstage/backend-common@0.21.3-next.0
- @backstage/plugin-auth-node@0.4.8-next.0
- @backstage/errors@1.2.4-next.0
- @backstage/backend-plugin-api@0.6.13-next.0
- @backstage/backend-app-api@0.6.0-next.0
- @backstage/config@1.1.2-next.0
- @backstage/types@1.1.1
0.3.0
Minor Changes
e85aa98: drop databases after unit tests if the database instance is not running in docker
Patch Changes
6bb6f3e: Updated dependencyfs-extrato^11.2.0. Updated dependency@types/fs-extrato^11.0.0.- Updated dependencies
- @backstage/backend-common@0.21.0
- @backstage/plugin-auth-node@0.4.4
- @backstage/backend-app-api@0.5.11
- @backstage/backend-plugin-api@0.6.10
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.3.0-next.3
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.21.0-next.3
- @backstage/backend-app-api@0.5.11-next.3
- @backstage/plugin-auth-node@0.4.4-next.3
- @backstage/backend-plugin-api@0.6.10-next.3
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.3.0-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.21.0-next.2
- @backstage/backend-plugin-api@0.6.10-next.2
- @backstage/backend-app-api@0.5.11-next.2
- @backstage/plugin-auth-node@0.4.4-next.2
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.3.0-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-plugin-api@0.6.10-next.1
- @backstage/backend-common@0.21.0-next.1
- @backstage/backend-app-api@0.5.11-next.1
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.4-next.1
0.3.0-next.0
Minor Changes
e85aa98: drop databases after unit tests if the database instance is not running in docker
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.21.0-next.0
- @backstage/backend-app-api@0.5.11-next.0
- @backstage/plugin-auth-node@0.4.4-next.0
- @backstage/backend-plugin-api@0.6.10-next.0
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.2.10
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.20.1
- @backstage/backend-plugin-api@0.6.9
- @backstage/backend-app-api@0.5.10
- @backstage/plugin-auth-node@0.4.3
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.2.10-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-plugin-api@0.6.9-next.2
- @backstage/backend-app-api@0.5.10-next.2
- @backstage/backend-common@0.20.1-next.2
- @backstage/plugin-auth-node@0.4.3-next.2
0.2.10-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.5.10-next.1
- @backstage/backend-common@0.20.1-next.1
- @backstage/config@1.1.1
- @backstage/plugin-auth-node@0.4.3-next.1
- @backstage/backend-plugin-api@0.6.9-next.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.2.10-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.20.1-next.0
- @backstage/backend-app-api@0.5.10-next.0
- @backstage/backend-plugin-api@0.6.9-next.0
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.3-next.0
0.2.9
Patch Changes
-
cc4228e: Switched module ID to use kebab-case. -
b7de76a: Added support for PostgreSQL versions 15 and 16Also introduced a new
setDefaults(options: { ids?: TestDatabaseId[] })static method that can be added to thesetupTests.tsfile to define the default database ids you want to use throughout your package. Usage would look like this:TestDatabases.setDefaults({ ids: ['POSTGRES_12','POSTGRES_16'] })and would result in PostgreSQL versions 12 and 16 being used for your tests. -
Updated dependencies
- @backstage/backend-common@0.20.0
- @backstage/backend-app-api@0.5.9
- @backstage/plugin-auth-node@0.4.2
- @backstage/backend-plugin-api@0.6.8
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.2.9-next.3
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.20.0-next.3
- @backstage/backend-app-api@0.5.9-next.3
- @backstage/backend-plugin-api@0.6.8-next.3
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.2-next.3
0.2.9-next.2
Patch Changes
cc4228e: Switched module ID to use kebab-case.- Updated dependencies
- @backstage/backend-common@0.20.0-next.2
- @backstage/plugin-auth-node@0.4.2-next.2
- @backstage/backend-app-api@0.5.9-next.2
- @backstage/backend-plugin-api@0.6.8-next.2
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.2.9-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.5.9-next.1
- @backstage/backend-common@0.20.0-next.1
- @backstage/backend-plugin-api@0.6.8-next.1
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.2-next.1
0.2.9-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.20.0-next.0
- @backstage/backend-app-api@0.5.9-next.0
- @backstage/plugin-auth-node@0.4.2-next.0
- @backstage/backend-plugin-api@0.6.8-next.0
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.2.8
Patch Changes
013611b42e:knexhas been bumped to major version 3 andbetter-sqlite3to major version 9, which deprecate node 16 support.bb688f7b3b: Ensure recursive deletion of temporary directories in tests- Updated dependencies
- @backstage/backend-common@0.19.9
- @backstage/backend-plugin-api@0.6.7
- @backstage/backend-app-api@0.5.8
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.1
0.2.8-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-plugin-api@0.6.7-next.2
- @backstage/backend-common@0.19.9-next.2
- @backstage/backend-app-api@0.5.8-next.2
- @backstage/plugin-auth-node@0.4.1-next.2
0.2.8-next.1
Patch Changes
bb688f7b3b: Ensure recursive deletion of temporary directories in tests- Updated dependencies
- @backstage/backend-common@0.19.9-next.1
- @backstage/backend-app-api@0.5.8-next.1
- @backstage/plugin-auth-node@0.4.1-next.1
- @backstage/backend-plugin-api@0.6.7-next.1
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
0.2.8-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.5.8-next.0
- @backstage/backend-common@0.19.9-next.0
- @backstage/backend-plugin-api@0.6.7-next.0
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
- @backstage/types@1.1.1
- @backstage/plugin-auth-node@0.4.1-next.0
0.2.7
Patch Changes
a250ad775f: AddedcreateMockDirectory()to help out with file system mocking in tests.5ddc03813e: Remove third type parameter used forMockInstance, in order to be compatible with older versions of@types/jest.74491c9602: Updated to importHostDiscoveryfrom@backstage/backend-app-api.- Updated dependencies
- @backstage/backend-common@0.19.8
- @backstage/plugin-auth-node@0.4.0
- @backstage/errors@1.2.3
- @backstage/backend-app-api@0.5.6
- @backstage/backend-plugin-api@0.6.6
- @backstage/config@1.1.1
- @backstage/types@1.1.1
0.2.7-next.2
Patch Changes
a250ad775f: AddedcreateMockDirectory()to help out with file system mocking in tests.74491c9602: Updated to importHostDiscoveryfrom@backstage/backend-app-api.- Updated dependencies
- @backstage/backend-common@0.19.8-next.2
- @backstage/plugin-auth-node@0.4.0-next.2
- @backstage/errors@1.2.3-next.0
- @backstage/backend-app-api@0.5.6-next.2
- @backstage/backend-plugin-api@0.6.6-next.2
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
0.2.6-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.7-next.1
- @backstage/backend-app-api@0.5.5-next.1
- @backstage/backend-plugin-api@0.6.5-next.1
- @backstage/plugin-auth-node@0.3.2-next.1
- @backstage/config@1.1.0
- @backstage/types@1.1.1
0.2.6-next.0
Patch Changes
5ddc03813e: Remove third type parameter used forMockInstance, in order to be compatible with older versions of@types/jest.- Updated dependencies
- @backstage/plugin-auth-node@0.3.2-next.0
- @backstage/backend-common@0.19.7-next.0
- @backstage/config@1.1.0
- @backstage/backend-app-api@0.5.5-next.0
- @backstage/backend-plugin-api@0.6.5-next.0
- @backstage/types@1.1.1
0.2.3
Patch Changes
58cb5e5cea: Introduced a new utility for testing service factories,ServiceFactoryTester.202e52c5e3: Add support for installing backend features via module imports, for examplestartTestBackend({ features: [import('my-plugin')] }).9fb3b5373c: ExtendedmockServiceto also include mocked variants, for examplemockServices.lifecycle.mock(). The returned mocked implementation will have afactoryproperty which is a service factory for itself. You can also pass a partial implementation of the service to the mock function to use a mock implementation of specific methods.eb1594da58: Serialize test database shutdown, and add logging- Updated dependencies
- @backstage/backend-app-api@0.5.3
- @backstage/backend-common@0.19.5
- @backstage/plugin-auth-node@0.3.0
- @backstage/config@1.1.0
- @backstage/types@1.1.1
- @backstage/backend-plugin-api@0.6.3
0.2.3-next.3
Patch Changes
202e52c5e3: Add support for installing backend features via module imports, for examplestartTestBackend({ features: [import('my-plugin')] }).- Updated dependencies
- @backstage/backend-app-api@0.5.3-next.3
- @backstage/config@1.1.0-next.2
- @backstage/types@1.1.1-next.0
- @backstage/backend-plugin-api@0.6.3-next.3
- @backstage/backend-common@0.19.5-next.3
- @backstage/plugin-auth-node@0.3.0-next.3
0.2.3-next.2
Patch Changes
58cb5e5cea: Introduced a new utility for testing service factories,ServiceFactoryTester.- Updated dependencies
- @backstage/backend-app-api@0.5.3-next.2
- @backstage/config@1.1.0-next.1
- @backstage/backend-common@0.19.5-next.2
- @backstage/plugin-auth-node@0.3.0-next.2
- @backstage/backend-plugin-api@0.6.3-next.2
- @backstage/types@1.1.0
0.2.3-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.1.0-next.0
- @backstage/backend-app-api@0.5.3-next.1
- @backstage/backend-common@0.19.5-next.1
- @backstage/backend-plugin-api@0.6.3-next.1
- @backstage/plugin-auth-node@0.3.0-next.1
- @backstage/types@1.1.0
0.2.2-next.0
Patch Changes
9fb3b5373c: ExtendedmockServiceto also include mocked variants, for examplemockServices.lifecycle.mock(). The returned mocked implementation will have afactoryproperty which is a service factory for itself. You can also pass a partial implementation of the service to the mock function to use a mock implementation of specific methods.- Updated dependencies
- @backstage/plugin-auth-node@0.3.0-next.0
- @backstage/backend-common@0.19.4-next.0
- @backstage/backend-app-api@0.5.2-next.0
- @backstage/backend-plugin-api@0.6.2-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
0.2.0
Minor Changes
-
b9c57a4f85: BREAKING: RenamedmockServices.configtomockServices.rootConfig. -
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);
Patch Changes
ae93048181: Add needed constants and constructs to support PostgreSQL version 14 as test database- Updated dependencies
- @backstage/backend-common@0.19.2
- @backstage/backend-app-api@0.5.0
- @backstage/backend-plugin-api@0.6.0
- @backstage/plugin-auth-node@0.2.17
- @backstage/config@1.0.8
- @backstage/types@1.1.0
0.2.0-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.5.0-next.2
- @backstage/backend-plugin-api@0.6.0-next.2
- @backstage/backend-common@0.19.2-next.2
- @backstage/plugin-auth-node@0.2.17-next.2
0.2.0-next.1
Minor Changes
b9c57a4f85: BREAKING: RenamedmockServices.configtomockServices.rootConfig.
Patch Changes
ae93048181: Add needed constants and constructs to support PostgreSQL version 14 as test database- Updated dependencies
- @backstage/backend-common@0.19.2-next.1
- @backstage/plugin-auth-node@0.2.17-next.1
- @backstage/backend-app-api@0.5.0-next.1
- @backstage/backend-plugin-api@0.6.0-next.1
- @backstage/config@1.0.8
- @backstage/types@1.1.0
0.1.40-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.4.6-next.0
- @backstage/backend-common@0.19.2-next.0
- @backstage/backend-plugin-api@0.5.5-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-auth-node@0.2.17-next.0
0.1.39
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.1
- @backstage/backend-app-api@0.4.5
- @backstage/backend-plugin-api@0.5.4
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-auth-node@0.2.16
0.1.39-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.1-next.0
- @backstage/backend-app-api@0.4.5-next.0
- @backstage/backend-plugin-api@0.5.4-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-auth-node@0.2.16-next.0
0.1.38
Patch Changes
68a21956ef: Remove reference to deprecated import- Updated dependencies
- @backstage/backend-common@0.19.0
- @backstage/types@1.1.0
- @backstage/backend-app-api@0.4.4
- @backstage/backend-plugin-api@0.5.3
- @backstage/plugin-auth-node@0.2.15
- @backstage/config@1.0.8
0.1.38-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.0-next.2
- @backstage/backend-app-api@0.4.4-next.2
- @backstage/backend-plugin-api@0.5.3-next.2
- @backstage/config@1.0.7
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.15-next.2
0.1.38-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.0-next.1
- @backstage/backend-app-api@0.4.4-next.1
- @backstage/backend-plugin-api@0.5.3-next.1
- @backstage/plugin-auth-node@0.2.15-next.1
- @backstage/config@1.0.7
- @backstage/types@1.0.2
0.1.38-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.4.4-next.0
- @backstage/backend-common@0.18.6-next.0
- @backstage/config@1.0.7
- @backstage/backend-plugin-api@0.5.3-next.0
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.15-next.0
0.1.37
Patch Changes
63af7f6d53: Allow specifying custom Docker registry for database testsb1eb268bf9: AddedPOSTGRES_11andPOSTGRES_12as supported test database IDs.- Updated dependencies
- @backstage/backend-common@0.18.5
- @backstage/backend-app-api@0.4.3
- @backstage/plugin-auth-node@0.2.14
- @backstage/backend-plugin-api@0.5.2
- @backstage/config@1.0.7
- @backstage/types@1.0.2
0.1.37-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.18.5-next.1
- @backstage/backend-app-api@0.4.3-next.1
- @backstage/plugin-auth-node@0.2.14-next.1
- @backstage/backend-plugin-api@0.5.2-next.1
- @backstage/config@1.0.7
0.1.37-next.0
Patch Changes
b1eb268bf9: AddedPOSTGRES_11andPOSTGRES_12as supported test database IDs.- Updated dependencies
- @backstage/backend-common@0.18.5-next.0
- @backstage/backend-app-api@0.4.3-next.0
- @backstage/plugin-auth-node@0.2.14-next.0
- @backstage/backend-plugin-api@0.5.2-next.0
- @backstage/config@1.0.7
- @backstage/types@1.0.2
0.1.36
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.18.4
- @backstage/backend-app-api@0.4.2
- @backstage/plugin-auth-node@0.2.13
- @backstage/backend-plugin-api@0.5.1
- @backstage/config@1.0.7
- @backstage/types@1.0.2
0.1.36-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.4.2-next.2
- @backstage/backend-common@0.18.4-next.2
- @backstage/backend-plugin-api@0.5.1-next.2
- @backstage/config@1.0.7
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.13-next.2
0.1.36-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.4.2-next.1
- @backstage/backend-common@0.18.4-next.1
- @backstage/backend-plugin-api@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.1.36-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.4.2-next.0
- @backstage/backend-common@0.18.4-next.0
- @backstage/config@1.0.7
- @backstage/backend-plugin-api@0.5.1-next.0
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.13-next.0
0.1.35
Patch Changes
928a12a9b3: Internal refactor of/alphaexports.52b0022dab: Updated dependencymswto^1.0.0.482dae5de1: Updated link to docs.- Updated dependencies
- @backstage/plugin-auth-node@0.2.12
- @backstage/backend-common@0.18.3
- @backstage/backend-plugin-api@0.5.0
- @backstage/backend-app-api@0.4.1
- @backstage/config@1.0.7
- @backstage/types@1.0.2
0.1.35-next.2
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.2.12-next.2
- @backstage/backend-common@0.18.3-next.2
- @backstage/backend-app-api@0.4.1-next.2
- @backstage/backend-plugin-api@0.4.1-next.2
- @backstage/config@1.0.7-next.0
0.1.35-next.1
Patch Changes
52b0022dab: Updated dependencymswto^1.0.0.482dae5de1: Updated link to docs.- Updated dependencies
- @backstage/backend-common@0.18.3-next.1
- @backstage/plugin-auth-node@0.2.12-next.1
- @backstage/backend-plugin-api@0.4.1-next.1
- @backstage/backend-app-api@0.4.1-next.1
- @backstage/config@1.0.7-next.0
- @backstage/types@1.0.2
0.1.35-next.0
Patch Changes
928a12a9b3: Internal refactor of/alphaexports.- Updated dependencies
- @backstage/backend-plugin-api@0.4.1-next.0
- @backstage/backend-app-api@0.4.1-next.0
- @backstage/backend-common@0.18.3-next.0
- @backstage/config@1.0.6
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.12-next.0
0.1.34
Patch Changes
baf6e4c96a: Removed unnecessary@backstage/clidependency.c51efce2a0: Update docs to always useyarn add --cwdfor app & backend1835311713: Added explicit return type signature formockServices.config().e716946103: Updated usage of the lifecycle service.7e7557a2be: Updated themockServices.rootLoggeroptions to accept a single level option instead.610d65e143: Updates to match newBackendFeaturetype.e412d33025: Use the new*ServiceFactoryexports from@backstage/backend-app-apib86efa2d04: Updated usage ofServiceFactory.17b573e4be: The new backend system testing utilities have now been marked as stable API.f1adb2e36b: Removed thereffrom allmockServices.d0901c9ba4: All mock service factories and mock service implementations are now available via the new experimentalmockServicesexport.71a5ec0f06: Updated usages ofLogMeta.- Updated dependencies
- @backstage/backend-app-api@0.4.0
- @backstage/backend-plugin-api@0.4.0
- @backstage/backend-common@0.18.2
- @backstage/config@1.0.6
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.11
0.1.34-next.2
Patch Changes
baf6e4c96a: Removed unnecessary@backstage/clidependency.1835311713: Added explicit return type signature formockServices.config().e716946103: Updated usage of the lifecycle service.7e7557a2be: Updated themockServices.rootLoggeroptions to accept a single level option instead.610d65e143: Updates to match newBackendFeaturetype.e412d33025: Use the new*ServiceFactoryexports from@backstage/backend-app-apif1adb2e36b: Removed thereffrom allmockServices.71a5ec0f06: Updated usages ofLogMeta.- Updated dependencies
- @backstage/backend-app-api@0.4.0-next.2
- @backstage/backend-plugin-api@0.4.0-next.2
- @backstage/backend-common@0.18.2-next.2
- @backstage/plugin-auth-node@0.2.11-next.2
- @backstage/config@1.0.6
- @backstage/types@1.0.2
0.1.34-next.1
Patch Changes
- Updated dependencies
- @backstage/cli@0.22.2-next.0
- @backstage/backend-common@0.18.2-next.1
- @backstage/backend-plugin-api@0.3.2-next.1
- @backstage/backend-app-api@0.3.2-next.1
- @backstage/config@1.0.6
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.11-next.1
0.1.34-next.0
Patch Changes
d0901c9ba4: All mock service factories and mock service implementations are now available via the new experimentalmockServicesexport.- Updated dependencies
- @backstage/backend-app-api@0.3.2-next.0
- @backstage/backend-common@0.18.2-next.0
- @backstage/plugin-auth-node@0.2.11-next.0
- @backstage/cli@0.22.1
- @backstage/backend-plugin-api@0.3.2-next.0
0.1.32
Patch Changes
6cfd4d7073: Include implementations for the newrootLifecycleServiceRef.015a6dced6: Updated to make sure that service implementations replace default service implementations.a3ec2f32ea: ThestartTestBackendsetup now includes default implementations for all core services.483e907eaf: Internal updates ofcreateServiceFactoryfrom@backstage/backend-plugin-api.51b7a7ed07: The backend started bystartTestBackendnow has default implementations of all core services. It now also returns aTestBackendinstance, which provides access to the underlyingserverthat can be used with testing libraries such assupertest.f23eef3aa2: Updated dependencybetter-sqlite3to^8.0.0.- Updated dependencies
- @backstage/backend-plugin-api@0.3.0
- @backstage/cli@0.22.1
- @backstage/backend-common@0.18.0
- @backstage/backend-app-api@0.3.0
- @backstage/config@1.0.6
- @backstage/types@1.0.2
- @backstage/plugin-auth-node@0.2.9
0.1.32-next.2
Patch Changes
015a6dced6: Updated to make sure that service implementations replace default service implementations.a3ec2f32ea: ThestartTestBackendsetup now includes default implementations for all core services.f23eef3aa2: Updated dependencybetter-sqlite3to^8.0.0.- Updated dependencies
- @backstage/backend-app-api@0.3.0-next.1
- @backstage/backend-plugin-api@0.3.0-next.1
- @backstage/backend-common@0.18.0-next.1
- @backstage/cli@0.22.1-next.2
- @backstage/config@1.0.6-next.0
0.1.32-next.1
Patch Changes
6cfd4d7073: Include implementations for the newrootLifecycleServiceRef.- Updated dependencies
- @backstage/backend-plugin-api@0.2.1-next.0
- @backstage/cli@0.22.1-next.1
- @backstage/backend-common@0.18.0-next.0
- @backstage/config@1.0.6-next.0
- @backstage/backend-app-api@0.2.5-next.0
0.1.32-next.0
Patch Changes
- Updated dependencies
- @backstage/cli@0.22.1-next.0
- @backstage/backend-app-api@0.2.4
- @backstage/backend-common@0.17.0
- @backstage/backend-plugin-api@0.2.0
- @backstage/config@1.0.5
0.1.31
Patch Changes
afa3bf5657: Backends started withstartTestBackendare now automatically stopped after all tests have run.3280711113: Updated dependencymswto^0.49.0.- Updated dependencies
- @backstage/backend-app-api@0.2.4
- @backstage/cli@0.22.0
- @backstage/backend-common@0.17.0
- @backstage/backend-plugin-api@0.2.0
- @backstage/config@1.0.5
0.1.31-next.4
Patch Changes
- Updated dependencies
- @backstage/cli@0.22.0-next.4
- @backstage/backend-common@0.17.0-next.3
- @backstage/backend-app-api@0.2.4-next.3
- @backstage/backend-plugin-api@0.2.0-next.3
- @backstage/config@1.0.5-next.1
0.1.31-next.3
Patch Changes
- Updated dependencies
- @backstage/cli@0.21.2-next.3
- @backstage/backend-app-api@0.2.4-next.2
- @backstage/backend-common@0.17.0-next.2
- @backstage/backend-plugin-api@0.2.0-next.2
- @backstage/config@1.0.5-next.1
0.1.31-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-app-api@0.2.4-next.2
- @backstage/backend-common@0.17.0-next.2
- @backstage/cli@0.21.2-next.2
- @backstage/backend-plugin-api@0.2.0-next.2
- @backstage/config@1.0.5-next.1
0.1.31-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.17.0-next.1
- @backstage/cli@0.21.2-next.1
- @backstage/backend-app-api@0.2.4-next.1
- @backstage/backend-plugin-api@0.1.5-next.1
- @backstage/config@1.0.5-next.1
0.1.31-next.0
Patch Changes
3280711113: Updated dependencymswto^0.49.0.- Updated dependencies
- @backstage/cli@0.21.2-next.0
- @backstage/backend-app-api@0.2.4-next.0
- @backstage/backend-common@0.16.1-next.0
- @backstage/backend-plugin-api@0.1.5-next.0
- @backstage/config@1.0.5-next.0
0.1.30
Patch Changes
e13cd3feaf: Updated dependencymswto^0.48.0.- Updated dependencies
- @backstage/backend-common@0.16.0
- @backstage/cli@0.21.0
- @backstage/backend-app-api@0.2.3
- @backstage/backend-plugin-api@0.1.4
- @backstage/config@1.0.4
0.1.30-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.16.0-next.1
- @backstage/cli@0.21.0-next.1
- @backstage/backend-app-api@0.2.3-next.1
- @backstage/backend-plugin-api@0.1.4-next.1
- @backstage/config@1.0.4-next.0
0.1.30-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.16.0-next.0
- @backstage/cli@0.21.0-next.0
- @backstage/backend-app-api@0.2.3-next.0
- @backstage/backend-plugin-api@0.1.4-next.0
- @backstage/config@1.0.4-next.0
0.1.29
Patch Changes
72549952d1: Fixed handling of root scoped services instartTestBackend.e91e8e9c55: Increased test database max connection pool size to reduce the risk of resource exhaustion.- Updated dependencies
- @backstage/backend-common@0.15.2
- @backstage/cli@0.20.0
- @backstage/backend-app-api@0.2.2
- @backstage/backend-plugin-api@0.1.3
- @backstage/config@1.0.3
0.1.29-next.2
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.15.2-next.2
- @backstage/cli@0.20.0-next.2
- @backstage/backend-app-api@0.2.2-next.2
- @backstage/backend-plugin-api@0.1.3-next.2
- @backstage/config@1.0.3-next.2
0.1.29-next.1
Patch Changes
- Updated dependencies
- @backstage/cli@0.20.0-next.1
- @backstage/backend-common@0.15.2-next.1
- @backstage/backend-plugin-api@0.1.3-next.1
- @backstage/backend-app-api@0.2.2-next.1
- @backstage/config@1.0.3-next.1
0.1.29-next.0
Patch Changes
72549952d1: Fixed handling of root scoped services instartTestBackend.e91e8e9c55: Increased test database max connection pool size to reduce the risk of resource exhaustion.- Updated dependencies
- @backstage/backend-app-api@0.2.2-next.0
- @backstage/backend-plugin-api@0.1.3-next.0
- @backstage/cli@0.20.0-next.0
- @backstage/backend-common@0.15.2-next.0
- @backstage/config@1.0.3-next.0
0.1.28
Patch Changes
854ba37357: Updated to support newServiceFactoryformats.667d917488: Updated dependencymswto^0.47.0.87ec2ba4d6: Updated dependencymswto^0.46.0.bf5e9030eb: Updated dependencymswto^0.45.0.de3347ca74: Updated usages ofServiceFactory.- Updated dependencies
- @backstage/cli@0.19.0
- @backstage/backend-app-api@0.2.1
- @backstage/backend-plugin-api@0.1.2
- @backstage/backend-common@0.15.1
- @backstage/config@1.0.2
0.1.28-next.3
Patch Changes
854ba37357: Updated to support newServiceFactoryformats.- Updated dependencies
- @backstage/backend-plugin-api@0.1.2-next.2
- @backstage/config@1.0.2-next.0
- @backstage/backend-app-api@0.2.1-next.2
- @backstage/cli@0.19.0-next.3
- @backstage/backend-common@0.15.1-next.3
0.1.28-next.2
Patch Changes
667d917488: Updated dependencymswto^0.47.0.87ec2ba4d6: Updated dependencymswto^0.46.0.- Updated dependencies
- @backstage/cli@0.19.0-next.2
- @backstage/backend-app-api@0.2.1-next.1
- @backstage/backend-plugin-api@0.1.2-next.1
- @backstage/backend-common@0.15.1-next.2
0.1.28-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.15.1-next.1
- @backstage/cli@0.19.0-next.1
0.1.28-next.0
Patch Changes
bf5e9030eb: Updated dependencymswto^0.45.0.de3347ca74: Updated usages ofServiceFactory.- Updated dependencies
- @backstage/backend-common@0.15.1-next.0
- @backstage/cli@0.18.2-next.0
- @backstage/backend-plugin-api@0.1.2-next.0
- @backstage/backend-app-api@0.2.1-next.0
0.1.27
Patch Changes
0599732ec0: Refactored experimental backend system with new type names.56e1b4b89c: Added alpha test helpers for the new experimental backend system.- Updated dependencies
- @backstage/cli@0.18.1
- @backstage/backend-common@0.15.0
- @backstage/backend-app-api@0.2.0
- @backstage/backend-plugin-api@0.1.1
0.1.27-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.15.0-next.0
- @backstage/cli@0.18.1-next.0
0.1.26
Patch Changes
a70869e775: Updated dependencymswto^0.43.0.8006d0f9bf: Updated dependencymswto^0.44.0.679b32172e: Updated dependencyknexto^2.0.0.- Updated dependencies
0.1.26-next.3
Patch Changes
a70869e775: Updated dependencymswto^0.43.0.- Updated dependencies
- @backstage/backend-common@0.14.1-next.3
- @backstage/cli@0.18.0-next.3
0.1.26-next.2
Patch Changes
679b32172e: Updated dependencyknexto^2.0.0.- Updated dependencies
- @backstage/backend-common@0.14.1-next.2
- @backstage/cli@0.18.0-next.2
0.1.26-next.1
Patch Changes
- Updated dependencies
- @backstage/cli@0.18.0-next.1
- @backstage/backend-common@0.14.1-next.1
0.1.26-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.14.1-next.0
- @backstage/cli@0.17.3-next.0
0.1.25
Patch Changes
8f7b1835df: Updated dependencymswto^0.41.0.- Updated dependencies
0.1.25-next.2
Patch Changes
- Updated dependencies
- @backstage/cli@0.17.2-next.2
- @backstage/backend-common@0.14.0-next.2
0.1.25-next.1
Patch Changes
8f7b1835df: Updated dependencymswto^0.41.0.- Updated dependencies
- @backstage/cli@0.17.2-next.1
- @backstage/backend-common@0.13.6-next.1
0.1.25-next.0
Patch Changes
- Updated dependencies
- @backstage/cli@0.17.2-next.0
- @backstage/backend-common@0.13.6-next.0
0.1.24
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.13.3
- @backstage/cli@0.17.1
- @backstage/config@1.0.1
0.1.24-next.1
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.13.3-next.2
- @backstage/config@1.0.1-next.0
- @backstage/cli@0.17.1-next.2
0.1.24-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.13.3-next.0
- @backstage/cli@0.17.1-next.0
0.1.23
Patch Changes
0654c87cf2:TestDatabases.createwill no longer set up anafterAlltest handler if no databases are supported.- Updated dependencies
0.1.23-next.1
Patch Changes
0654c87cf2:TestDatabases.createwill no longer set up anafterAlltest handler if no databases are supported.- Updated dependencies
- @backstage/cli@0.17.0-next.1
- @backstage/backend-common@0.13.2-next.1
0.1.23-next.0
Patch Changes
- Updated dependencies
- @backstage/cli@0.16.1-next.0
- @backstage/backend-common@0.13.2-next.0
0.1.22
Patch Changes
89c7e47967: Minor README updateefc73db10c: Usebetter-sqlite3instead of@vscode/sqlite3- Updated dependencies
- @backstage/cli@0.16.0
- @backstage/backend-common@0.13.1
- @backstage/config@1.0.0
0.1.21
Patch Changes
ab7cd7d70e: Do some groundwork for supporting thebetter-sqlite3driver, to maybe eventually replace@vscode/sqlite3(#9912)3c2bc73901: AddsetupRequestMockHandlerswhich sets up a goodmswserver foundation, copied from@backstage/test-utilswhich is a frontend-only package and should not be used from backends.- Updated dependencies
0.1.21-next.0
Patch Changes
ab7cd7d70e: Do some groundwork for supporting thebetter-sqlite3driver, to maybe eventually replace@vscode/sqlite3(#9912)3c2bc73901: AddsetupRequestMockHandlerswhich sets up a goodmswserver foundation, copied from@backstage/test-utilswhich is a frontend-only package and should not be used from backends.- Updated dependencies
- @backstage/backend-common@0.13.0-next.0
- @backstage/cli@0.15.2-next.0
0.1.20
Patch Changes
- Updated dependencies
0.1.19
Patch Changes
- Updated dependencies
0.1.18
Patch Changes
c77c5c7eb6: Addedbackstage.roletopackage.json- Updated dependencies
- @backstage/cli@0.14.0
- @backstage/backend-common@0.10.8
- @backstage/config@0.1.14
0.1.17
Patch Changes
-
2441d1cf59: chore(deps): bumpknexfrom 0.95.6 to 1.0.2This also replaces
sqlite3with@vscode/sqlite35.0.7 -
Updated dependencies
0.1.17-next.0
Patch Changes
-
2441d1cf59: chore(deps): bumpknexfrom 0.95.6 to 1.0.2This also replaces
sqlite3with@vscode/sqlite35.0.7 -
Updated dependencies
- @backstage/cli@0.13.2-next.0
- @backstage/backend-common@0.10.7-next.0
0.1.16
Patch Changes
- Updated dependencies
0.1.16-next.1
Patch Changes
- Updated dependencies
- @backstage/cli@0.13.1-next.1
- @backstage/backend-common@0.10.6-next.0
0.1.16-next.0
Patch Changes
- Updated dependencies
- @backstage/cli@0.13.1-next.0
0.1.15
Patch Changes
- Updated dependencies
0.1.14
Patch Changes
- Updated dependencies
- @backstage/cli@0.12.0
- @backstage/backend-common@0.10.4
- @backstage/config@0.1.13
0.1.14-next.0
Patch Changes
- Updated dependencies
- @backstage/cli@0.12.0-next.0
- @backstage/backend-common@0.10.4-next.0
- @backstage/config@0.1.13-next.0
0.1.13
Patch Changes
b1bc55405e: Bumptestcontainersdependency to version8.1.2- Updated dependencies
- @backstage/config@0.1.12
- @backstage/backend-common@0.10.3
- @backstage/cli@0.11.0
0.1.12
Patch Changes
130b7aadf2: Lazy-loadtestcontainersmodule in order to avoid side-effects.- Updated dependencies
0.1.11
Patch Changes
- Updated dependencies
0.1.10
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.9.12
- @backstage/cli@0.10.0
0.1.9
Patch Changes
e21e3c6102: Bumping minimum requirements fordockerodeandtestcontainers- Updated dependencies
- @backstage/cli@0.9.0
- @backstage/backend-common@0.9.10
0.1.8
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.9.7
- @backstage/cli@0.8.0
0.1.7
Patch Changes
d1da88a19: Properly export all used types.- Updated dependencies
- @backstage/config@0.1.9
- @backstage/backend-common@0.9.2
- @backstage/cli@0.7.11
0.1.6
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.9.0
- @backstage/config@0.1.8
0.1.5
Patch Changes
524045758: Make sure that the unique databases names generated byTestDatabases.create()don't collide.- Updated dependencies
- @backstage/backend-common@0.8.9
- @backstage/cli@0.7.8
0.1.4
Patch Changes
f7134c368: bump sqlite3 to 5.0.1- Updated dependencies
- @backstage/backend-common@0.8.5
0.1.3
Patch Changes
-
772dbdb51: DeprecatesSingleConnectionDatabaseManagerand provides an API compatible database connection manager,DatabaseManager, which allows developers to configure database connections on a per plugin basis.The
backend.databaseconfig path allows you to setprefixto use an alternate prefix for automatically generated database names, the default isbackstage_plugin_. Usebackend.database.plugin.<pluginId>to set plugin specific database connection configuration, e.g.backend: database: client: 'pg', prefix: 'custom_prefix_' connection: host: 'localhost' user: 'foo' password: 'bar' plugin: catalog: connection: database: 'database_name_overriden' scaffolder: client: 'sqlite3' connection: ':memory:'Migrate existing backstage installations by swapping out the database manager in the
packages/backend/src/index.tsfile as shown below:import { - SingleConnectionDatabaseManager, + DatabaseManager, } from '@backstage/backend-common'; // ... function makeCreateEnv(config: Config) { // ... - const databaseManager = SingleConnectionDatabaseManager.fromConfig(config); + const databaseManager = DatabaseManager.fromConfig(config); // ... } -
Updated dependencies
- @backstage/backend-common@0.8.3
- @backstage/cli@0.7.1