Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.85 KB

CHANGELOG.md

File metadata and controls

22 lines (16 loc) · 1.85 KB

Changelog

0.4.0 (unreleased)

  • Fix shouldFail.reverting.withMessage on non-Ganache chains. (#25
  • shouldFail.reverting.withMessage fails if no error string is provided. (#28
  • Rename makeInterfaceId to makeInterfaceId.ERC165, and add makeInterfaceId.ERC1820. (#21

How to upgrade from 0.3

  • Change all occurences of makeInterfaceId to makeInterfaceId.ERC165.
  • Some uses of shouldFail.reverting.withMessage may fail now. This means it was being used incorrectly and an error string to match against should be added. Alternatively, if the error message is unknown, use shouldFail.reverting instead.

0.3.2 (2019-04-10)

  • Update ERC1820Registry address. (#26)

0.3.1 (2019-04-01)

  • Add support for environments using web3-provider-engine. (#24)

0.3.0 (2019-03-19)

  • chai is no longer exported, and should is no longer automatically installed. (#18)

How to upgrade from 0.2

If you use Chai assertions in your project you should make sure to explicitly install it: npm install chai. If you need to access the chai instance you should now get it through require('chai'). If you use should-style assertions you should set it up manually now, by adding require('chai/register-should') in your tests, or e.g. in your Truffle config. Check out OpenZeppelin's upgrade commit in case it might be helpful: cf7375d.