5.7 KiB
5.7 KiB
@backstage/plugin-tech-insights-node
0.2.9-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.13.2-next.0
0.2.8
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.13.1
- @backstage/config@1.0.0
- @backstage/plugin-tech-insights-common@0.2.4
0.2.7
Patch Changes
- Updated dependencies
0.2.7-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.13.0-next.0
0.2.6
Patch Changes
- Updated dependencies
0.2.5
Patch Changes
- Updated dependencies
0.2.4
Patch Changes
- Fix for the previous release with missing type declarations.
- Updated dependencies
- @backstage/backend-common@0.10.9
- @backstage/config@0.1.15
- @backstage/plugin-tech-insights-common@0.2.3
0.2.3
Patch Changes
c77c5c7eb6: Addedbackstage.roletopackage.json- Updated dependencies
- @backstage/backend-common@0.10.8
- @backstage/config@0.1.14
- @backstage/plugin-tech-insights-common@0.2.2
0.2.2
Patch Changes
- Updated dependencies
0.2.2-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.7-next.0
0.2.1
Patch Changes
- Updated dependencies
0.2.1-next.0
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.6-next.0
0.2.0
Minor Changes
-
dfd5e81721: BREAKING CHANGES:- The helper function to create a fact retriever registration is now expecting an object of configuration items instead of individual arguments.
Modify your
techInsights.tsplugin configuration inpackages/backend/src/plugins/techInsights.ts(or equivalent) the following way:
-createFactRetrieverRegistration( - '1 1 1 * *', // Example cron, At 01:01 on day-of-month 1. - entityOwnershipFactRetriever, -), +createFactRetrieverRegistration({ + cadende: '1 1 1 * *', // Example cron, At 01:01 on day-of-month 1. + factRetriever: entityOwnershipFactRetriever, +}),TechInsightsStoreinterface has changed its signature ofinsertFactsmethod. If you have created your own implementation of eitherTechInsightsDatabaseorFactRetrieverEngineyou need to modify the implementation/call to this method to accept/pass-in an object instead if individual arguments. The interface now accepts an additionallifecycleargument which is optional (defined below). An example modification to fact retriever engine:
-await this.repository.insertFacts(factRetriever.id, facts); +await this.repository.insertFacts({ + id: factRetriever.id, + facts, + lifecycle, +});Adds a configuration option to fact retrievers to define lifecycle for facts the retriever persists. Possible values are either 'max items' or 'time-to-live'. The former will keep only n number of items in the database for each fact per entity. The latter will remove all facts that are older than the TTL value.
Possible values:
{ maxItems: 5 }// Deletes all facts for the retriever/entity pair, apart from the last five{ ttl: 1209600000 }// (2 weeks) Deletes all facts older than 2 weeks for the retriever/entity pair{ ttl: { weeks: 2 } }// Deletes all facts older than 2 weeks for the retriever/entity pair
- The helper function to create a fact retriever registration is now expecting an object of configuration items instead of individual arguments.
Modify your
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.4
- @backstage/config@0.1.13
0.2.0-next.0
Minor Changes
-
dfd5e81721: BREAKING CHANGES:- The helper function to create a fact retriever registration is now expecting an object of configuration items instead of individual arguments.
Modify your
techInsights.tsplugin configuration inpackages/backend/src/plugins/techInsights.ts(or equivalent) the following way:
-createFactRetrieverRegistration( - '1 1 1 * *', // Example cron, At 01:01 on day-of-month 1. - entityOwnershipFactRetriever, -), +createFactRetrieverRegistration({ + cadende: '1 1 1 * *', // Example cron, At 01:01 on day-of-month 1. + factRetriever: entityOwnershipFactRetriever, +}),TechInsightsStoreinterface has changed its signature ofinsertFactsmethod. If you have created your own implementation of eitherTechInsightsDatabaseorFactRetrieverEngineyou need to modify the implementation/call to this method to accept/pass-in an object instead if individual arguments. The interface now accepts an additionallifecycleargument which is optional (defined below). An example modification to fact retriever engine:
-await this.repository.insertFacts(factRetriever.id, facts); +await this.repository.insertFacts({ + id: factRetriever.id, + facts, + lifecycle, +});Adds a configuration option to fact retrievers to define lifecycle for facts the retriever persists. Possible values are either 'max items' or 'time-to-live'. The former will keep only n number of items in the database for each fact per entity. The latter will remove all facts that are older than the TTL value.
Possible values:
{ maxItems: 5 }// Deletes all facts for the retriever/entity pair, apart from the last five{ ttl: 1209600000 }// (2 weeks) Deletes all facts older than 2 weeks for the retriever/entity pair{ ttl: { weeks: 2 } }// Deletes all facts older than 2 weeks for the retriever/entity pair
- The helper function to create a fact retriever registration is now expecting an object of configuration items instead of individual arguments.
Modify your
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.4-next.0
- @backstage/config@0.1.13-next.0
0.1.2
Patch Changes
- Updated dependencies
0.1.1
Patch Changes
- Updated dependencies
- @backstage/plugin-tech-insights-common@0.2.0
- @backstage/backend-common@0.9.12