From 09d3eb684ea48f077f0a101a2261a959674618ce Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Thu, 1 Jul 2021 11:52:37 +0200 Subject: [PATCH] Add changeset Signed-off-by: Johan Haals --- .changeset/honest-cars-glow.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changeset/honest-cars-glow.md diff --git a/.changeset/honest-cars-glow.md b/.changeset/honest-cars-glow.md new file mode 100644 index 0000000000..f6efd55d3c --- /dev/null +++ b/.changeset/honest-cars-glow.md @@ -0,0 +1,9 @@ +--- +'@backstage/backend-common': patch +--- + +Adds `readUrl` method to the `UrlReader` interface that allows for complex response objects. This new method is currently optional to implement which allows for a soft migration to `readUrl` instead of `read` in the future. + +The main use case for `readUrl` returning an object instead of solely a read buffer is to allow for additional metadata such as etag which will is a requirement for cacheable processing. + +Implements `readUrl` in `GithubUrlReader`.