github foundry-rs/forge-std v1.5.0

latest releases: v1.9.4, v1.9.3, v1.9.2...
20 months ago

Featured Changes

  • feat: add StdStyle library to print logs with different colors and styles,by @wirew0lf in #313
    • Example usage: console2.log(StdStyle.red("my red string"))
    • Available method names are red, green, yellow, blue, magenta, cyan, bold, italic, underline, dim, and inverse
  • Rename StdAssertions.sol logs from actual and expected to left and right, to make it easier to read failed assertions, by @Sabnock01 in #290
  • feat(StdCheats): add dealERC721 and dealERC1155 cheats by @wirew0lf in #305
  • feat(StdAssertions): add assertEqCall assertion helpers by @0xPhaze in #311
  • feat(Vm): Add new expectCall variants to assert on the amount of gas passed to a call, by @clabby in #310

Other Changes

  • Bump ds-test and complete assertion log renaming by @Sabnock01 in #307

New Contributors

Full Changelog: v1.4.0...v1.5.0

Don't miss a new forge-std release

NewReleases is sending notifications on new releases.