|
| 1 | +Change Log |
| 2 | +========= |
| 3 | + |
| 4 | +__6.0.0-beta.2__ |
| 5 | +- Bump ethers from 6.8.0 to 6.11.1 |
| 6 | +- Bump ethereum-cryptography from 2.1.2 to 2.1.3 |
| 7 | +- Bump axios from 1.6.2 to 1.6.8 |
| 8 | + |
| 9 | +__6.0.0-beta.1__ |
| 10 | +- Support [TIP586](https://github.com/tronprotocol/tips/blob/master/tip-586.md) with `trx.getBandwidthPrices` and `trx.getEnergyPrices`. |
| 11 | +- Support custom block header info when creating transaction. |
| 12 | + |
| 13 | +__6.0.0-beta.0__ |
| 14 | +- Add full type definition for Typescript. |
| 15 | +- Change Default exports to Named exports. |
| 16 | +- Change `TronWeb.createRandom(options)` to `TronWeb.createRandom(password, path, wordlist)`. |
| 17 | +- Change `TronWeb.fromMnemonic(mnemonic, path, wordlist)` to `TronWeb.fromMnemonic(mnemonic, path, password, wordlist)`. |
| 18 | +- All methods in `Trx` and `TransactionBuilder` perform an strict check for type and position of parameters. |
| 19 | +- All methods in TronWeb will throw an `Error` instance instead of a string. `e.message` should be used to access error information. |
| 20 | +- Update `TronWeb#event` API with new backend service([#422](https://github.com/tronprotocol/tronweb/issues/422)). |
| 21 | +- Remove `Contract#watch()` method. |
| 22 | +- Support multi-dimension address array parameters in `TransactionBuilder#triggerSmartContract()`([#433](https://github.com/tronprotocol/tronweb/issues/433)). |
| 23 | + |
| 24 | +__5.3.2__ |
| 25 | +- Add custom block header argument for building transactions locally in `transactionBuilder` lib |
| 26 | +- Support [TIP586](https://github.com/tronprotocol/tips/blob/master/tip-586.md) by `trx.getBandwidthPrices` and `trx.getEnergyPrices` |
| 27 | +- Support recover transaction signer address by `trx.ecRecover` |
| 28 | +- Support multi-dimension address array such as `address[][]` for ABI params encoding in `triggerSmartContract` and `createSmartContract` [#433](https://github.com/tronprotocol/tronweb/issues/433) |
| 29 | +- Fix error when `triggerSmartContract` with error address due to the undefined callback [#429](https://github.com/tronprotocol/tronweb/issues/429) |
| 30 | +- Bump axios from 0.26.1 to 1.6.2 [#445](https://github.com/tronprotocol/tronweb/issues/445) |
| 31 | + |
| 32 | +__5.3.1__ |
| 33 | +- Fix `getBlockRange()` error for range of 1 ([#398](https://github.com/tronprotocol/tronweb/issues/398)). |
| 34 | +- Add support for `estimateenergy` in `TransactionBuilder#deployConstantContract()` API. |
| 35 | + |
| 36 | +__5.3.0__ |
| 37 | +- Replace `elliptic` with `ethereum-cryptography/secp256k1` |
| 38 | +- Bump ethers to ^6.6.0 |
| 39 | +- Optimize argument validation for `createToken`, `updateToken` and `applyForSR` |
| 40 | +- callValue can be 0 when the contract constructor is payable |
| 41 | +- Support shouldPollResponse to customize poll times ([#368](https://github.com/tronprotocol/tronweb/issues/368)) |
| 42 | +- Support [Tip541](https://github.com/tronprotocol/tips/issues/541) by `transactionBuilder.cancelUnfreezeBalanceV2` |
| 43 | +- Support [Tip542](https://github.com/tronprotocol/tips/issues/542) by adding a parameter in `transactionBuilder.delegateResource` |
| 44 | +- Support estimate the energy used in contract deployment by `transactionBuilder.deployConstantContract` |
| 45 | + |
| 46 | +__5.2.0__ |
| 47 | +- Support build transactions locally with protobuf |
| 48 | +- Support multi-sign for `setAccountId`, `updateBrokerage`, `clearABI`, `updateAccountPermissions` function in `transactionBuilder` lib |
| 49 | + |
| 50 | +__5.1.0__ |
| 51 | +- Add `freezeBalanceV2`, `unfreezeBalanceV2`, `delegateResource`, `undelegateResource` and `withdrawExpireUnfreeze` function in transactiobBuiler lib to support stakeV2 |
| 52 | +- Support `tronWeb.transactionBuilder.estimateEnergy` to estimate energy for triggersmartcontract transaction |
| 53 | +- Add `getDelegatedResourceV2`, `getDelegatedResourceAccountIndexV2`, `getCanDelegatedMaxSize`, `getAvailableUnfreezeCount` and `getCanWithdrawUnfreezeAmount` function to query account resource info |
| 54 | + |
| 55 | +__5.0.0__ |
| 56 | +- Add `tronWeb.utils.transaction` lib to serialize and deserialize transaction |
| 57 | +- Add `tronWeb.utils.transaction.txJsonToPb` function to convert transaction json to protobuf |
| 58 | +- Add `tronWeb.utils.transaction.txPbToTxID` function to get txID from transaction protobuf |
| 59 | +- Support new transaction builder `createAccount` |
| 60 | + |
| 61 | +__4.4.0__ |
| 62 | +- Support `createRandom` and `fromMnemonic` function |
| 63 | +- Add `tronWeb.utils.message` lib, which includes `hashMessage`, `signMessage` and `verifyMessage` |
| 64 | +- Add `signMessageV2` and `verifyMessageV2` in `tronWeb.trx` lib which can support plain text signature and verification |
| 65 | +- Add `size` filter for event watch |
| 66 | + |
| 67 | +__4.3.0__ |
| 68 | +- Support `_signTypedData` |
| 69 | + |
| 70 | +__4.2.0__ |
| 71 | +- Add the name key when the `call()` and `send()` methods has only one return value |
| 72 | +- Optimize the `TriggerConstantContract()` method |
| 73 | +- Update `axios` to version 0.26.1 |
| 74 | +- Update `karma` to version 6.3.17 |
| 75 | +- Update `puppeteer` to version 13.5.1 |
| 76 | + |
| 77 | +__4.1.0__ |
| 78 | +- Add `encodeParamsV2ByABI` and `decodeParamsV2ByABI` functions in `tronWeb.utils.abi` lib |
| 79 | +- Support abi v2 for `triggerSmartContract`, `createSmartContract`, `call` and `send` methods |
| 80 | +- Update `validator` to version 13.7.0 |
| 81 | +- Update `axios` to version 0.24.0 |
| 82 | +- Update discord group link |
| 83 | + |
| 84 | +__4.0.1__ |
| 85 | +- Set _isConstant as true for call method |
| 86 | +- Ignore max feeLimit check |
| 87 | +- Change git repository url |
| 88 | + |
| 89 | +__4.0.0__ |
| 90 | +- Support `broadcastHex` method |
| 91 | +- Ignore fullnode version check when calling `createToken` method |
| 92 | +- Update dependencies version |
| 93 | +- Add strict mode for `pkToAddress` method |
| 94 | + |
| 95 | +__3.2.7__ |
| 96 | +- Add options `rawParameter` that format of the parameters method and args when creating or triggering a contract |
| 97 | +- Update `elliptic` to the latest version 6.5.4 |
| 98 | +- Update `validator` to the latest version 13.6.0 |
| 99 | + |
| 100 | +__3.2.6__ |
| 101 | +- Add setHeader function |
| 102 | + |
| 103 | +__3.2.5__ |
| 104 | +- Set feeLimit max value as 5000 TRX |
| 105 | + |
| 106 | +__3.2.4__ |
| 107 | +- Set feeLimit default value as 150 TRX |
| 108 | + |
| 109 | +__3.2.3__ |
| 110 | +- Support triggerSmartContract function with empty character functionSelector and empty array parameters |
| 111 | +- The triggerSmartContract function Support for anonymous contract parameter incoming |
| 112 | + |
| 113 | +__3.2.2__ |
| 114 | +- Set feeLimit default value as 40 TRX |
| 115 | +- The `createToken` method supports 0 in its precision |
| 116 | + |
| 117 | +__3.1.0__ |
| 118 | +- Update `elliptic` to the latest version 6.5.3 |
| 119 | +- Update `ethers` to the latest version 5.0.8 |
| 120 | +- Fix `loadAbi()` |
| 121 | + |
| 122 | +__3.0.0__ |
| 123 | +- Support sidechain for SunNetwork |
| 124 | +- Set feeLimit default value as 20 TRX |
| 125 | + |
| 126 | +__2.10.2__ |
| 127 | +- Support toHex function with a space and empty character as parameter |
| 128 | +- The sign function supports visible as true. |
| 129 | +- Fix delete the private key in test files |
| 130 | +- Fix start method returned from watch is undefined #45 |
| 131 | + |
| 132 | +__2.10.1__ |
| 133 | +* Fix `trx.listExchangesPaginated` |
| 134 | + |
| 135 | +__2.10.0__ |
| 136 | +* Fix `trx.getTokenListByName` |
| 137 | + |
| 138 | +__2.9.0__ |
| 139 | +* Support smart contracts with function that requires an array of addresses as a parameter, included the constructor during the deployment |
| 140 | + |
| 141 | +__2.8.1__ |
| 142 | +* Add options `keepTxID` to show also the txID when triggering a contract with `shouldPollResponse` |
| 143 | + |
| 144 | +__2.8.0__ |
| 145 | +* Improve in the plugin architecture allows someone to implement a full lib at the same level of Trx and TransactionBuilder |
| 146 | + |
| 147 | +__2.7.4__ |
| 148 | +* Fix bugs of trx.getBrokerage and trx.getReward function |
| 149 | + |
| 150 | +__2.7.3__ |
| 151 | +* Support new apis related to Java-Tron 3.6.5 |
| 152 | +* Original withdrawBlockRewards method support to withdraw user's reward |
| 153 | + |
| 154 | +__2.6.8__ |
| 155 | +* Support extension of transaction expiration |
| 156 | +* Allow to add data to the transaction |
| 157 | +* Many minor changes and fixes |
| 158 | + |
| 159 | +__2.6.3__ |
| 160 | +* Support get unconfirmed transaction function |
| 161 | + |
| 162 | +__2.6.0__ |
| 163 | +* Support trigger constant contract, clear abi and add account by id |
| 164 | +* Add permission id option in functions related to creating transaction |
| 165 | +* Support multi-sign without permission id |
| 166 | + |
| 167 | +__2.5.6__ |
| 168 | +* Reverse PR #6 |
| 169 | + |
| 170 | +__2.5.5__ |
| 171 | +* Ignore `receiverAddress` during `freezeBalance` and `unfreezeBalance` if it is equal to the owner address |
| 172 | + |
| 173 | +__2.5.4__ |
| 174 | +* Adds cache in Trx to cache Contracts locally and make the process more efficient |
| 175 | + |
| 176 | +__2.5.2__ |
| 177 | +* Adds static methods `Trx.signString` and `Trx.verifySignature` |
| 178 | + |
| 179 | +__2.5.0__ |
| 180 | +* Allows freeBandwidth, freeBandwidthLimit, frozenAmount and frozenDuration to be zero |
| 181 | + |
| 182 | +__2.3.7__ |
| 183 | +* Get rid of jssha to reduce the size of the package a little bit. |
| 184 | + |
| 185 | +__2.3.6__ |
| 186 | +* Supports `/wallet/getapprovedlist` and `/wallet/getsignweight` JavaTron API. |
| 187 | +* Adds test for multi-sign workflow. |
| 188 | + |
| 189 | +__2.3.5__ |
| 190 | +* Fixes a typo in `#event.getEventsByContractAddress` naming. |
| 191 | + |
| 192 | +__2.3.4__ |
| 193 | +* Adds options to `#plugin.register` to pass parameters to `pluginInterface`. |
| 194 | + |
| 195 | +__2.3.3__ |
| 196 | +* Adds filters during event watching. |
| 197 | + |
| 198 | +__2.3.2__ |
| 199 | +* Removes mixed approach instantiating tronWeb. Before you could pass the servers as an object, and the privateKey as a separate parameter. Now, you pass them either in the options object or in the params. |
| 200 | + |
| 201 | +__2.3.1__ |
| 202 | +* Adds support for not-tld domain, like http://localhost |
| 203 | +* Improve the new format, allow passing the privateKey as a property in the option object |
| 204 | + |
| 205 | +__2.3.0__ |
| 206 | +* Introduces new format to instantiate tronWeb, passing an options object instead that `fullNode`, `solidityNode` and `eventServer` as separate params |
| 207 | +* Fixes bug in `_watch` which causes a continuous update of the `since` parameter |
0 commit comments