Skip to content

v0.9.4

Compare
Choose a tag to compare
@0xalpharush 0xalpharush released this 26 Jun 18:40
· 703 commits to master since this release
9244f96

0.9.4 - 2023-06-26

This release adds initial support of user defined operators, improves support for try catch, reduces false positives, and fixes numerous bugs. Finally three new detectors, one new printer, and one new tool were added.

We would like to thank all of our external contributors:

For CI integration: If you were using the fail-high, fail-medium, fail-low, fail-pedantic in slither.conf.json, Slither will warn these configurations are deprecated and recommend migrating to the respective fail-on config e.g. fail-high becomes fail-on: high. These flags are now decoupled from excluding which detectors run, meaning the flags --exclude-informational and --exclude-optimization will be honored without also passing --no-fail-pedantic. Consider using slither-action for CI integration

Added

  • Detectors
    • cache-array-length: Detects for loops that use length member of some storage array in their loop condition and don't modify it by @bart1e in #1694
    • encode-packed-collision: Detects collisions caused by use of encode packed on dynamic types by @0xalpharush in #1845
    • incorrect-using-for: Detects using-for statement usage when no function from a given library matches a given type by @bart1e in #1653
  • Printer
    • loc- Count the total number lines of code (LOC), source lines of code (SLOC), and comment lines of code (CLOC) found in source files (SRC), dependencies (DEP), and test files (TEST) - by @devtooligan in #1882
  • Tool

Changed

Fixed

New Contributors

Full Changelog: 0.9.3...0.9.4