Skip to content

Commit d3e7817

Browse files
committed
feat!: emit defaults to CycloneDX1.6
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 1952e99 commit d3e7817

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

HISTORY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ All notable changes to this project will be documented in this file.
66

77
<!-- unreleased changes go here -->
88

9+
* BREAKING changes
10+
* Option `specVersion` defaults to `"1.6"`, was `"1.4"` ([#1329] via [#])
11+
12+
[#1329]: https://github.com/CycloneDX/cyclonedx-webpack-plugin/issues/1329
13+
914
## 3.15.0 - 2024-10-19
1015

1116
* Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ new CycloneDxWebpackPlugin(options?: object)
4646

4747
| Name | Type | Default | Description |
4848
|:-----|:----:|:-------:|:------------|
49-
| **`specVersion`** | `{string}`<br/>one of: `"1.2"`, `"1.3"`, `"1.4"`, `"1.5"`, `"1.6"` | `"1.4"` | Which version of [CycloneDX-spec] to use.<br/> Supported values depend on the installed dependency [CycloneDX-javascript-library]. |
49+
| **`specVersion`** | `{string}`<br/>one of: `"1.2"`, `"1.3"`, `"1.4"`, `"1.5"`, `"1.6"` | `"1.6"` | Which version of [CycloneDX-spec] to use.<br/> Supported values depend on the installed dependency [CycloneDX-javascript-library]. |
5050
| **`reproducibleResults`** | `{boolean}` | `false` | Whether to go the extra mile and make the output reproducible.<br/> Reproducibility might result in loss of time- and random-based-values. |
5151
| **`validateResults`** | `{boolean}` | `true` | Whether to validate the BOM result.<br/>Validation is skipped, if requirements not met. Requires [transitive optional dependencies](https://github.com/CycloneDX/cyclonedx-javascript-library#optional-dependencies). |
5252
| **`outputLocation`** | `{string}` | `"./cyclonedx"` | Path to write the output to. The path is relative to _webpack_'s overall output path. |

src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export class CycloneDxWebpackPlugin {
139139
collectEvidence: boolean
140140

141141
constructor ({
142-
specVersion = CDX.Spec.Version.v1dot4,
142+
specVersion = CDX.Spec.Version.v1dot6,
143143
reproducibleResults = false,
144144
validateResults = true,
145145
outputLocation = './cyclonedx',

0 commit comments

Comments
 (0)