Releases: trailofbits/dylint
Releases Β· trailofbits/dylint
Release 4.0.1
4.0.1
- Account for new
rustup show active-toolchain
format. Rustup 1.28 had two changes affecting Dylint. One was a change inrustup show active-toolchain
's output format; the other was the fact that Rustup no longer automatically installs uninstalled toolchains. This release addresses the former, but not the latter, i.e., you may need to manually install toolchains until the next release. To manually install a toolchain, eithercd
to a directory containing arust-toolchain
file and typerustup toolchain install
, or typerustup toolchain install TOOLCHAIN
, whereTOOLCHAIN
is the toolchain you wish to install. (bda492f and 7e104fd)βthanks @ClSlaid for the fix
Release 4.0.0
4.0.0
- BREAKING CHANGE: Work with Cargo's new hashing algorithm, introduced with Rust 1.85.0.
cargo-dylint
4 does not work with Cargo 1.84.x and earlier, andcargo-dylint
3.x does not work with Cargo 1.85.0. If you need to use Cargo 1.84.x or earlier, please continue to usecargo-dylint
3.x. If you have a long term need to use Cargo 1.84.x or earlier, please open an issue. (#1534)
Release 3.5.1
3.5.1
- Have
cargo metadata
andcargo fetch
use the samecargo
when building library packages. Using differentcargo
s caused the two commands to refer to different subdirectories within the user'sCARGO_HOME
, leading to "Could not determine accessed subdirectory" errors. This bug primarily affected projects withrust-toolchain
files. (#1519)
Release 3.5.0
3.5.0
- FEATURE: The
PATH
argument incargo dylint upgrade PATH
is now optional. When omitted,PATH
defaults to the current directory. (#1508)βthanks @YanVictorSN
Release 3.4.1
3.4.1
- Account for rust-lang/rust#135880 (#1501)
- Eliminate reliance on
is-terminal
(#1502)
Release 3.4.0
3.4.0
- Add link to EuroRust 2024 video (#1447)
- FEATURE: Add experimental
--auto-correct
option. Upgrading a lint's Rust toolchain often causes the lint to break because of changes to Rust APIs. When--auto-correct
is enabled,cargo-dylint
tries to infer lint fixes from Clippy's commit history. (949cf8f, 625d3d3, c1edcfb, 2753a88, and c515601)
Release 3.3.0
3.3.0
- Add EuroRust 2024 slides to README.md (#1370)
- Upgrade
cargo-util-schemas
to version 0.7 (#1394 and #1429) - Upgrade
cargo_metadata
to version 0.19 (8a7bc95) - Bump
dylint
's MSRV to 1.78 (c4c27d1) - Upgrade
thiserror
to version 2 (7398557) - Remove mention of
rustc_attr
from Dylint library template, as the crate was recently renamed (#1446)
Release 3.2.1
Release 3.2.0
3.2.0
- Upgrade
compiletest_rs
to version 0.11 indylint_testing
(145623a) - Add documentation on the example libraries' use of
dylint_linting
'sconstituent
feature (9625952) - Add documentation on suppressing rustc's
unexpected_cfg
lint warnings (#1243 and #1252) - FEATURE: Allow
pattern
s to be arrays when specifying workspace metadata entries (#1273) - Upgrade
cargo
to version 0.81 (#1280) - Add
#![feature(rustc_private)]
todylint_driver
's main.rs. This fixes a bug caused by rust-lang/rust#122362. (b691069) - Enable Dylint to use Cargo's checkouts directories concurrently. Previously, such concurrent use could cause Dylint to produce errors. (cb6299a)
- FEATURE: In
dylint_testing
,ui_test
andTest::src_base
now accept animpl AsRef<Path>
as opposed to a&Path
(be85b10)
Release 3.1.2
3.1.2
- Extend rather than overwrite
RUSTFLAGS
when building drivers (7662d4c)