Releases: trailofbits/dylint
Releases Β· trailofbits/dylint
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)
Release 3.1.1
3.1.1
- Update
env_logger
to version 0.11 indylint_driver
anddylint_testing
(#1200) - Prepend the toolchain
bin
directory toPATH
on Windows (i.e., account for rust-lang/rustup#3703) (c222181)
Release 3.1.0
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
3.0.1
- Address rust-lang/rust#122450 (9add993)
Release 3.0.0
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 defaultdylint
package feature (#1052) (see also renaming ofmetadata
below) - BREAKING CHANGE: No longer pass
-D warnings
to rustc by default indylint_testing
. To retain the previous behavior, enable thedeny_warnings
feature. (#1053) - BREAKING CHANGE: Rename the following package features (42cb7a2):
cargo-dylint
package:metadata-cargo
->cargo-lib
(build library packages usingcargo
as a library)cargo-dylint
package:metadata-cli
->cargo-cli
(build library packages using thecargo
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 theupgrade
subcommand)--bisect
(experimental and no longer deemed necessary)--force
(renamed to--allow-downgrade
)--isolate
(now part of thenew
subcommand)--list
(replaced with thelist
subcommand)--new
(replaced with thenew
subcommand)--rust-version
(now part of theupgrade
subcommand)--upgrade
(replaced with theupgrade
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)