Skip to content

Commit

Permalink
bump version to 2.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkirejczyk committed Jul 16, 2019
1 parent 999e1e2 commit 0f2ee5e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions docs/release-notes/2.0.14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
With this release, Waffle introduces support human-readable abi as an output.

Human readable ABI was introduced in ethers.js by @ricmoo in a [blog post](https://blog.ricmoo.com/human-readable-contract-abis-in-ethers-js-141902f4d917).

To enable it, specify the following flag in Waffle config file:

```json
{
...
outputHumanReadableAbi: true
}
```

You will now see the following in your output:
```json
{
...
"humanReadableAbi": [
"constructor(uint256 argOne)",
"event Bar(bool argOne, uint256 indexed argTwo)",
"event FooEvent()",
"function noArgs() view returns(uint200)",
"function oneArg(bool argOne)",
"function threeArgs(string argOne, bool argTwo, uint256[] argThree) view returns(bool, uint256)",
"function twoReturns(bool argOne) view returns(bool, uint256)"
]
}
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ethereum-waffle",
"description": "Sweeter, faster and simpler than truffle.",
"version": "2.0.13",
"version": "2.0.14",
"author": "Marek Kirejczyk <[email protected]> (http://ethworks.io)",
"repository": "[email protected]:EthWorks/Waffle.git",
"private": false,
Expand Down

0 comments on commit 0f2ee5e

Please sign in to comment.