Skip to content

0.7.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@thindil thindil released this 14 Sep 04:24
· 628 commits to trunk since this release

This is the seventh alpha release of the program. It brings a couple of new settings for the program, and mostly fixes for various bugs. Plus perhaps a couple of new bugs too. Tag BREAKING means the change break compatibility with a previous version of the program. Below are changes since the last release:

Added

  • The option to check only not borrowed procedures, functions and methods for
    pragmas with hasPragma rule.
  • The configuration setting ignore to remove the selected file from the
    list of files to check.
  • The rule's name to the program's rules' messages.

Changed

  • Updated the project's documentation.
  • BREAKING: name of module required to import for use the program's pragmas
    in the checked code.
  • Updated contributing guide.

Fixed

  • Don't install file rulesList.txt. It is needed only for compilation of the
    program.
  • Checking usage of parameters of procedures by paramsUsed rule.
  • Detecting a documentation of definition of procedures, functions, etc. with
    hasDoc rule.
  • Crash when checking for named parameters in call by namedParams rule when
    there are more results than allowed.
  • Crash when there are more results than set by the user in a configuration
    file.
  • Detecting a documentation of types with hasDoc rule.
  • Installing the program should also contain file nimalyzer.nim for ability
    to disable and enable rules.
  • Detecting a documentation of variables in let section with hasDoc rule.
  • Detecting calls by namedParams rule.
  • Detecting empty if statements with ifStatements rule.
  • Detecting empty for statements with forStatements rule.
  • Don't check the last parameter of a call if it is a statements' list with
    namedParams rule.
  • Crash when checking declarations of variables with varDeclared rule.
  • Crash when checking variables with localHides rule.
  • Checking declarations of multiple variables with varDeclared rule.