Merge pull request #32631 from backstage/freben/predicates-2

Introduce the `@backstage/filter-predicates` package
This commit is contained in:
Fredrik Adelöw
2026-02-10 16:17:35 +01:00
committed by GitHub
42 changed files with 1092 additions and 322 deletions
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/plugin-catalog-graph': patch
'@backstage/plugin-kubernetes': patch
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-api-docs': patch
'@backstage/plugin-techdocs': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-org': patch
---
Adjusted to use the new `@backstage/filter-predicates` types for predicate expressions.
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/plugin-catalog-react': minor
---
**BREAKING ALPHA**: All of the predicate types and functions have been moved to the `@backstage/filter-predicates` package.
When moving into the more general package, they were renamed as follows:
- `EntityPredicate` -> `FilterPredicate`
- `EntityPredicateExpression` -> `FilterPredicateExpression`
- `EntityPredicatePrimitive` -> `FilterPredicatePrimitive`
- `entityPredicateToFilterFunction` -> `filterPredicateToFilterFunction`
- `EntityPredicateValue` -> `FilterPredicateValue`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/filter-predicates': minor
---
Introduced package, basically as the extracted predicate types from `@backstage/plugin-catalog-react/alpha`