From d77a92a1f226a8b3c58e724bbbc9bb0bf39fe1be Mon Sep 17 00:00:00 2001 From: anderejd Date: Tue, 30 Mar 2021 20:17:31 +0200 Subject: [PATCH 1/2] Release prep. - cargo-geiger 0.11.0 - cargo-geiger-serde 0.2.0 - geiger 0.4.6 --- CHANGELOG.md | 102 +++++++++++++++++++++++++++++++++- cargo-geiger-serde/Cargo.toml | 2 +- cargo-geiger/Cargo.toml | 2 +- geiger/Cargo.toml | 2 +- geiger/README.md | 16 ++++++ 5 files changed, 120 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dba5be7b..813c041b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,53 @@ --------- ## 0.11.0 (unreleased) + - Explore the dependency graph using cargo_metadata [#16] + - [#120], [#122], [#126], [#129], [#133], [#135], [#136], [#138], [#139], [#140], [#141], [#142], [#143], [#146], [#147], [#154] - Add build without lock file to CI and upgrade the cargo dependency to 0.50. [#183] - Feature: safety report in readme. [#151] + - Make `--quiet` take no value. [#114] + - Ability to generate a JSON report. [#115] + - Fix tree vine on dependency group line. [#118] + - `cargo-geiger-serde`, a crate with types for report serialization using serde. [#121] + - Replace links that points to the old repository. [#124] + - Move report types to lib (`cargo-geiger-serde`). [#125] + - Add cargo tarpaulin step to CI [#127] + - Add code coverage badge to readme [#128] + - Add crates.io badges, current version, total downloads. [#130] + - Use GitHub Actions / actions-rs to ensure code is well-formatted. [#131] + - Add CONTRIBUTING.md file. [#132] + - Fixed small errors in Changelog. [#134] + - Add Dockerfile and use cargo chef to reduce docker build times locally. [#148] + - Create lib.rs to allow documentation tests to be written. [#153] + - `--update-readme` Writes output to README.md. Looks for a Safety Report + section, replaces if found, adds if not. Throws an error if no README.md + exists. [#156] + - Refactor integration tests. [#157] + - Refactoring geiger lib and adding further testing. [#158] + - Accept Readme Path and Section Name as parameters. [#159] + - Update version of syn package used in geiger. [#161] + - Fix a bug where a report wasn't written if any warning. [#162] + - Add GitHub markdown formatting. [#164] + - Cleanup a trait only used in a unit test module. [#165] - Run `cargo audit` as part of CI builds. [#166] - - TODO: Document all relevant changes here. + - Add new Ratio output type `--output-format=Ratio`. [#167] + - Clean only packages. [#171] + - Mark no_mangle functions as unsafe. [#173] + - Improved `README.md` [#176] + - Update graph module to use latest version of cargo_metadata. [#178] + - Explicitly enable serde for semver. [#180] + - Use DependencyKind from cargo_metadata. [#182] + - Add canary build without lockfile. [#183] + - Add cargo audit github action to run against head every day. [#184] + - Clean up error handling, remove unwrap() calls, logging. [#188] + - Update lint enforcement level based on issue. [#189] + - Implement Display for FoundWarningsError instead of relying on Debug. [#191] + - Add futher testing. [#192] + - Fix Args::parse_args for -p option. [#196] + - Refactor mapping module to use traits. [#197] + - Fix into target kind function logic. [#198] + - Bump insta version. [#199] + - Upgrade dependencies; use cargo 1.52.0 for the new resolver. [#201] ## 0.10.2 - __Bugfix__: Avoid panic and log warnings on parse failure. [#105] @@ -118,6 +161,7 @@ - Mostly README.md updates. [#9]: https://github.com/rust-secure-code/cargo-geiger/pull/9 +[#16]: https://github.com/rust-secure-code/cargo-geiger/issues/16 [#28]: https://github.com/rust-secure-code/cargo-geiger/issues/28 [#29]: https://github.com/rust-secure-code/cargo-geiger/issues/29 [#30]: https://github.com/rust-secure-code/cargo-geiger/issues/30 @@ -139,8 +183,64 @@ [#98]: https://github.com/rust-secure-code/cargo-geiger/pull/98 [#99]: https://github.com/rust-secure-code/cargo-geiger/pull/99 [#105]: https://github.com/rust-secure-code/cargo-geiger/issues/105 +[#114]: https://github.com/rust-secure-code/cargo-geiger/pull/114 +[#115]: https://github.com/rust-secure-code/cargo-geiger/pull/115 +[#118]: https://github.com/rust-secure-code/cargo-geiger/pull/118 +[#120]: https://github.com/rust-secure-code/cargo-geiger/pull/120 +[#121]: https://github.com/rust-secure-code/cargo-geiger/pull/121 +[#122]: https://github.com/rust-secure-code/cargo-geiger/pull/122 +[#124]: https://github.com/rust-secure-code/cargo-geiger/pull/124 +[#125]: https://github.com/rust-secure-code/cargo-geiger/pull/125 +[#126]: https://github.com/rust-secure-code/cargo-geiger/pull/126 +[#127]: https://github.com/rust-secure-code/cargo-geiger/pull/127 +[#128]: https://github.com/rust-secure-code/cargo-geiger/pull/128 +[#129]: https://github.com/rust-secure-code/cargo-geiger/pull/129 +[#130]: https://github.com/rust-secure-code/cargo-geiger/pull/130 +[#131]: https://github.com/rust-secure-code/cargo-geiger/pull/131 +[#132]: https://github.com/rust-secure-code/cargo-geiger/pull/132 +[#133]: https://github.com/rust-secure-code/cargo-geiger/pull/133 +[#134]: https://github.com/rust-secure-code/cargo-geiger/pull/134 +[#135]: https://github.com/rust-secure-code/cargo-geiger/pull/135 +[#136]: https://github.com/rust-secure-code/cargo-geiger/pull/136 +[#138]: https://github.com/rust-secure-code/cargo-geiger/pull/138 +[#139]: https://github.com/rust-secure-code/cargo-geiger/pull/139 +[#140]: https://github.com/rust-secure-code/cargo-geiger/pull/140 +[#141]: https://github.com/rust-secure-code/cargo-geiger/pull/141 +[#142]: https://github.com/rust-secure-code/cargo-geiger/pull/142 +[#143]: https://github.com/rust-secure-code/cargo-geiger/pull/143 +[#146]: https://github.com/rust-secure-code/cargo-geiger/pull/146 +[#147]: https://github.com/rust-secure-code/cargo-geiger/pull/147 +[#148]: https://github.com/rust-secure-code/cargo-geiger/pull/148 [#151]: https://github.com/rust-secure-code/cargo-geiger/issues/151 +[#153]: https://github.com/rust-secure-code/cargo-geiger/pull/153 +[#154]: https://github.com/rust-secure-code/cargo-geiger/pull/154 +[#156]: https://github.com/rust-secure-code/cargo-geiger/pull/156 +[#157]: https://github.com/rust-secure-code/cargo-geiger/pull/157 +[#158]: https://github.com/rust-secure-code/cargo-geiger/pull/158 +[#159]: https://github.com/rust-secure-code/cargo-geiger/pull/159 +[#161]: https://github.com/rust-secure-code/cargo-geiger/pull/161 +[#162]: https://github.com/rust-secure-code/cargo-geiger/pull/162 +[#164]: https://github.com/rust-secure-code/cargo-geiger/pull/164 +[#165]: https://github.com/rust-secure-code/cargo-geiger/pull/165 [#166]: https://github.com/rust-secure-code/cargo-geiger/issues/166 +[#167]: https://github.com/rust-secure-code/cargo-geiger/pull/167 +[#171]: https://github.com/rust-secure-code/cargo-geiger/pull/171 +[#173]: https://github.com/rust-secure-code/cargo-geiger/pull/173 +[#176]: https://github.com/rust-secure-code/cargo-geiger/pull/176 +[#178]: https://github.com/rust-secure-code/cargo-geiger/pull/178 +[#180]: https://github.com/rust-secure-code/cargo-geiger/pull/180 +[#182]: https://github.com/rust-secure-code/cargo-geiger/pull/182 [#183]: https://github.com/rust-secure-code/cargo-geiger/pull/183 +[#184]: https://github.com/rust-secure-code/cargo-geiger/pull/184 +[#188]: https://github.com/rust-secure-code/cargo-geiger/pull/188 +[#189]: https://github.com/rust-secure-code/cargo-geiger/pull/189 +[#191]: https://github.com/rust-secure-code/cargo-geiger/pull/191 +[#192]: https://github.com/rust-secure-code/cargo-geiger/pull/192 +[#196]: https://github.com/rust-secure-code/cargo-geiger/pull/196 +[#197]: https://github.com/rust-secure-code/cargo-geiger/pull/197 +[#198]: https://github.com/rust-secure-code/cargo-geiger/pull/198 +[#199]: https://github.com/rust-secure-code/cargo-geiger/pull/199 +[#201]: https://github.com/rust-secure-code/cargo-geiger/pull/201 [geiger]: https://crates.io/crates/geiger [pico-args]: https://crates.io/crates/pico-args + diff --git a/cargo-geiger-serde/Cargo.toml b/cargo-geiger-serde/Cargo.toml index d6759102..1d7f610f 100644 --- a/cargo-geiger-serde/Cargo.toml +++ b/cargo-geiger-serde/Cargo.toml @@ -7,7 +7,7 @@ license = "Apache-2.0/MIT" keywords = ["unsafe"] name = "cargo-geiger-serde" repository = "https://github.com/rust-secure-code/cargo-geiger" -version = "0.1.0" +version = "0.2.0" [dependencies] semver = { version = "0.11.0", features = ["serde"] } diff --git a/cargo-geiger/Cargo.toml b/cargo-geiger/Cargo.toml index c7c17b5a..8e89b9a2 100644 --- a/cargo-geiger/Cargo.toml +++ b/cargo-geiger/Cargo.toml @@ -16,7 +16,7 @@ maintenance = { status = "experimental" } [dependencies] anyhow = "1.0.40" cargo = "0.52.0" -cargo-geiger-serde = { path = "../cargo-geiger-serde", version = "0.1.0" } +cargo-geiger-serde = { path = "../cargo-geiger-serde", version = "0.2.0" } cargo_metadata = "0.13.1" cargo-platform = "0.1.1" colored = "2.0.0" diff --git a/geiger/Cargo.toml b/geiger/Cargo.toml index a330fbc3..c08c6395 100644 --- a/geiger/Cargo.toml +++ b/geiger/Cargo.toml @@ -14,7 +14,7 @@ version = "0.4.6" maintenance = { status = "experimental" } [dependencies] -cargo-geiger-serde = { path = "../cargo-geiger-serde", version = "0.1.0" } +cargo-geiger-serde = { path = "../cargo-geiger-serde", version = "0.2.0" } syn = { version = "1.0.67", features = ["parsing", "printing", "clone-impls", "full", "extra-traits", "visit"] } proc-macro2 = "1.0.24" diff --git a/geiger/README.md b/geiger/README.md index f23cf927..beabd153 100644 --- a/geiger/README.md +++ b/geiger/README.md @@ -11,6 +11,22 @@ For more details please see the `README.md` in [cargo-geiger]. Changelog --------- +### 0.4.6 + - Upgraded dependencies. + - Updated lint enforcement level based on issue + https://github.com/rust-lang/rust/issues/81670 to fix compile warnings with + stable 1.50.0. + - Marked functions with export_name attr as unsafe as well. + - Marked no_mangle functions as unsafe. + - Updated version of `syn` package used in `geiger`. + - Refactored geiger lib and adding further testing. + - Moved serialized types to their own crate, `cargo-geiger-serde`. + - Replaced links that points to the old repository. + - Added some unit tests. + +### 0.4.5 + - Updated dependencies. + ### 0.4.4 - Updated dependencies, only patch version updates. From 94949c27e339ebb342a8c36f29f86aacdcfc8bb5 Mon Sep 17 00:00:00 2001 From: anderejd Date: Sun, 18 Apr 2021 11:28:04 +0200 Subject: [PATCH 2/2] Updated CHANGELOG. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 813c041b..5af7157a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog --------- -## 0.11.0 (unreleased) +## 0.11.0 - Explore the dependency graph using cargo_metadata [#16] - [#120], [#122], [#126], [#129], [#133], [#135], [#136], [#138], [#139], [#140], [#141], [#142], [#143], [#146], [#147], [#154] - Add build without lock file to CI and upgrade the cargo dependency to 0.50. [#183]