Version Packages

This commit is contained in:
github-actions[bot]
2023-02-14 13:41:52 +00:00
parent c5c4c91755
commit 25b57cc07f
561 changed files with 5946 additions and 1898 deletions
+29
View File
@@ -1,5 +1,34 @@
# @backstage/backend-plugin-api
## 0.4.0
### Minor Changes
- e716946103: **BREAKING**: Split out the hook for both lifecycle services so that the first parameter of `addShutdownHook` is the hook function, and the second is the options.
- 0ff03319be: **BREAKING**: The plugin ID option passed to `createBackendPlugin` is now `pluginId`, rather than just `id`. This is to make it match `createBackendModule` more closely.
- 71a5ec0f06: **BREAKING**: Switched out `LogMeta` type for `JsonObject`.
- 5febb216fe: **BREAKING**: The `CacheService` has been changed to remove the indirection of `getClient`, instead making the `CacheClient` methods directly available on the `CacheService`. In order to allow for the creation of clients with default options, there is now a new `.withOptions` method that must be implemented as part of the service interface.
- b86efa2d04: Switch `ServiceFactory` to be an opaque type, keeping only the `service` field as public API, but also adding a type parameter for the service scope.
- 610d65e143: Switched `BackendFeature` to be an opaque type.
### Patch Changes
- 9c9456fd33: Removed the unused `TypesToServiceRef` type
- 181c03edb5: Aligned opaque type markers to all use a `$type` property with namespacing.
- 725383f69d: Tweaked messaging in the README.
- ae88f61e00: The `register` methods passed to `createBackendPlugin` and `createBackendModule`
now have dedicated `BackendPluginRegistrationPoints` and
`BackendModuleRegistrationPoints` arguments, 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
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-plugin-api",
"description": "Core API used by Backstage backend plugins",
"version": "0.4.0-next.2",
"version": "0.4.0",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {