tag:github.com,2008:https://github.com/EmbarkStudios/cargo-deny-action/releases Release notes from cargo-deny-action 2024-12-03T22:48:32Z tag:github.com,2008:Repository/228054692/v2.0.4 2024-12-03T22:49:57Z Release 2.0.4 - cargo-deny 0.16.3 <ul> <li>Update base image to rust 1.83.0 so that version 4 lockfiles are supported with no config changes</li> </ul> Jake-Shadle tag:github.com,2008:Repository/228054692/v2 2024-12-03T22:48:32Z v2 <p>Release 2.0.4 - cargo-deny 0.16.3</p> Jake-Shadle tag:github.com,2008:Repository/228054692/v2.0.3 2024-11-28T13:37:02Z Release 2.0.3 - cargo-deny 0.16.3 <h3>Changed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/721" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/721/hovercard">PR#721</a> updated <code>rust-version</code> to 1.81.0 to accurately reflect the minimum rust version required to compile, resolving <a href="https://github.com/EmbarkStudios/cargo-deny/issues/720" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/720/hovercard">#720</a>.</li> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/722" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/722/hovercard">PR#722</a> updated the SPDX license list to 3.25.0.</li> </ul> <h3>Fixed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/726" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/726/hovercard">PR#726</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/725" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/725/hovercard">#725</a> by adding the <code>unnecessary-skip</code> diagnostic, emitted when there is a <code>skip</code> configured for a crate that only has one version in the graph.</li> </ul> Jake-Shadle tag:github.com,2008:Repository/228054692/v2.0.2 2024-11-21T08:27:51Z Release 2.0.2 - cargo-deny 0.16.2 <h3>Fixed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/703" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/703/hovercard">PR#703</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/696" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/696/hovercard">#696</a> by no longer emitting errors when failing to deserialize deprecated fields, and removed some lingering documentation that wasn't removed in <a href="https://github.com/EmbarkStudios/cargo-deny/pull/611" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/611/hovercard">PR#611</a>.</li> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/719" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/719/hovercard">PR#719</a> updated to <code>krates</code> -&gt; 0.17.5, fixing an issue where <code>cargo-deny</code> could <a href="https://github.com/EmbarkStudios/krates/issues/97" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/krates/issues/97/hovercard">panic</a> due to <a href="https://github.com/EmbarkStudios/krates/issues/84" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/krates/issues/84/hovercard">incorrectly resolving</a> features for different versions of the same crate referenced by a single crate.</li> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/719" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/719/hovercard">PR#719</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/706" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/706/hovercard">#706</a> by removing a warning issued when users use ignored scheme modifiers for source urls.</li> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/719" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/719/hovercard">PR#719</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/718" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/718/hovercard">#718</a> by updating the book with missing arguments.</li> </ul> <h3>Added</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/715" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/715/hovercard">PR#715</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/714" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/714/hovercard">#714</a> by adding support for Edition 2024. Thanks <a href="https://github.com/kpcyrd">@kpcyrd</a>!</li> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/710" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/710/hovercard">PR#710</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/708" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/708/hovercard">#708</a> by allowing for unpublished workspace crates to be excluded from the dependency graph that checks are run against, either via the <code>--exclude-unpublished</code> CLI argument or the <code>graph.exclude-unpublished</code> config field. Thanks <a href="https://github.com/Tastaturtaste">@Tastaturtaste</a>!</li> </ul> <h3>Changed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/711" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/711/hovercard">PR#711</a> updated <code>goblin</code> -&gt; 0.9.2</li> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/713" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/713/hovercard">PR#713</a> updated various crates, notably <code>rustsec</code> -&gt; 0.30.</li> </ul> Jake-Shadle tag:github.com,2008:Repository/228054692/v2.0.1 2024-08-05T11:18:03Z Release 2.0.1 - cargo-deny 0.16.1 <h3>Fixed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/691" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/691/hovercard">PR#691</a> fixed an issue where workspace dependencies that used the current dir '.' path component would incorrectly trigger the <code>unused-workspace-dependency</code> lint.</li> </ul> Jake-Shadle tag:github.com,2008:Repository/228054692/v2.0.0 2024-08-02T12:38:26Z Release 2.0.0 - cargo-deny 0.16.0 <h2><code>Action</code></h2> <h3>Added</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny-action/pull/78" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny-action/pull/78/hovercard">PR#78</a> added SSH support, thanks <a href="https://github.com/nagua">@nagua</a>!</li> </ul> <h3>Changed</h3> <ul> <li>This release includes breaking changes in cargo-deny, so this release begins the <code>v2</code> tag, using <code>v1</code> will be stable but not follow future <code>cargo-deny</code> releases.</li> </ul> <h2><code>cargo-deny</code></h2> <h3>Removed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/681" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/681/hovercard">PR#681</a> finished the deprecation introduced in <a href="https://github.com/EmbarkStudios/cargo-deny/pull/611" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/611/hovercard">PR#611</a>, making the usage of the deprecated fields into errors.</li> </ul> <h4><code>[advisories]</code></h4> <p>The following fields have all been removed in favor of denying all advisories by default. To ignore an advisory the <a href="https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html#the-ignore-field-optional" rel="nofollow"><code>ignore</code></a> field can be used as before.</p> <ul> <li><code>vulnerability</code> - Vulnerability advisories are now <code>deny</code> by default</li> <li><code>unmaintained</code> - Unmaintained advisories are now <code>deny</code> by default</li> <li><code>unsound</code> - Unsound advisories are now <code>deny</code> by default</li> <li><code>notice</code> - Notice advisories are now <code>deny</code> by default</li> <li><code>severity-threshold</code> - The severity of vulnerabilities is now irrelevant</li> </ul> <h4><code>[licenses]</code></h4> <p>The following fields have all been removed in favor of denying all licenses that are not explicitly allowed via either <a href="https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html#the-allow-field-optional" rel="nofollow"><code>allow</code></a> or <a href="https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html#the-exceptions-field-optional" rel="nofollow"><code>exceptions</code></a>.</p> <ul> <li><code>unlicensed</code> - Crates whose license(s) cannot be confidently determined are now always errors. The <a href="https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html#the-clarify-field-optional" rel="nofollow"><code>clarify</code></a> field can be used to help cargo-deny determine the license.</li> <li><code>allow-osi-fsf-free</code> - The OSI/FSF Free attributes are now irrelevant, only whether it is explicitly allowed.</li> <li><code>copyleft</code> - The copyleft attribute is now irrelevant, only whether it is explicitly allowed.</li> <li><code>default</code> - The default is now <code>deny</code>.</li> <li><code>deny</code> - All licenses are now denied by default, this field added nothing.</li> </ul> <h3>Changed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/685" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/685/hovercard">PR#685</a> follows up on <a href="https://github.com/EmbarkStudios/cargo-deny/pull/673" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/673/hovercard">PR#673</a>, moving the fields that were added to their own separate <a href="https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html#the-workspace-dependencies-field-optional" rel="nofollow"><code>bans.workspace-dependencies</code></a> section. This is an unannounced breaking change but is fairly minor and 0.15.0 was never released on github actions so the amount of people affected by this will be (hopefully) small. This also makes the workspace duplicate detection off by default since the field is optional, <em>but</em> makes it so that if not specified workspace duplicates are now <code>deny</code> instead of <code>warn</code>.</li> </ul> <h3>Fixed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/685" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/685/hovercard">PR#685</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/682" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/682/hovercard">#682</a> by adding the <code>include-path-dependencies</code> field, allowing path dependencies to be ignored if it is <code>false</code>.</li> </ul> Jake-Shadle tag:github.com,2008:Repository/228054692/v1 2024-08-02T12:31:37Z v1 <p>Release 1.6.3 - cargo-deny 0.14.21</p> Jake-Shadle tag:github.com,2008:Repository/228054692/v1.6.3 2024-04-22T15:17:00Z Release 1.6.3 - cargo-deny 0.14.21 <h3>Fixed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/643" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/643/hovercard">PR#643</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/629" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/629/hovercard">#629</a> by making the hosted git (github, gitlab, bitbucket) org/user name comparison case-insensitive. Thanks <a href="https://github.com/pmnlla">@pmnlla</a>!</li> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/649" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/649/hovercard">PR#649</a> fixed an issue where depending on the same crate multiple times by using different <code>cfg()/triple</code> targets could cause features to be resolved incorrectly and thus crates to be not pulled into the graph used for checking.</li> </ul> <h2>[0.14.20] - 2024-03-23</h2> <h3>Fixed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/642" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/642/hovercard">PR#642</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/641" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/641/hovercard">#641</a> by pinning <code>gix-transport</code> (and its unique dependencies) to 0.41.2 as a workaround for <code>cargo install</code> not using the lockfile. See <a href="https://github.com/Byron/gitoxide/issues/1328" data-hovercard-type="issue" data-hovercard-url="/GitoxideLabs/gitoxide/issues/1328/hovercard">this issue</a> for more information.</li> </ul> Jake-Shadle tag:github.com,2008:Repository/228054692/v1.6.2 2024-03-22T09:42:40Z Release 1.6.2 - cargo-deny 0.14.19 <h3>Changed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/639" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/639/hovercard">PR#639</a> updated tame-index to avoid an error if you don't used <code>--locked</code>.</li> </ul> <h2>[0.14.18] - 2024-03-21</h2> <h3>Fixed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/638" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/638/hovercard">PR#638</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/636" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/636/hovercard">#636</a> by updating <code>krates</code>.</li> </ul> <h2>[0.14.17] - 2024-03-17</h2> <h3>Changed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/631" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/631/hovercard">PR#631</a> improved the diagnostic for when the yank check fails due to some issue with retrieving or reading the index information.</li> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/633" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/633/hovercard">PR#633</a> updated <code>gix</code> -&gt; 0.60.</li> </ul> Jake-Shadle tag:github.com,2008:Repository/228054692/v1.6.1 2024-03-06T10:31:03Z v1.6.1 <h3>Fixed</h3> <ul> <li><a href="https://github.com/EmbarkStudios/cargo-deny/pull/626" data-hovercard-type="pull_request" data-hovercard-url="/EmbarkStudios/cargo-deny/pull/626/hovercard">PR#626</a> resolved <a href="https://github.com/EmbarkStudios/cargo-deny/issues/625" data-hovercard-type="issue" data-hovercard-url="/EmbarkStudios/cargo-deny/issues/625/hovercard">#625</a> by explicitly checking that a license identified as Pixar was actually (probably) the Pixar license, instead of a normal Apache-2.0 license.</li> </ul> Jake-Shadle