Skip to content

v3.0.0

Compare
Choose a tag to compare
@fvictorio fvictorio released this 04 May 14:18
· 536 commits to master since this release
fd4bf46

Solhint 3.0 is finally released! This release brings several changes, hopefully for good 🙂

You can try it out by upgrading your existing installation to 3.0.0. If you have feedback or found a bug, please open an issue.

Change underlying parser

We changed the solidity parser we were using for a higher level library. This might seem like an implementation detail, but the practical implication is that now writing plugins should be much easier. Of course, this also means that existing plugins will need to be re-written, but it shouldn't be a lot of work. If you have a plugin (or want to write one), feel free to ask us for help. And don't forget to read the plugins guide.

Autofix support

We added support for autofix in solhint, and implemented it for a couple of simple cases (avoid-throw and avoid-sha3), but we plan to add it to more rules.

Breaking changes

  • All the styling rules were removed. We recommend using prettier-solidity instead. You can combine it with solhint with this plugin.
  • compiler-fixed and compiler-gt-0_4 were removed. You can use compiler-version instead.
  • mark-callable-contracts was removed from the solhint:recommended ruleset.