Skip to content

Releases: trailofbits/dylint

Release 4.0.1

05 Mar 12:36
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

3.4.1

Release 3.4.0

21 Jan 12:24
Compare
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)

Release 3.3.0

18 Dec 15:09
Compare
Choose a tag to compare

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

07 Oct 16:53
Compare
Choose a tag to compare

3.2.1

  • Enable drivers to be installed concurrently. Previously, an attempt to install a driver would fail if the existing driver was running. (4438f40 and 231974a)
  • Fix capitalization in help messages (5a44c22)

Release 3.2.0

20 Sep 02:33
Compare
Choose a tag to compare

3.2.0

  • Upgrade compiletest_rs to version 0.11 in dylint_testing (145623a)
  • Add documentation on the example libraries' use of dylint_linting's constituent feature (9625952)
  • Add documentation on suppressing rustc's unexpected_cfg lint warnings (#1243 and #1252)
  • FEATURE: Allow patterns to be arrays when specifying workspace metadata entries (#1273)
  • Upgrade cargo to version 0.81 (#1280)
  • Add #![feature(rustc_private)] to dylint_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 and Test::src_base now accept an impl AsRef<Path> as opposed to a &Path (be85b10)

Release 3.1.2

15 May 16:42
Compare
Choose a tag to compare

3.1.2

  • Extend rather than overwrite RUSTFLAGS when building drivers (7662d4c)