Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Latest commit

 

History

History
353 lines (200 loc) · 9.39 KB

CHANGELOG.md

File metadata and controls

353 lines (200 loc) · 9.39 KB

CHANGELOG

v5.5.1 - July 15, 2020

* Dependencies updated

v5.5.0 - June 24, 2020

* Add `ZeroExRevertErrors` (#2540)
* Print full revert error in stack traces. (#2540)
* `ZeroExRevertErrors.Migrate` -> `ZeroExRevertErrors.Ownable` (#2564)
* `instanceof Array` => `Array.isArray` (#2567)
* Add more `ZeroExRevertErrors` (#2545)
* Add more `ZeroExRevertErrors` (#2576)
* Update `ZeroExRevertErrors` (#2597)
* Add more revert errors to `ZeroExRevertErrors` (#2610)

v5.4.1 - February 25, 2020

* Fix extra space in `provider.send` signature (#2428)

v5.4.0 - February 8, 2020

* Add `toTokenUnitAmount` and `fromTokenUnitAmount` (#2462)
* Add `hexUtils.isHex` (#2462)
* Accept `Buffer` type in `hexUtils.toHex()` (#2462)

v5.3.0 - February 6, 2020

* Added Broker, MixinWethUtils revert errors (#2455)
* Moved LibAssetDataTransfer revert errors into their own file (#2455)

v5.2.0 - January 22, 2020

* Allow for strict decoding of return values. (#2433)

v5.1.2 - January 6, 2020

* Dependencies updated

v5.1.1 - December 17, 2019

* Dependencies updated

v5.1.0 - December 9, 2019

* Added hex_utils (#2373)

v5.0.0 - December 2, 2019

* Re-export all `RevertErrors` (#2362)
* Removed exports AuthorizableRevertErrors, LibAddressArrayRevertErrors, LibBytesRevertErrors, OwnableRevertErrors, ReentrancyGuardRevertErrors and SafeMathRevertErrors (#2321)
* Decode `Parity` revert errors (#2341)
* Update BigNumber version to ~9.0.0 (#2342)
* Consolidated FixedMathRevertErrors (#2255)
* Changed provider_utils.providerUtils.getChainIdAsync() to invoke RPC method eth_chainId rather than net_version (#2270)
* Allow for array types in `RevertError`s. (#2075)
* Have Ganache `Error` -> `RevertError` coercion fail if it can't look up the selector. (#2109)
* Add `LibFixedMath` `RevertError` types. (#2109)
* Add `RawRevertError` `RevertError` type. (#2109)
* Make `RevertError.decode()` optionally return a `RawRevertError` if the selector is unknown. (#2109)
* Rename `length` field of `AuthorizableRevertErrors.IndexOutOfBoundsError` type to `len`. (#2109)

v4.6.0-beta.3 - December 2, 2019

* Re-export all `RevertErrors` (#2362)

v4.6.0-beta.2 - November 17, 2019

* Removed exports AuthorizableRevertErrors, LibAddressArrayRevertErrors, LibBytesRevertErrors, OwnableRevertErrors, ReentrancyGuardRevertErrors and SafeMathRevertErrors (#2321)
* Decode `Parity` revert errors (#2341)
* Update BigNumber version to ~9.0.0 (#2342)

v4.6.0-beta.1 - November 7, 2019

* Consolidated FixedMathRevertErrors (#2255)
* Changed provider_utils.providerUtils.getChainIdAsync() to invoke RPC method eth_chainId rather than net_version (#2270)

v4.6.0-beta.0 - October 3, 2019

* Allow for array types in `RevertError`s. (#2075)
* Have Ganache `Error` -> `RevertError` coercion fail if it can't look up the selector. (#2109)
* Add `LibFixedMath` `RevertError` types. (#2109)
* Add `RawRevertError` `RevertError` type. (#2109)
* Make `RevertError.decode()` optionally return a `RawRevertError` if the selector is unknown. (#2109)
* Rename `length` field of `AuthorizableRevertErrors.IndexOutOfBoundsError` type to `len`. (#2109)

v4.5.2 - September 17, 2019

* Dependencies updated

v4.5.1 - September 3, 2019

* Dependencies updated

v4.5.0 - August 8, 2019

* Add `SafeMathRevertErrors.SafeMathErrorCodes.Uint256DivisionByZero` (#2031)
* Updated to include `strictDecode` for decoding method arguments (#2018)
* Throw exception when trying to decode beyond boundaries of calldata (#2018)

v4.4.2 - July 31, 2019

* Dependencies updated

v4.4.1 - July 24, 2019

* Dependencies updated

v4.4.0 - July 13, 2019

* Add function deleteNestedProperty (#1842)
* Add `getChainIdAsync()` to `providerUtils` (#1742)
* More robust normalization of `uint256` types in `sign_typed_data_utils` (#1742)
* Add `RevertError`, `StringRevertError`, `AnyRevertError` types and associated utilities (#1761)
* Update `RevertError` construction to produce a readable `Error` message (#1819)
* Add `Error` -> `RevertError` functions (#1819)
* Add `toStringTag` symbol to `RevertError` (#1885)

v4.3.3 - May 10, 2019

* Fixed spelling error in ABI Encoder error message (#1808)

v4.3.2 - Invalid date

* Support for ABI encoding multibyte strings (fixes issue #1723) (#1806)

v4.3.1 - April 11, 2019

* Dependencies updated

v4.3.0 - March 21, 2019

* Added `startProviderEngine` to `providerUtils`. Preventing excess block polling (#1695)

v4.2.3 - March 20, 2019

* Dependencies updated

v4.2.2 - March 1, 2019

* Fix issue where process is not defined in browser context (#1660)

v4.2.1 - February 26, 2019

* Dependencies updated

v4.2.0 - February 25, 2019

* Export providerUtils which helps standardize all supported provider interfaces into the ZeroExProvider interface (#1627)
* Add `logUtils.table` and `logUtils.header` (#1638)

v4.1.0 - February 9, 2019

* Added method decoding to AbiDecoder (#1569)

v4.0.4 - Invalid date

* Cleaner signature parsing (#1592)

v4.0.3 - February 7, 2019

* Dependencies updated

v4.0.2 - February 6, 2019

* ABI Decode NULL for all data types (#1587)

v4.0.1 - February 5, 2019

* ABI Decode NULL as False (#1582)

v4.0.0 - Invalid date

* Upgrade the bignumber.js to v8.0.2 (#1517)

v3.0.1 - January 15, 2019

* Dependencies updated

v3.0.0 - January 11, 2019

* Make `promisify` resolve when the callback error is undefined. (#1501)

v2.1.1 - January 9, 2019

* Add `should` prefix to names of properties in EncodingRules and DecodingRules (#1363)

v2.1.0 - Invalid date

* Add `logWithTime` to `logUtils` (#1461)

v2.0.8 - December 13, 2018

* Dependencies updated

v2.0.7 - December 11, 2018

* Optimized ABI Encoder/Decoder. Generates compressed calldata to save gas. Generates human-readable calldata to aid development.

v2.0.6 - November 21, 2018

* Dependencies updated

v2.0.5 - November 14, 2018

* Dependencies updated

v2.0.4 - November 9, 2018

* Dependencies updated

v2.0.3 - October 18, 2018

* Dependencies updated

v2.0.2 - October 4, 2018

* Dependencies updated

v2.0.1 - October 2, 2018

* Dependencies updated

v2.0.0 - September 28, 2018

* Make abi_decoder compatible with ethers ^4.0.0 (#1069)

v1.0.11 - September 25, 2018

* Dependencies updated

v1.0.10 - September 25, 2018

* Dependencies updated

v1.0.9 - September 21, 2018

* Dependencies updated

v1.0.8 - September 5, 2018

* Dependencies updated

v1.0.7 - August 27, 2018

* Dependencies updated

v1.0.6 - August 24, 2018

* Dependencies updated

v1.0.5 - August 14, 2018

* Increased BigNumber decimal precision from 20 to 78 (#807)
* Store different ABIs for events with same function signature and different amount of indexed arguments (#933)

v1.0.4 - July 26, 2018

* Dependencies updated

v1.0.3 - July 26, 2018

* Dependencies updated

v1.0.2 - July 26, 2018

* Dependencies updated

v1.0.1 - July 23, 2018

* Add `AbortController` polyfill to `fetchAsync` (#903)

v1.0.0 - July 19, 2018

* Add `fetchAsync` which adds a default timeout to all requests (#874)

v0.7.3 - July 18, 2018

* Dependencies updated

v0.7.2 - July 9, 2018

* Added errorUtils.spawnSwitchErr
* Add logUtils.warn (#589)
* Fixes uncaught Error in abi_decoder (#763)

v0.7.1 - June 19, 2018

* Dependencies updated

v0.7.0 - May 31, 2018

* Incorrect publish that was unpublished

v0.6.2 - May 22, 2018

* Dependencies updated

v0.6.1 - May 4, 2018

* Dependencies updated

v0.6.0 - May 4, 2018

* Update ethers-contracts to ethers.js (#540)

v0.5.2 - April 18, 2018

* Export NULL_BYTES constant (#500)

v0.5.1 - April 11, 2018

* Dependencies updated

v0.5.0 - April 2, 2018

* Make `AbiDecoder.addABI` public (#485)

v0.4.4 - April 2, 2018

* Dependencies updated

v0.4.3 - March 17, 2018

* Add `@types/node` to dependencies since `intervalUtils` has the `NodeJS` type as part of its public interface.

v0.4.2 - March 17, 2018

* Consolidate all `console.log` calls into `logUtils` in the `@0xproject/utils` package (#452)

v0.4.0 - March 3, 2018

* Use `ethers-contracts` as a backend to decode event args (#413)
* Move web3 types from devDep to dep since required when using this package (#429)

v0.3.2 - February 8, 2018

* Fix publishing issue where .npmignore was not properly excluding undesired content (#389)

v0.3.0 - February 4, 2018

* Fix a bug related to event signature collisions (argument indexes aren't included in event signatures) in the abi_decoder. The decoder used to throw on unknown events with identical signatures as a known event (except indexes). (#366)

v0.2.0 - January 16, 2018

* Add `onError` parameter to `intervalUtils.setAsyncExcludingInterval` (#312)
* Add `intervalUtils.setInterval` (#312)