Skip to content

chore(deps-dev): bump hardhat from 2.28.3 to 3.9.1 in /docgen#223

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 5, 2026

Copy link
Copy Markdown
Contributor

Bumps hardhat from 2.28.3 to 3.9.1.

Release notes

Sourced from hardhat's releases.

Hardhat v3.9.1

This release improves Solidity Tests with configurable transaction gas caps and safer gas snapshot checks, while also making Hardhat faster to start and easier to migrate to from Hardhat 2.

Changes

  • #8234 81871fd Thanks @​tenderdeve! - Explain the unsupported cheatcode eip712HashType(string,string) and point to the documentation for the alternative instead.

  • #8400 2f48724 Thanks @​kanej! - Support setting the transaction gas cap in Solidity Tests

  • #8367 82d00fc Thanks @​alcuadrado! - Lazy load dependencies to optimize bootstrap time

  • #8391 f3c5727 Thanks @​schaable! - Make hardhat test solidity --snapshot-check read-only. It no longer rewrites or deletes .gas-snapshot or snapshots/*.json files, and instead reports differences. The command now fails when a stored gas value differs from the current one, or when no baseline exists, with a hint to run --snapshot.

  • #8332 e542a48 Thanks @​gultekinmakif! - Fixed a crash that could occur when a network returned an unexpected response while resolving the default sender account

  • #8385 946e379 Thanks @​BROCCOLO1D! - When a Hardhat 2 plugin calls an API that no longer exists in Hardhat 3, the error now names the specific API that was used and explains how to migrate it to Hardhat 3.

  • Updated dependencies:

    • @​nomicfoundation/hardhat-errors@​3.0.16
    • @​nomicfoundation/hardhat-utils@​4.1.4

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


Hardhat v3.9.0

This release adds support for excluding files from test coverage instrumentation and reporting (i.e. npx hardhat test --coverage).

Changes

  • #8380 0fd498d Thanks @​kanej! - Added support for coverage.skipFiles, a list of globs of Solidity files to exclude from coverage instrumentation and reporting during a --coverage run.

  • #8383 1660f1e Thanks @​schaable! - Fixed an intermittent "Provider for provided chain type does not exist" error that could occur when multiple network connections were created concurrently.

  • #8371 287620e Thanks @​gultekinmakif! - Account overrides that share an address with the network's built-in genesis accounts are now correctly merged into a single genesis entry.

  • #8375 931a5f0 Thanks @​schaable! - Suppressed the solc initcode size warning for Solidity test contracts and when running under --coverage.

  • #8372 5f6aff2 Thanks @​gultekinmakif! - Improved validation for initialDate network configuration. Invalid Date objects and unparseable date strings are now rejected during config loading rather than causing a runtime error later.


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


Hardhat v3.8.0

This release includes two improvements: a warning is now printed if a plugin is imported in hardhat.config.ts but not included in the plugins array and node:test now more cleanly displays Solidity errors.

Changes

  • #8339 f21390f Thanks @​alcuadrado! - Added definePlugin, a new helper exported from hardhat/plugins. Plugin authors should wrap their plugin literal with it so the default export of their index module becomes:

... (truncated)

Changelog

Sourced from hardhat's changelog.

3.9.1

Patch Changes

  • #8234 81871fd Thanks @​tenderdeve! - Explain the unsupported cheatcode eip712HashType(string,string) and point to the documentation for the alternative instead.

  • #8400 2f48724 Thanks @​kanej! - Support setting the transaction gas cap in Solidity Tests

  • #8367 82d00fc Thanks @​alcuadrado! - Lazy load dependencies to optimize bootstrap time

  • #8391 f3c5727 Thanks @​schaable! - Make hardhat test solidity --snapshot-check read-only. It no longer rewrites or deletes .gas-snapshot or snapshots/*.json files, and instead reports differences. The command now fails when a stored gas value differs from the current one, or when no baseline exists, with a hint to run --snapshot.

  • #8332 e542a48 Thanks @​gultekinmakif! - Fixed a crash that could occur when a network returned an unexpected response while resolving the default sender account

  • #8385 946e379 Thanks @​BROCCOLO1D! - When a Hardhat 2 plugin calls an API that no longer exists in Hardhat 3, the error now names the specific API that was used and explains how to migrate it to Hardhat 3.

  • Updated dependencies:

    • @​nomicfoundation/hardhat-errors@​3.0.16
    • @​nomicfoundation/hardhat-utils@​4.1.4

3.9.0

Minor Changes

  • #8380 0fd498d Thanks @​kanej! - Added support for coverage.skipFiles, a list of globs of Solidity files to exclude from coverage instrumentation and reporting during a --coverage run.

Patch Changes

  • #8383 1660f1e Thanks @​schaable! - Fixed an intermittent "Provider for provided chain type does not exist" error that could occur when multiple network connections were created concurrently.

  • #8371 287620e Thanks @​gultekinmakif! - Account overrides that share an address with the network's built-in genesis accounts are now correctly merged into a single genesis entry.

  • #8375 931a5f0 Thanks @​schaable! - Suppressed the solc initcode size warning for Solidity test contracts and when running under --coverage.

  • #8372 5f6aff2 Thanks @​gultekinmakif! - Improved validation for initialDate network configuration. Invalid Date objects and unparseable date strings are now rejected during config loading rather than causing a runtime error later.

3.8.0

Minor Changes

  • #8339 f21390f Thanks @​alcuadrado! - Added definePlugin, a new helper exported from hardhat/plugins. Plugin authors should wrap their plugin literal with it so the default export of their index module becomes:

    import type { HardhatPlugin } from "hardhat/types/plugins";
    import { definePlugin } from "hardhat/plugins";
    const hardhatPlugin: HardhatPlugin = definePlugin({
    id: "my-plugin",
    // ...

... (truncated)

Commits
  • a92ab66 Version Packages
  • 85ab118 address copilot's suggestions
  • 3c2e31e chore(hhu): keep the utils feature internal
  • eef2424 test(hhu): add a --network routing test
  • d285ba5 test(hhu): share test helpers and lock in hhu's option set
  • c0791f6 test(hhu): mirror task test layout to source folders
  • 748b861 refactor(hhu): whitelist --network forwarding and dedupe its option def
  • 980f7ad feat(hhu): tag hhu task analytics with command "hhu"
  • 1fcc9e5 refactor(hhu): kebab-case the constants zero-address leaf
  • a672865 refactor(hhu): centralize task prefix and add a category registry
  • 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.3 to 3.9.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.9.1/packages/hardhat)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-version: 3.9.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 Jul 5, 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