@backstage/plugin-catalog-backend 0.15.0 → 0.17.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,77 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 0.17.2
4
+
5
+ ### Patch Changes
6
+
7
+ - b9ce1ce2c1: Allow custom LocationAnalyzer in NextCatalogBuilder
8
+ - 10615525f3: Switch to use the json and observable types from `@backstage/types`
9
+ - Updated dependencies
10
+ - @backstage/config@0.1.11
11
+ - @backstage/errors@0.1.4
12
+ - @backstage/integration@0.6.9
13
+ - @backstage/backend-common@0.9.8
14
+ - @backstage/catalog-model@0.9.6
15
+ - @backstage/search-common@0.2.1
16
+
17
+ ## 0.17.1
18
+
19
+ ### Patch Changes
20
+
21
+ - 3adaf88db2: Take CatalogParser in account when processing file locations.
22
+ - 1f62d1cbe9: Minor rearrangement of `Stitcher` to clarify the scope of one stitch round
23
+ - 3ba87f514e: Add a `GitHubOrgEntityProvider` that can be used instead of the `GithubOrgReaderProcessor`.
24
+ - 36e67d2f24: Internal updates to apply more strict checks to throw errors.
25
+ - 177401b571: Use entity title (if defined) as title of documents indexed by `DefaultCatalogCollator`
26
+ - Updated dependencies
27
+ - @backstage/backend-common@0.9.7
28
+ - @backstage/errors@0.1.3
29
+ - @backstage/catalog-model@0.9.5
30
+
31
+ ## 0.17.0
32
+
33
+ ### Minor Changes
34
+
35
+ - 9fb9256e50: This continues the deprecation of classes used by the legacy catalog engine. New deprecations can be viewed in this [PR](https://github.com/backstage/backstage/pull/7500) or in the API reference documentation.
36
+
37
+ The `batchAddOrUpdateEntities` method of the `EntitiesCatalog` interface has been marked as optional and is being deprecated. It is still implemented and required to be implemented by the legacy catalog classes, but was never implemented in the new catalog.
38
+
39
+ This change is only relevant if you are consuming the `EntitiesCatalog` interface directly, in which case you will get a type error that you need to resolve. It can otherwise be ignored.
40
+
41
+ ### Patch Changes
42
+
43
+ - 3b59bb915e: Fixes a bug in the catalog where entities were not being marked as orphaned.
44
+ - 55ff928d50: This change refactors the internal package structure to remove the `next` catalog folder that was used during the implementation and testing phase of the new catalog engine. The implementation is now the default and is therefore restructured to no longer be packaged under `next/`. This refactor does not change catalog imports from other parts of the project.
45
+ - Updated dependencies
46
+ - @backstage/integration@0.6.8
47
+
48
+ ## 0.16.0
49
+
50
+ ### Minor Changes
51
+
52
+ - 2c5bab2f82: Errors emitted from processors are now considered a failure during entity processing and will prevent entities from being updated. The impact of this change is that when errors are emitted while for example reading a location, then ingestion effectively stops there. If you emit a number of entities along with just one error, then the error will be persisted on the current entity but the emitted entities will _not_ be stored. This fixes [a bug](https://github.com/backstage/backstage/issues/6973) where entities would get marked as orphaned rather than put in an error state when the catalog failed to read a location.
53
+
54
+ In previous versions of the catalog, an emitted error was treated as a less severe problem than an exception thrown by the processor. We are now ensuring that the behavior is consistent for these two cases. Even though both thrown and emitted errors are treated the same, emitted errors stay around as they allow you to highlight multiple errors related to an entity at once. An emitted error will also only prevent the writing of the processing result, while a thrown error will skip the rest of the processing steps.
55
+
56
+ ### Patch Changes
57
+
58
+ - 957e4b3351: Updated dependencies
59
+ - f66c38148a: Avoid duplicate logging of entity processing errors.
60
+ - 426d5031a6: A number of classes and types, that were part of the old catalog engine implementation, are now formally marked as deprecated. They will be removed entirely from the code base in a future release.
61
+
62
+ After upgrading to this version, it is recommended that you take a look inside your `packages/backend/src/plugins/catalog.ts` file (using a code editor), to see if you are using any functionality that it marks as deprecated. If you do, please migrate away from it at your earliest convenience.
63
+
64
+ Migrating to using the new engine implementation is typically a matter of calling `CatalogBuilder.create({ ... })` instead of `new CatalogBuilder({ ... })`.
65
+
66
+ If you are seeing deprecation warnings for `createRouter`, you can either use the `router` field from the return value from updated catalog builder, or temporarily call `createNextRouter`. The latter will however also be deprecated at a later time.
67
+
68
+ - 7b78dd17e6: Replace slash stripping regexp with trimEnd to remove CodeQL warning
69
+ - Updated dependencies
70
+ - @backstage/catalog-model@0.9.4
71
+ - @backstage/backend-common@0.9.6
72
+ - @backstage/catalog-client@0.5.0
73
+ - @backstage/integration@0.6.7
74
+
3
75
  ## 0.15.0
4
76
 
5
77
  ### Minor Changes