From 1a51cd99b0c97ec41d7be56e24b7a5ca5d19c7c7 Mon Sep 17 00:00:00 2001 From: Benjamin Janssens Date: Mon, 17 Nov 2025 15:16:57 +0100 Subject: [PATCH] chore(cache): improve changeset Signed-off-by: Benjamin Janssens --- .changeset/sour-lines-taste.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.changeset/sour-lines-taste.md b/.changeset/sour-lines-taste.md index f9a316a800..baed435419 100644 --- a/.changeset/sour-lines-taste.md +++ b/.changeset/sour-lines-taste.md @@ -1,5 +1,21 @@ --- -'@backstage/backend-defaults': patch +'@backstage/backend-defaults': minor --- -Improved support for Valkey +**BREAKING** The correct configuration options for Valkey are now being used. + +These changes are **required** to `app-config.yaml`: + +```diff +backend: + cache: + valkey: + client: +- namespace: 'my-app' +- keyPrefixSeparator: ':' ++ keyPrefix: 'my-app:' +- clearBatchSize: 1000 +- useUnlink: false +``` + +In comparison to Redis, Valkey requires the full `keyPrefix` including the separator to be specified instead of separate `namespace` and `keyPrefixSeparator` options. Also, Valkey does not support the `clearBatchSize` and `useUnlink` options.