Skip to content

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

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps hardhat from 2.28.3 to 3.8.0.

Release notes

Sourced from hardhat's releases.

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

  • #8365 dbb689b Thanks @​kanej! - Suppress the solc contract size warning for Solidity test files.

  • #8368 2e2ba99 Thanks @​kanej! - Fixed the build task attempting to download a compiler even though a path to a local compiler is configured.

  • #8339 25cea9f Thanks @​alcuadrado! - The sample projects initialized with hardhat --init now set verbatimModuleSyntax: true in their tsconfig.json. This ensures that plugin imports in hardhat.config.ts are actually evaluated at runtime, which is required for the new "imported but unused plugin" warning to work reliably.

  • Updated dependencies:

    • @​nomicfoundation/hardhat-errors@​3.0.15

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


Hardhat v3.7.0

Hardhat 3 has moved out of beta and is now stable.

The only change in this release is a small update to the hardhat --init process and project templates to reflect this.

... (truncated)

Changelog

Sourced from hardhat's changelog.

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

  • #8365 dbb689b Thanks @​kanej! - Suppress the solc contract size warning for Solidity test files.

  • #8368 2e2ba99 Thanks @​kanej! - Fixed the build task attempting to download a compiler even though a path to a local compiler is configured.

  • #8339 25cea9f Thanks @​alcuadrado! - The sample projects initialized with hardhat --init now set verbatimModuleSyntax: true in their tsconfig.json. This ensures that plugin imports in hardhat.config.ts are actually evaluated at runtime, which is required for the new "imported but unused plugin" warning to work reliably.

  • Updated dependencies:

    • @​nomicfoundation/hardhat-errors@​3.0.15

3.7.0

Minor Changes

  • #8200 ce430ac Thanks @​tenderdeve! - Hardhat 3 is now stable, the "Beta" wording is being dropped from the hardhat --init process and project templates.

3.6.0

... (truncated)

Commits
  • 9be35f7 Version Packages
  • 6cd6cee Merge pull request #8368 from NomicFoundation/fix/dont-download-compiler-if-p...
  • 2e2ba99 fix: do not download compiler if path defined
  • 4734a42 Merge pull request #8331 from gultekinmakif/chore/remove-dead-errors
  • 9186c95 docs: update comment to remove no longer used errors
  • 332821c Merge pull request #8363 from NomicFoundation/build/edr-0.12.0
  • dbb689b feat: suppress contract size warning in test contracts
  • c8213ff build: upgrade to EDR v0.12.0
  • b430147 Fix solidityStack order
  • aac55a4 Add .solidityStack to the SolidityError exceptions
  • 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.8.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.8.0/packages/hardhat)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-version: 3.8.0
  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 Jun 7, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #216.

@dependabot dependabot Bot closed this Jun 14, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/docgen/dev/hardhat-3.8.0 branch June 14, 2026 16:32
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