Skip to content

v0.5.0

Compare
Choose a tag to compare
released this 30 Mar 22:45
· 339 commits to master since this release
845f363

Enhancements

  • A new check allows to verify that public declarations are properly documented (Return and Params DDOC sections).
  • A new check verifies the indentation of if constraints.
  • A new check warns in case a virtual call is found inside a constructor. See the rationale here #423.
  • The format of the warnings can be tweaked, see details in #567.
  • The warning for could be const is not emitted if the variable initializer is a newed class or struct. Because of transitivity, making const aggregates was rarely a pertinent advice.

Bug fixed

  • Several cases of crashes due to the parser have been fixed. They were detected because D-Scanner is more and more used for dynamic linting, i.e to process unfinished or invalid code. (#554, #552)

Note

  • Contrary to what was announced in the notes of the pre-release versions, there's no breaking change. The old INI files will still be recognized, however those who already changed the format will have to revert.