@backstage/plugin-catalog-backend 1.4.0-next.1 → 1.4.0-next.2

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,22 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 1.4.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - eadf56bbbf: Bump `git-url-parse` version to `^13.0.0`
8
+ - 667d917488: Updated dependency `msw` to `^0.47.0`.
9
+ - 87ec2ba4d6: Updated dependency `msw` to `^0.46.0`.
10
+ - 06e2b077a1: Limit the length of error messages that get written to the database and logs - to prevent performance issues
11
+ - Updated dependencies
12
+ - @backstage/backend-plugin-api@0.1.2-next.1
13
+ - @backstage/plugin-catalog-node@1.0.2-next.1
14
+ - @backstage/backend-common@0.15.1-next.2
15
+ - @backstage/integration@1.3.1-next.1
16
+ - @backstage/catalog-client@1.0.5-next.1
17
+ - @backstage/plugin-permission-common@0.6.4-next.1
18
+ - @backstage/plugin-permission-node@0.6.5-next.2
19
+
3
20
  ## 1.4.0-next.1
4
21
 
5
22
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend",
3
- "version": "1.4.0-next.1",
3
+ "version": "1.4.0-next.2",
4
4
  "main": "../dist/index.cjs.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -356,7 +356,7 @@ export declare type CatalogPermissionRule<TParams extends unknown[] = unknown[]>
356
356
  * Catalog plugin
357
357
  * @alpha
358
358
  */
359
- export declare const catalogPlugin: (options?: unknown) => BackendFeature;
359
+ export declare const catalogPlugin: (options?: undefined) => BackendFeature;
360
360
 
361
361
  /** @public */
362
362
  export declare interface CatalogProcessingEngine {
package/dist/index.cjs.js CHANGED
@@ -749,7 +749,10 @@ class UrlReaderProcessor {
749
749
  emit(pluginCatalogNode.processingResult.refresh(`${location.type}:${location.target}`));
750
750
  } catch (error) {
751
751
  errors.assertError(error);
752
- const message = `Unable to read ${location.type}, ${error}`;
752
+ const message = `Unable to read ${location.type}, ${error}`.substring(
753
+ 0,
754
+ 5e3
755
+ );
753
756
  if (error.name === "NotModifiedError" && cacheItem) {
754
757
  for (const parseResult of cacheItem.value) {
755
758
  emit(parseResult);