UNPKG

7.14 kBMarkdownView Raw
1## Changelog: eth-gas-reporter
2
30.2.20 / 2020-12-01
4
5- Add support for remote contracts data pre-loading (hardhat-gas-reporter feature)
6
7# 0.2.19 / 2020-10-29
8
9- Delegate contract loading/parsing to artifactor & make optional (#227)
10
11# 0.2.18 / 2020-10-13
12
13- Support multiple codechecks reports per CI run
14- Add CI error threshold options: maxMethodDiff, maxDeploymentDiff
15- Add async collection methods for BuidlerEVM
16- Update solidity-parser/parser to 0.8.0 (contribution: @vicnaum)
17- Update dev deps / use Node 12 in CI
18
19# 0.2.17 / 2020-04-13
20
21- Use @solidity-parser/parser for better solc 0.6.x parsing
22- Upgrade Mocha to ^7.1.1 (to remove minimist vuln warning)
23- Stop crashing when parser or ABI Encoder fails
24- Update @ethersproject/abi to ^5.0.0-beta.146 (and unpin)
25
26# 0.2.16 / 2020-03-18
27
28- Use new coinmarketcap data API / make api key configurable. Old (un-gated) API has been taken offline.
29- Fix crashing when artifact transactionHash is stale after deleting previously migrated contracts
30
31# 0.2.15 / 2020-02-12
32
33- Use parser-diligence to parse Solidity 0.6.x
34- Add option to show full method signature
35
36# 0.2.14 / 2019-12-01
37
38- Add ABIEncoderV2 support by using @ethersproject/abi for ABI processing
39
40# 0.2.12 / 2019-09-30
41
42- Add try/catch block for codechecks.getValue so it doesn't throw when server is down.
43- Pin parser-antlr to 0.4.7
44
45# 0.2.11 / 2019-08-27
46
47- Fix syntax err on unresolved provider error msg (contribution: gnidan)
48- Add unlock-protocol funding ymls
49- Update abi-decoder deps / web3
50
51# 0.2.10 / 2019-08-08
52
53- Small codechecks table formatting improvements
54- Fix syntax error when codechecks errors on missing gas report
55
56# 0.2.9 / 2019-07-30
57
58- Optimize post-transaction data collection (reduce # of calls & cache addresses)
59- Catch codechecks server errors
60
61# 0.2.8 / 2019-07-27
62
63- Render codechecks CI table as markdown
64
65# 0.2.7 / 2019-07-27
66
67- Fix block limit basis bug
68- Fix bug affecting Truffle < v5.0.10 (crash because metadata not defined)
69- Add percentage diff columns to codechecks ci table / make table narrower
70- Slightly randomize gas consumption in tests
71- Begin running codechecks in CI for own tests
72
73# 0.2.6 / 2019-07-16
74
75- Stopped using npm-shrinkwrap, because it seemed to correlate w/ weird installation problems
76- Fix bug which caused outputFile option to crash due to misnamed variable
77
78# 0.2.5 / 2019-07-15
79
80- Upgrade lodash for because of vulnerability report (contribution @ppoliani)
81
82# 0.2.4 / 2019-07-08
83
84- Update abi-decoder to 2.0.1 to fix npm installation bug with bignumber.js fork
85
86# 0.2.3 / 2019-07-04
87
88- Bug fix to invoke user defined artifactType methods correctly
89
90# 0.2.2 / 2019-07-02
91
92- Add documentation about codechecks, buidler, advanced use cases.
93- Add artifactType option as a user defined function so people use with any compilation artifacts.
94- Add codechecks integration
95- Add buidler plugin integration
96- Remove shelljs due to GH security warning, execute ls command manually
97
98# 0.2.1 / 2019-06-19
99
100- Upgrade mocha from 4.1.0 to 5.2.0
101- Report solc version and settings info
102- Add EtherRouter method resolver logic (as option and example)
103- Add proxyResolver option & support discovery of delegated method calls identity
104- Add draft of 0x artifact handler
105- Add url option for non-truffle, non-buidler use
106- Add buidler truffle-v5 plugin support (preface to gas-reporter plugin in next release)
107- Completely reorganize and refactor
108
109# 0.2.0 / 2019-05-07
110
111- Add E2E tests in CI
112- Restore logic that matches tx signatures to contracts as a fallback when it's impossible to
113 be certain which contract was called (contribution @ItsNickBarry)
114- Fix bug which crashed reporter when migrations linked un-deployed contracts
115
116# 0.1.12 / 2018-09-14
117
118- Allow contracts to share method signatures (contribution @wighawag)
119- Collect gas data for Migrations deployments (contribution @wighawag)
120- Add ability allow to specify a different src folder for contracts (contribution @wighawag)
121- Handle in-memory provider error correctly / use spec reporter if sync calls impossible (contribution @wighawag)
122- Default to only showing invoked methods in report
123
124# 0.1.10 / 2018-07-18
125
126- Update mocha from 3.5.3 to 4.10.0 (contribution ldub)
127- Update truffle to truffle@next to fix mocha issues (contribution ldub)
128- Modify binary checking to allow very long bytecodes / large contracts (contribution ben-kaufman)
129
130# 0.1.9 / 2018-06-27
131
132- Fix bug that caused test gas to include before hook gas consumption totals
133
134# 0.1.8 / 2018-06-26
135
136- Add showTimeSpent option to also show how long each test took (contribution @ldub)
137- Update cli-table2 to cli-table3 (contribution @DanielRuf)
138
139# 0.1.7 / 2018-05-27
140
141- Support reStructured text code-block output
142
143# 0.1.5 / 2018-05-15
144
145- Support multi-contract files by parsing files w/ solidity-parser-antlr
146
147# 0.1.4 / 2018-05-14
148
149- Try to work around web3 websocket provider by attempting connection over http://.
150 `requestSync` doesn't support this otherwise.
151- Detect and identify binaries with library links, add to the deployments table
152- Add scripts to run geth in CI (not enabled)
153
154# 0.1.2 / 2018-04-20
155
156- Make compatible with Web 1.0 by creating own sync RPC wrapper. (Contribution: @area)
157
158# 0.1.1 / 2017-12-19
159
160- Use mochas own reporter options instead of .ethgas (still supported)
161- Add onlyCalledMethods option
162- Add outputFile option
163- Add noColors option
164
165# 0.1.0 / 2017-12-10
166
167- Require config gas price to be expressed in gwei (breaking change)
168- Use eth gas station API for gas price (it's more accurate)
169- Fix bug that caused table not to print if any test failed.
170
171# 0.0.15 / 2017-12-09
172
173- Fix ascii colorization bug that caused crashed during table generation. (Use colors/safe).
174
175# 0.0.14 / 2017-11-30
176
177- Fix bug that caused the error report at the end of test run not to be printed.
178
179# 0.0.13 / 2017-11-15
180
181- Filter throws by receipt.status if possible
182- Use testrpc 6.0.2 in tests, add view and pure methods to tests.
183
184# 0.0.12 / 2017-10-28
185
186- Add config. Add gasPrice and currency code options
187- Improve table clarity
188- Derive block.gasLimit from rpc
189
190# 0.0.11 / 2017-10-23
191
192- Add Travis CI
193- Fix bug that crashed reported when truffle could not find required file
194
195# 0.0.10 / 2017-10-22
196
197- Add examples
198
199# 0.0.10 / 2017-10-22
200
201- Filter deployment calls that throw from the stats
202
203# 0.0.8 / 2017-10-22
204
205- Filter method calls that throw from the stats
206- Add deployment stats
207- Add number of calls column
208
209# 0.0.6 / 2017-10-14
210
211- Stop showing zero gas usage in mocha output
212- Show currency rates and gwei gas price rates in table header
213 \* Alphabetize table
214- Fix bug caused by unused methods reporting NaN
215- Fix failure to round avg gas use in table
216- Update dev deps to truffle4 beta
217
218# 0.0.5 / 2017-10-12
219
220- Thanks
221- Update image
222- Finish table formatting
223- Add some variable gas consumption contracts
224- Working table
225- Get map to work in the runner
226- Get gasStats file and percentage of limit working
227- Test using npm install
228- Add gasPrice data fetch, config logic
229- More tests
230- Abi encoding map.
231
232# 0.0.4 / 2017-10-01
233
234- Add visual inspection test
235- Fix bug that counted gas consumed in the test hooks
236
\No newline at end of file