Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
<!-- unreleased changes go here -->

* BREAKING changes
* CLI option `--spec-version` defaults to `1.6`, was `1.4` ([#1173] via [#])
* Emit `.metadata.tools` as components ([#1233] via [#1235])
This affects only CycloneDX spec-version 1.5 and later.
* Emitted `.purl` values might be partially url-encoded (via [#1235])
Expand All @@ -16,10 +17,12 @@ All notable changes to this project will be documented in this file.
* Misc
* Raised dependency `@cyclonedx/cyclonedx-library@^7.0.0`, was `@^6.11.0` (via [#1235])

[#1173]: https://github.com/CycloneDX/cyclonedx-node-npm/issues/1173
[#1233]: https://github.com/CycloneDX/cyclonedx-node-npm/issues/1233
[#1235]: https://github.com/CycloneDX/cyclonedx-node-npm/pull/1235
[#1241]: https://github.com/CycloneDX/cyclonedx-node-npm/issues/1241
[#1242]: https://github.com/CycloneDX/cyclonedx-node-npm/pull/1242
[#]:

## 1.20.0 -- 2025-01-13

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Options:
This causes information loss in trade-off shorter PURLs, which might improve ingesting these strings.
(default: false)
--spec-version <version> Which version of CycloneDX spec to use.
(choices: "1.2", "1.3", "1.4", "1.5", "1.6", default: "1.4")
(choices: "1.2", "1.3", "1.4", "1.5", "1.6", default: "1.6")
--output-reproducible Whether to go the extra mile and make the output reproducible.
This requires more resources, and might result in loss of time- and random-based-values.
(env: BOM_REPRODUCIBLE)
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function makeCommand (process: NodeJS.Process): Command {
).choices(
Object.keys(Spec.SpecVersionDict).sort()
).default(
Spec.Version.v1dot4
Spec.Version.v1dot6
)
).addOption(
new Option(
Expand Down