Releases: TrueFiEng/Waffle
Releases · TrueFiEng/Waffle
2.3.0-istanbul.0
This is beta release.
Changes:
- Update ganache to ^2.9.0-istanbul.0
2.2.0
This release is focused on configuration improvements.
Changes:
- Replace Travis CI with CircleCI
- Make
ES2018
the compilation target as this is what Node 10 supports - Add two compilation outputs
CommonJS
andES Modules
- Move source files from
/lib
to/src
2.1.2
This release includes one bug fix:
- Fix handling BigNumbers array as argument of the event log
2.1.1
This release includes number of minor improvements and updates:
- Fix targetPath not working for nested paths
- Improved CLI
- Improved documentation
- Use eslint instead of tslint
- Update typescript to 3.6.4
- Update to Ganache-core 2.8.0
2.1.0
Features:
-
Ability to modify default provider gasLimit and gasPrice in createMockProvider(). It can be object with path to config file, e.g.:
provider = createMockProvider({gasLimit: 0x6691b7, gasPrice: 0x77359400});
or
provider = createMockProvider('./waffle.json');
waffle.json:
{ ... "ganacheOptions": { "gasLimit": "0x6691b7", "gasPrice": "0x77359400" } }
Bugfixes and maintance:
- Fix ganache-core version to 2.6.1 (seems stable)
- Update yarn.lock
- Move @types/ganache-core to dependencies
Note:
- Form this versions we start using semantic versioning.
2.0.16
- Throw an informative exception when trying to deploy empty bytecode
- Solcjs version can be specified by passing the path in the configuration file, i.e.:
{
...
"solcVersion": "./node_modules/solc"
}
2.0.15
- Upgrade solc to 0.5.10
- deployContract accepts two formats now:
interface StandardContractJSON { abi: any; evm: {bytecode: {object: any}}; } interface SimpleContractJSON { abi: any[]; bytecode: string; }
2.0.14
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.
To enable it, specify the following flag in Waffle config file:
{
...
outputHumanReadableAbi: true
}
You will now see the following in your output:
{
...
"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.0.13
This release updates dependencies:
- ganache-core: 2.5.6-beta.0 -> ^2.5.7
- solc: ^0.5.1 -> 0.5.1
2.0.12
This release contains minor update and a bug fix:
- Fix fixtures interfering with each other
- Update ganache 2.5.5 -> 2.5.6-beta