Skip to content

Releases: foundry-rs/foundry

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

Nightly (2025-02-12)

12 Feb 13:43
c0664e8
Compare
Choose a tag to compare
Nightly (2025-02-12) Pre-release
Pre-release

Other

  • feat(forge): add option to suppress successful tests traces (#9865) by @grandizzy

Full Changelog:

nightly...nightly-c0664e8873c869b656cc66f6c97856ab06bc5838

Nightly (2025-02-12)

12 Feb 00:31
1bcd17c
Compare
Choose a tag to compare
Nightly (2025-02-12) Pre-release
Pre-release

Forge Features

Forge Fixes

Other

  • feat: add --alloy-rev and fix forge bind re-run on built project (#9861) by @zerosnacks

Full Changelog:

nightly...nightly-1bcd17c8299d7c0792a77b2d4a0cf2c531a5cab2

Nightly (2025-02-11)

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

Forge Features

Other

Full Changelog:

nightly...nightly-db3d9fc95398450dbed83d4841042c62c155bcfc

Nightly (2025-02-10)

10 Feb 00:32
2b107e5
Compare
Choose a tag to compare
Nightly (2025-02-10) Pre-release
Pre-release

Other

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

Full Changelog:

nightly...nightly-2b107e5c99a1e16607820f15036e36e115a0bcbf

Nightly (2025-02-09)

08 Feb 00:30
5f6bd20
Compare
Choose a tag to compare
Nightly (2025-02-09) Pre-release
Pre-release
  • No changes