Skip to content

Releases: foundry-rs/foundry

Nightly (2025-02-22)

21 Feb 00:32
c609884
Compare
Choose a tag to compare
Nightly (2025-02-22) Pre-release
Pre-release
  • No changes

Nightly

10 Jul 18:13
c609884
Compare
Choose a tag to compare
Nightly Pre-release
Pre-release
  • No changes

Nightly (2025-02-20)

20 Feb 00:32
c34a752
Compare
Choose a tag to compare
Nightly (2025-02-20) Pre-release
Pre-release

Other

Full Changelog:

nightly...nightly-c34a752532c23aac999a3c62fdf45d0db6df2d26

Nightly (2025-02-19)

19 Feb 00:30
97e2ebb
Compare
Choose a tag to compare
Nightly (2025-02-19) Pre-release
Pre-release

Cast Features

  • feat(cast age): clarify block timestamp is UTC to allow for date compatibility (#9913) by @zerosnacks

Forge Fixes

Other

Full Changelog:

nightly...nightly-97e2ebbb7f74189b65943ae0b8537415d709608c

Nightly (2025-02-18)

18 Feb 00:31
3d393b6
Compare
Choose a tag to compare
Nightly (2025-02-18) Pre-release
Pre-release

Forge Fixes

  • fix(config): enable optimizer if optimizer runs > 0 in additional profiles (#9901) by @grandizzy

Other

  • chore(deps): weekly cargo update (#9898) by @github-actions[bot]
  • fix: add support for inline isolate configuration (#9904) by @zerosnacks

Full Changelog:

nightly...nightly-3d393b6f1266c71f3b422a99b1a08852534d4db3

Nightly (2025-02-17)

15 Feb 00:31
51b75c8
Compare
Choose a tag to compare
Nightly (2025-02-17) Pre-release
Pre-release
  • No changes

stable

20 Dec 08:57
Compare
Choose a tag to compare

❗ Breaking changes

See v1.0 migration guide

  • 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...v1.0.0

Nightly (2025-02-14)

14 Feb 00:32
e5ec47b
Compare
Choose a tag to compare
Nightly (2025-02-14) Pre-release
Pre-release

Other

  • fix(anvil): return nonce and signature for deposit tx type (#9883) by @jakim929

Full Changelog:

nightly...nightly-e5ec47b88208fdc48575359e0a5c44f85570ef63

Nightly (2025-02-12)

Nightly (2025-02-12) Pre-release
Pre-release
  • No changes

Nightly (2025-02-13)

13 Feb 00:31
d158b9c
Compare
Choose a tag to compare