Skip to content

Releases: trailofbits/dylint

Release 5.0.0

09 Oct 10:39

Choose a tag to compare

5.0.0

  • Fix a bug causing dylint_testing to make repeated failed attempts to build a driver (#1744)
  • BREAKING: Remove cargo-lib feature 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_metadata to version 0.23
    • cargo-util-schema to version 0.10
    • git2 to version 0.20

Release 4.1.2

23 Sep 22:04

Choose a tag to compare

4.1.2

  • Hot fix for a failed cargo publish (#1737)

Release 4.1.1

23 Sep 13:48

Choose a tag to compare

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.toml and rust-toolchain backups (#1606)—thanks @suratkhan
  • Fix typo in conditional compilation documentation (#1627)—thanks @markopiers
  • Use anstyle instead of ansi_term (#1630)
  • Fix link in README.md (#1642)
  • Use tar-fs (#1639)
  • Correct instructions for using Rust Analyzer (#1658)—thanks @mondeja
  • Ensure correct cargo is called when determining package metadata (#1671)
  • Fix typo in dylint-link description (#1700)
  • Upgrade dependencies (#1728), including:
    • cargo_metadata to version 0.22
    • rewriter to version 0.2
    • toml to version 0.9
    • toml_edit to version 0.23

Release 4.1.0

24 Mar 18:33

Choose a tag to compare

4.1.0

  • Bump dylint's MSRV to 1.81 (b371376)
  • Eliminate reliance on dirs (6a3e936)
  • Eliminate uses of once_cell::sync::Lazy (#1517)
  • Check for both rust-toolchain and rust-toolchain.toml files when determining Rust toolchain channel (9ac18a2)

Release 4.0.1

05 Mar 12:36

Choose a tag to compare

4.0.1

  • Account for new rustup show active-toolchain format. Rustup 1.28 had two changes affecting Dylint. One was a change in rustup 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, either cd to a directory containing a rust-toolchain file and type rustup toolchain install, or type rustup toolchain install TOOLCHAIN, where TOOLCHAIN is the toolchain you wish to install. (bda492f and 7e104fd)—thanks @ClSlaid for the fix

Release 4.0.0

21 Feb 14:46

Choose a tag to compare

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, and cargo-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 use cargo-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

12 Feb 00:51

Choose a tag to compare

3.5.1

  • Have cargo metadata and cargo fetch use the same cargo when building library packages. Using different cargos caused the two commands to refer to different subdirectories within the user's CARGO_HOME, leading to "Could not determine accessed subdirectory" errors. This bug primarily affected projects with rust-toolchain files. (#1519)

Release 3.5.0

04 Feb 23:16

Choose a tag to compare

3.5.0

  • FEATURE: The PATH argument in cargo dylint upgrade PATH is now optional. When omitted, PATH defaults to the current directory. (#1508)—thanks @YanVictorSN

Release 3.4.1

27 Jan 18:01

Choose a tag to compare

3.4.1

Release 3.4.0

21 Jan 12:24

Choose a tag to compare

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)