Changelog History
Page 1
-
v3.2.0 Changes
January 24, 2022π Added
- β Add check for new version [#454] (@mgrachev)
- π Support of double-quoted multiline values [#453] (@DDtKey)
- π Support of single-quoted multiline values [#450] (@DDtKey)
π§ Changed
- β‘οΈ Update
cargo-deny
config [#459] (@mgrachev) - β‘οΈ Update docker build [#456] (@mgrachev)
- β‘οΈ Update dependencies [#455] (@mgrachev)
- 0οΈβ£ Use derive (default) instead of impl [#452] (@mgrachev)
- Get rid of
Rc<FileEntry>
inLineEntry
[#448] (@mgrachev) - β Replace
LineEntry
with line number inWarning
[#447] (@mgrachev) - Tidy up imports [#446] (@mgrachev)
- β Add type alias for
Result
[#445] (@mgrachev) - π Change edition to 2021 [#444] (@mgrachev)
- Display a message on installation error [#443] (@mgrachev)
- π Fix falling on checking multi-line values [#462] (@DDtKey)
- Detect multi-line values if they contain a
=
sign [#463] (@DDtKey)
π [#463]: https://github.com/dotenv-linter/dotenv-linter/pull/463 π [#462]: https://github.com/dotenv-linter/dotenv-linter/pull/462 π [#459]: https://github.com/dotenv-linter/dotenv-linter/pull/459 π [#456]: https://github.com/dotenv-linter/dotenv-linter/pull/456 π [#455]: https://github.com/dotenv-linter/dotenv-linter/pull/455 π [#454]: https://github.com/dotenv-linter/dotenv-linter/pull/454 π [#453]: https://github.com/dotenv-linter/dotenv-linter/pull/453 π [#452]: https://github.com/dotenv-linter/dotenv-linter/pull/452 π [#450]: https://github.com/dotenv-linter/dotenv-linter/pull/450 π [#448]: https://github.com/dotenv-linter/dotenv-linter/pull/448 π [#447]: https://github.com/dotenv-linter/dotenv-linter/pull/447 π [#446]: https://github.com/dotenv-linter/dotenv-linter/pull/446 π [#445]: https://github.com/dotenv-linter/dotenv-linter/pull/445 π [#444]: https://github.com/dotenv-linter/dotenv-linter/pull/444 π [#443]: https://github.com/dotenv-linter/dotenv-linter/pull/443
-
v3.1.1 Changes
August 25, 2021π Added
- π§
aarch64
support (mac, linux, win) [#436] (@DDtKey)
π§ Changed
- π Fix clippy warnings [#437] (@mgrachev)
- π Use enum instead of string for lint's identity [#427] (@fabricio7p)
- π Get rid of the name field in checks and fixes structs [#432] (@mgrachev)
- Replace filter with unwrap on flatten [#434] (@Fcukit)
π [#437]: https://github.com/dotenv-linter/dotenv-linter/pull/437 π [#436]: https://github.com/dotenv-linter/dotenv-linter/pull/436 π [#434]: https://github.com/dotenv-linter/dotenv-linter/pull/434 π [#432]: https://github.com/dotenv-linter/dotenv-linter/pull/432 π [#427]: https://github.com/dotenv-linter/dotenv-linter/pull/427
- π§
-
v3.1.0 Changes
June 09, 2021π Added
- β Add fixer: Substitution Key [#428] (@DDtKey)
- π¨ Refactor check unit tests [#421] (@mc1098)
- β Add missing integration tests [#420] (@gosolivs)
- β Add checker: Substitution Key [#414] (@de-sh)
- π¨ Print a message if the amount of checks doesn't match the amount of fixes [#415] (@marcel-baur)
- π¨ Print a message "Nothing to compare" [#398] (@jakecorrenti)
- β Add action-hadolint [#400] (@iovanom)
- β Add method to get substitution keys to LineEntry [#391] (@zotho)
- β Added a Fix Benchmark [#399] (@a4blue)
- β Add benchmark for the compare function [#395] (@FrancisMurillo)
- π¨ Print a message when there are no input files for fix subcommand [#394] (@mdycz)
- π¨ Print a message when there are no input files [#392] (@jodli)
- β Add a GitHub Action to compare benchmarks [#378] (@mgrachev)
- β Add benchmark for the check function [#376] (@mgrachev)
π§ Changed
- π¨ Refactor hard-coded mandatory fixer [#413] (@akhtariev)
- Don't fix key order for substitution variables [#406] (@stygian-coffee)
- π Allow unordered keys for substitution variables [#401] (@Ru5ty0ne)
- Replace
String
withInto<String>
inLineEntry::new
[#404] (@miDeb) - β Replace String on Into for all TestDir methods [#397] (@ebobrow)
- π Use Rc internally to reduce memory consumption [#393] (@Tom01098)
- π Use
actions-rs/clippy-check
to run clippy [#375] (@mgrachev) - β Remove
Result
from the return type [#374] (@DDtKey) - β Add
.bak
extension to backup files and don't lint backup files [#367] (@mstruebing) - β Add
.env
explanation [#363] (@henryboisdequin) - Contemplate variables containing $ character [#418] (@JuanMarchetto)
π [#428]: https://github.com/dotenv-linter/dotenv-linter/pull/428 π [#421]: https://github.com/dotenv-linter/dotenv-linter/pull/421 π [#420]: https://github.com/dotenv-linter/dotenv-linter/pull/420 π [#418]: https://github.com/dotenv-linter/dotenv-linter/pull/418 π [#415]: https://github.com/dotenv-linter/dotenv-linter/pull/415 π [#414]: https://github.com/dotenv-linter/dotenv-linter/pull/414 π [#413]: https://github.com/dotenv-linter/dotenv-linter/pull/413 π [#406]: https://github.com/dotenv-linter/dotenv-linter/pull/406 π [#404]: https://github.com/dotenv-linter/dotenv-linter/pull/404 π [#401]: https://github.com/dotenv-linter/dotenv-linter/pull/401 π [#400]: https://github.com/dotenv-linter/dotenv-linter/pull/400 π [#399]: https://github.com/dotenv-linter/dotenv-linter/pull/399 π [#398]: https://github.com/dotenv-linter/dotenv-linter/pull/398 π [#397]: https://github.com/dotenv-linter/dotenv-linter/pull/397 π [#395]: https://github.com/dotenv-linter/dotenv-linter/pull/395 π [#394]: https://github.com/dotenv-linter/dotenv-linter/pull/394 π [#393]: https://github.com/dotenv-linter/dotenv-linter/pull/393 π [#392]: https://github.com/dotenv-linter/dotenv-linter/pull/392 π [#391]: https://github.com/dotenv-linter/dotenv-linter/pull/391 π [#378]: https://github.com/dotenv-linter/dotenv-linter/pull/378 π [#376]: https://github.com/dotenv-linter/dotenv-linter/pull/376 π [#375]: https://github.com/dotenv-linter/dotenv-linter/pull/375 π [#374]: https://github.com/dotenv-linter/dotenv-linter/pull/374 π [#367]: https://github.com/dotenv-linter/dotenv-linter/pull/367 π [#363]: https://github.com/dotenv-linter/dotenv-linter/pull/363
-
v3.0.0 Changes
January 11, 2021π Added
- β Add
compare
-command [#282] (@mstruebing) - β Add colored output feature and
--no-color
flag to disable colors [#307] (@Nikhil0487) - π Display linted files when run [#311] (@Anthuang)
- β Add export prefix support [#340] (@skonik)
- β Add colored output for compare command [#356] (@mgrachev)
π§ Changed
- π¨ Refactoring to get rid of unnecessary heap allocations and some improvements in API ergonomics [#350] (@vbrandl)
- β Add benchmark to README [#351] (@mgrachev)
- π Fix QuoteCharacterChecker to not raise warning when quote characters are used for values with whitespaces [#349] (@sebastiantoh)
- Find all problems on the first run for
KeyWithoutValue
[#348] (@vbrandl) - β Add commitlint action [#347] (@mgrachev)
- β Add cargo-deny action [#346] (@mgrachev)
- Remade flags to subcommands [#342] (@mgrachev)
- π Changed behavior of QuoteCharacterChecker for multiline values support [#341] (@artem-russkikh)
- π Make an output on-the-fly [#336] (@DDtKey)
π [#356]: https://github.com/dotenv-linter/dotenv-linter/pull/356 π [#351]: https://github.com/dotenv-linter/dotenv-linter/pull/351 π [#350]: https://github.com/dotenv-linter/dotenv-linter/pull/350 π [#349]: https://github.com/dotenv-linter/dotenv-linter/pull/349 π [#348]: https://github.com/dotenv-linter/dotenv-linter/pull/348 π [#347]: https://github.com/dotenv-linter/dotenv-linter/pull/347 π [#346]: https://github.com/dotenv-linter/dotenv-linter/pull/346 π [#342]: https://github.com/dotenv-linter/dotenv-linter/pull/342 π [#341]: https://github.com/dotenv-linter/dotenv-linter/pull/341 π [#340]: https://github.com/dotenv-linter/dotenv-linter/pull/340 π [#336]: https://github.com/dotenv-linter/dotenv-linter/pull/336 π [#311]: https://github.com/dotenv-linter/dotenv-linter/pull/311 π [#307]: https://github.com/dotenv-linter/dotenv-linter/pull/307 π [#382]: https://github.com/dotenv-linter/dotenv-linter/pull/282
- β Add
-
v2.2.1 Changes
October 24, 2020π± π Added
- β Add
.gitattributes
to improvegit diff
#330 (@DDtKey) - β Add action-yamllint #317 (@vk26)
- β Add default exclude list #324 (@ametalon)
π± π§ Changed
- π Fix bug where symlinks would cycle in recursive mode #328 (@sonro)
- π Fix linter rechecking files if they were listed more than once #327 (@Aashu23)
- β Added docker build step to the CI pipeline #322 (@JoeAmedeo)
- π Change soon deprecated
set-env
action #320 (@marcodenisi) - π Fix docker release #319 (@mgrachev)
- β Add
-
v2.2.0 Changes
October 12, 2020π Added
- β Add integration test for autofix [#309] (@evgeniy-r)
- β Add action-misspell [#304] (@PurpleMyst)
- β Add action-shellcheck [#303] (@amd-9)
- β Add fixer: UnorderedKeyFixer [#261] (@evgeniy-r)
- β Add backup feature and
--no-backup
flag for fixers [#272] (@baile320) - β Add fixer: ExtraBlankLineFixer [#260] (@diggymo)
- β Add fixer: DuplicatedKeyFixer [#270] (@utter-step)
- β Add fixer: LeadingCharacter [#259] (@baile320)
- β Add fixer: IncorrectDelimiter [#258] (@gillespiecd)
- β Add support of comments to disable checks [#239] (@mgrachev)
- β Add autofix for EndingBlankLine [#263] (@baile320)
- β Add test for two keys that only differ in case [#269] (@yanakad)
- β Add autofix for TrailingWhitespace [#255] (@gregcline)
- β Add fixer: KeyWithoutValueFixer [#254] (@unexge)
- β Add fixer: QuoteCharacterFixer [#257] (@lensvol)
- β Add fixer: SpaceCharacterFixer [#253] (@DDtKey)
- β Add total problems to output and
--quiet
argument [#242] (@wesleimp, @mgrachev) - β Add autofix feature (for LowercaseKey check) [#228] (@evgeniy-r)
- β Add installation CI test for Windows (via
install.sh
) [#235] (@DDtKey)
π§ Changed
- β‘οΈ Update docs [#315] (@mgrachev)
- Remove
CARGO_TERM_COLOR
from the shellcheck workflow [#313] (@MusiKid) - β Add
check_output
helper function for integration tests [#305] (@Anthuang) - β Add an additional test for
LineEntry.get_value
[#306] (@vvkpd) - β‘οΈ Update args help [#299] (@mgrachev)
- Move
remove_invalid_leading_chars_test
totests
module [#298] (@mgrachev) - β Add command to install latest version via
Homebrew
[#297] (@mgrachev) - Add
CARGO_TERM_COLOR
env variable to the actions [#296] (@skippednote) - β Remove code related to "Fixed/Unfixed warnings" [#289] (@mgrachev)
- π¨ Refactoring integration tests [#288] (@mgrachev)
- π Fix a bug with fixers spawning new warnings [#287] (@evgeniy-r)
- π Fix a bug with
UnorderedKeyChecker
and control comments [#283] (@mgrachev) - π Change the line grouping for the
UnorderedKey
checker [#281] (@evgeniy-r) - π Fix a bug with
ExtraBlankLineFixer
and control comments [#279] (@mgrachev) - π Move logic for creating
LineEntry
for tests tocommon
module [#280] (@mgrachev) - Simplify UnorderedKeyChecker [#277] (@mgrachev)
- β Partition fixed/unfixed warnings [#275] (@gillespiecd)
- β Add missing test for IncorrectDelimiterChecker [#273] (@mgrachev)
- β Add *.env to gitignore [#271] (@baile320)
- Actions uses cache@v2 [#262] (@gillespiecd)
- β‘οΈ Update logic for IncorrectDelimiterCheck [#267] (@baile320)
- β Add tests for default implementation of Fix::fix_warnings [#266] (@kilotaras)
- Modularize common.rs [#264] (@gillespiecd)
π [#315]: https://github.com/dotenv-linter/dotenv-linter/pull/315 π [#313]: https://github.com/dotenv-linter/dotenv-linter/pull/313 π [#309]: https://github.com/dotenv-linter/dotenv-linter/pull/309 π [#306]: https://github.com/dotenv-linter/dotenv-linter/pull/306 π [#305]: https://github.com/dotenv-linter/dotenv-linter/pull/305 π [#304]: https://github.com/dotenv-linter/dotenv-linter/pull/304 π [#303]: https://github.com/dotenv-linter/dotenv-linter/pull/303 π [#299]: https://github.com/dotenv-linter/dotenv-linter/pull/299 π [#298]: https://github.com/dotenv-linter/dotenv-linter/pull/298 π [#297]: https://github.com/dotenv-linter/dotenv-linter/pull/297 π [#296]: https://github.com/dotenv-linter/dotenv-linter/pull/296 π [#289]: https://github.com/dotenv-linter/dotenv-linter/pull/289 π [#288]: https://github.com/dotenv-linter/dotenv-linter/pull/288 π [#287]: https://github.com/dotenv-linter/dotenv-linter/pull/287 π [#283]: https://github.com/dotenv-linter/dotenv-linter/pull/283 π [#281]: https://github.com/dotenv-linter/dotenv-linter/pull/281 π [#280]: https://github.com/dotenv-linter/dotenv-linter/pull/280 π [#279]: https://github.com/dotenv-linter/dotenv-linter/pull/279 π [#277]: https://github.com/dotenv-linter/dotenv-linter/pull/277 π [#275]: https://github.com/dotenv-linter/dotenv-linter/pull/275 π [#273]: https://github.com/dotenv-linter/dotenv-linter/pull/273 π [#272]: https://github.com/dotenv-linter/dotenv-linter/pull/272 π [#271]: https://github.com/dotenv-linter/dotenv-linter/pull/271 π [#270]: https://github.com/dotenv-linter/dotenv-linter/pull/270 π [#269]: https://github.com/dotenv-linter/dotenv-linter/pull/269 π [#267]: https://github.com/dotenv-linter/dotenv-linter/pull/267 π [#266]: https://github.com/dotenv-linter/dotenv-linter/pull/266 π [#264]: https://github.com/dotenv-linter/dotenv-linter/pull/264 π [#263]: https://github.com/dotenv-linter/dotenv-linter/pull/263 π [#262]: https://github.com/dotenv-linter/dotenv-linter/pull/262 π [#261]: https://github.com/dotenv-linter/dotenv-linter/pull/261 π [#260]: https://github.com/dotenv-linter/dotenv-linter/pull/260 π [#259]: https://github.com/dotenv-linter/dotenv-linter/pull/259 π [#258]: https://github.com/dotenv-linter/dotenv-linter/pull/258 π [#257]: https://github.com/dotenv-linter/dotenv-linter/pull/257 π [#255]: https://github.com/dotenv-linter/dotenv-linter/pull/255 π [#254]: https://github.com/dotenv-linter/dotenv-linter/pull/254 π [#253]: https://github.com/dotenv-linter/dotenv-linter/pull/253 π [#242]: https://github.com/dotenv-linter/dotenv-linter/pull/242 π [#239]: https://github.com/dotenv-linter/dotenv-linter/pull/239 π [#235]: https://github.com/dotenv-linter/dotenv-linter/pull/235 π [#228]: https://github.com/dotenv-linter/dotenv-linter/pull/228
-
v2.1.0 Changes
July 13, 2020π± π Added
- β Add install.sh for provide more short way to install #220 (@DDtKey)
- β Add flag to enable recursive search for
.env
files #223 (@DDtKey) - β Add docs #226 (@wesleimp)
- β Add Windows publishing to release workflow #211 (@DDtKey)
- β Add support canonicalize path for Windows #213 (@DDtKey)
- β Add build and test steps running on Windows #216 (@mgrachev)
π± π§ Changed
- β Add the field with a checker name to Warning #234 (@evgeniy-r)
- Remove
FileEntry::get_content_by_path
in favor offs::read_to_string
#233 (@mstruebing) - π Move show-checks flag to main.rs #227 (@mgrachev)
- π Fix
total_lines
in some tests #224 (@DDtKey) - π Consider blank lines in
UnorderedKey
check #221 (@mgrachev) - β‘οΈ Optimize integration tests #218 (@mgrachev)
-
v2.0.0 Changes
June 15, 2020π± π Added
- β Add check: TrailingWhitespace #190 (@pineapplethief)
- β Add an argument to show available checks #202 (@DDtKey)
- β Add the ability to skip checks #178 (@mgrachev)
- β Add check: ExtraBlankLine #180 (@evgeniy-r)
- β Add check: EndingBlankLine #170 (@evgeniy-r)
- β Add check: Quote characters #174 (@sourabhmarathe)
- π Github Actions: Add caching in the CI workflow #163 (@evgeniy-r)
- β Add GitHub Workflow for AUR publishing #161 (@mstruebing)
π± π§ Changed
- π Enable checks for outside current directory #209 (@tisorlawan)
- π¨ Refactor
EndingBlankLineChecker
: change last line check logic (addtotal_lines
toFileEntry
) #207 (@DDtKey) - π Fix check (for several successive blank lines): ExtraBlankLine #208 (@evgeniy-r)
- π Replace
PathBuf
withFileEntry
forLineEntry
#203 (@mgrachev) - π Replace
&'static str
with&'a str
forLeadingCharacterChecker
#200 (@rossjones) - π Replace
&'static str
with&'a str
forQuoteCharacterChecker
#198 (@duncandean) - π Replace
&'static str
with&'a str
forEndingBlankLineChecker
#197 (@rossjones) - π Replace
String
with&'a str
forUnorderedKeyChecker
#196 (@k0va1) - π Replace
String
with&'a str
forSpaceCharacterChecker
#195 (@k0va1) - π Replace
String
with&'a str
forLowercaseKeyChecker
#194 (@tisorlawan) - π Replace
&'static str
with&'a str
forExtraBlankLineChecker
#193 (@vishalsodani) - π Replace
String
with&'a str
forDuplicatedKeyChecker
#192 (@IamSaquib) - π Replace
String
with&'a str
forKeyWithoutValueChecker
#177 (@mgrachev) - π Fix docker image #160 (@mgrachev)
- π Replace
&'static str
with&'a str
forIncorrectDelimiterChecker
#191 (@DDtKey)
-
v1.2.0 Changes
April 20, 2020π± π§ Changed
- π SpaceCharacter: Show check name in the message #149 (@pineapplethief)
- π LeadingCharacter: Show check name in message #144 (@michaetto)
- π Rename
UnorderedKeys
check to singularUnorderedKey
#147 (@pineapplethief) - π KeyWithoutValue: Show check name in the message #139 (@harshu4)
- π LowercaseKey: Show check name in the message #131 (@qelphybox)
- π DuplicatedKey: Show check name in message #138(@SaMuRa1ReM1X)
- π IncorrectDelimiter: Show check name in the message #146 (@undef1nd)
- π Replaced kcov with grcov in Github Actions #143 (@pmk21)
- π Streamline CLI tests and split into smaller files #137 (@sonro)
- π UnorderedKey: Added check name to the message #140 (@pmk21)
- β Add test coverage for CLI --exclude arguments #135 (@sonro)
- π Renamed check SpacesAroundEqual to SpaceCharacter #134 (@SaMuRa1ReM1X)
- π Rename check DuplicatedKeys to DuplicatedKey #133 (@sonro)
- π Minimizing Rust Binary Size #132 (@akirill0v)
- β Remove the unwrap method and use platform native OsString to fetch the information about current directory #115 (@kanapuli)
- π Use HashSet for DuplicateKeyChecker #113 (@TamasFlorin)
- π Use reference for the LineEntry as part of the run method for checks #111 (@TamasFlorin)
- π New CLI API: Ability to check multiple directories #99 (@mgrachev)
- β Add exit with the code 0 when there are no warnings #105 (@simPod)
- π Use
get
method to get result of item inVec
and use ? operator unwrap the result if it'sSome
#108 (@boybird)
-
v1.1.2 Changes
March 13, 2020π± π§ Changed
- π Fix --path CLI parameter not canonizing filepaths from directory path passed as argument and not working as intended as a result #97 (@pineapplethief)
- π Fix incorrect delimiter check for keys contains numeric #95 (@alter369)
- Add
LineEntry.is_empty_or_comment
method to DRY and simplifyCheck.run
#94 (@pineapplethief) - π¨ Refactor
Github Actions
and reduceDocker Image size
#90 (@Macbet) - π Use
Line.get_key
in all checks #89 (@pineapplethief)