Merge branch 'release-v2.5.0'

This commit is contained in:
Nicolás Venturo
2020-02-04 20:22:32 -03:00
6 changed files with 10 additions and 13 deletions

View File

@ -1,6 +1,6 @@
# Changelog # Changelog
## 2.5.0 (unreleased) ## 2.5.0 (2020-02-04)
### New features ### New features
* `SafeCast.toUintXX`: new library for integer downcasting, which allows for safe operation on smaller types (e.g. `uint32`) when combined with `SafeMath`. ([#1926](https://github.com/OpenZeppelin/openzeppelin-solidity/pull/1926)) * `SafeCast.toUintXX`: new library for integer downcasting, which allows for safe operation on smaller types (e.g. `uint32`) when combined with `SafeMath`. ([#1926](https://github.com/OpenZeppelin/openzeppelin-solidity/pull/1926))

View File

@ -1,6 +1,6 @@
{ {
"name": "@openzeppelin/contracts", "name": "@openzeppelin/contracts",
"version": "2.4.0", "version": "2.5.0",
"description": "Secure Smart Contract library for Solidity", "description": "Secure Smart Contract library for Solidity",
"files": [ "files": [
"**/*.sol", "**/*.sol",
@ -28,5 +28,5 @@
"bugs": { "bugs": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues" "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues"
}, },
"homepage": "https://github.com/OpenZeppelin/openzeppelin-contracts" "homepage": "https://openzeppelin.com/contracts/"
} }

View File

@ -13,8 +13,7 @@ pragma solidity ^0.5.0;
* *
* As of v2.5.0, only `address` sets are supported. * As of v2.5.0, only `address` sets are supported.
* *
* Include with `using EnumerableSet for EnumerableSet.AddressSet;`, and use * Include with `using EnumerableSet for EnumerableSet.AddressSet;`.
* {newAddressSet} to create a new `AddressSet`.
* *
* _Available since v2.5.0._ * _Available since v2.5.0._
* *
@ -112,8 +111,6 @@ library EnumerableSet {
/** /**
* @dev Returns the number of elements on the set. O(1). * @dev Returns the number of elements on the set. O(1).
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*/ */
function length(AddressSet storage set) function length(AddressSet storage set)
internal internal

View File

@ -1,6 +1,6 @@
{ {
"package_name": "zeppelin", "package_name": "zeppelin",
"version": "2.4.0", "version": "2.5.0",
"description": "Secure Smart Contract library for Solidity", "description": "Secure Smart Contract library for Solidity",
"authors": [ "authors": [
"OpenZeppelin Community <maintainers@openzeppelin.org>" "OpenZeppelin Community <maintainers@openzeppelin.org>"

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "openzeppelin-solidity", "name": "openzeppelin-solidity",
"version": "2.4.0", "version": "2.5.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "openzeppelin-solidity", "name": "openzeppelin-solidity",
"version": "2.4.0", "version": "2.5.0",
"description": "Secure Smart Contract library for Solidity", "description": "Secure Smart Contract library for Solidity",
"files": [ "files": [
"/contracts/**/*.sol", "/contracts/**/*.sol",
@ -42,7 +42,7 @@
"bugs": { "bugs": {
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues" "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues"
}, },
"homepage": "https://github.com/OpenZeppelin/openzeppelin-contracts", "homepage": "https://openzeppelin.com/contracts/",
"devDependencies": { "devDependencies": {
"@openzeppelin/cli": "^2.5.3", "@openzeppelin/cli": "^2.5.3",
"@openzeppelin/gsn-helpers": "^0.2.3", "@openzeppelin/gsn-helpers": "^0.2.3",