Skip to content

Bump hardhat from 2.26.2 to 3.1.12#1019

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/hardhat-3.1.12
Closed

Bump hardhat from 2.26.2 to 3.1.12#1019
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/hardhat-3.1.12

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 12, 2026

Bumps hardhat from 2.26.2 to 3.1.12.

Release notes

Sourced from hardhat's releases.

Hardhat v3.1.12

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.


Hardhat v3.1.11

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.


Hardhat v3.1.10

This release contains many improvements and bug fixes, including a cleaner display of test coverage reports (--coverage) and support for inline actions in tasks.

Changes

  • 726ff37: Update the --coverage table output to match the style used by --gas-stats. Thanks @​jose-blockchain! (#7733)
  • f1e9b05: Added support for inline actions in tasks 7851.
  • ca26adb: Update hardhat node to always use the new node network (#7989)
  • ec03a01: Allow overriding the type of the network configs default and localhost #7805
  • 87623db: Introduce new inter-process mutex implementation (7942).
  • 2c2e1f5: Throw better error messages when trying to use a Hardhat 2 plugin with Hardhat 3 #7991.

... (truncated)

Changelog

Sourced from hardhat's changelog.

3.1.12

Patch 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

3.1.11

Patch 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)

3.1.10

Patch Changes

  • ca26adb: Update hardhat node to always use the new node network (#7989)[https://redirect.github.com/Node network config NomicFoundation/hardhat#7989]
  • 87623db: Introduce new inter-process mutex implementation (7942).
  • 88e9cb5: Add a SolidityHooks#readNpmPackageRemappings hook
  • ec03a01: Allow overriding the type of the network configs default and localhost #7805
  • 2c2e1f5: Throw better error messages when trying to use a Hardhat 2 plugin with Hardhat 3 #7991.
  • 90b5eec: Suggest installing hardhat-foundry when appropriate
  • 87623db: Make the solc downloader safe when run by multiple processes (7946).
  • 726ff37: Update the --coverage table output to match the style used by --gas-stats. Thanks @​jose-blockchain! (#7733)
  • f1e9b05: Added support for inline actions in tasks 7851.
  • 73cb725: Expose gasLimit configuration for Solidity tests #7996

3.1.9

Patch Changes

  • 621d07e: Make the coverage work with versions of Solidity that aren't fully supported by EDR #7982
  • 3e39a06: Round average and median gas usage in the gas analytics output
  • 78af2ed: Allow multiple parallel downloads of different compilers (7946).

3.1.8

... (truncated)

Commits
  • 72ac31c Version Packages
  • 05baf8b Merge pull request #8049 from anaPerezGhiglia/build/edr-0.12.0-next.28
  • 68c6408 fix: update format in error message
  • fef3c25 fix: adapt gas-analytics and solidity-test to Result pattern after rebase ont...
  • 482f346 fix: add missing prop in hardfork tests
  • 51d00a1 fix: delete orphaned snapshot cheatcode files when groups are removed
  • 3d63a25 fix: remove extra blank line before snapshot output
  • 67ad197 fix: only set snapshot cheatcodes written flag when cheatcodes exist
  • 4de44e4 feat: add a default fuzz test seed when none is provided (#7886)
  • ad17527 Gas snapshots - Show a link to the test file on failures (#7883)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for hardhat since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [hardhat](https://github.com/NomicFoundation/hardhat/tree/HEAD/v-next/hardhat) from 2.26.2 to 3.1.12.
- [Release notes](https://github.com/NomicFoundation/hardhat/releases)
- [Changelog](https://github.com/NomicFoundation/hardhat/blob/main/v-next/hardhat/CHANGELOG.md)
- [Commits](https://github.com/NomicFoundation/hardhat/commits/hardhat@3.1.12/v-next/hardhat)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-version: 3.1.12
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 12, 2026
@dependabot dependabot bot requested review from alexcos20 and trentmc as code owners March 12, 2026 02:03
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 12, 2026
@openzeppelin-code
Copy link

Bump hardhat from 2.26.2 to 3.1.12

Generated at commit: 1d41c8f9214e4f810c32d7a12ec18eeee80c23c1

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
1
0
9
40
52
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 20, 2026

Superseded by #1020.

@dependabot dependabot bot closed this Mar 20, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/hardhat-3.1.12 branch March 20, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants