Deprecate implementsApis

This commit is contained in:
Oliver Sand
2020-11-25 16:21:08 +01:00
parent ab94c9542f
commit 069cda35f4
3 changed files with 26 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
---
'@backstage/catalog-model': patch
---
Marked the field `spec.implementsApis` on `Component` entities for deprecation on Dec 14th, 2020.
Code that consumes these fields should remove those usages as soon as possible as migrate to using
relations instead. Producers should fill the field `spec.providesApis` instead, which has the same
semantic.
After Dec 14th, the fields will be removed from types and classes of the Backstage repository. At
the first release after that, they will not be present in released packages either.
If your catalog-info.yaml files still contain this fields after the deletion, they will still be
valid and your ingestion will not break, but they won't be visible in the types for consuming code.