Skip to content

Commit

Permalink
Merge pull request #773 from Shnatsel/new-release
Browse files Browse the repository at this point in the history
Release cargo-cyclonedx v0.5.7
  • Loading branch information
Shnatsel authored Nov 30, 2024
2 parents a1653d7 + 2e0f2ff commit c4c3ba9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion cargo-cyclonedx/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.5.7 - 2024-11-30

### Added

- 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.
- 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.

## 0.5.6 - 2024-11-07

### Added
Expand Down Expand Up @@ -148,4 +155,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#727]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/727
[#746]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/746
[#755]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/755
[#762]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/762
[#762]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/762
[#770]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/770
[#772]: https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/772
2 changes: 1 addition & 1 deletion cargo-cyclonedx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-cyclonedx"
version = "0.5.6"
version = "0.5.7"
categories = ["command-line-utilities", "development-tools", "development-tools::cargo-plugins"]
description = "CycloneDX Software Bill of Materials (SBOM) for Rust Crates"
keywords = ["sbom", "bom", "components", "dependencies", "owasp"]
Expand Down
1 change: 1 addition & 0 deletions cargo-cyclonedx/src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ impl SbomGenerator {
.as_ref()
.map(|s| NormalizedString::new(s));

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

0 comments on commit c4c3ba9

Please sign in to comment.