dotenv-linter v4.0.0 Release Notes
Release Date: 2025-10-18 // 8 months ago-
🔋 Features
- 🆕 New CLI API (#922, @mgrachev)
- 👍 Allow & and = in quoted values (#917, @aditya-raj-panjiyara)
- ➕ Add
--dry-runoption to fix subcommand (#772, @Dev380) - 🆕 New schema based checker (#761, @pm100)
- ➕ Add "No difference found" message on successful compare (#648, @jklott)
- 👍 Allow setting
skip_updatesflag via environment variable (#625, @jackyef) - 👕 Add support for
DOTENV_LINTER_IGNORE_CHECKSenvironment variable to skip checks (#623, @YeswanthRajakumar)
🛠 Fixes
CI
- 👕 Exclude installing v1 and v2 on macos (#834, @harryzcy)
- 👕 Use macos 13 and 14 as the OS (#833, @harryzcy)
- 🛠 Fix benchmarks (#774, @mgrachev)
- 🛠 Fix problem with installing linker (#674, @mgrachev)
- 👕 Get rid of
set-output(#632, @DDtKey) - 👕 Check PR name instead of commits (#631, @mgrachev)
Miscellaneous Tasks
- 🛠 Fix release script (#923, @mgrachev)
- ➕ Add pre commit hook (#878, @hbontempo-br)
- 👕 Rename
dotenv-linterwithdotenv-cli(#905, @mgrachev) - ⚡️ Update edition (#904, @mgrachev)
- 👕 Rename
dotenv-lookupwithdotenv-finder(#892, @mgrachev) - 🛠 Fix clippy warnings (#880, @mgrachev)
- ⚡️ Update dependencies (#849, @mgrachev)
- 🛠 Fix CI and warnings (#840, @mgrachev)
- 🛠 Fix clippy warnings (#735, @mgrachev)
- ✂ Remove
staleaction (#680, @mgrachev) - ⚡️ Update
cargo-denyconfig (#644, @mgrachev) - 👕 Get rid of
orhun/git-cliff-action(#614, @mgrachev)
🔨 Refactor
- 👕 Create new crate
dotenv-analyzer(#903, @mgrachev) - 👕 Create new crate
dotenv-core(#902, @mgrachev) - 👕 Use Builder pattern (#900, @mgrachev)
- 👕 Create new crate
dotenv-schema(#894, @mgrachev) - 🔄 Change visibility of some functions (#893, @mgrachev)
- ✂ Remove
file_entry.rsas not inluded in file tree (#657, @brahms116) - 👕 Move
cli/mod.rstocli.rs(#656, @brahms116) - 👕 Divide code into 2 crates (#620, @mgrachev)
- 👕 Get rid of
listcommand (#619, @mgrachev) - ⚡️ Don't display option
--skip-updatesif it's disabled (#617, @mgrachev)
⚡️ Update dependencies
- ⬆️ Bump tempfile from 3.21.0 to 3.22.0 (#906)
- ⬆️ Bump clap from 4.5.43 to 4.5.47 (#901)
- ⬆️ Bump lycheeverse/lychee-action from 2.4.1 to 2.6.1 (#898)
- ⬆️ Bump regex from 1.11.1 to 1.11.2 (#897)
- ⬆️ Bump tempfile from 3.20.0 to 3.21.0 (#891)
- ⬆️ Bump serde_json from 1.0.142 to 1.0.143 (#890)
- ⬆️ Bump dprint/check from 2.2 to 2.3 (#883)
- ⬆️ Bump actions/checkout from 4 to 5 (#887)
- ⬆️ Bump tokio from 1.29.1 to 1.44.2 (#870)
- ⬆️ Bump Swatinem/rust-cache from 2.7.7 to 2.7.8 (#865)
- ⬆️ Bump ring from 0.17.8 to 0.17.14 (#882)
- ⬆️ Bump lycheeverse/lychee-action from 2.3.0 to 2.4.1 (#874)
- ⚡️ Update dependencies (#881)
- ⬆️ Bump clap from 4.5.28 to 4.5.29 (#851)
- ⬆️ Bump rustls from 0.21.2 to 0.21.12 (#850)
- ⬆️ Bump anstream from 0.6.7 to 0.6.15 (#847)
- ⬆️ Bump h2 from 0.3.24 to 0.3.26 (#771)
- ⬆️ Bump mio from 0.8.8 to 0.8.11 (#760)
- ⬆️ Bump clap from 4.4.18 to 4.5.3 (#767)
- 🚀 Bump softprops/action-gh-release from 1 to 2 (#766)
- ⬆️ Bump tempfile from 3.9.0 to 3.10.1 (#755)
- ⬆️ Bump assert_cmd from 2.0.13 to 2.0.14 (#754)
- ⬆️ Bump codecov/codecov-action from 3 to 4 (#750)
- ⬆️ Bump lycheeverse/lychee-action from 1.9.2 to 1.9.3 (#748)
- ⬆️ Bump lycheeverse/lychee-action from 1.9.1 to 1.9.2 (#747)
- ⬆️ Bump h2 from 0.3.20 to 0.3.24 (#746)
- ⬆️ Bump clap from 4.4.17 to 4.4.18 (#745)
- ⬆️ Bump clap from 4.4.16 to 4.4.17 (#744)
- ⬆️ Bump Swatinem/rust-cache from 2.7.2 to 2.7.3 (#743)
- ⬆️ Bump assert_cmd from 2.0.12 to 2.0.13 (#741)
- ⬆️ Bump clap from 4.4.14 to 4.4.16 (#740)
- ⬆️ Bump Swatinem/rust-cache from 2.7.1 to 2.7.2 (#739)
- ⬆️ Bump lycheeverse/lychee-action from 1.9.0 to 1.9.1 (#738)
- ⬆️ Bump clap from 4.4.13 to 4.4.14 (#737)
- ⬆️ Bump lycheeverse/lychee-action from 1.8.0 to 1.9.0 (#736)
- ⬆️ Bump clap from 4.3.11 to 4.4.13 (#733)
- ⬆️ Bump tempfile from 3.8.0 to 3.9.0 (#732)
- ⬆️ Bump colored from 2.0.4 to 2.1.0 (#731)
- ⬆️ Bump Swatinem/rust-cache from 2.5.1 to 2.7.1 (#734)
- ⬆️ Bump rustix from 0.38.3 to 0.38.13 (#730)
- ⬆️ Bump webpki from 0.22.0 to 0.22.2 (#724)
- ⬆️ Bump docker/setup-qemu-action from 2 to 3 (#718)
- ⬆️ Bump docker/login-action from 2 to 3 (#717)
- ⬆️ Bump docker/setup-buildx-action from 2 to 3 (#716)
- ⬆️ Bump actions/checkout from 3 to 4 (#714)
- ⬆️ Bump rustls-webpki from 0.100.1 to 0.100.2 (#709)
- ⬆️ Bump tempfile from 3.6.0 to 3.8.0 (#707)
- ⬆️ Bump assert_cmd from 2.0.11 to 2.0.12 (#695)
- ⬆️ Bump Swatinem/rust-cache from 2.5.0 to 2.5.1 (#688)
- ⬆️ Bump
coloredandcriterion(#691) - ⚡️ Bump update-informer from 1.0.0 to 1.1.0 (#685)
- ⬆️ Bump clap from 4.3.5 to 4.3.8 (#684)
- ⬆️ Bump clap from 4.3.4 to 4.3.5 (#683)
- ⬆️ Bump Swatinem/rust-cache from 2.4.0 to 2.5.0 (#682)
- ⬆️ Bump clap from 4.3.3 to 4.3.4 ([#681](https://github.com/dotenv-lint...
Previous changes from v3.3.0
-
🔋 Features
- ➕ Add check for values that require surrounding quotes #521 (@tabfugnic)
🛠 Fixes
- 👕 Check that tag is valid semver #556 (@zd4y)
- 👕 Don't remove quotes for values containing hash-sign #560 (@95jonpet)
CI
- 🛠 Fix arm docker build #609 (@DDtKey)
- 👕 Replace
actions-rs/toolchainwithdtolnay/rust-toolchain#573 (@mgrachev) - ➕ Add docker arm64 image #533 (@mgrachev, @mstruebing)
- 🛠 Fix release builds #531 (@mgrachev)
- ➕ Add job to check release builds #529 (@mgrachev)
- ➕ Add dprint and lychee actions + ci optimization #503 (@mgrachev)
- ➕ Add
staleaction #483 (@mgrachev) - 🛠 Fix release #465 (@mgrachev)
📚 Documentation
- ➕ Add commit standard for the CONTRIBUTION file #561 (@SergioRibera)
- ⚡️ Update readme #543 (@mgrachev)
- 🛠 Fix links in
CHANGELOG.md#536 (@mgrachev)
Miscellaneous Tasks
- 👕 Use
Box::<T>::default()instead ofBox::new(T::default())#605 (@mgrachev) - 🛠 Fix clippy warning #585 (@mgrachev)
- 🚀 Generate a changelog and update release process #544 (@mgrachev)
- ⚡️ Update
criterion-compareaction #484 (@mgrachev) - ⚡️ Update
cargo-denyconfig #481 (@mgrachev) - 🛠 Fix clippy warnings #480 (@shapurid)
- ➕ Add dependabot #472 (@mgrachev)
🔨 Refactor
- 👕 Move CLI commands to separate functions #489 (@mgrachev)
- 👕 Check ci with all-targets arg #488 (@shapurid)
- 👕 Usage of fix and compare #486 (@shapurid)
- 👕 Skip_checks with use default iterator #482 (@shapurid)
✅ Testing
⚡️ Update dependencies
- ⬆️ Bump actions/stale from 6 to 7 #607
- ⚡️ Bump update-informer from 0.5.0 to 0.6.0 #603
- ⬆️ Bump wagoid/commitlint-github-action from 5.2.2 to 5.3.0 #595
- ⬆️ Bump Swatinem/rust-cache from 2.1.0 to 2.2.0 #588
- ⬆️ Bump lycheeverse/lychee-action from 1.5.3 to 1.5.4 #587
- ⬆️ Bump lycheeverse/lychee-action from 1.5.2 to 1.5.3 #586
- ⬆️ Bump Swatinem/rust-cache from 2.0.1 to 2.1.0 #582
- ⬆️ Bump lycheeverse/lychee-action from 1.5.1 to 1.5.2 #583
- ⬆️ Bump wagoid/commitlint-github-action from 5.2.0 to 5.2.2 #581
- ⬆️ Bump boa-dev/criterion-compare-action from 3.2.3 to 3.2.4 #580
- ⬆️ Bump assert_cmd from 2.0.4 to 2.0.5 #578
- ⬆️ Bump criterion from 0.3.6 to 0.4.0 #575
- ⬆️ Bump Swatinem/rust-cache from 2.0.0 to 2.0.1 #571
- ⬆️ Bump dunce from 1.0.2 to 1.0.3 #564
- ⬆️ Bump wagoid/commitlint-github-action from 5.0.2 to 5.2.0 #565
- ⬆️ Bump boa-dev/criterion-compare-action from 3.2.2 to 3.2.3 #570
- ⬆️ Bump actions/stale from 5 to 6 #552
- ⬆️ Bump lycheeverse/lychee-action from 1.5.0 to 1.5.1 #538
- ⬆️ Bump Swatinem/rust-cache from 1.4.0 to 2.0.0 #534
- ⬆️ Bump dprint/check from 2.0 to 2.1 #535
- ⬆️ Bump criterion from 0.3.5 to 0.3.6 #532
- ⬆️ Bump wagoid/commitlint-github-action from 5.0.1 to 5.0.2 #530
- ⬆️ Bump Swatinem/rust-cache from 1.3.0 to 1.4.0 #528
- ⬆️ Bump actions/cache from 3.0.2 to 3.0.4 #522
- ⬆️ Bump boa-dev/criterion-compare-action from 3.2.1 to 3.2.2 #518
- ⬆️ Bump regex from 1.5.4 to 1.5.6 #520
- ⬆️ Bump crossbeam-utils from 0.8.5 to 0.8.8 #519
- ⬆️ Bump wagoid/commitlint-github-action from 4.1.11 to 5.0.1 #527
- ⬆️ Bump boa-dev/criterion-compare-action from 3.2.0 to 3.2.1 #509
- ⬆️ Bump clap from 3.1.9 to 3.1.10 #506
- ⬆️ Bump clap from 3.1.8 to 3.1.9 #505
- ⬆️ Bump actions/stale from 4 to 5 #502
- ⬆️ Bump actions/cache from 3.0.1 to 3.0.2 #501
- ⬆️ Bump codecov/codecov-action from 2.1.0 to 3 #499
- ⬆️ Bump wagoid/commitlint-github-action from 4.1.10 to 4.1.11 #500
- ⬆️ Bump clap from 3.1.6 to 3.1.8 #497
- ⬆️ Bump wagoid/commitlint-github-action from 4.1.9 to 4.1.10 #495
- ⬆️ Bump actions/cache from 3.0.0 to 3.0.1 #494
- ⚡️ Update dependency
update-informer#493 - ⬆️ Bump actions/cache from 2 to 3.0.0 #491
- ⚡️ Update
clap#485 - ⬆️ Bump wagoid/commitlint-github-action from 2 to 4.1.9 #473
- ⬆️ Bump actions/checkout from 1 to 3 #474
- ⬆️ Bump codecov/codecov-action from 1 to 2.1.0 #475
- ⬆️ Bump tempfile from 3.2.0 to 3.3.0 #478
- ⬆️ Bump assert_cmd from 2.0.2 to 2.0.4 #479
- ⚡️ Bump update-informer from 0.3.0 to 0.4.0 #477
- ⚡️ Update dependency
update-informer#470