Skip to content

Update dependency hardhat to v3#468

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/hardhat-3.x
Open

Update dependency hardhat to v3#468
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/hardhat-3.x

Conversation

@renovate

@renovate renovate Bot commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
hardhat (source) ^2.8.0^3.0.0 age adoption passing confidence

Release Notes

NomicFoundation/hardhat (hardhat)

v3.9.0

Compare Source

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.

v3.8.0

Compare Source

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:

v3.7.0

Compare Source

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.

v3.6.0

Compare Source

Minor Changes
  • #​8327 dee44f6 Thanks @​alcuadrado! - Add a cleanupArtifacts option to SolidityBuildSystem#build. When true, the build system runs cleanupArtifacts against the build's root file paths after a successful build, deleting orphan artifacts and unreachable build-info files for the scope.

  • #​8327 dee44f6 Thanks @​alcuadrado! - Deprecate the following SolidityHooks: getCompiler, onCleanUpArtifacts, preprocessProjectFileBeforeBuilding, preprocessSolcInputBeforeBuilding, readSourceFile, invokeSolc, and readNpmPackageRemappings. They will be removed in a future release.

    Use processArtifactsAfterSuccessfulBuild instead of onCleanUpArtifacts, and getCompilationJobErrors instead of invokeSolc.

  • #​8327 dee44f6 Thanks @​alcuadrado! - Add SolidityHooks#getCompilationJobErrors hook, which lets plugins process the compiler output errors of a compilation job before they are reported to the user.

  • #​8327 dee44f6 Thanks @​alcuadrado! - Add SolidityHooks#processArtifactsAfterSuccessfulBuild hook to let plugins post-process the artifacts. The hook receives the resolved build options as a new exported ResolvedBuildOptions type.

Patch Changes

v3.5.1

Compare Source

Patch Changes

v3.5.0

Compare Source

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

v3.4.5

Compare Source

Patch Changes

v3.4.4

Compare Source

Patch Changes

v3.4.3

Compare Source

Patch Changes

v3.4.2

Compare Source

Patch Changes

v3.4.1

Compare Source

Patch Changes

v3.4.0

Compare Source

Minor Changes
Patch Changes

v3.3.0

Compare Source

Minor Changes
Patch Changes

v3.2.0

Compare Source

Minor Changes
Patch Changes

v3.1.12

Compare Source

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

v3.1.11

Compare Source

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)

v3.1.10

Compare Source

Patch Changes
  • ca26adb: Update hardhat node to always use the new node network (#​7989)[#​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

v3.1.9

Compare Source

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

v3.1.8

Compare Source

Patch Changes
  • a6947fb: Use the official Linux ARM64 builds of solc in the production profile when available (#​7917).
  • fd42744: Fixed missing EIP-7212 precompile in Solidity Tests (#​7872).

v3.1.7

Compare Source

Patch Changes
  • 4995121: Suppressed pragma and license warnings in Solidity test files (7894).
  • 22adbcb: Added support for eth_getProof (3345).

v3.1.6

Compare Source

Patch Changes
  • 98fbf44: Implemented SolidityBuildSystemImplementation#compileBuildInfo (#​7891)
  • [`a9445c

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from cbd9eb3 to 0e9ccd4 Compare August 27, 2025 17:13
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from 0e9ccd4 to 33fb685 Compare August 31, 2025 09:24
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 3 times, most recently from c9fa39a to e28323e Compare September 10, 2025 21:23
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from e28323e to 9086b49 Compare September 25, 2025 19:51
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from 9086b49 to ee121d9 Compare October 8, 2025 16:59
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from 93611eb to 20bfc00 Compare October 23, 2025 14:55
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from 4c8d1bb to 99b1e61 Compare November 4, 2025 11:11
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 3 times, most recently from 72a5921 to 1e9e224 Compare November 12, 2025 18:55
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from 3360d06 to 71d1ef2 Compare November 18, 2025 13:08
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 4 times, most recently from 0e2505f to 25e5489 Compare December 3, 2025 21:10
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from 25e5489 to ad440b1 Compare December 10, 2025 20:04
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from 9b38d6b to 38af324 Compare December 30, 2025 18:36
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 3 times, most recently from 6882a99 to 91d1ad4 Compare January 14, 2026 22:45
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from 91d1ad4 to e3a22fe Compare January 19, 2026 21:40
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from 0861ebc to 70d08e0 Compare February 5, 2026 22:36
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from b0c3044 to 2ac48d4 Compare February 12, 2026 15:30
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from fc24362 to 4abee37 Compare February 25, 2026 12:52
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from d890bc9 to 5031f78 Compare March 11, 2026 15:06
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from 9c63923 to 92c7c69 Compare March 19, 2026 20:36
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from 92c7c69 to 3705ae4 Compare March 31, 2026 18:34
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from 3705ae4 to 5d47678 Compare April 8, 2026 19:17
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 2 times, most recently from 791ddc9 to bb64b9c Compare April 22, 2026 21:41
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 5 times, most recently from 8a383e4 to d53a359 Compare May 4, 2026 14:54
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from d53a359 to 801facd Compare May 7, 2026 21:31
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 3 times, most recently from 2643c1c to 00e5c2b Compare May 22, 2026 00:45
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch 3 times, most recently from 5f2aa09 to 73e7fd9 Compare June 1, 2026 22:43
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from 73e7fd9 to b7baebb Compare June 4, 2026 16:38
@renovate renovate Bot force-pushed the renovate/hardhat-3.x branch from b7baebb to 3ea0e10 Compare June 8, 2026 22:27
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