chore: Update dependency @backstage/backend-plugin-api to v1 #173
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.8.0
->^1.0.0
Release Notes
backstage/backstage (@backstage/backend-plugin-api)
v1.1.1
Compare Source
Patch Changes
v1.1.0
Compare Source
Minor Changes
12eac85
: EXPERIMENTAL: Adds a newinstanceMetadataService
to hold information about a specific backend instance.Patch Changes
eef3ef1
: Removed unusedexpress
dependencies.0e9c9fa
: TheRootLifecycleService
now has a newaddBeforeShutdownHook
method, 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
Shutdown
hooks until allBeforeShutdown
hooks have completed.Updated dependencies
v1.0.2
Compare Source
Patch Changes
d52d7f9
: Support ISO and ms string forms of durations in config toov1.0.1
Compare Source
Patch Changes
v1.0.0
Compare Source
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
createRouter
exports. 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.identity
andcoreServices.tokenManager
are gone, along with related types and utilities in other packages.f687050
: Removed the following deprecated exportsBackendPluginConfig
useCreateBackendPluginOptions
BackendModuleConfig
useCreateBackendModuleOptions
ExtensionPointConfig
useCreateExtensionPointOptions
4d82481
: Removed deprecatedServiceFactoryOrFunction
type.d425fc4
: BREAKING: The return values fromcreateBackendPlugin
,createBackendModule
, andcreateServiceFactory
are now simplyBackendFeature
andServiceFactory
, instead of the previously deprecated form of a function that returns them. For this reason,createServiceFactory
also 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.ts
too, where you add plugins, modules, and services. If you were usingcreateServiceFactory
with 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
IdentityFactoryOptions
type 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 thefeatureDiscoveryServiceRef
in favor of using the newdiscoveryFeatureLoader
instead.8052b9b
: Add atoJSON
on 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 realityConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.