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

Update all dependencies #9

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

Update all dependencies #9

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 1, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nomiclabs/hardhat-ethers (source) 2.1.0 -> 2.2.1 age adoption passing confidence
@openzeppelin/contracts (source) 4.7.3 -> 4.8.0 age adoption passing confidence
@openzeppelin/contracts-upgradeable (source) 4.7.2 -> 4.8.0 age adoption passing confidence
@openzeppelin/hardhat-upgrades (source) 1.19.1 -> 1.21.0 age adoption passing confidence
@typechain/ethers-v5 10.1.0 -> 10.1.1 age adoption passing confidence
@typechain/hardhat 6.1.2 -> 6.1.4 age adoption passing confidence
@types/chai (source) 4.3.1 -> 4.3.4 age adoption passing confidence
@types/mocha (source) 9.1.1 -> 10.0.0 age adoption passing confidence
@types/node (source) ^17.0.6 -> ^18.0.0 age adoption passing confidence
@typescript-eslint/eslint-plugin 5.32.0 -> 5.43.0 age adoption passing confidence
@typescript-eslint/parser 5.32.0 -> 5.43.0 age adoption passing confidence
chai (source) 4.3.6 -> 4.3.7 age adoption passing confidence
eslint (source) 8.21.0 -> 8.28.0 age adoption passing confidence
ethers 5.6.9 -> 5.7.2 age adoption passing confidence
hardhat (source) 2.10.1 -> 2.12.2 age adoption passing confidence
husky (source) 8.0.1 -> 8.0.2 age adoption passing confidence
merkletreejs ^0.2.13 -> ^0.3.0 age adoption passing confidence
mocha (source) 10.0.0 -> 10.1.0 age adoption passing confidence
prettier-plugin-solidity 1.0.0-dev.23 -> 1.0.0 age adoption passing confidence
typechain 8.1.0 -> 8.1.1 age adoption passing confidence
typescript (source) 4.7.4 -> 4.9.3 age adoption passing confidence

Release Notes

nomiclabs/hardhat

v2.2.1: @​nomiclabs/hardhat-ethers v2.2.1

Compare Source

getContractAt doesn't throw anymore if the given address is not a contract. We removed this check because it caused smock to stop working.

v2.2.0: @​nomiclabs/hardhat-ethers v2.2.0

Compare Source

This version adds a new helper to the hre.ethers object: deployContract.

// before
const Foo = await ethers.getContractFactory("Foo")
const foo = await Foo.deploy()

// after
const foo = await ethers.deployContract("Foo")

If your contract has constructor arguments, you can pass them as an array:

const foo = await ethers.deployContract("Foo", [1000, "some string"])

Thanks to @​zemse for working on this!

v2.1.1: @​nomiclabs/hardhat-ethers v2.1.1

Compare Source

The getContractAt function now throws an error if the given address does not correspond to a contract.

Thanks @​SfyMantissa for fixing this!

OpenZeppelin/openzeppelin-contracts

v4.8.0

