- da71c45: Allow passing node16Modules flag to TypeChain
- Updated dependencies [3469800]
- [email protected]
- @typechain/[email protected]
- Updated dependencies [04ebda9]
- Updated dependencies [64d18f7]
- @typechain/[email protected]
- Updated dependencies [9107713]
- [email protected]
- @typechain/[email protected]
- Updated dependencies [c4720b9]
- [email protected]
- @typechain/[email protected]
- c2b3f1b: Support for the newest hardhat-ethers version
- Updated dependencies [c2b3f1b]
- Updated dependencies [cd4bb0f]
- @typechain/[email protected]
- [email protected]
- 2380a8f: Added support for ethers v6 in @typechain/hardhat
- Updated dependencies [2380a8f]
- @typechain/[email protected]
- Updated dependencies [3eb6ed6]
- Updated dependencies [15541e4]
- @typechain/[email protected]
- [email protected]
- Updated dependencies [5b0759d]
- Updated dependencies [a036651]
- @typechain/[email protected]
- Updated dependencies [31e6957]
- @typechain/[email protected]
- Updated dependencies [bbc9656]
- [email protected]
- @typechain/[email protected]
- dc5ede9: Reduce the time it takes to load the plugin by importing every library only when needed
- ed6f85b: Don't autodisable overrides for js projects
- 1663b98: Respect the
--quiet
flag
- 63691c4: - Expose
TypechainUserConfig
type.- Removed
contractName
from interface output see #692 for details.
- Removed
- de656c6: Add
dontOverrideCompile
setting - Updated dependencies [63691c4]
- Updated dependencies [015abb2]
- [email protected]
- @typechain/[email protected]
-
3a8a99a: Directory tree in generated types now reflects the directory tree in the inputs. Also, only the main contract type is reexported from each file.
This change solves a number of name clashing problems. All generated code can still be imported after updating the import path.
-
978490f: ## What's breaking:
We are not emitting
contractName
fields on contracts and factories anymore.contractName
breaks polymorphism for example: exact token implementation is not assignable to token interface.We are adding optional flag
--discriminate-types
to continue emittingcontractName
.
- a59ae6e: Prefer
import type
in generated files when possible
- Updated dependencies [3a8a99a]
- Updated dependencies [5b9a7fb]
- Updated dependencies [d86d048]
- Updated dependencies [2395289]
- Updated dependencies [e447bfb]
- Updated dependencies [978490f]
- Updated dependencies [a59ae6e]
- Updated dependencies [47ab651]
- Updated dependencies [975a9dc]
- Updated dependencies [e1f832c]
- @typechain/[email protected]
- [email protected]
- fd3a524: Update internal task name to match hardhat convention
- Updated dependencies [92939ea]
- Updated dependencies [d244e41]
-
5f81ca9: Using
--ts-nocheck
(config.tsNocheck
) flag, you can now add// @ts-nocheck
comment in case where code generated by TypeChain doesn't pass typechecking.Read more in TypeScript docs.
- 99fafbe: Change default output directory to "typechain-types"
- 0e555af: Generate types to
.ts
files instead of.d.ts
in Ethers v5 and Web3.js targets
- aacdcb0: Export EventFilter type along with Event type
- Updated dependencies [0ac4921]
- Updated dependencies [95517e9]
- Updated dependencies [33ee803]
-
c93a1e7: Fixed generated contract factory constructors to accept 3 parameters when called from ContractFactory methods (
this.constructor(interface, bytecode, signer)
).Fixes dethcrypto#487
- 99ce3e3: Move type generation to Hardhat subtask for easier third-party integration
- 21a5062: Always use hardhat project root as cwd while generating types. All paths in the config are now always relative to the project root as well.
- 5ed62e4: Ensure that
type-extensions.ts
is always imported
- 5980201: Expose
TASK_TYPECHAIN
constant
- 22134ac: Support compilation of external artifacts (from node_modules)
- e552df9: Add missing dependency on
fs-extra
- b705685: Fix bug which caused targets not supporting incremental generation to misbehave when editing files
- 30c4565: Add ability to run custom targets with hardhat
- 62b9e08: Type
getContractFactory
calls - 62b9e08: Support incremental generation
- Updated dependencies [d60a343]
- Updated dependencies [5a60d00]
- Updated dependencies [d60a343]
- 23faae4: Accept underscores in contract names
- cd8b04b: Initial release