From ae6b614d8406797728927d986ab5c9ed9902c7ba Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Fri, 4 Mar 2022 11:08:08 +0100 Subject: [PATCH] update changeset, add api report Signed-off-by: Johan Haals --- .changeset/yellow-shirts-study.md | 2 ++ packages/catalog-model/api-report.md | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.changeset/yellow-shirts-study.md b/.changeset/yellow-shirts-study.md index 26ccfcb83f..7e464f1c26 100644 --- a/.changeset/yellow-shirts-study.md +++ b/.changeset/yellow-shirts-study.md @@ -5,3 +5,5 @@ **BREAKING**: Removed the `target` property from `EntityRelation`. This field has been replaced by `targetRef`. This means that `target: { name: 'team-a', kind: 'group', namespace: 'default' }` is now replaced with `targetRef: 'group:default/team-a'` in entity relations. + +The entities API endpoint still return the old `target` field for to ease transitions, however the future removal of this field will be considered non breaking. diff --git a/packages/catalog-model/api-report.md b/packages/catalog-model/api-report.md index 1a36ce43c7..eb0e4ad7f0 100644 --- a/packages/catalog-model/api-report.md +++ b/packages/catalog-model/api-report.md @@ -192,7 +192,6 @@ export type EntityPolicy = { // @public export type EntityRelation = { type: string; - target: CompoundEntityRef; targetRef: string; };