Skip to content

0.4.0

Choose a tag to compare

@smonicas smonicas released this 20 May 15:52
· 7 commits to master since this release
Immutable release. Only release title and notes can be modified.

This release adds support for Hardhat v3, Sourcify and many other improvements and fixes. It also contains the following API breaking changes:

  • CompilationUnit.implementation_address -> CompilationUnit.implementation_addresses: If the compilation unit is a proxy it now returns all the implementations addresses available instead of a single one
  • DevMethod.method_return -> DevMethod.method_returns: Support multiple return variables in NatSpec comments

What's Changed

  • Adding support for Hardhat 3 projects by @imadarchid in #631
  • Add support for Sourcify by @elopez in #635
  • Modernize crytic-compile by @elopez in #636
  • fix: use build_info_path from forge config instead of hardcoding by @dguido in #638
  • feat: add --foundry-deny flag to control forge diagnostic errors by @dguido in #637
  • sourcify: collect proxy information by @elopez in #642
  • feat: Add ability to defer compilation by @iliastsa in #547
  • Etherscan: Add a new check that the source code is verified by @smonicas in #646
  • feat: remove truffle export format by @dguido in #645
  • feat: parse NatSpec custom fields by @dguido in #644
  • feat: warn when multiple frameworks detected by @dguido in #643
  • platform: solc: serialize ABI with json.dumps by @elopez in #664
  • Improve Foundry dependencies detection by @smonicas in #654
  • Error if a platform is not found when using --compile-force-framework by @smonicas in #648
  • fix: sort Foundry sources by ID for correct sourceList ordering by @Mike4751 in #653
  • Track natspec of state variables by @smonicas in #649
  • Add via-ir property to CompilerVersion by @smonicas in #661
  • feat: --compile-autolink by @elopez in #605
  • fix: actionable hint when source map falls outside cached source by @cats2101 in #680
  • fix: actionable hints when a source file cannot be located by @cats2101 in #678
  • fix: thread custom solc path and env through SolcStandardJson by @cats2101 in #681
  • fix: traverse up to discover compilation framework config by @cats2101 in #676

New Contributors

Full Changelog: 0.3.11...0.4.0