Selaa lähdekoodia

Merge branch 'release-v4.0'

Francisco Giordano 4 vuotta sitten
vanhempi
sitoutus
783e928ae8
5 muutettua tiedostoa jossa 161 lisäystä ja 220 poistoa
  1. 1 2
      CHANGELOG.md
  2. 1 1
      contracts/package.json
  3. 1 1
      docs/antora.yml
  4. 157 215
      package-lock.json
  5. 1 1
      package.json

+ 1 - 2
CHANGELOG.md

@@ -1,6 +1,6 @@
 # Changelog
 
-## Unreleased
+## 4.0.0 (2021-03-23)
 
  * `IERC20Metadata`: add a new extended interface that includes the optional `name()`, `symbol()` and `decimals()` functions. ([#2561](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2561))
  * `ERC777`: make reception acquirement optional in `_mint`. ([#2552](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2552))
@@ -31,7 +31,6 @@
 
  * `AccessControlEnumerable`: Fixed `renounceRole` not updating enumerable set of addresses for a role. ([#2572](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2572))
 
-
 ### How to upgrade from 3.x
 
 Since this version has moved a few contracts to different directories, users upgrading from a previous version will need to adjust their import statements. To make this easier, the package includes a script that will migrate import statements automatically. After upgrading to the latest version of the package, run:

+ 1 - 1
contracts/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@openzeppelin/contracts",
   "description": "Secure Smart Contract library for Solidity",
-  "version": "3.4.0",
+  "version": "4.0.0",
   "files": [
     "**/*.sol",
     "/build/contracts/*.json",

+ 1 - 1
docs/antora.yml

@@ -1,6 +1,6 @@
 name: contracts
 title: Contracts
-version: 3.x
+version: 4.x
 nav:
   - modules/ROOT/nav.adoc
   - modules/api/nav.adoc

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 157 - 215
package-lock.json


+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "openzeppelin-solidity",
   "description": "Secure Smart Contract library for Solidity",
-  "version": "3.4.0",
+  "version": "4.0.0",
   "files": [
     "/contracts/**/*.sol",
     "/build/contracts/*.json",

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä