Skip to content

chore(deps-dev): bump hardhat from 2.28.6 to 3.5.1 in /docgen#177

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/docgen/dev/hardhat-3.5.1
Open

chore(deps-dev): bump hardhat from 2.28.6 to 3.5.1 in /docgen#177
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/docgen/dev/hardhat-3.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 24, 2026

Bumps hardhat from 2.28.6 to 3.5.1.

Release notes

Sourced from hardhat's releases.

Hardhat v3.5.1

This is a small release with some quality of life improvements, and a fix to hardhat --init so that it works with pnpm 11.

Changes


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


Hardhat v3.5.0

This release has multiple new additions and bug fixes including: support for EIP-712 cheatcodes in Solidity Test, allowing direct project initialization by named template with --init --template \<template-name>, and switching to Typescript 6 for new projects.

Changes

  • #8243 08805db Thanks @​ChristopherDedominici! - Support EIP-712 cheatcodes in Solidity Test.

  • #8188 d48bbfd Thanks @​alcuadrado! - Add --init --template \<template-name> to initialize projects in a non-interactive way. Also add --init --templates to get the list of template names.

  • #8312 76c15ff Thanks @​alcuadrado! - Update the Hardhat 3 TypeScript project templates for TypeScript 6.

  • #8301 793cc84 Thanks @​kanej! - Disable transaction gas cap and block gas limit when running tests under --coverage.

  • #8270 cf2823b Thanks @​schaable! - Solidity test configuration now also accepts { profiles: { default: ... } }. Only the default profile is currently supported, other profile names will be supported in a future release. The previous flat shape continues to work unchanged.

    The resolved HardhatConfig.test.solidity is now profile-keyed: read per-profile fields at hre.config.test.solidity.profiles.default.* instead of hre.config.test.solidity.*. Plugins that read the resolved Solidity test config need to be updated.

  • #8298 83b1ae1 Thanks @​Wodann! - - Fixed a bug when using a test filter where the setUp function would be run for empty test suites

    • Fixed a bug where snapshot cheatcodes would throw an error if names were invalid
    • Fixed coverage instrumentation interfering with the single-call vm.prank cheatcode
    • Added support for instrumentation of Solidity 0.8.35
  • #8264 8452f97 Thanks @​alcuadrado! - Export ./package.json so consumers can import the package's manifest.

  • #8310 9f394ec Thanks @​js360000! - Fix JSON-RPC error.data shape for revert errors (code 3): return the raw revert hex string directly instead of a { message, txHash, data } wrapper object.

  • #8269 045cb8d Thanks @​alcuadrado! - Always load the builtin plugins' type extensions

  • #8301 793cc84 Thanks @​kanej! - Respect user config for allowUnlimitedContractSize when running under --coverage.

  • #8259 1d1204f Thanks @​kanej! - Fixed build overrides not being respected when running compile

  • #8290 3a15b11 Thanks @​gultekinmakif! - Fixed abstract contracts being picked up as test suites by the Solidity test runner (#8203).

  • #8266 325bae1 Thanks @​schaable! - Sanitized snapshot cheatcode group names to avoid issues when persisting them to disk. A warning is shown when a group is renamed suggesting the user to update their snapshot group names to match the on-disk names.

... (truncated)

Changelog

Sourced from hardhat's changelog.

3.5.1

Patch Changes

3.5.0

Minor Changes

  • #8301 793cc84 Thanks @​kanej! - Disable transaction gas cap and block gas limit when running tests under --coverage.

  • #8270 cf2823b Thanks @​schaable! - Solidity test configuration now also accepts { profiles: { default: ... } }. Only the default profile is currently supported, other profile names will be supported in a future release. The previous flat shape continues to work unchanged.

    The resolved HardhatConfig.test.solidity is now profile-keyed: read per-profile fields at hre.config.test.solidity.profiles.default.* instead of hre.config.test.solidity.*. Plugins that read the resolved Solidity test config need to be updated.

Patch Changes

  • #8298 83b1ae1 Thanks @​Wodann! - - Fixed a bug when using a test filter where the setUp function would be run for empty test suites

    • Fixed a bug where snapshot cheatcodes would throw an error if names were invalid
    • Fixed coverage instrumentation interfering with the single-call vm.prank cheatcode
    • Added support for instrumentation of Solidity 0.8.35
  • #8264 8452f97 Thanks @​alcuadrado! - Export ./package.json so consumers can import the package's manifest.

  • #8310 9f394ec Thanks @​js360000! - Fix JSON-RPC error.data shape for revert errors (code 3): return the raw revert hex string directly instead of a { message, txHash, data } wrapper object. This matches the geth/anvil/EVM-node convention that client tooling (viem, ethers, web3.js) relies on when decoding custom errors. Closes #8075.

  • #8269 045cb8d Thanks @​alcuadrado! - Always load the builtin plugins' type extensions

  • #8243 08805db Thanks @​ChristopherDedominici! - Support EIP-712 cheatcodes in Solidity Test.

  • #8301 793cc84 Thanks @​kanej! - Respect user config for allowUnlimitedContractSize when running under --coverage.

  • #8259 1d1204f Thanks @​kanej! - Fixed build overrides not being respected when running compile

  • #8188 d48bbfd Thanks @​alcuadrado! - Add --init --template \<template-name> to initialize projects in a non-interactive way. Also add --init --templates to get the list of template names.

  • #8290 3a15b11 Thanks @​gultekinmakif! - Fixed abstract contracts being picked up as test suites by the Solidity test runner (#8203).

  • #8266 325bae1 Thanks @​schaable! - Sanitized snapshot cheatcode group names to avoid issues when persisting them to disk. A warning is shown when a group is renamed suggesting the user to update their snapshot group names to match the on-disk names.

  • #8312 76c15ff Thanks @​alcuadrado! - Update the Hardhat 3 TypeScript project templates for TypeScript 6.

  • Updated dependencies:

    • @​nomicfoundation/hardhat-errors@​3.0.13

... (truncated)

Commits
  • 2e834e0 Version Packages
  • f3d09ae Merge pull request #8302 from NomicFoundation/suppress-solidity-compilation-w...
  • 3cb4934 Merge pull request #8316 from NomicFoundation/pnpm-11-init
  • 86bf9cb Merge pull request #8315 from NomicFoundation/migration-error-messages
  • 977ed89 Merge pull request #8306 from NomicFoundation/refactor/create-tmp-dir
  • 489d6db address copilot's suggestions
  • 975180d fix spellcheck
  • aa83aa0 refactor(test): route useTestProjectTemplate through workspace-local tmp dirs
  • da2f657 refactor(test): migrate special-case tmp-dir tests to createTmpDir
  • 7a08794 refactor(test): migrate scenario A/B tmp-dir tests to createTmpDir
  • Additional commits viewable in compare view

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/packages/hardhat) from 2.28.6 to 3.5.1.
- [Release notes](https://github.com/NomicFoundation/hardhat/releases)
- [Changelog](https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat/CHANGELOG.md)
- [Commits](https://github.com/NomicFoundation/hardhat/commits/hardhat@3.5.1/packages/hardhat)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-version: 3.5.1
  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 May 24, 2026
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