Update dependency @openzeppelin/contracts-ethereum-package to v3 #459
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.5.0->3.0.0Release Notes
OpenZeppelin/openzeppelin-contracts
v3.0.0Compare Source
New features
AccessControl: new contract for managing permissions in a system, replacement forOwnableandRoles. (#2112)SafeCast: new functions to convert to and from signed and unsigned values:toUint256andtoInt256. (#2123)EnumerableMap: a new data structure for key-value pairs (likemapping) that can be iterated over. (#2160)Breaking changes
ERC721:burn(owner, tokenId)was removed, useburn(tokenId)instead. (#2125)ERC721:_checkOnERC721Receivedwas removed. (#2125)ERC721:_transferFromand_safeTransferFromwere renamed to_transferand_safeTransfer. (#2162)Ownable: removed_transferOwnership. (#2162)PullPayment,Escrow:withdrawWithGaswas removed. The oldwithdrawfunction now forwards all gas. (#2125)Roleswas removed, useAccessControlas a replacement. (#2112)ECDSA: when receiving an invalid signature,recovernow reverts instead of returning the zero address. (#2114)Create2: added anamountargument todeployfor contracts withpayableconstructors. (#2117)Pausable: moved to theutilsdirectory. (#2122)Strings: moved to theutilsdirectory. (#2122)Counters: moved to theutilsdirectory. (#2122)SignedSafeMath: moved to themathdirectory. (#2122)ERC20Snapshot: moved to thetoken/ERC20directory.snapshotwas changed into aninternalfunction. (#2122)Ownable: moved to theaccessdirectory. (#2120)Ownable: removedisOwner. (#2120)Secondary: removed from the library, useOwnableinstead. (#2120)Escrow,ConditionalEscrow,RefundEscrow: these now useOwnableinstead ofSecondary, their external API changed accordingly. (#2120)ERC20: removed_burnFrom. (#2119)Address: removedtoPayable, usepayable(address)instead. (#2133)ERC777:_send,_mintand_burnnow use the caller as the operator. (#2134)ERC777: removed_callsTokensToSendand_callTokensReceived. (#2134)EnumerableSet: renamedgettoat. (#2151)ERC165Checker: functions no longer have a leading underscore. (#2150)ERC721Metadata,ERC721Enumerable: these contracts were removed, and their functionality merged intoERC721. (#2160)ERC721: added a constructor fornameandsymbol. (#2160)ERC20Detailed: this contract was removed and its functionality merged intoERC20. (#2161)ERC20: added a constructor fornameandsymbol.decimalsnow defaults to 18. (#2161)Strings: renamedfromUint256totoString(#2188)Renovate configuration
📅 Schedule: "before 2pm" in timezone America/Los_Angeles.
🚦 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 WhiteSource Renovate. View repository job log here.