Skip to content

Releases: NomicFoundation/hardhat

Hardhat v3.1.12

11 Mar 14:54
588ac92

Choose a tag to compare

This release adds support for function gas snapshots and snapshot cheatcodes in Solidity tests through the new --snapshot and --snapshot-check flags, along with minor improvements for plugins and an update to EDR.

Changes

  • 01b41ee: Added support for function gas snapshots and snapshot cheatcodes in Solidity tests with --snapshot and --snapshot-check flags (#7769)
  • e37f96c: Add TestRunResult type that wraps TestSummary, allowing plugins to extend test results with additional data
  • bda5a0a: Bumped EDR version to 0.12.0-next.28

💡 The Nomic Foundation is hiring! Check our open positions.


@nomicfoundation/hardhat-utils@4.0.1

11 Mar 14:42
588ac92

Choose a tag to compare

Changes

  • 01b41ee: Added support for function gas snapshots and snapshot cheatcodes in Solidity tests with --snapshot and --snapshot-check flags (#7769)

💡 The Nomic Foundation is hiring! Check our open positions.


@nomicfoundation/hardhat-node-test-runner@3.0.11

11 Mar 14:42
588ac92

Choose a tag to compare

Changes

  • 01b41ee: Added support for function gas snapshots and snapshot cheatcodes in Solidity tests with --snapshot and --snapshot-check flags (#7769)
  • e37f96c: Add TestRunResult type that wraps TestSummary, allowing plugins to extend test results with additional data

💡 The Nomic Foundation is hiring! Check our open positions.


@nomicfoundation/hardhat-mocha@3.0.13

11 Mar 14:42
588ac92

Choose a tag to compare

Changes

  • e37f96c: Add TestRunResult type that wraps TestSummary, allowing plugins to extend test results with additional data

💡 The Nomic Foundation is hiring! Check our open positions.


@nomicfoundation/hardhat-errors@3.0.8

11 Mar 14:42
588ac92

Choose a tag to compare

Changes

  • 01b41ee: Added support for function gas snapshots and snapshot cheatcodes in Solidity tests with --snapshot and --snapshot-check flags (#7769)

💡 The Nomic Foundation is hiring! Check our open positions.


Hardhat v3.1.11

05 Mar 21:41
905c43c

Choose a tag to compare

This release improves the DX of the Viem and Ethers plugins with better autocomplete, improves the errors printed when a contract can't be compiled with the configured compilers, upgrades EDR, and many minor improvements and fixes.

EDR RELATED BREAKING CHANGE: Memory capture used to be enabled by default on geth, but has since been flipped (see ethereum/go-ethereum#23558) and is now disabled by default. We have followed suit and disabled it by default as well. If you were relying on memory capture, you will need to explicitly enable it by setting the enableMemory option to true in your tracer configuration.

Changes

  • 2cbf218: Bumped EDR version to 0.12.0-next.27

    BREAKING CHANGE: Memory capture used to be enabled by default on geth, but has since been flipped ethereum/go-ethereum#23558 and is now disabled by default. We have followed suit and disabled it by default as well. If you were relying on memory capture, you will need to explicitly enable it by setting the enableMemory option to true in your tracer configuration.

  • bc193be: Use concrete value types for contract names in hardhat-viem and hardhat-ethers

  • 2cbf218: Make SolidityBuildSystem easier to work with (#7988)

  • 19b691d: Fix typo in assertion message #8028

  • 2cbf218: Expose Result type for task action success/failure signaling.

  • 2cbf218: Fixed the acceptance of relative paths to node_modules in npm remappings (#8007)

  • 2cbf218: Implement a global banner logic in Hardhat 3 #8021

  • 4ff11c1: Return typed Result from test runners and telemetry tasks (#8015).

  • 2cbf218: Show fs paths and better error messages when a Solidity file can't be compiled with any configured compiler (#7988)

  • 2cbf218: Add onTestRunStart, onTestWorkerDone, and onTestRunDone test hooks (#8001)


💡 The Nomic Foundation is hiring! Check our open positions.


@nomicfoundation/ignition-ui@3.0.9

05 Mar 21:38
905c43c

Choose a tag to compare

Changes

  • 2cbf218: Fix an issue that prevented the verification of contracts using FQNs (#8014)
  • 13918b4: Add support for custom chains not in viem's built-in chain list, thanks @daanporon! (#7763)

💡 The Nomic Foundation is hiring! Check our open positions.


@nomicfoundation/ignition-core@3.0.9

05 Mar 21:38
905c43c

Choose a tag to compare

Changes

  • 2cbf218: Fix an issue that prevented the verification of contracts using FQNs (#8014)
  • 13918b4: Add support for custom chains not in viem's built-in chain list, thanks @daanporon! (#7763)

💡 The Nomic Foundation is hiring! Check our open positions.


@nomicfoundation/hardhat-zod-utils@3.0.3

05 Mar 21:38
905c43c

Choose a tag to compare

Changes


💡 The Nomic Foundation is hiring! Check our open positions.


@nomicfoundation/hardhat-viem@3.0.4

05 Mar 21:38
905c43c

Choose a tag to compare

Changes

  • bc193be: Use concrete value types for contract names in hardhat-viem and hardhat-ethers
  • 13918b4: Add support for custom chains not in viem's built-in chain list, thanks @daanporon! (#7763)

💡 The Nomic Foundation is hiring! Check our open positions.