From 4b3eea4547b019356876df7959e380782c67060f Mon Sep 17 00:00:00 2001 From: Simon Hellmayr Date: Tue, 29 Sep 2026 16:40:39 +0200 Subject: [PATCH 1/3] feat(inbound-filters): Hint at release version comparisons in custom filters The custom filter API now compares versions for a release value that starts with a comparator such as >=2.41.0. Say so in the modal hint and in the release placeholder, next to the glob syntax. Co-Authored-By: Claude Fable 5.1 --- .../views/settings/project/projectFilters/customFilters.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/app/views/settings/project/projectFilters/customFilters.tsx b/static/app/views/settings/project/projectFilters/customFilters.tsx index 661a0c65f07d..9c5b4f1f7801 100644 --- a/static/app/views/settings/project/projectFilters/customFilters.tsx +++ b/static/app/views/settings/project/projectFilters/customFilters.tsx @@ -159,7 +159,7 @@ const CONDITIONS: Record = { }, release: { label: t('Release'), - placeholder: t('Glob pattern, e.g. 2.41.*'), + placeholder: t('Glob pattern or version comparison, e.g. 2.41.* or >=2.41.0'), description: { all: t('Matches the release of any data type.'), error: t('Matches the release of the error.'), @@ -463,7 +463,7 @@ function CustomFilterModal({ {t( - 'Sentry only filters data that matches every condition below. Each value is a glob pattern, so * matches any text. Put one pattern per line to match any of them.' + 'Sentry only filters data that matches every condition below. Each value is a glob pattern, so * matches any text. A release value that starts with >, >=, <, <= or = compares versions instead. Put one value per line to match any of them.' )} From b36c41afd353033118c480866ccab35b2decd0f3 Mon Sep 17 00:00:00 2001 From: Simon Hellmayr Date: Tue, 29 Sep 2026 16:44:02 +0200 Subject: [PATCH 2/3] feat(inbound-filters): Explain package scope of release version comparisons A comparison without a package applies to every package in the project. Say so in the modal hint, and show how to name one. Co-Authored-By: Claude Fable 5.1 --- .../app/views/settings/project/projectFilters/customFilters.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app/views/settings/project/projectFilters/customFilters.tsx b/static/app/views/settings/project/projectFilters/customFilters.tsx index 9c5b4f1f7801..6b278e230841 100644 --- a/static/app/views/settings/project/projectFilters/customFilters.tsx +++ b/static/app/views/settings/project/projectFilters/customFilters.tsx @@ -463,7 +463,7 @@ function CustomFilterModal({ {t( - 'Sentry only filters data that matches every condition below. Each value is a glob pattern, so * matches any text. A release value that starts with >, >=, <, <= or = compares versions instead. Put one value per line to match any of them.' + 'Sentry only filters data that matches every condition below. Each value is a glob pattern, so * matches any text. A release value that starts with >, >=, <, <= or = compares versions instead. It applies to every package unless you name one, e.g. >=myapp@2.0. Put one value per line to match any of them.' )} From c25e630b5c1b3bc3441715df26cc5bd7437d27a4 Mon Sep 17 00:00:00 2001 From: Simon Hellmayr Date: Tue, 29 Sep 2026 16:46:55 +0200 Subject: [PATCH 3/3] feat(inbound-filters): Say a plain release version compares as equal Co-Authored-By: Claude Fable 5.1 --- .../app/views/settings/project/projectFilters/customFilters.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app/views/settings/project/projectFilters/customFilters.tsx b/static/app/views/settings/project/projectFilters/customFilters.tsx index 6b278e230841..547fe10cbc00 100644 --- a/static/app/views/settings/project/projectFilters/customFilters.tsx +++ b/static/app/views/settings/project/projectFilters/customFilters.tsx @@ -463,7 +463,7 @@ function CustomFilterModal({ {t( - 'Sentry only filters data that matches every condition below. Each value is a glob pattern, so * matches any text. A release value that starts with >, >=, <, <= or = compares versions instead. It applies to every package unless you name one, e.g. >=myapp@2.0. Put one value per line to match any of them.' + 'Sentry only filters data that matches every condition below. Each value is a glob pattern, so * matches any text. A release value that is a version, e.g. 2.41.0, or starts with >, >=, <, <= or = compares versions instead. It applies to every package unless you name one, e.g. >=myapp@2.0. Put one value per line to match any of them.' )}