Skip to content

Commit c4c3ba9

Browse files
authored
Merge pull request #773 from Shnatsel/new-release
Release cargo-cyclonedx v0.5.7
2 parents a1653d7 + 2e0f2ff commit c4c3ba9

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo-cyclonedx/CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.5.7 - 2024-11-30
9+
10+
### Added
11+
12+
- Cargo.lock v4 format stabilized in Rust 1.78 is now supported. ([#772]) Previously the SBOM would be generated but package hashes would not be recorded in presence of v4 lockfiles.
13+
- The `component.author` field is now set to comma-separated list of authors ([#770]). We'd like to use `component.authors` instead once CycloneDX v1.6 is supported.
14+
815
## 0.5.6 - 2024-11-07
916

1017
### Added
@@ -148,4 +155,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
148155
[#727]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/727
149156
[#746]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/746
150157
[#755]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/755
151-
[#762]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/762
158+
[#762]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/762
159+
[#770]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/770
160+
[#772]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/772

cargo-cyclonedx/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-cyclonedx"
3-
version = "0.5.6"
3+
version = "0.5.7"
44
categories = ["command-line-utilities", "development-tools", "development-tools::cargo-plugins"]
55
description = "CycloneDX Software Bill of Materials (SBOM) for Rust Crates"
66
keywords = ["sbom", "bom", "components", "dependencies", "owasp"]

cargo-cyclonedx/src/generator.rs

+1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ impl SbomGenerator {
246246
.as_ref()
247247
.map(|s| NormalizedString::new(s));
248248

249+
// TODO: record in `authors` field rather than `author` when writing v1.6
249250
if !package.authors.is_empty() {
250251
component.author = Some(NormalizedString::new(&package.authors.join(", ")));
251252
}

0 commit comments

Comments
 (0)