Skip to content

Releases: trailofbits/dylint

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)

Release 3.1.1

14 May 21:20
Compare
Choose a tag to compare

3.1.1

  • Update env_logger to version 0.11 in dylint_driver and dylint_testing (#1200)
  • Prepend the toolchain bin directory to PATH on Windows (i.e., account for rust-lang/rustup#3703) (c222181)

Release 3.1.0

30 Apr 20:02
Compare
Choose a tag to compare

3.1.0

  • Allow library packages to be specified in a dylint.toml file instead of a Cargo.toml file. The syntax is exactly the same. Thus, users wishing to switch can simply cut-and-paste the [workspace.metadata.dylint.libraries] declaration from their Cargo.toml file into a dylint.toml file. (#1143 and #1151)

Release 3.0.1

24 Apr 14:00
Compare
Choose a tag to compare

Release 3.0.0

15 Mar 12:49
Compare
Choose a tag to compare

3.0.0

  • Rename option --path to --lib-path. For the time being, --path will continue to work as before when used to refer to a file as opposed to a directory. (e52da02)
  • FEATURE: Add options --git and --path to allow naming library packages on the command line (883e521)
  • BREAKING CHANGE: Make metadata no longer a default dylint package feature (#1052) (see also renaming of metadata below)
  • BREAKING CHANGE: No longer pass -D warnings to rustc by default in dylint_testing. To retain the previous behavior, enable the deny_warnings feature. (#1053)
  • BREAKING CHANGE: Rename the following package features (42cb7a2):
    • cargo-dylint package: metadata-cargo -> cargo-lib (build library packages using cargo as a library)
    • cargo-dylint package: metadata-cli -> cargo-cli (build library packages using the cargo executable)
    • dylint package: metadata -> library_packages (enable library-package-related functionality, e.g., building them)
  • BREAKING CHANGE: Remove the following deprecated options and their associated Dylint struct fields (7fd2c4d):
    • --allow-downgrade (now part of the upgrade subcommand)
    • --bisect (experimental and no longer deemed necessary)
    • --force (renamed to --allow-downgrade)
    • --isolate (now part of the new subcommand)
    • --list (replaced with the list subcommand)
    • --new (replaced with the new subcommand)
    • --rust-version (now part of the upgrade subcommand)
    • --upgrade (replaced with the upgrade subcommand)
  • Update cargo-dylint MSRV to 1.74 (965ebf5)
  • Eliminate reliance on sedregex (#1079)
  • Make cargo-cli the default method for building library packages (01aa9ba)

Release 2.6.1

23 Jan 21:17
Compare
Choose a tag to compare

2.6.1

  • Fix two bugs (#1014 and #1021) related to how warnings are displayed (#1025)

Release 2.6.0

12 Jan 21:24
Compare
Choose a tag to compare

2.6.0

  • Add experimental metadata-cli feature (#926 and #976)