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/ethers-v5 to v11 #119

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typechain/ethers-v5 ^7.0.1 -> ^11.0.0 age adoption passing confidence

Release Notes

ethereum-ts/Typechain (@​typechain/ethers-v5)

v11.1.0

Compare Source

Minor Changes
  • c4720b9: fix tuples in event signatures and also arrays of tuples in functions
Patch Changes
  • Updated dependencies [c4720b9]
    • typechain@8.3.0

v11.0.1

Compare Source

Patch Changes
  • Updated dependencies [cd4bb0f]
    • typechain@8.2.1

v11.0.0

Compare Source

Major Changes
Minor Changes
  • 15541e4: Support for nodenext style import paths with new CLI flag: --node16-modules
Patch Changes
  • Updated dependencies [15541e4]
    • typechain@8.2.0

v10.2.1

Compare Source

Patch Changes
  • 5b0759d: Remove obsolete peer dependency @ethersproject/bytes@^5.0.0 from target-ethers-v5
  • a036651: Fix for unused type in new ethers-v5 codegen

v10.2.0

Compare Source

Minor Changes
  • 31e6957: Add const assertion for exported ABI

v10.1.1

Compare Source

Patch Changes
  • Updated dependencies [bbc9656]
    • typechain@8.1.1

v10.1.0

Compare Source

Minor Changes
  • 015abb2: Added support for inputs wrapped in promise for ethers-v5 target.
Patch Changes
  • Updated dependencies [63691c4]
    • typechain@8.1.0

v10.0.0

Compare Source

Depends on typechain ^8.0.0.

Major Changes
  • 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: We are not emitting contractName fields on contracts and factories anymore.

    Why?
    contractName breaks polymorphism for example: exact token implementation is not assignable to token interface.

    What do to?
    We are adding optional flag --discriminate-types to continue emitting contractName.

Minor Changes
  • d86d048: The method overloads for getEvent, getFunction, decodeFunctionResult, encodeFunctionData follow these rules:

    • If these entities are not overloaded in the contract ABI and --always-generate-overloads is off, just the
      entities' names are used (without the signature)
    • If the entities are overloaded, only signatures are used to
      disambiguate them
    • If --always-generate-overloads is on, additional overloads are generated for functions that are
      not ambiguous
    • For the method and event names in the events and functions properties only signature names are used
      (that's according to the ethers API - they don't use shorthand naming).
  • e447bfb: Added optional config.inputDir property and --input-dir flag to control directory structure in generated
    types. If not set, it's inferred as lowest common path of all ABI files.

  • a59ae6e: Prefer import type in generated files when possible

  • 47ab651: For every event, TypeChain now emits an interface with its named properties.

    Before

    export type ApprovalEvent = TypedEvent<
      [string, string, BigNumber],
      { owner: string; approved: string; tokenId: BigNumber }
    >

    After

    export interface ApprovalEventObject {
      owner: string
      approved: string
      tokenId: BigNumber
    }
    export type ApprovalEvent = TypedEvent<[string, string, BigNumber], ApprovalEventObject>
Patch Changes
  • 2395289: ContractFactory subclasses now use explicit "override" modifiers.

    TypeScript version 4.3 or newer is now required.

  • 975a9dc: Fix type generation for arrays of nested structs ex: GovernanceMessage.Call[][] calldata _remoteCalls.

    Fix structs parser in typechain package. Now only struct tuples are registered.

v9.0.0

Compare Source

Major Changes
  • 92939ea: Structs will be namespaced using contract name when available
Minor Changes
  • c2b7c3c: Added support descrimnated unions to contracts generated by typechain
Patch Changes
  • f22f962: Events with multiple positional parameters no longer get "undefined" as argument in contract.filters.

    dethcrypto/TypeChain#575

  • d244e41: Fix event name generation for events with arrays

  • Updated dependencies [92939ea]

  • Updated dependencies [d244e41]

    • typechain@7.0.0

v8.0.5

Compare Source

Patch Changes
  • 8f7144c: Constant size with length greater than 4 no longer emit as TypeScript tuples.

v8.0.4

Compare Source

Patch Changes
  • a26ea50: Constant size struct arrays are now properly supported and don't cause malformed TS emit anymore.
  • Updated dependencies [a26ea50]
    • typechain@6.0.4

v8.0.3

Compare Source

Patch Changes
  • a0fba00: Ethers V5 target doesn't emit unused imports anymore.
  • Updated dependencies [a0fba00]
    • typechain@6.0.3

v8.0.2

Compare Source

Patch Changes
  • ba4c18a: Fix support for constructors with structs

v8.0.1

Compare Source

Patch Changes
  • b989dff: Fix structs generated as arrays

v8.0.0

Compare Source

Major Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch 2 times, most recently from f658609 to ad569c4 Compare June 4, 2023 23:13
@iavl iavl enabled auto-merge June 4, 2023 23:14
@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch 4 times, most recently from 2fb0814 to d554ce7 Compare June 9, 2023 06:27
@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch 2 times, most recently from e10fd3c to beef120 Compare June 16, 2023 06:42
@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch 6 times, most recently from ef28939 to 7a5d879 Compare June 30, 2023 22:04
@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch 3 times, most recently from 7da03b9 to 7468110 Compare August 7, 2023 00:16
@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch 4 times, most recently from 9660ab6 to 5ccdf4c Compare August 14, 2023 00:50
@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch 8 times, most recently from 7be2be5 to a011d2c Compare August 21, 2023 22:55
@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch 6 times, most recently from 4546f0f to 4188a6c Compare August 29, 2023 01:37
@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch 2 times, most recently from 26a8a0e to 5531bca Compare August 31, 2023 17:47
@renovate renovate bot force-pushed the renovate/typechain-ethers-v5-11.x branch from 5531bca to 590288e Compare September 5, 2023 09:17
@iavl iavl closed this Sep 5, 2023
auto-merge was automatically disabled September 5, 2023 12:39

Pull request was closed

@renovate
Copy link
Contributor Author

renovate bot commented Sep 5, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 11.x releases. But if you manually upgrade to 11.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/typechain-ethers-v5-11.x branch September 5, 2023 16:52
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