api3dao / api3-dao-dashboard

API3 DAO dashboard
api3.eth/
14 stars 10 forks source link

Update dependency @typechain/ethers-v5 to v10 #380

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

ethereum-ts/Typechain ### [`v10.2.0`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%4010.2.0) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@​10.1.1...@typechain/ethers-v5@​10.2.0) ##### Minor Changes - [`31e6957`](https://togithub.com/ethereum-ts/Typechain/commit/31e6957): Add const assertion for exported ABI ### [`v10.1.1`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%4010.1.1) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@​10.1.0...@typechain/ethers-v5@​10.1.1) ##### Patch Changes - Updated dependencies \[[`bbc9656`](https://togithub.com/ethereum-ts/Typechain/commit/bbc9656)] - typechain@8.1.1 ### [`v10.1.0`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%4010.1.0) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@​10.0.0...@typechain/ethers-v5@​10.1.0) ##### Minor Changes - [`015abb2`](https://togithub.com/ethereum-ts/Typechain/commit/015abb2): Added support for inputs wrapped in promise for ethers-v5 target. ##### Patch Changes - Updated dependencies \[[`63691c4`](https://togithub.com/ethereum-ts/Typechain/commit/63691c4)] - typechain@8.1.0 ### [`v10.0.0`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%4010.0.0) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@​9.0.0...@typechain/ethers-v5@​10.0.0) *Depends on `typechain ^8.0.0`.* ##### Major Changes - [`3a8a99a`](https://togithub.com/ethereum-ts/Typechain/commit/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`](https://togithub.com/ethereum-ts/Typechain/commit/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`](https://togithub.com/ethereum-ts/Typechain/commit/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`](https://togithub.com/ethereum-ts/Typechain/commit/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`](https://togithub.com/ethereum-ts/Typechain/commit/a59ae6e): Prefer `import type` in generated files when possible - [`47ab651`](https://togithub.com/ethereum-ts/Typechain/commit/47ab651): For every event, TypeChain now emits an interface with its named properties. **Before** ```ts export type ApprovalEvent = TypedEvent< [string, string, BigNumber], { owner: string; approved: string; tokenId: BigNumber } > ``` **After** ```ts export interface ApprovalEventObject { owner: string approved: string tokenId: BigNumber } export type ApprovalEvent = TypedEvent<[string, string, BigNumber], ApprovalEventObject> ``` ##### Patch Changes - [`2395289`](https://togithub.com/ethereum-ts/Typechain/commit/2395289): ContractFactory subclasses now use explicit "override" modifiers. TypeScript version 4.3 or newer is now required. - [`975a9dc`](https://togithub.com/ethereum-ts/Typechain/commit/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`](https://togithub.com/dethcrypto/TypeChain/releases/tag/%40typechain/ethers-v5%409.0.0) [Compare Source](https://togithub.com/ethereum-ts/Typechain/compare/@typechain/ethers-v5@​8.0.5...@typechain/ethers-v5@​9.0.0) ##### Major Changes - [`92939ea`](https://togithub.com/ethereum-ts/Typechain/commit/92939ea): Structs will be namespaced using contract name when available ##### Minor Changes - [`c2b7c3c`](https://togithub.com/ethereum-ts/Typechain/commit/c2b7c3c): Added support descrimnated unions to contracts generated by typechain ##### Patch Changes - [`f22f962`](https://togithub.com/ethereum-ts/Typechain/commit/f22f962): Events with multiple positional parameters no longer get "undefined" as argument in `contract.filters`. [dethcrypto/TypeChain#​575](https://togithub.com/dethcrypto/TypeChain/issues/575) - [`d244e41`](https://togithub.com/ethereum-ts/Typechain/commit/d244e41): Fix event name generation for events with arrays - Updated dependencies \[[`92939ea`](https://togithub.com/ethereum-ts/Typechain/commit/92939ea)] - Updated dependencies \[[`d244e41`](https://togithub.com/ethereum-ts/Typechain/commit/d244e41)] - typechain@7.0.0

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.



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

mcoetzee commented 1 year ago

This needs to be upgraded along with typechain (v8).

renovate[bot] commented 1 year ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 10.x releases. However, if you upgrade to 10.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.