github foundry-rs/foundry rc

❗ Breaking changes

  • solc optimizer disabled by default (#2486)
  • removed testFail* support (#4437)
  • expectRevert cheatcode disabled for internal calls by default (#3437)
  • removed support for legacy console.sol signatures (#8910)
  • ignore conflicting remappings (#9146)
  • forge coverage does not persist artifacts anymore (#8840 (comment))
  • FORGE_SNAPSHOT_CHECK requires boolean value (#9734)
  • cast etherscan-source renamed to cast source with additional explorer_url and explorer_api_url args for alternative block explorers (#4776)
  • --pretty flag removed from forge inspect (#5165)
  • forge bind --ethers bindings have been removed, defaults to --alloy (#9412)
  • forge debug subcommand removed in favor of forge test --debug and forge script --debug (#9523)
  • removed regex arguments --debug and --decode-internal of forge test (#8931)
  • foundryup installs stable if no version specified (#9585)

Anvil Features

Anvil Fixes

Cast Features

  • feat(cast): pretty print other receipt fields (#9589) by @jsvisa
  • Feat: Add cast chain support for ink & ink-sepolia (#9652) by @CruzMolina
  • feat(cast source): support alternative explorers (#9762) by @yash-atreya
  • feat(cast): update polygon testnet chain and add polygon zkevm chains (#9803) by @leovct

Cast Fixes

  • fix(ens): don't resolve addr if doesn't contain . (#9635) by @9547

Chisel Features

  • feat(chisel): determine proper path to Vm.sol based on proj remappings (#9703) by @grandizzy

Forge Features

  • feat(verify): default to sourcify if etherscan key not provided (#9630) by @yash-atreya
  • fix: do not remove snapshots directory before running the test suite (#9645) by @zerosnacks
  • fix(config): enable optimizer when optimizer_runs set in config (#9673) by @yash-atreya
  • feat(forge): --watch coverage (#9702) by @yash-atreya
  • feat: filter by profile in vm.getCode (#9714) by @klkvr
  • fix(forge): allow install private deps with https and gh token (#9726) by @grandizzy
  • feat: allow remapping of solidity files (#9604) by @jsvisa
  • fix(forge): disable artifacts for coverage (#9692) by @yash-atreya
  • feat(cheatcodes): add ability to ignore (multiple) specific and partial reverts in fuzz and invariant tests (#9179) by @emo-eth
  • feat(script): show the broadcasted transactions when verbose>=4 (#9655) by @jsvisa
  • feat(forge): inspect - default to pretty output (#9705) by @yash-atreya
  • feat: override the eyre display handler globally (#9766) by @DaniPopes
  • feat(forge): remove testFail* (#9574) by @yash-atreya

Forge Fixes

  • fix(cheatcode): use storage access address instead account access (#9646) by @grandizzy
  • fix(cheatcodes): record state diff only if balance changed (#9658) by @grandizzy
  • fix: error handling with retries when waiting for receipt (#9650) by @grandizzy
  • fix(script): use fork_block_number for init sender nonce (#9669) by @yash-atreya
  • fix: propagate color config to TraceWriter (#9679) by @DaniPopes
  • fix(config): normalize optimizer settings (#9689) by @grandizzy
  • fix(verify): strip profile from contract name (#9699) by @grandizzy
  • Fix rewrite of User-Agent header (#9707) by @vbrvk
  • fix(invariant): handle simple contract names in metrics table (#9724) by @grandizzy
  • fix(invariant): lookup fuzz interface abi by name or identifier (#9744) by @grandizzy
  • fix(forge bind): prefix keyword mod names with r# (#9761) by @yash-atreya
  • fix(coverage): keep EVM version when normalizing for ir-minimum (#9768) by @DaniPopes
  • fix(cheatcode): support new 7702 spec (#9779) by @grandizzy
  • fix: avoid returning None for library addresses during fuzzing (#9771) by @nbaztec

Performance improvements

Other

Full Changelog:

v0.3.0...rc

Don't miss a new foundry release

NewReleases is sending notifications on new releases.