Skip to content

1.5.1

Choose a tag to compare

@github-actions github-actions released this 27 Jun 19:27
· 180 commits to main since this release
bffc569

Added

  • Parallelization in AST and IR parsing
  • More LLVM optimizations
  • Location resolution for EraVM-specific messages in standard JSON output
  • The suppress-errors parameter to disable some compilation errors

Changed

  • All messages are now written to JSON output in standard JSON mode
  • AST and IRs are not emitted anymore if not explicitly requested
  • Empty files and contracts are pruned from standard JSON output
  • Message formats are made more compatible with original messages of solc
  • <address payable>.send/transfer(<X>) now triggers a compilation error
  • Updated to Rust v1.79.0

Removed

  • Obsolete warnings for extcodesize and ecrecover
  • EVM-specific warnings which solc has been emitting unconditionally

Fixed

  • Dependency graph inefficiency that caused excessive compilation time
  • Removed JSON stream readers which are much slower than strings and vectors
  • Missing output with non-canonical input paths in combined JSON output
  • Missing warnings with solc v0.4.x and v0.5.x due to differences in AST
  • Cryptic error on type(T).runtimeCode usage with EVM assembly codegen
  • The unknown bytecodeHash error in standard JSON mode with solc v0.5.x