Skip to content

Releases: NomicFoundation/hardhat

[email protected]

08 Aug 17:55
58a9598
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

This Hardhat 3 Alpha release is a collection of small improvements with one breaking change, specifically isolated is now a config option in the build profile and we removed the --isolated flag.

Changes

  • 65e26fd: Update comments and readme on template projects (#7149)
  • 813237a: Update how production profiles are derived from the default config (#7154)
  • 1a0b064: Improve the error message for syntax errors found in the Hardhat config file (#7056)
  • bf2d771: Added isolated config option to the build profile configuration (#7125) and remove the --isolated flag.

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


[email protected]

07 Aug 21:16
8e616e9
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

This Hardhat 3 Alpha release includes some small changes and support for native solc on Linux arm64.

Changes

  • 76674de: Print error's cause when showing stack traces
  • a657c61: Fix an error descriptor
  • 8bd46cb: Stop solidity tests being recompiled unnecessarily (#7116)
  • e861a55: Don't anonymize node's internals in the error reporter
  • 78bdf81: Add preferWasm flag to config. Default to wasm on production profile. Support linux-aarch64 native compiler (#5993)
  • c2fd9aa: Send selected project type to GA

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


[email protected]

07 Aug 14:12
90fbe42
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

This Hardhat 3 Alpha release includes new features, bug fixes and breaking changes to the API and its types. The highlights include:

  • A new development keystore to support config variables in tests without requiring the entering of a password
  • A migration task in Hardhat Ignition for updating existing deployments to work with v3
  • Support for initializing Hardhat 2 projects as an option during --init

Changes

  • 09d4ccb: Add a development keystore (#7003)
  • d71f90e: Add migration task for HHv2 Ignition deployments (#6538)
  • b142813: Added Hardhat v2 template support to hardhat --init (#7035)
  • 1266aaf: Added the addresses of created contracts in call traces
  • 28887b9: Change the type of the npmPackage plugin property (7058)
  • a958d46: Change the config test path property from nodeTest to nodejs (#7100)
  • ef89be2: Rename optimism chain type to op (#7085)
  • 2da3a06: Group mocha and solidityTest config under test property (#7101)
  • 5fbea0d: Rename edr label to edr-simulated in network config (#7051)
  • c2f7136: Removed deprecated JSON-RPC methods: eth_mining, net_listening, net_peerCount, hardhat_addCompilationResult, hardhat_intervalMine, and hardhat_reset.
  • 4c160a8: Display GLOBAL OPTIONS in help messages of all tasks that support them (#7114)
  • e98ded3: Upgraded EDR dependency to @nomicfoundation/edr v0.12.0-next.4, which changes the file system permission config interface for Solidity tests to mitigate EVM sandbox escape through cheatcodes.
  • eea70ff: Make forge-std work with and without src/
  • a657c61: General improvement of error messages.
  • 1e5d699: Fix example tests hanging when running on fork mode (#6967)

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


v2.26.2

05 Aug 20:34
Compare
Choose a tag to compare

This release is a small bug fix to stop using undici's global dispatcher, making Hardhat more stable across Node.js versions.

Changes

  • 11ee260: Don't use undici's global dispatcher, making Hardhat more stable across Node.js versions (#7118)

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


@nomicfoundation/[email protected]

05 Aug 20:32
Compare
Choose a tag to compare

This release is a small bug fix to resolve the "Multiple networks with chain id found" error when multiple chains share the same chain id.

Changes

  • bdba581: Fixed "Multiple networks with chain id found" error when multiple chains share the same chain id (#7065)

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


@nomicfoundation/[email protected]

05 Aug 20:30
Compare
Choose a tag to compare

This release is a small bug fix to undici's global dispatcher, to make it more stable across Node.js versions.

Changes

  • 11ee260: Don't use undici's global dispatcher, making Hardhat more stable across Node.js versions (#7118)

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


[email protected]

30 Jul 18:03
118ae2b
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

This Hardhat 3 Alpha release includes new features, bug fixes and changes to the configuration options. The highlights include:

  • Code coverage support in Solidity Test with npx hardhat test solidity --coverage
  • Improved Solidity Test output with a mocha/jest-inspired reporter
  • Support for predicates in @nomicfoundation/hardhat-viem-assertions

Changes

  • 2b62b40: Add code coverage for Solidity Test with the --coverage flag, i.e. npx hardhat test solidity --coverage (#7019)
  • dd36123: Improved solidity tests output with a mocha/jest-inspired reporter (#6909)
  • c408306: Support predicates on viem-assertions (#7038)
  • 00be01a: Improve chain detection to enable multicall and ENS actions on forked networks (#7063)
  • 6bf8eb1: Simplify solidity test config (#7059)
  • ed3ba1a: Update build info ids (#7049)
  • 9875011: Fixed hardhat-viem support for L2 actions when using the optimism chain type

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


[email protected]

28 Jul 11:47
a11aecb
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

This Hardhat 3 Alpha release includes:

  • Support for verification against Etherscan in Ignition deployments with the --verify flag
  • Removed properties from the Hardhat config as we cleanup relative to the Hardhat 2 configuration options

Changes

  • 9fb4264: Add --verify option for Ignition deploy task to verify all contracts of a deployment on Etherscan (#6817)
  • edccb60: Report stack trace generation errors to Sentry (#7010)
  • 4b8d464: Fix rule for determining whether local files are written for an Ignition deployment (#6999)
  • 37e712b: Remove hardhat_reset (#6110)
  • 72cfaff: Remove enableRip7212 from EDR network configuration (#6182)
  • 72cfaff: Remove enableTransientStorage from EDR network configuration (#6182)

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


[email protected]

23 Jul 10:06
10f554d
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

This Hardhat 3 Alpha release has improvements, changes and bug fixes including:

  • Improved re-compilation times with better caching
  • Support for more verbose logging in Solidity Test with new verbosity flag: npx hardhat test solidity -vvvv
  • The addition of a build command as a replacement for compile (compile will be retained as an alias)
  • The renaming of the config option dependenciesToCompile to npmFilesToBuild for increased clarity

Changes

  • cbbe240: Speed up re-compilation with better caching (#6987)
  • e3e9757: Added call traces support for solidity tests; call traces can be enabled via the -vvvv verbosity level flag (#6830)
  • 595c970: Rename dependenciesToCompile to npmFilesToBuild in Hardhat config (#6877)
  • 595c970: Add build task that replaces compile, but keep the compile task as an alias to build (#6877)
  • dbd9368: Allow Ignition reconciliation of changed bytecode when the contract has been successfully deployed (#7006)
  • ab67a7d: Support verifying contracts on all enabled providers from the main verify task (#7007)
  • 3fe7683: Fixed global flag option parsing (#7028)

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


Hardhat v2.26.1

21 Jul 17:59
Compare
Choose a tag to compare

This release is a bug fix that fixes micro-eth-signer requiring on versions of Node before 20.19.

Changes

  • 896c4ea: Revert micro-eth-signer to ^0.14.0 to fix compatibility with earlier Node 20 versions (#7026)

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