This release includes new features and multiple optimizations that give a general performance improvement.
The new features include:
- Execution tracing support has been added for JS/TS integration tests, previously this was only available for Solidity tests. Tracing support is available through the
--verbosityoption and its-vshorthands. For more details see the execution traces docs. - Inline configuration per test is now available in Solidity tests (see our inline config docs)
Changes
-
#7983
8e194d0Thanks @ChristopherDedominici! - Added--verbosity(and-v,-vv, and the other shorthands) to all tasks, including TypeScript tests (7983), (7963). -
#8073
dfe4ffeThanks @schaable! - Add support for per-test inline configuration in solidity tests. -
#8008
6fb3c27Thanks @marianfe! - Introduce multi-compiler abstraction that allows plugins to define new Solidity compiler types (#8008). -
#8008
57d1075Thanks @marianfe! - Introduce theConfigHooks#validateResolvedConfighook and theHardhatConfigValidationErrortype to be able to run global validations on the resolved config (#8008). -
#8009
83b412eThanks @marianfe! - AddSolidityHooks#downloadCompilersandSolidityHooks#getCompilerhooks for extensible custom compiler support (#8009) -
#8077
4581395Thanks @alcuadrado! - Fix a bug wherenetwork.connect()re-resolved the config when not needed. -
#8077
4581395Thanks @alcuadrado! - Optimize the initialization of EDR Network Connections by caching their genesis state. -
#8088
23c0d36Thanks @alcuadrado! - Optimize imports. -
#8074
8984862Thanks @alcuadrado! - Optimize the initialization of EDR Network Connections by only processing the build outputs once. -
#8079
759983bThanks @alcuadrado! - Optimize the network connections to prevent memory leaks. -
#8091
c89cb91Thanks @kanej! - Improved performance of the network stack by removing a clone of the http request (#8046) -
#8082
72a033dThanks @popescuoctavian! - Bumped EDR version to0.12.0-next.29 -
Updated dependencies:
- @nomicfoundation/hardhat-utils@4.0.2
- @nomicfoundation/hardhat-errors@3.0.10
💡 The Nomic Foundation is hiring! Check our open positions.