Skip to content

Bump hardhat from 2.28.6 to 3.9.0 - #11

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hardhat-3.9.0
Closed

Bump hardhat from 2.28.6 to 3.9.0#11
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hardhat-3.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown

Bumps hardhat from 2.28.6 to 3.9.0.

Release notes

Sourced from hardhat's releases.

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:

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

    definePlugin returns its argument unchanged and, as a side effect, registers the plugin's id in a process-wide registry of loaded plugins. Hardhat's CLI uses that registry to warn when a plugin is imported but missing from the user's plugins array.

  • #8339 19c6927 Thanks @​alcuadrado! - Hardhat now warns when a plugin is imported in your Hardhat config file but missing from the plugins array. The warning is printed to stderr after the runtime environment is created, listing the offending plugins and pointing the user at the fix.

    If your Hardhat config file is written in TypeScript, for the warning to be reliable your project's tsconfig.json must enable verbatimModuleSyntax: true. Without it, TypeScript deletes unused default-value imports, so an unused plugin can't be detected.

  • #8336 86bfe66 Thanks @​Wodann! - - Fixed default gas limit of Solidity test runner when a custom transaction gas cap (EIP-7825) or block gas limit is specified

    • Fixed process deadlock/hang when dropping a provider with interval mining and logging enabled
    • Print more detailed error descriptions for EVM, invariant fuzz, and cheatcode errors
  • #8345 9d5b96c Thanks @​alcuadrado! - Add .solidityStack property to the SolidityError exceptions generated by EDR

... (truncated)

Changelog

Sourced from hardhat's changelog.

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",
    // ...
    });
    export default hardhatPlugin;

    definePlugin returns its argument unchanged and, as a side effect, registers the plugin's id in a process-wide registry of loaded plugins. Hardhat's CLI uses that registry to warn when a plugin is imported but missing from the user's plugins array.

  • #8339 19c6927 Thanks @​alcuadrado! - Hardhat now warns when a plugin is imported in your Hardhat config file but missing from the plugins array. The warning is printed to stderr after the runtime environment is created, listing the offending plugins and pointing the user at the fix.

    If your Hardhat config file is written in TypeScript, for the warning to be reliable your project's tsconfig.json must enable verbatimModuleSyntax: true. Without it, TypeScript deletes unused default-value imports, so an unused plugin can't be detected.

Patch Changes

  • #8336 86bfe66 Thanks @​Wodann! - - Fixed default gas limit of Solidity test runner when a custom transaction gas cap (EIP-7825) or block gas limit is specified

    • Fixed process deadlock/hang when dropping a provider with interval mining and logging enabled
    • Print more detailed error descriptions for EVM, invariant fuzz, and cheatcode errors
  • #8345 9d5b96c Thanks @​alcuadrado! - Add .solidityStack property to the SolidityError exceptions generated by EDR

... (truncated)

Commits
  • 59c0787 Version Packages
  • 904a944 Merge pull request #8380 from NomicFoundation/feat/coverage-skip-files
  • 9602831 feat: skip instrumentation for coverage.skipFiles matches
  • ac16d41 Merge pull request #8371 from gultekinmakif/fix/genesis-state-merge
  • 84a0b5d test(network-manager): cover empty-list and new-entry paths for mergeGenesisS...
  • b96bf45 test(network-manager): cover mergeGenesisState with crafted address collisions
  • b089f07 fix(network-manager): favor user override over chain default in mergeGenesisS...
  • aea8440 refactor(network-manager): extract genesis-state merge loop to mergeGenesisState
  • f69ec6a fix(network-manager): call genesisState.set when merging an existing override
  • 75de11d test(network-manager): refactor test desc
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies, npm. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@socket-security

socket-security Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​hardhat@​2.28.6 ⏵ 3.9.099 +810082 -996 +1100 +20

View full report

Bumps [hardhat](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat) from 2.28.6 to 3.9.0.
- [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.0/packages/hardhat)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/hardhat-3.9.0 branch from 228a1bd to 98b9f82 Compare June 9, 2026 19:36
@dependabot @github

dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Author

Looks like hardhat is no longer being updated by Dependabot, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 9, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/hardhat-3.9.0 branch June 9, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants