Skip to content

Conversation

@greenkeeper
Copy link
Contributor

@greenkeeper greenkeeper bot commented Feb 26, 2019

The dependency openzeppelin-solidity was updated from 2.0.0 to 2.1.3.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Find out more about this release.

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 14, 2019

Update to this version instead 🚀

Release Notes for OpenZeppelin 2.2

No changes from the release candidate for this one, we're ironing out the kinks in the release process! 🚫 🐛

This minor release includes a way to store token balances and supply so that they can be later queried in a gas-efficient manner 🔖, allows safe interaction with some old, non-compliant tokens 🔒, prevents user errors when using ECDSA signatures 📝 (the magic behind metatransactions! ✨), and provides multiple minor additions and improvements to the API.

To install the release run npm install openzeppelin-solidity@latest.

We would love your help by reviewing newly added contracts, their interface and documentation so that we can make names clearer, features easier to use, and the library better as a whole! Your feedback is extremely useful to us :)

Highlights

New features

  • ERC20Snapshot: this variant allows for snapshots to be created on demand, storing the current token balances and total supply so that they can be later retrieved in a gas-efficient manner and e.g. calculate dividends at a past time. (#1617)
  • SafeERC20: the ERC20 standard requires that all function calls (e.g. transfer, approve, etc.) return a boolean value indicating success. However, they are multiple widely used tokens out there that return no such value: they simply revert when encountering an error condition. Since Solidity v0.4.22, special code was needed to interact with this non-compliant tokens: now, all of SafeERC20 can be used to safely call both compliant and non-compliant tokens, without the developer having to worry about it. (#1655)
  • TimedCrowdsale: an internal _extendTime(uint256 newClosingTime) function was added (with a corresponding TimedCrowdsaleExtended(uint256 prevClosingTime, uint256 newClosingTime) event) allowing for users to safely develop mechanisms to extend the durations of unclosed crowdsales. Note that due to it being internal, there's no out-of-the-box way to do it: this feature is opt-in and must be explicitly invoked by users.

Improvements

  • ECDSA: recover no longer accepts malleable signatures (those using upper-range values for s, or 0/1 for v). This helps prevent multiple issues when using signatures as unique identifiers. Read more about common ECDSA issues here. (#1622)
  • ERC721's transfers are now more gas efficient due to removal of unnecessary SafeMath calls. (#1610)

Bugfixes:

  • (minor) SafeERC20: safeApprove wasn't properly checking for a zero allowance when attempting to set a non-zero allowance. This bug was reported independently by @nikeshnazareth. Thanks a lot! (#1647)

Breaking changes:

  • TokenMetadata (in drafts) has been renamed to ERC20Metadata. (#1618)

You can also see all details of this release in our changelog.

Commits

The new version differs by commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request May 27, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 27, 2019

Update to this version instead 🚀

Commits

The new version differs by 66 commits.

  • 132e442 2.3.0
  • d957b88 make naming in ERC777 clearer
  • fd3f242 update openzeppelin-docsite dependency
  • c589256 fix typos
  • d95f5e2 lint
  • e41daba merge api docs changes
  • 96fbe82 Change prepack npm script to prepare (take 2) (#1755)
  • ca922c8 add log about removed artifacts in prepack.js
  • ee7ff81 Improve prepack script (#1747)
  • b7b8fa9 fix prepack script
  • a289314 2.3.0-rc.3
  • 9ab93f8 Update transferFrom to modify allowance in-between hook calls. (#1751)
  • f7ff3e7 Disallow ERC20._transfer from the zero address. (#1752)
  • 74ef942 2.3.0-rc.2
  • b6b2aea Remove broken linter rule.

There are 66 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 29, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 29, 2019

Update to this version instead 🚀

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 4, 2020

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Feb 4, 2020
greenkeeper bot added a commit that referenced this pull request Apr 20, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 20, 2020

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 27, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 27, 2020

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant