@backstage/catalog-client 1.8.0-next.1 → 1.8.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @backstage/catalog-client
2
2
 
3
+ ## 1.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 656d1ef: Internal update to use the updated generated code from `backstage-cli package schema openapi generate --client-package ...`.
8
+ - 31c4fe0: The client now automatically splits up very large `getEntitiesByRefs` calls into several smaller requests behind the scenes when needed. This ensures that each individual request does not exceed common Express.js request body limits or overload the server.
9
+
10
+ ### Patch Changes
11
+
12
+ - 873f89a: Fix for certain filter fields in the `catalogApiMock` being case sensitive.
13
+ - Updated dependencies
14
+ - @backstage/catalog-model@1.7.1
15
+ - @backstage/errors@1.2.5
16
+
3
17
  ## 1.8.0-next.1
4
18
 
5
19
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  import { CATALOG_FILTER_EXISTS } from '@backstage/catalog-client';
2
- import { stringifyEntityRef, parseEntityRef, DEFAULT_NAMESPACE } from '@backstage/catalog-model';
2
+ import { DEFAULT_NAMESPACE, stringifyEntityRef, parseEntityRef } from '@backstage/catalog-model';
3
3
  import { NotFoundError, NotImplementedError } from '@backstage/errors';
4
4
  import { traverse } from '../plugins/catalog-backend/src/database/operations/stitcher/buildEntitySearch.esm.js';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/catalog-client",
3
- "version": "1.8.0-next.1",
3
+ "version": "1.8.0",
4
4
  "description": "An isomorphic client for the catalog backend",
5
5
  "backstage": {
6
6
  "role": "common-library"
@@ -36,9 +36,18 @@
36
36
  },
37
37
  "main": "./dist/index.cjs.js",
38
38
  "types": "./dist/index.d.ts",
39
+ "typesVersions": {
40
+ "*": {
41
+ "index": [
42
+ "dist/index.d.ts"
43
+ ],
44
+ "testUtils": [
45
+ "dist/testUtils.d.ts"
46
+ ]
47
+ }
48
+ },
39
49
  "files": [
40
- "dist",
41
- "testUtils"
50
+ "dist"
42
51
  ],
43
52
  "scripts": {
44
53
  "build": "backstage-cli package build",
@@ -49,13 +58,13 @@
49
58
  "test": "backstage-cli package test"
50
59
  },
51
60
  "dependencies": {
52
- "@backstage/catalog-model": "1.7.0",
53
- "@backstage/errors": "1.2.4",
61
+ "@backstage/catalog-model": "^1.7.1",
62
+ "@backstage/errors": "^1.2.5",
54
63
  "cross-fetch": "^4.0.0",
55
64
  "uri-template": "^2.0.0"
56
65
  },
57
66
  "devDependencies": {
58
- "@backstage/cli": "0.29.0-next.2",
67
+ "@backstage/cli": "^0.29.0",
59
68
  "msw": "^1.0.0"
60
69
  },
61
70
  "module": "./dist/index.esm.js"
@@ -1,7 +0,0 @@
1
- {
2
- "name": "@backstage/catalog-client__testutils",
3
- "version": "1.8.0-next.1",
4
- "main": "../dist/testUtils.cjs.js",
5
- "module": "../dist/testUtils.esm.js",
6
- "types": "../dist/testUtils.d.ts"
7
- }