Skip to content

Releases: foundry-rs/foundry

Nightly (2025-02-03)

03 Feb 00:32
0e519ff
Compare
Choose a tag to compare

Nightly

10 Jul 18:13
0e519ff
Compare
Choose a tag to compare
Nightly Pre-release
Pre-release

rc

31 Jan 16:13
8692e92
Compare
Choose a tag to compare
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

Nightly (2025-02-02)

01 Feb 00:32
60f0b69
Compare
Choose a tag to compare
Nightly (2025-02-02) Pre-release
Pre-release
  • No changes

Nightly (2025-01-31)

31 Jan 00:32
fe92e7e
Compare
Choose a tag to compare
Nightly (2025-01-31) Pre-release
Pre-release

Anvil Features

Other

  • docs(cast): clean up index docs (#9792) by @DaniPopes
  • feat: add gas_snapshot_check flag to config, fix FORGE_SNAPSHOT_CHECK behavior (#9791) by @zerosnacks

Full Changelog:

nightly...nightly-fe92e7ef225c6380e657e49452ce931871ae56bc

Nightly (2025-01-30)

30 Jan 00:30
9f11e6d
Compare
Choose a tag to compare
Nightly (2025-01-30) Pre-release
Pre-release

Other

Full Changelog:

nightly...nightly-9f11e6df38f6b38173eba0cc1134ea14413a6ce8

Nightly (2025-01-29)

29 Jan 00:31
f3548cb
Compare
Choose a tag to compare
Nightly (2025-01-29) Pre-release
Pre-release

Performance improvements

Other

Full Changelog:

nightly...nightly-f3548cb4d06b5eec81f2482e9fc3c16e58f7efe5

Nightly (2025-01-28)

28 Jan 00:30
58166ca
Compare
Choose a tag to compare
Nightly (2025-01-28) Pre-release
Pre-release

Cast Features

Forge Fixes

Other

Full Changelog:

nightly...nightly-58166caa8e274d6405a5f9767b9bf6980f26fc5d

Nightly (2025-01-27)

27 Jan 00:31
0821048
Compare
Choose a tag to compare
Nightly (2025-01-27) Pre-release
Pre-release

Other

  • chore(deps): weekly cargo update (#9755) by @github-actions[bot]

Full Changelog:

nightly...nightly-082104867cc0d587196eec715a75736d61dbd9fa

Nightly (2025-01-26)

25 Jan 00:29
b03dd22
Compare
Choose a tag to compare
Nightly (2025-01-26) Pre-release
Pre-release
  • No changes