@backstage/catalog-client 1.14.0-next.2 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @backstage/catalog-client
|
|
2
2
|
|
|
3
|
+
## 1.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 972f686: Added support for the `query` field in `getEntitiesByRefs` requests, enabling predicate-based filtering with `$all`, `$any`, `$not`, `$exists`, `$in`, `$contains`, and `$hasPrefix` operators.
|
|
8
|
+
- 5d95e8e: Add an `onConflict` option to location creation that can refresh an existing location instead of throwing a conflict error.
|
|
9
|
+
- 56c908e: Added support for the `query` field in `getEntityFacets` requests, enabling predicate-based filtering with `$all`, `$any`, `$not`, `$exists`, `$in`, `$contains`, and `$hasPrefix` operators.
|
|
10
|
+
- 0fbcf23: Migrated OpenAPI schemas to 3.1.
|
|
11
|
+
- 51e23eb: Added predicate-based entity filtering via POST /entities/by-query endpoint.
|
|
12
|
+
|
|
13
|
+
Supports `$all`, `$any`, `$not`, `$exists`, `$in`, `$hasPrefix`, and (partially) `$contains` operators for expressive entity queries. Integrated into the existing `queryEntities` flow with full cursor-based pagination, permission enforcement, and `totalItems` support.
|
|
14
|
+
|
|
15
|
+
The catalog client's `queryEntities()` method automatically routes to the POST endpoint when a `query` predicate is provided.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- d2494d6: Minor update to catalog client docs
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @backstage/filter-predicates@0.1.1
|
|
22
|
+
- @backstage/catalog-model@1.7.7
|
|
23
|
+
|
|
3
24
|
## 1.14.0-next.2
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/catalog-client",
|
|
3
|
-
"version": "1.14.0
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "An isomorphic client for the catalog backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "common-library"
|
|
@@ -58,16 +58,16 @@
|
|
|
58
58
|
"test": "backstage-cli package test"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@backstage/catalog-model": "1.7.
|
|
62
|
-
"@backstage/errors": "1.2.7",
|
|
63
|
-
"@backstage/filter-predicates": "0.1.
|
|
61
|
+
"@backstage/catalog-model": "^1.7.7",
|
|
62
|
+
"@backstage/errors": "^1.2.7",
|
|
63
|
+
"@backstage/filter-predicates": "^0.1.1",
|
|
64
64
|
"cross-fetch": "^4.0.0",
|
|
65
65
|
"lodash": "^4.17.21",
|
|
66
66
|
"uri-template": "^2.0.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@backstage/cli": "0.36.0
|
|
70
|
-
"@backstage/plugin-catalog-common": "1.1.8",
|
|
69
|
+
"@backstage/cli": "^0.36.0",
|
|
70
|
+
"@backstage/plugin-catalog-common": "^1.1.8",
|
|
71
71
|
"@types/lodash": "^4.14.151",
|
|
72
72
|
"msw": "^1.0.0"
|
|
73
73
|
},
|