Compare Source

  • TimelockController: Added a new admin constructor parameter that is assigned the admin role instead of the deployer account. (#​3722)
  • Initializable: add internal functions _getInitializedVersion and _isInitializing (#​3598)
  • ERC165Checker: add supportsERC165InterfaceUnchecked for consulting individual interfaces without the full ERC165 protocol. (#​3339)
  • Address: optimize functionCall by calling functionCallWithValue directly. (#​3468)
  • Address: optimize functionCall functions by checking contract size only if there is no returned data. (#​3469)
  • Governor: make the relay function payable, and add support for EOA payments. (#​3730)
  • GovernorCompatibilityBravo: remove unused using statements. (#​3506)
  • ERC20: optimize _transfer, _mint and _burn by using unchecked arithmetic when possible. (#​3513)
  • ERC20Votes, ERC721Votes: optimize getPastVotes for looking up recent checkpoints. (#​3673)
  • ERC20FlashMint: add an internal _flashFee function for overriding. (#​3551)
  • ERC4626: use the same decimals() as the underlying asset by default (if available). (#​3639)
  • ERC4626: add internal _initialConvertToShares and _initialConvertToAssets functions to customize empty vaults behavior. (#​3639)
  • ERC721: optimize transfers by making approval clearing implicit instead of emitting an event. (#​3481)
  • ERC721: optimize burn by making approval clearing implicit instead of emitting an event. (#​3538)
  • ERC721: Fix balance accounting when a custom _beforeTokenTransfer hook results in a transfer of the token under consideration. (#​3611)
  • ERC721: use unchecked arithmetic for balance updates. (#​3524)
  • ERC721Consecutive: Implementation of EIP-2309 that allows batch minting of ERC721 tokens during construction. (#​3311)
  • ReentrancyGuard: Reduce code size impact of the modifier by using internal functions. (#​3515)
  • SafeCast: optimize downcasting of signed integers. (#​3565)
  • ECDSA: Remove redundant check on the v value. (#​3591)
  • VestingWallet: add releasable getters. (#​3580)
  • VestingWallet: remove unused library Math.sol. (#​3605)
  • VestingWallet: make constructor payable. (#​3665)
  • Create2: optimize address computation by using assembly instead of abi.encodePacked. (#​3600)
  • Clones: optimized the assembly to use only the scratch space during deployments, and optimized predictDeterministicAddress to use fewer operations. (#​3640)
  • Checkpoints: Use procedural generation to support multiple key/value lengths. (#​3589)
  • Checkpoints: Add new lookup mechanisms. (#​3589)
  • Arrays: Add unsafeAccess functions that allow reading and writing to an element in a storage array bypassing Solidity's "out-of-bounds" check. (#​3589)
  • Strings: optimize toString. (#​3573)
  • Ownable2Step: extension of Ownable that makes the ownership transfers a two step process. (#​3620)
  • Math and SignedMath: optimize function max by using > instead of >=. (#​3679)
  • Math: Add log2, log10 and log256. (#​3670)
  • Arbitrum: Update the vendored arbitrum contracts to match the nitro upgrade. (#​3692)
Breaking changes
  • ERC721: In order to add support for batch minting via ERC721Consecutive it was necessary to make a minor breaking change in the internal interface of ERC721. Namely, the hooks _beforeTokenTransfer and _afterTokenTransfer have one additional argument that may need to be added to overrides:
 function _beforeTokenTransfer(
     address from,
     address to,
     uint256 tokenId,
+    uint256 batchSize
 ) internal virtual override
  • ERC4626: Conversion from shares to assets (and vice-versa) in an empty vault used to consider the possible mismatch between the underlying asset's and the vault's decimals. This initial conversion rate is now set to 1-to-1 irrespective of decimals, which are meant for usability purposes only. The vault now uses the assets decimals by default, so off-chain the numbers should appear the same. Developers overriding the vault decimals to a value that does not match the underlying asset may want to override the _initialConvertToShares and _initialConvertToAssets to replicate the previous behavior.

  • TimelockController: During deployment, the TimelockController used to grant the TIMELOCK_ADMIN_ROLE to the deployer and to the timelock itself. The deployer was then expected to renounce this role once configuration of the timelock is over. Failing to renounce that role allows the deployer to change the timelock permissions (but not to bypass the delay for any time-locked actions). The role is no longer given to the deployer by default. A new parameter admin can be set to a non-zero address to grant the admin role during construction (to the deployer or any other address). Just like previously, this admin role should be renounced after configuration. If this param is given address(0), the role is not allocated and doesn't need to be revoked. In any case, the timelock itself continues to have this role.

Deprecations
  • EIP712: Added the file EIP712.sol and deprecated draft-EIP712.sol since the EIP is no longer a Draft. Developers are encouraged to update their imports. (#​3621)
-import "@​openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
+import "@​openzeppelin/contracts/utils/cryptography/EIP712.sol";
  • ERC721Votes: Added the file ERC721Votes.sol and deprecated draft-ERC721Votes.sol since it no longer depends on a Draft EIP (EIP-712). Developers are encouraged to update their imports. (#​3699)
-import "@​openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol";
+import "@​openzeppelin/contracts/token/ERC721/extensions/ERC721Votes.sol";
ERC-721 Compatibility Note

ERC-721 integrators that interpret contract state from events should make sure that they implement the clearing of approval that is implicit in every transfer according to the EIP. Previous versions of OpenZeppelin Contracts emitted an explicit Approval event even though it was not required by the specification, and this is no longer the case.

With the new ERC721Consecutive extension, the internal workings of ERC721 are slightly changed. Custom extensions to ERC721 should be reviewed to ensure they remain correct. The internal functions that should be considered are _ownerOf (new), _beforeTokenTransfer, and _afterTokenTransfer.

OpenZeppelin/openzeppelin-contracts-upgradeable

v4.8.0

Compare Source

Note
Don't miss the section on Breaking changes at the end.

  • TimelockController: Added a new admin constructor parameter that is assigned the admin role instead of the deployer account. (#​3722)
  • Initializable: add internal functions _getInitializedVersion and _isInitializing (#​3598)
  • ERC165Checker: add supportsERC165InterfaceUnchecked for consulting individual interfaces without the full ERC165 protocol. (#​3339)
  • Address: optimize functionCall by calling functionCallWithValue directly. (#​3468)
  • Address: optimize functionCall functions by checking contract size only if there is no returned data. (#​3469)
  • Governor: make the relay function payable, and add support for EOA payments. (#​3730)
  • GovernorCompatibilityBravo: remove unused using statements. (#​3506)
  • ERC20: optimize _transfer, _mint and _burn by using unchecked arithmetic when possible. (#​3513)
  • ERC20Votes, ERC721Votes: optimize getPastVotes for looking up recent checkpoints. (#​3673)
  • ERC20FlashMint: add an internal _flashFee function for overriding. (#​3551)
  • ERC4626: use the same decimals() as the underlying asset by default (if available). (#​3639)
  • ERC4626: add internal _initialConvertToShares and _initialConvertToAssets functions to customize empty vaults behavior. (#​3639)
  • ERC721: optimize transfers by making approval clearing implicit instead of emitting an event. (#​3481)
  • ERC721: optimize burn by making approval clearing implicit instead of emitting an event. (#​3538)
  • ERC721: Fix balance accounting when a custom _beforeTokenTransfer hook results in a transfer of the token under consideration. (#​3611)
  • ERC721: use unchecked arithmetic for balance updates. (#​3524)
  • ERC721Consecutive: Implementation of EIP-2309 that allows batch minting of ERC721 tokens during construction. (#​3311)
  • ReentrancyGuard: Reduce code size impact of the modifier by using internal functions. (#​3515)
  • SafeCast: optimize downcasting of signed integers. (#​3565)
  • ECDSA: Remove redundant check on the v value. (#​3591)
  • VestingWallet: add releasable getters. (#​3580)
  • VestingWallet: remove unused library Math.sol. (#​3605)
  • VestingWallet: make constructor payable. (#​3665)
  • Create2: optimize address computation by using assembly instead of abi.encodePacked. (#​3600)
  • Clones: optimized the assembly to use only the scratch space during deployments, and optimized predictDeterministicAddress to use fewer operations. (#​3640)
  • Checkpoints: Use procedural generation to support multiple key/value lengths. (#​3589)
  • Checkpoints: Add new lookup mechanisms. (#​3589)
  • Arrays: Add unsafeAccess functions that allow reading and writing to an element in a storage array bypassing Solidity's "out-of-bounds" check. (#​3589)
  • Strings: optimize toString. (#​3573)
  • Ownable2Step: extension of Ownable that makes the ownership transfers a two step process. (#​3620)
  • Math and SignedMath: optimize function max by using > instead of >=. (#​3679)
  • Math: Add log2, log10 and log256. (#​3670)
  • Arbitrum: Update the vendored arbitrum contracts to match the nitro upgrade. (#​3692)
Breaking changes
  • ERC721: In order to add support for batch minting via ERC721Consecutive it was necessary to make a minor breaking change in the internal interface of ERC721. Namely, the hooks _beforeTokenTransfer and _afterTokenTransfer have one additional argument that may need to be added to overrides:
 function _beforeTokenTransfer(
     address from,
     address to,
     uint256 tokenId,
+    uint256 batchSize
 ) internal virtual override
  • ERC4626: Conversion from shares to assets (and vice-versa) in an empty vault used to consider the possible mismatch between the underlying asset's and the vault's decimals. This initial conversion rate is now set to 1-to-1 irrespective of decimals, which are meant for usability purposes only. The vault now uses the assets decimals by default, so off-chain the numbers should appear the same. Developers overriding the vault decimals to a value that does not match the underlying asset may want to override the _initialConvertToShares and _initialConvertToAssets to replicate the previous behavior.

  • TimelockController: During deployment, the TimelockController used to grant the TIMELOCK_ADMIN_ROLE to the deployer and to the timelock itself. The deployer was then expected to renounce this role once configuration of the timelock is over. Failing to renounce that role allows the deployer to change the timelock permissions (but not to bypass the delay for any time-locked actions). The role is no longer given to the deployer by default. A new parameter admin can be set to a non-zero address to grant the admin role during construction (to the deployer or any other address). Just like previously, this admin role should be renounced after configuration. If this param is given address(0), the role is not allocated and doesn't need to be revoked. In any case, the timelock itself continues to have this role.

Deprecations
  • EIP712: Added the file EIP712.sol and deprecated draft-EIP712.sol since the EIP is no longer a Draft. Developers are encouraged to update their imports. (#​3621)
-import "@​openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
+import "@​openzeppelin/contracts/utils/cryptography/EIP712.sol";
  • ERC721Votes: Added the file ERC721Votes.sol and deprecated draft-ERC721Votes.sol since it no longer depends on a Draft EIP (EIP-712). Developers are encouraged to update their imports. (#​3699)
-import "@​openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol";
+import "@​openzeppelin/contracts/token/ERC721/extensions/ERC721Votes.sol";
ERC-721 Compatibility Note

ERC-721 integrators that interpret contract state from events should make sure that they implement the clearing of approval that is implicit in every transfer according to the EIP. Previous versions of OpenZeppelin Contracts emitted an explicit Approval event even though it was not required by the specification, and this is no longer the case.

With the new ERC721Consecutive extension, the internal workings of ERC721 are slightly changed. Custom extensions to ERC721 should be reviewed to ensure they remain correct. The internal functions that should be considered are _ownerOf (new), _beforeTokenTransfer, and _afterTokenTransfer.

v4.7.3

Compare Source

Breaking changes
  • ECDSA: recover(bytes32,bytes) and tryRecover(bytes32,bytes) no longer accept compact signatures to prevent malleability. Compact signature support remains available using recover(bytes32,bytes32,bytes32) and tryRecover(bytes32,bytes32,bytes32).
OpenZeppelin/openzeppelin-upgrades

v1.21.0

Compare Source

  • Include solc version in storage layouts in manifest files. (#​662)

v1.20.1

Compare Source

  • Override verify:verify subtask from hardhat-etherscan. (#​619)

Breaking change: To verify a proxy on Etherscan programmatically from a Hardhat script, call verify:verify instead of verify:

await hre.run("verify:verify", {
  address: PROXY_ADDRESS,
});

v1.20.0

Compare Source

  • Provide granular functions to allow more customizable deployments. (#​580)
ethereum-ts/Typechain

v10.1.1

Compare Source

Patch Changes
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v5.43.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-shadow] handle false positives on generics and parameters (#​5902) (769e8c8)
  • eslint-plugin: [promise-function-async] handle keyword token (#​5907) (f25a94f)
Features
  • eslint-plugin: [consistent-type-imports] support fixing to inline types (#​5050) (75dcdf1)
  • eslint-plugin: [naming-convention] add support for "override" and "async" modifiers (#​5310) (#​5610) (c759da1)
  • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#​5594) (923d486)

5.42.1 (2022-11-07)

Bug Fixes

v5.42.1

Compare Source

Bug Fixes

v5.42.0

Compare Source

Bug Fixes
  • ast-spec: add TSQualifiedName to TypeNode union (#​5906) (5c316c1)
  • eslint-plugin: [no-extra-parens] handle type assertion in extends clause (#​5901) (8ed7219)
Features
  • eslint-plugin: [member-ordering] add natural sort order (#​5662) (1eaae09)
  • eslint-plugin: [no-invalid-void-type] better report message for void used as a constituent inside a function return type (#​5274) (d806bda)

v5.41.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-base-to-string] ignore Error, URL, and URLSearchParams by default (#​5839) (96e1c6c)
  • type-utils: prevent stack overflow in isTypeReadonly (#​5860) (a6d8f7e), closes #​4476
Features
  • eslint-plugin: [no-unsafe-declaration-merging] switch to use scope analysis instead of type information (#​5865) (e70a10a)
  • eslint-plugin: add no-unsafe-declaration-merging (#​5840) (3728031)

5.40.1 (2022-10-17)

Bug Fixes
  • eslint-plugin: Skip missing 'rest' tuple type arguments in no-misused-promises (#​5809) (c5beaa2), closes #​5807

v5.40.1

Compare Source

Bug Fixes
  • eslint-plugin: Skip missing 'rest' tuple type arguments in no-misused-promises (#​5809) (c5beaa2), closes #​5807

v5.40.0

Compare Source

Bug Fixes
  • eslint-plugin: [consistent-indexed-object-style] handle interface generic (#​5746) (7a8a0a3)
  • eslint-plugin: [no-unnecessary-condition] handle void (#​5766) (ac8f06b)
Features

v5.39.0

Compare Source

Features
  • eslint-plugin: allow using void as a default type for a generic argument if allowInGenericTypeArguments is specified (#​5671) (bb46ef0)

5.38.1 (2022-09-26)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.38.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.38.0

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.37.0

Compare Source

Bug Fixes
  • eslint-plugin: [strict-boolean-expressions] check all conditions in a logical operator chain (#​5539) (77d76e2)

5.36.2 (2022-09-05)

Bug Fixes
  • eslint-plugin: [no-extra-parens] handle generic ts array type. (#​5550) (0d6a190)
  • scope-manager: correct handling for class static blocks (#​5580) (35bb8dd)

5.36.1 (2022-08-30)

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.36.2

Compare Source

Bug Fixes
  • eslint-plugin: [no-extra-parens] handle generic ts array type. (#​5550) (0d6a190)
  • scope-manager: correct handling for class static blocks (#​5580) (35bb8dd)

v5.36.1

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

v5.36.0

Compare Source

Bug Fixes
Features

5.35.1 (2022-08-24)

Bug Fixes
  • eslint-plugin: correct rule schemas to pass ajv validation (#​5531) (dbf8b56)

v5.35.1

Compare Source

Bug Fixes
  • eslint-plugin: correct rule schemas to pass ajv validation (#​5531) (dbf8b56)

v5.35.0

Compare Source

Features
  • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#​5492) (0edb94a)

v5.34.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-useless-constructor] handle parameter decorator (#​5450) (864dbcf)
Features
  • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#​5266) (aca935c)

5.33.1 (2022-08-15)

Bug Fixes
  • missing placeholders in violation messages for no-unnecessary-type-constraint and no-unsafe-argument (and enable eslint-plugin/recommended rules internally) (#​5453) (d023910)

v5.33.1

Compare Source

Bug Fixes
  • missing placeholders in violation messages for no-unnecessary-type-constraint and no-unsafe-argument (and enable eslint-plugin/recommended rules internally) (#​5453) (d023910)

[v5.33.0](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5330-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5


Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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/all branch 5 times, most recently from e373b29 to 9a15e97 Compare September 8, 2022 18:07
@renovate renovate bot force-pushed the renovate/all branch 5 times, most recently from 2706dc0 to 766635f Compare September 14, 2022 23:22
@renovate renovate bot force-pushed the renovate/all branch 4 times, most recently from 7cfb1ff to 2213117 Compare September 26, 2022 20:33
@renovate renovate bot force-pushed the renovate/all branch 4 times, most recently from df95f11 to 5653b47 Compare October 3, 2022 19:26
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 5977324 to b499a9b Compare October 10, 2022 20:47
@renovate renovate bot force-pushed the renovate/all branch 5 times, most recently from d4ebc84 to 681d24f Compare October 21, 2022 23:50
@renovate renovate bot force-pushed the renovate/all branch 5 times, most recently from 0533576 to af9f096 Compare October 27, 2022 11:43
@renovate renovate bot force-pushed the renovate/all branch 5 times, most recently from e4eb874 to 9a9e153 Compare November 6, 2022 07:06
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.

0 participants