v0.50.1
Hey, I just made a Pull Request!
This replaces parts of #7355, but also depends on it.
As part of iterating on the scaffolder template schema we've realized there's a version scoping issue. The core catalog-model has been receiving version bumps quite quickly, but the only new additions have been changes to the template entity kind. The template kind itself is also very closely tied to the scaffolder implementation, and arguably doesn't belong in the core model.
To solve this we move the Template
kind into the scaffolder plugin. The type and JSONSchema end up in a new @backstage/plugin-scaffolder-common
package for consumption in both the frontend and the backend. We also export a new ScaffolderEntitiesProcessor
from @backstage/plugin-scaffolder-backend
, which is similar to the BuiltinKindsEntityProcessor
in the catalog, but only handles the latest version of the Template
kind. This new processor enables the usage of template entities and needs to be installed in the catalog backend like any other custom processor.