Releases: trailofbits/dylint
Releases · trailofbits/dylint
Release 5.0.0
5.0.0
- Fix a bug causing
dylint_testingto make repeated failed attempts to build a driver (#1744) - BREAKING: Remove
cargo-libfeature and support for linking Cargo as a library (#1741) - Change "No paths matched" error to "No library packages found in" when a pattern is not used (#1748)
- BREAKING: Remove ability to refer to libraries with
--path(#1754) - Upgrade dependencies (#1728), including:
cargo_metadatato version 0.23cargo-util-schemato version 0.10git2to version 0.20
Release 4.1.2
4.1.2
- Hot fix for a failed
cargo publish(#1737)
Release 4.1.1
This file records user-facing changes to packages cargo_dylint, dylint, dylint_driver, dylint-link, dylint_linting, and dylint_testing. If a change to one of those packages is missing, please open an issue.
4.1.1
- Correct error messages associated with
Cargo.tomlandrust-toolchainbackups (#1606)—thanks @suratkhan - Fix typo in conditional compilation documentation (#1627)—thanks @markopiers
- Use
anstyleinstead ofansi_term(#1630) - Fix link in README.md (#1642)
- Use
tar-fs(#1639) - Correct instructions for using Rust Analyzer (#1658)—thanks @mondeja
- Ensure correct
cargois called when determining package metadata (#1671) - Fix typo in
dylint-linkdescription (#1700) - Upgrade dependencies (#1728), including:
cargo_metadatato version 0.22rewriterto version 0.2tomlto version 0.9toml_editto version 0.23
Release 4.1.0
Release 4.0.1
4.0.1
- Account for new
rustup show active-toolchainformat. 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, eithercdto a directory containing arust-toolchainfile and typerustup toolchain install, or typerustup toolchain install TOOLCHAIN, whereTOOLCHAINis 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-dylint4 does not work with Cargo 1.84.x and earlier, andcargo-dylint3.x does not work with Cargo 1.85.0. If you need to use Cargo 1.84.x or earlier, please continue to usecargo-dylint3.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 metadataandcargo fetchuse the samecargowhen building library packages. Using differentcargos 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-toolchainfiles. (#1519)
Release 3.5.0
3.5.0
- FEATURE: The
PATHargument incargo dylint upgrade PATHis now optional. When omitted,PATHdefaults 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-correctoption. Upgrading a lint's Rust toolchain often causes the lint to break because of changes to Rust APIs. When--auto-correctis enabled,cargo-dylinttries to infer lint fixes from Clippy's commit history. (949cf8f, 625d3d3, c1edcfb, 2753a88, and c515601)