Skip to content

Version 2.0

Compare
Choose a tag to compare
@krzkaczor krzkaczor released this 03 May 10:15
· 660 commits to master since this release
f63bbe3

TypeChain Ver 2 is finally out! 馃帀 馃帀 馃帀

Packages:

typechain@2.0.0
@typechain/web3-v1@1.0.0
@typechain/ethers-v4@1.0.0
@typechain/truffle-v4@1.0.0
@typechain/truffle-v5@1.0.0

Breaking changes:

  • changed target naming schema. All officially supported targets are released as @typechain/X-vY Check out the readme for more details
  • name mangling - we will change generated contract names to obey TypeScript naming rules
  • Web3-v1
    • fixed bug in struct handling
    • type check payable calls
    • support for overloaded functions which can result in a slightly different code if you relied on using the first overload
  • All targets:
    • support for overloaded functions which can result in a slightly different code if you relied on using the first overload
  • Support events with no parameters names (API breaking change)
  • We don't require truffle-typings package anymore - it's generated on the fly.

All changes

  • Truffle-v5 support with events, function overloads etc
  • NatSpec support by @chmanie
  • Brand new testing pipeline which should help us ensure high quality of generated code