# @nomicfoundation/hardhat-viem

## 3.0.8

### Patch Changes

- [#8264](https://github.com/NomicFoundation/hardhat/pull/8264) [`8452f97`](https://github.com/NomicFoundation/hardhat/commit/8452f9726205540e1684d3f8458bfd145e790226) Thanks [@alcuadrado](https://github.com/alcuadrado)! - Export `./package.json` so consumers can import the package's manifest.

- Updated dependencies:
  - @nomicfoundation/hardhat-errors@3.0.13
  - @nomicfoundation/hardhat-utils@4.1.2

## 3.0.7

### Patch Changes

- [#8191](https://github.com/NomicFoundation/hardhat/pull/8191) [`2a4ae8e`](https://github.com/NomicFoundation/hardhat/commit/2a4ae8e7dc78cabbe8b17bec778952f0124f9759) Thanks [@alcuadrado](https://github.com/alcuadrado)! - Update how type extensions are handled to optimize the bootstrap process of Hardhat.

- Updated dependencies:
  - @nomicfoundation/hardhat-utils@4.1.1

## 3.0.6

### Patch Changes

- [#8179](https://github.com/NomicFoundation/hardhat/pull/8179) [`d16d82a`](https://github.com/NomicFoundation/hardhat/commit/d16d82abfd5c9fa044cb508468cd4b50a5fcfd8a) Thanks [@alcuadrado](https://github.com/alcuadrado)! - Await all returned promises for better debuggability

- Updated dependencies:
  - @nomicfoundation/hardhat-utils@4.0.4

## 3.0.5

### Patch Changes

- [#8104](https://github.com/NomicFoundation/hardhat/pull/8104) [`e27a7ad`](https://github.com/NomicFoundation/hardhat/commit/e27a7ad584b01392afc9294f739d731ab6e78f06) Thanks [@ChristopherDedominici](https://github.com/ChristopherDedominici)! - Use code 3 for JSON-RPC revert error codes to align with standard node behavior and preserve error causes in viem/ethers.

- [#8096](https://github.com/NomicFoundation/hardhat/pull/8096) [`7fb721b`](https://github.com/NomicFoundation/hardhat/commit/7fb721bb2b1c521d0073a156f361c60a049e8fdf) Thanks [@alcuadrado](https://github.com/alcuadrado)! - [chore] Move to packages/ folder.

- [#8116](https://github.com/NomicFoundation/hardhat/pull/8116) [`88787e1`](https://github.com/NomicFoundation/hardhat/commit/88787e172a3d90652d0ffaf73e31857f6ed875cc) Thanks [@kanej](https://github.com/kanej)! - Deprecate the `hre.network.connect()` method in favour of `hre.network.create()`, exactly the same method but more clearly indicating that it will create a new connection.

- Updated dependencies:
  - hardhat@3.4.0
  - @nomicfoundation/hardhat-errors@3.0.11
  - @nomicfoundation/hardhat-utils@4.0.3

## 3.0.4

### Patch Changes

- bc193be: Use concrete value types for contract names in hardhat-viem and hardhat-ethers
- 13918b4: Add support for custom chains not in viem's built-in chain list, thanks @daanporon! ([#7763](https://github.com/NomicFoundation/hardhat/issues/7763))

## 3.0.3

### Patch Changes

- 6674b00: Bump `hardhat-utils` major

## 3.0.2

### Patch Changes

- 2bc18b2: Bumped `viem` version across all packages [7861](https://github.com/NomicFoundation/hardhat/pull/7861).

## 3.0.1

### Patch Changes

- 558ac5b: Update installation and config instructions

## 3.0.0

### Major Changes

- 29cc141: First release of Hardhat 3!

## 2.1.1

### Patch Changes

- bdba581: Fixed "Multiple networks with chain id found" error when multiple chains share the same chain id ([#7065](https://github.com/NomicFoundation/hardhat/issues/7065))

## 2.1.0

### Minor Changes

- 14b3042: Updated the minimal supported version of Node to v20 ([#6982](https://github.com/NomicFoundation/hardhat/pull/6982))

## 2.0.6

### Patch Changes

- 90bcfda: Remove unnecessary peerDependency

## 2.0.5

### Patch Changes

- 6010386: Moved types to `HardhatViemHelpers` and initialized `ContractTypesMap` as empty for better extensibility. Improved performance by disabling retries in dev nets (thanks @TateB!)

## 2.0.4

### Patch Changes

- efa905d: Fix for corrupted Hardhat peer dependency version from pnpm.

## 2.0.3

### Patch Changes

- a8a6038: Added `ContractTypesMap` to simplify contract type imports (thanks @beepidibop!)

## 2.0.2

### Patch Changes

- ccb0ace: Added support for library linking (thanks @Chlebamaticon!)

## 2.0.1

### Patch Changes

- a181462: Fix to add guard for updated `TransactionReceipt` type in `viem`

## 2.0.0

### Major Changes

- e4b1c07b7: Upgraded hardhat-viem to support viem@2

## 1.0.4

### Patch Changes

- 29516eb: Fixed broken link in network error message (thanks @sunsetlover36!).

## 1.0.3

### Patch Changes

- ffb301f14: Improved loading performance

## 1.0.2

### Patch Changes

- b521c2a05: Add configurable public client to getContractAt, deployContract and sendDeploymentTransaction

## 1.0.1

### Patch Changes

- 4943519d0: Fixed an issue with development networks using custom chain ids
