diff --git a/workspaces/scorecard/.changeset/cute-poets-study.md b/workspaces/scorecard/.changeset/cute-poets-study.md deleted file mode 100644 index dc17f8edd8..0000000000 --- a/workspaces/scorecard/.changeset/cute-poets-study.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-openssf': minor ---- - -First version of OpenSSF Scorecard plugin diff --git a/workspaces/scorecard/.changeset/free-sheep-post.md b/workspaces/scorecard/.changeset/free-sheep-post.md deleted file mode 100644 index 43e8dd5fe6..0000000000 --- a/workspaces/scorecard/.changeset/free-sheep-post.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@red-hat-developer-hub/backstage-plugin-scorecard-common': minor -'@red-hat-developer-hub/backstage-plugin-scorecard': minor ---- - -Added aggregated metric cards frontend diff --git a/workspaces/scorecard/.changeset/renovate-8ba9574.md b/workspaces/scorecard/.changeset/renovate-8ba9574.md deleted file mode 100644 index fee822a1b5..0000000000 --- a/workspaces/scorecard/.changeset/renovate-8ba9574.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@red-hat-developer-hub/backstage-plugin-scorecard': patch ---- - -Updated dependency `@red-hat-developer-hub/backstage-plugin-theme` to `^0.11.0`. diff --git a/workspaces/scorecard/.changeset/seven-guests-search.md b/workspaces/scorecard/.changeset/seven-guests-search.md deleted file mode 100644 index 3e3e6e9f0e..0000000000 --- a/workspaces/scorecard/.changeset/seven-guests-search.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -'@red-hat-developer-hub/backstage-plugin-scorecard-backend': minor -'@red-hat-developer-hub/backstage-plugin-scorecard-common': minor -'@red-hat-developer-hub/backstage-plugin-scorecard': minor ---- - -Implemented endpoint to aggregate metrics for scorecard metrics - -**BREAKING** Update attribute `value` in the `MetricResult` type and update validation to support `null` instead `undefined` for the updated attribute - -```diff -export type MetricResult = { - id: string; - status: 'success' | 'error'; - metadata: { - title: string; - description: string; - type: MetricType; - history?: boolean; - }; - result: { -- value?: MetricValue; -+ value: MetricValue | null; - timestamp: string; - thresholdResult: ThresholdResult; - }; - error?: string; -}; -``` - -**BREAKING** Update attribute `evaluation` in the `ThresholdResult` type and update validation to support `null` instead `undefined` for the updated attribute - -```diff -export type ThresholdResult = { - status: 'success' | 'error'; -- definition: ThresholdConfig | undefined; -+ definition: ThresholdConfig | null; - evaluation: string | undefined; // threshold key the expression evaluated to - error?: string; -}; -``` diff --git a/workspaces/scorecard/plugins/scorecard-backend-module-github/CHANGELOG.md b/workspaces/scorecard/plugins/scorecard-backend-module-github/CHANGELOG.md index a360a69bae..8a30277c97 100644 --- a/workspaces/scorecard/plugins/scorecard-backend-module-github/CHANGELOG.md +++ b/workspaces/scorecard/plugins/scorecard-backend-module-github/CHANGELOG.md @@ -1,5 +1,14 @@ # @red-hat-developer-hub/backstage-plugin-scorecard-backend-module-github +## 2.3.0 + +### Patch Changes + +- Updated dependencies [52b60ee] +- Updated dependencies [4e360d5] + - @red-hat-developer-hub/backstage-plugin-scorecard-common@2.3.0 + - @red-hat-developer-hub/backstage-plugin-scorecard-node@2.3.0 + ## 2.2.0 ### Minor Changes diff --git a/workspaces/scorecard/plugins/scorecard-backend-module-github/package.json b/workspaces/scorecard/plugins/scorecard-backend-module-github/package.json index c9ca6ca475..cad09393b4 100644 --- a/workspaces/scorecard/plugins/scorecard-backend-module-github/package.json +++ b/workspaces/scorecard/plugins/scorecard-backend-module-github/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-github", - "version": "2.2.0", + "version": "2.3.0", "license": "Apache-2.0", "description": "The github backend module for the scorecard plugin.", "main": "src/index.ts", diff --git a/workspaces/scorecard/plugins/scorecard-backend-module-jira/CHANGELOG.md b/workspaces/scorecard/plugins/scorecard-backend-module-jira/CHANGELOG.md index e2538782cd..43dd9699f3 100644 --- a/workspaces/scorecard/plugins/scorecard-backend-module-jira/CHANGELOG.md +++ b/workspaces/scorecard/plugins/scorecard-backend-module-jira/CHANGELOG.md @@ -1,5 +1,14 @@ # @red-hat-developer-hub/backstage-plugin-scorecard-backend-module-jira +## 2.3.0 + +### Patch Changes + +- Updated dependencies [52b60ee] +- Updated dependencies [4e360d5] + - @red-hat-developer-hub/backstage-plugin-scorecard-common@2.3.0 + - @red-hat-developer-hub/backstage-plugin-scorecard-node@2.3.0 + ## 2.2.0 ### Minor Changes diff --git a/workspaces/scorecard/plugins/scorecard-backend-module-jira/package.json b/workspaces/scorecard/plugins/scorecard-backend-module-jira/package.json index af531203be..0a4b73b878 100644 --- a/workspaces/scorecard/plugins/scorecard-backend-module-jira/package.json +++ b/workspaces/scorecard/plugins/scorecard-backend-module-jira/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-jira", - "version": "2.2.0", + "version": "2.3.0", "license": "Apache-2.0", "description": "The jira backend module for the scorecard plugin.", "main": "src/index.ts", diff --git a/workspaces/scorecard/plugins/scorecard-backend-module-openssf/CHANGELOG.md b/workspaces/scorecard/plugins/scorecard-backend-module-openssf/CHANGELOG.md new file mode 100644 index 0000000000..faa452569b --- /dev/null +++ b/workspaces/scorecard/plugins/scorecard-backend-module-openssf/CHANGELOG.md @@ -0,0 +1,14 @@ +# @red-hat-developer-hub/backstage-plugin-scorecard-backend-module-openssf + +## 2.3.0 + +### Minor Changes + +- 562dcc6: First version of OpenSSF Scorecard plugin + +### Patch Changes + +- Updated dependencies [52b60ee] +- Updated dependencies [4e360d5] + - @red-hat-developer-hub/backstage-plugin-scorecard-common@2.3.0 + - @red-hat-developer-hub/backstage-plugin-scorecard-node@2.3.0 diff --git a/workspaces/scorecard/plugins/scorecard-backend-module-openssf/package.json b/workspaces/scorecard/plugins/scorecard-backend-module-openssf/package.json index f9f256ada0..841e5c3e1d 100644 --- a/workspaces/scorecard/plugins/scorecard-backend-module-openssf/package.json +++ b/workspaces/scorecard/plugins/scorecard-backend-module-openssf/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-scorecard-backend-module-openssf", - "version": "0.0.0", + "version": "2.3.0", "license": "Apache-2.0", "description": "The openssf backend module for the scorecard plugin.", "main": "src/index.ts", diff --git a/workspaces/scorecard/plugins/scorecard-backend/CHANGELOG.md b/workspaces/scorecard/plugins/scorecard-backend/CHANGELOG.md index 12487a8aee..01a091c8dd 100644 --- a/workspaces/scorecard/plugins/scorecard-backend/CHANGELOG.md +++ b/workspaces/scorecard/plugins/scorecard-backend/CHANGELOG.md @@ -1,5 +1,52 @@ # @red-hat-developer-hub/backstage-plugin-scorecard-backend +## 2.3.0 + +### Minor Changes + +- 4e360d5: Implemented endpoint to aggregate metrics for scorecard metrics + + **BREAKING** Update attribute `value` in the `MetricResult` type and update validation to support `null` instead `undefined` for the updated attribute + + ```diff + export type MetricResult = { + id: string; + status: 'success' | 'error'; + metadata: { + title: string; + description: string; + type: MetricType; + history?: boolean; + }; + result: { + - value?: MetricValue; + + value: MetricValue | null; + timestamp: string; + thresholdResult: ThresholdResult; + }; + error?: string; + }; + ``` + + **BREAKING** Update attribute `evaluation` in the `ThresholdResult` type and update validation to support `null` instead `undefined` for the updated attribute + + ```diff + export type ThresholdResult = { + status: 'success' | 'error'; + - definition: ThresholdConfig | undefined; + + definition: ThresholdConfig | null; + evaluation: string | undefined; // threshold key the expression evaluated to + error?: string; + }; + ``` + +### Patch Changes + +- Updated dependencies [52b60ee] +- Updated dependencies [4e360d5] + - @red-hat-developer-hub/backstage-plugin-scorecard-common@2.3.0 + - @red-hat-developer-hub/backstage-plugin-scorecard-node@2.3.0 + ## 2.2.0 ### Minor Changes diff --git a/workspaces/scorecard/plugins/scorecard-backend/package.json b/workspaces/scorecard/plugins/scorecard-backend/package.json index 11fc10f474..12aa5f9dfd 100644 --- a/workspaces/scorecard/plugins/scorecard-backend/package.json +++ b/workspaces/scorecard/plugins/scorecard-backend/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-scorecard-backend", - "version": "2.2.0", + "version": "2.3.0", "license": "Apache-2.0", "main": "src/index.ts", "types": "src/index.ts", diff --git a/workspaces/scorecard/plugins/scorecard-common/CHANGELOG.md b/workspaces/scorecard/plugins/scorecard-common/CHANGELOG.md index cc92235d7b..f89a0e2bdb 100644 --- a/workspaces/scorecard/plugins/scorecard-common/CHANGELOG.md +++ b/workspaces/scorecard/plugins/scorecard-common/CHANGELOG.md @@ -1,5 +1,46 @@ # @red-hat-developer-hub/backstage-plugin-scorecard-common +## 2.3.0 + +### Minor Changes + +- 52b60ee: Added aggregated metric cards frontend +- 4e360d5: Implemented endpoint to aggregate metrics for scorecard metrics + + **BREAKING** Update attribute `value` in the `MetricResult` type and update validation to support `null` instead `undefined` for the updated attribute + + ```diff + export type MetricResult = { + id: string; + status: 'success' | 'error'; + metadata: { + title: string; + description: string; + type: MetricType; + history?: boolean; + }; + result: { + - value?: MetricValue; + + value: MetricValue | null; + timestamp: string; + thresholdResult: ThresholdResult; + }; + error?: string; + }; + ``` + + **BREAKING** Update attribute `evaluation` in the `ThresholdResult` type and update validation to support `null` instead `undefined` for the updated attribute + + ```diff + export type ThresholdResult = { + status: 'success' | 'error'; + - definition: ThresholdConfig | undefined; + + definition: ThresholdConfig | null; + evaluation: string | undefined; // threshold key the expression evaluated to + error?: string; + }; + ``` + ## 2.2.0 ### Minor Changes diff --git a/workspaces/scorecard/plugins/scorecard-common/package.json b/workspaces/scorecard/plugins/scorecard-common/package.json index 109ea76b39..585d619bce 100644 --- a/workspaces/scorecard/plugins/scorecard-common/package.json +++ b/workspaces/scorecard/plugins/scorecard-common/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-scorecard-common", - "version": "2.2.0", + "version": "2.3.0", "license": "Apache-2.0", "description": "Common functionalities for the scorecard plugin", "main": "src/index.ts", diff --git a/workspaces/scorecard/plugins/scorecard-node/CHANGELOG.md b/workspaces/scorecard/plugins/scorecard-node/CHANGELOG.md index dad49d2312..b00e480b5e 100644 --- a/workspaces/scorecard/plugins/scorecard-node/CHANGELOG.md +++ b/workspaces/scorecard/plugins/scorecard-node/CHANGELOG.md @@ -1,5 +1,13 @@ # @red-hat-developer-hub/backstage-plugin-scorecard-node +## 2.3.0 + +### Patch Changes + +- Updated dependencies [52b60ee] +- Updated dependencies [4e360d5] + - @red-hat-developer-hub/backstage-plugin-scorecard-common@2.3.0 + ## 2.2.0 ### Minor Changes diff --git a/workspaces/scorecard/plugins/scorecard-node/package.json b/workspaces/scorecard/plugins/scorecard-node/package.json index d99f0a0424..5e737af8b3 100644 --- a/workspaces/scorecard/plugins/scorecard-node/package.json +++ b/workspaces/scorecard/plugins/scorecard-node/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-scorecard-node", - "version": "2.2.0", + "version": "2.3.0", "license": "Apache-2.0", "description": "Node.js library for the scorecard plugin", "main": "src/index.ts", diff --git a/workspaces/scorecard/plugins/scorecard/CHANGELOG.md b/workspaces/scorecard/plugins/scorecard/CHANGELOG.md index 1cbbb28b93..38fcfe1b74 100644 --- a/workspaces/scorecard/plugins/scorecard/CHANGELOG.md +++ b/workspaces/scorecard/plugins/scorecard/CHANGELOG.md @@ -1,5 +1,53 @@ # @red-hat-developer-hub/backstage-plugin-scorecard +## 2.3.0 + +### Minor Changes + +- 52b60ee: Added aggregated metric cards frontend +- 4e360d5: Implemented endpoint to aggregate metrics for scorecard metrics + + **BREAKING** Update attribute `value` in the `MetricResult` type and update validation to support `null` instead `undefined` for the updated attribute + + ```diff + export type MetricResult = { + id: string; + status: 'success' | 'error'; + metadata: { + title: string; + description: string; + type: MetricType; + history?: boolean; + }; + result: { + - value?: MetricValue; + + value: MetricValue | null; + timestamp: string; + thresholdResult: ThresholdResult; + }; + error?: string; + }; + ``` + + **BREAKING** Update attribute `evaluation` in the `ThresholdResult` type and update validation to support `null` instead `undefined` for the updated attribute + + ```diff + export type ThresholdResult = { + status: 'success' | 'error'; + - definition: ThresholdConfig | undefined; + + definition: ThresholdConfig | null; + evaluation: string | undefined; // threshold key the expression evaluated to + error?: string; + }; + ``` + +### Patch Changes + +- 61d0c34: Updated dependency `@red-hat-developer-hub/backstage-plugin-theme` to `^0.11.0`. +- Updated dependencies [52b60ee] +- Updated dependencies [4e360d5] + - @red-hat-developer-hub/backstage-plugin-scorecard-common@2.3.0 + ## 2.2.0 ### Minor Changes diff --git a/workspaces/scorecard/plugins/scorecard/package.json b/workspaces/scorecard/plugins/scorecard/package.json index ae88d02f0a..9b3a8f5f8b 100644 --- a/workspaces/scorecard/plugins/scorecard/package.json +++ b/workspaces/scorecard/plugins/scorecard/package.json @@ -1,6 +1,6 @@ { "name": "@red-hat-developer-hub/backstage-plugin-scorecard", - "version": "2.2.0", + "version": "2.3.0", "license": "Apache-2.0", "main": "src/index.ts", "types": "src/index.ts",