Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency typechain to v5 #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 9, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
typechain ^1.0.5 -> 5.0.0 age adoption passing confidence

Release Notes

ethereum-ts/Typechain

v5.0.0

Compare Source

Major Changes
  • d60a343: Rename --outDir CLI option to --out-dir
  • 5a60d00: Remove dependency on ts-generator
Minor Changes
  • d60a343: Add --always-generate-overloads option and by default stop generating types for overloaded functions if
    there are no overloads (reduces bloat)

v4.0.3

Compare Source

Patch Changes
  • dbfe92a: Improve error message in case of a missing target

v4.0.2

Compare Source

Patch Changes
  • d07ae43: Fix signature of overloaded methods with struct in arguments

v4.0.1

@​typechain/ethers-v4@​4.0.0

Major Changes
  • 0d4b293: Changed return type of functions from a object with number indexes, to an array merged with object containing named
    outputs.

    Before, solidity function like this:

    function x() public pure returns (uint256)
    

    Generated such method signature:

    x(overrides?: CallOverrides): Promise<{0: BigNumber}>;

    New output is:

    x(overrides?: CallOverrides): Promise<[BigNumber]>;

    The difference is that now you can use standard array destructuring while working with output types.

Patch Changes
  • db5baa5: Do not generate typings in contract type itself for reserved keywords that would collide with ethers internals

@​typechain/ethers-v5@​5.0.0

Major Changes
  • 0d4b293: Changed return type of functions from a object with number indexes, to an array merged with object containing named
    outputs.

    Before, solidity function like this:

    function x() public pure returns (uint256)
    

    Generated such method signature:

    x(overrides?: CallOverrides): Promise<{0: BigNumber}>;

    New output is:

    x(overrides?: CallOverrides): Promise<[BigNumber]>;

    The difference is that now you can use standard array destructuring while working with output types.

Patch Changes
  • db5baa5: Do not generate typings in contract type itself for reserved keywords that would collide with ethers internals

@​typechain/truffle-v5@​4.0.0

Major Changes
  • f8711eb: Changed return type of functions from an array to a object. This represents better runtime types.

    Before, solidity function like this:

    function x() public pure returns (uint256)
    

    Generated such method signature:

    x(txDetails?: Truffle.TransactionDetails): Promise<[BigNumber]>;

    New output is:

    x(txDetails?: Truffle.TransactionDetails): Promise<{0: BigNumber}>;

    The difference is that now you can use standard object destructuring while working with output types.

typechain@4.0.1

Patch Changes
  • 82633bb: Do not ship tests and original source files with the npm package

v4.0.0

v3.0.0

Compare Source

  • BREAKING - bump ts-generator which results in a slightly different preamble for generated files and different formatting

target-ethers-v5

v2.0.1

Compare Source

  • Fix decoding of enums in libs
  • Add --show-stack-traces CLI option for printout full stack trace on errors

v2.0.0

TypeChain Ver 2 is finally out! 🎉 🎉 🎉

Packages:

typechain@2.0.0
@&#8203;typechain/web3-v1@&#8203;1.0.0
@&#8203;typechain/ethers-v4@&#8203;1.0.0
@&#8203;typechain/truffle-v4@&#8203;1.0.0
@&#8203;typechain/truffle-v5@&#8203;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

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/typechain-5.x branch from ad92fac to 36ee365 Compare May 15, 2021 21:03
@codecov
Copy link

codecov bot commented May 15, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@c585f56). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head ad92fac differs from pull request most recent head 36ee365. Consider uploading reports for the commit 36ee365 to get more accurate results
Impacted file tree graph

@@          Coverage Diff           @@
##             master   #11   +/-   ##
======================================
  Coverage          ?     0           
======================================
  Files             ?     0           
  Lines             ?     0           
  Branches          ?     0           
======================================
  Hits              ?     0           
  Misses            ?     0           
  Partials          ?     0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c585f56...36ee365. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant