This release brings a handful of long-awaited features requested by our users and a few improvements we were keeping in our heads for some time.
Besides the 9 new rules, Robocop is now able to compare results between runs and see the difference in the report.
Moreover, the disablers are now smarter and they become context-aware, meaning that they disable the rules in the whole related code block.
Another improvement is the severity thresholds for the rules, which are now dynamically referenced in the rule messages.
We also added a possibility to create rules that are disabled by default, and this is a first step we made towards Community Rules, which is a huge feature we are working on, and we plan to add it in the next major release.
The results from the Robocop execution can also be exported to a JSON file with our new json_report.
Another updates are:
- a new way of importing custom rules thanks to refactored mechanism of importing rules and checkers
- better readability and formatting of the documentation
- internal refactor of the reports to make it easier to maintain and extend they functionality
Backward-incompatible changes relate to rule severity thresholds and rule disablers (described below in details).
Read more in [full release notes](https://github.com/MarketSquare/robotframework-robocop/blob/master/docs/releasenotes/4.0.0.rst).