浏览代码

Move some changeset to the "Removals" section of CHANGELOG (#4290)

Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
Hadrien Croubois 2 年之前
父节点
当前提交
2d1da295e6

+ 0 - 5
.changeset/beige-ducks-flow.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-Remove deprecated GovernorProposalThreshold module.

+ 0 - 5
.changeset/dirty-mangos-sort.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-Removed presets in favor of [OpenZeppelin Contracts Wizard](https://wizard.openzeppelin.com/).

+ 0 - 5
.changeset/fluffy-gifts-build.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-Remove ERC1820Implementer.

+ 0 - 5
.changeset/friendly-suits-camp.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-Remove Checkpoints.History.

+ 0 - 5
.changeset/hungry-impalas-perform.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-`ERC165Storage`: Removed this contract in favor of inheritance based approach. ([#3880](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3880))

+ 0 - 5
.changeset/selfish-queens-rest.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-Remove PullPayment and Escrow contracts (Escrow, ConditionalEscrow, RefundEscrow).

+ 0 - 5
.changeset/spicy-ducks-cough.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-Remove the Timers library.

+ 0 - 5
.changeset/swift-berries-sort.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-Remove ERC777 implementation.

+ 0 - 5
.changeset/tame-geckos-search.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-Remove SafeMath and SignedSafeMath libraries.

+ 0 - 5
.changeset/three-weeks-double.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': major
----
-
-Remove CrossChain contracts, including AccessControlCrossChain and all the vendored bridge interfaces.

+ 0 - 5
.changeset/unlucky-snakes-drive.md

@@ -1,5 +0,0 @@
----
-'openzeppelin-solidity': patch
----
-
-`Address`: Removed `isContract` because of its ambiguous nature and potential for misuse.

+ 24 - 2
CHANGELOG.md

@@ -2,14 +2,36 @@
 
 ### Removals
 
-The following contracts and libraries were removed:
+The following contracts, libraries and functions were removed:
 
+- `Address.isContract` (because of its ambiguous nature and potential for misuse)
+- `Checkpoints.History`
 - `Counters`
 - `ERC20Snapshot`
 - `ERC20VotesComp`
+- `ERC165Storage` (in favor of inheritance based approach)
+- `ERC777`
+- `ERC1820Implementer`
 - `GovernorVotesComp`
+- `GovernorProposalThreshold` (deprecated since 4.4)
 - `PaymentSplitter`
-- `TokenTimelock` (removed in favor of `VestingWallet`)
+- `PullPayment`
+- `SafeMath`
+- `SignedSafeMath`
+- `Timers`
+- `TokenTimelock` (in favor of `VestingWallet`)
+- All escrow contracts (`Escrow`, `ConditionalEscrow` and `RefundEscrow`)
+- All cross-chain contracts, including `AccessControlCrossChain` and all the vendored bridge interfaces
+- All presets in favor of [OpenZeppelin Contracts Wizard](https://wizard.openzeppelin.com/)
+
+These removals were implemented in the following PRs:
+
+- [3637](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3637)
+- [3880](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3880)
+- [3945](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3945)
+- [4258](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4258)
+- [4276](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4276)
+- [4289](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4289)
 
 ### How to upgrade from 4.x