|
| 1 | +Release 2.0.0 |
| 2 | +================= |
| 3 | + |
| 4 | +A lot has changed in the almost two weeks that have |
| 5 | +elapsed since the last release. |
| 6 | + |
| 7 | +Changes for Mythx API 1.4 |
| 8 | +------------------------------- |
| 9 | + |
| 10 | +Perhaps the biggest change is that we now support version 1.4.0 of the MythX API. |
| 11 | +This means various authentication options involving an API key or an email address |
| 12 | +are no longer supported. |
| 13 | + |
| 14 | +There were some smaller changes in the back end and the |
| 15 | +acceptable way to interact with the back-end protocol has been adjusted. |
| 16 | + |
| 17 | + |
| 18 | +Geometrically-increasing delays in polling |
| 19 | +----------------------------------------------------- |
| 20 | + |
| 21 | +We noticed that there was a lot of overhead created on the back end caused by |
| 22 | +polling for analysis status. Taking a cue from how the Ethernet |
| 23 | +handles congestion, successive polls are now spaced more widely. |
| 24 | + |
| 25 | +For applications which use MythX through armlet, when they can predict |
| 26 | +the likely time interval for the contract submitted, they will be |
| 27 | +rewarded with a reduced delay in noticing that results are ready on the back-end. |
| 28 | + |
| 29 | +Parameter `initial-delay` was added. This is the minimum amount of |
| 30 | +time that this library waits before attempting its first status poll |
| 31 | +when the results are not already cached. |
| 32 | + |
| 33 | +You can read about improving polling response [here](https://github.com/ConsenSys/armlet/#improving-polling-response). |
| 34 | + |
| 35 | + |
| 36 | +Introducing command-line utility "mythx-analysis" |
| 37 | +------------------------------------------------------------- |
| 38 | + |
| 39 | +The "example" program `analysis` is now called `mythx-analysis` and it |
| 40 | +is installed as a standalone command-line utility. |
| 41 | + |
| 42 | +It is more full featured: |
| 43 | + |
| 44 | + * it supports more armlet library options, |
| 45 | + `--version`, `--timeout`, `--delay`, and `--debug` |
| 46 | + * it can accept Solidity source code and will run `solc` to compile the source before passing |
| 47 | + on to MythX |
| 48 | + |
| 49 | +Sample Solidity contracts now appear in `example/solidity-files` |
| 50 | + |
| 51 | + |
| 52 | +Library changes not mentioned above |
| 53 | +-------------------------------------------- |
| 54 | + |
| 55 | +An additional analysis option `debug` is available. With this, you |
| 56 | +can get more information about what is going on in armlet. Setting |
| 57 | +`debug` to a numeric value of 2 or more gives more-verbose |
| 58 | +output. |
| 59 | + |
| 60 | + |
| 61 | +Getting a list of past analyses is not allowed as a trial user, as |
| 62 | +is now noted in the response. We suggest a suitable course of action |
| 63 | +(registering) and supply a link to do so. |
| 64 | + |
| 65 | +Some small URL canonicalization is now done. In particular you can add a trailing slash |
| 66 | +to the HTTP host `https://api.mythix.io/` and that is the same things as `https://api.mythix.io`. |
| 67 | + |
| 68 | +Similarly `http` will be turned into `https` when appropriate. |
| 69 | + |
| 70 | +There is now proxy support via |
| 71 | +[`omni-fetch`](https://www.npmjs.com/package/omni-fetch) which is a |
| 72 | +wrapper to |
| 73 | +[`isomorphic-fetch`](https://www.npmjs.com/package/isomorphic-fetch). This |
| 74 | +work was kindly contributed by Teruhiro Tagomori at NRISecure. |
| 75 | + |
| 76 | +Additional tests were added and test-code coverage has been |
| 77 | +increased. This is the work of Daniyar Chambylov at Maddevs. |
| 78 | + |
| 79 | +Some time units are shown in a more human-friendly way. There are numerous other small documentation and code improvements. |
| 80 | + |
| 81 | +Older Releases |
| 82 | +================= |
| 83 | + |
1 | 84 | v1.2.1 - 2019-02-06 |
2 | 85 | ----------------------- |
3 | 86 |
|
|
0 commit comments