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

Releases: 0xProject/0x-monorepo

0x monorepo - 44e516a

13 Dec 22:59
44e516a
Compare
Choose a tag to compare

0x monorepo - 2abd8fe

13 Dec 22:31
2abd8fe
Compare
Choose a tag to compare

@0x/[email protected]

  • Improve async-suffix rule to check functions too, not just methods (#1425)

0x monorepo - 96b8100

11 Dec 23:41
Compare
Choose a tag to compare

@0x/[email protected]

  • Update SRA order provider to include Dai

@0x/[email protected]

  • Fix bug in wallet signature type verification (#1414)

@0x/[email protected]

  • Fix bug where we were appending base path to absolute imports (e.g NPM imports) (#1311)

@0x/[email protected]

  • NPMResolver now supports scoped packages (#1311)

@0x/[email protected]

  • Add LengthMismatch and LengthGreaterThan3Required revert reasons (#1224)
  • Add RevertReasons for DutchAuction contract (#1225)

@0x/[email protected]

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

@0x/[email protected]

  • Return value and gasPrice as BigNumbers to avoid loss of precision errors (#1402)

0x monorepo - 4861e48

28 Nov 10:54
4861e48
Compare
Choose a tag to compare

@0x/[email protected]

  • Update Exchange artifact to receive ZRX asset data as a constructor argument (#1309)

@0x/[email protected]

  • Redeployed Rinkeby with testnet Exchange artifact (#1318)
  • Added Ganache snapshot addresses for network 50 (#1318)

@0x/[email protected]

  • Update Exchange artifact to receive ZRX asset data as a constructor argument (#1309)

@0x/[email protected]

  • Add CLI 0x-migrate for running the 0x migrations in a language-agnostic way (#1324)
  • Deploy testnet Exchange arfitact. Previously mainnet Exchange artifact was deployed. (#1309)
  • Fund the Forwarder with ZRX for fees. (#1309)

@0x/[email protected]

  • Unmarshall mined transaction receipts (#1308)

0x monorepo - f46a49f

21 Nov 21:12
Compare
Choose a tag to compare

@0x/[email protected]

  • deployFrom0xArtifactAsync additionally accepts artifacts that conform to the SimpleContractArtifact interface (#1298)

@0x/[email protected]

  • Rinkeby Deployment

@0x/[email protected]

  • Add a nonce field for TxOpts so that it's now possible to re-broadcast stuck transactions with a higher gas amount (#1292)

@0x/[email protected]

  • Export all type declarations used by the public interface, as well as the ContractAddresses mapping (#1301)

@0x/[email protected]

  • Add the SimpleContractArtifact type, which describes the artifact format published in the @0x/contract-artifacts package (#1298)

@0x/[email protected]

  • Add unmarshalling of transaction receipts (#1291)
  • Return undefined instead of null if transaction receipt not found (#1291)

0x monorepo - fe1b7f1

14 Nov 15:21
fe1b7f1
Compare
Choose a tag to compare

@0x/[email protected]

  • update getBuyQuoteAsync to return eth spent on assets instead of per unit amount (#1252)

@0x/[email protected]

  • Fix the bug when order watcher was throwing an error on order removal when maker token was ZRX (#1259)

0x monorepo - a824264

13 Nov 18:46
a824264
Compare
Choose a tag to compare

@0x/[email protected]

  • Start jsonRpcRequestId at 1, not 0 as 0 breaks the web3.js websocket RPC provider (#1227)
  • Fix the bug when order watcher was trying to convert undefined to an object in case of CancelUpTo event

0x monorepo - 0ebbbdf

12 Nov 13:34
0ebbbdf
Compare
Choose a tag to compare

@0x/[email protected]

  • Add signature validation, regular cancellation and cancelledUpTo checks to validateOrderFillableOrThrowAsync (#1235)
  • Improved the errors thrown by validateOrderFillableOrThrowAsync by making them more descriptive (#1235)
  • Throw previously swallowed network errors when calling validateOrderFillableOrThrowAsync (see issue: #1218) (#1235)

@0x/[email protected]

  • Improve schemas by enforcing that amounts that must be whole numbers (e.g Order asset amounts) no longer allow decimal amounts (#1173)
  • Add schemas from @0x/connect (#1250)

@0x/[email protected]

  • Add signature validation, regular cancellation and cancelledUpTo checks to validateOrderFillableOrThrowAsync (#1235)
  • Improved the errors thrown by validateOrderFillableOrThrowAsync by making them more descriptive (#1235)
  • Throw previously swallowed network errors when calling validateOrderFillableOrThrowAsync (see issue: #1218) (#1235)
  • Modified the AbstractOrderFilledCancelledFetcher interface slightly such that isOrderCancelledAsync accepts a signedOrder instead of an orderHash param (#1235)

0x monorepo - b4a11de

09 Nov 05:33
b4a11de
Compare
Choose a tag to compare

@0x/[email protected]

  • getAssetBuyerForProvidedOrders factory function now takes 3 args instead of 4 (#1187)
  • the OrderProvider now requires a new method getAvailableMakerAssetDatasAsync and the StandardRelayerAPIOrderProvider requires the network id at init. (#1203)
  • No longer require that provided orders all have the same maker and taker asset data (#1197)
  • Fix bug where BuyQuoteInfo objects could return totalEthAmount and feeEthAmount that were not whole numbers (#1207)
  • Fix bug where default values for AssetBuyer public facing methods could get overriden by undefined values (#1207)
  • Lower default expiry buffer from 5 minutes to 2 minutes (#1217)

@0x/[email protected]

  • Update Forwarder addresses (#1192)

@0x/[email protected]

  • Update Forwarder artifact (#1192)

@0x/[email protected]

  • Fix bug in ForwarderWrapper where feeRecipientAddress was not correctly normalized. (#1178)

@0x/[email protected]

  • Improve schemas by enforcing that amounts that must be whole numbers (e.g Order asset amounts) no longer allow decimal amounts (#1173)

@0x/[email protected]

  • Fix bug in getTransactionByHashAsync which was causing the return value to have the wrong type (raw fields instead of unmarshalled fields). (#1177)

0x monorepo - 8b62b35

18 Oct 14:06
8b62b35
Compare
Choose a tag to compare

[email protected]

  • Add support for eth_signTypedData. (#1102)
  • Added MetamaskSubprovider to handle inconsistencies in Metamask's signing JSON RPC endpoints. (#1102)
  • Removed SignerType (including SignerType.Metamask). Please use the MetamaskSubprovider to wrap web3.currentProvider. (#1102)
  • Updated to use new modularized artifacts and the latest version of @0xproject/contract-wrappers (#1105)
  • Make web3-provider-engine types a 'dependency' so it's available to users of the library (#1105)
  • Export new AssetData type from types (#1131)

@0x/[email protected]

  • Add gasLimit and gasPrice as optional properties on BuyQuoteExecutionOpts
  • Export BuyQuoteInfo type (#1131)
  • Updated to use new modularized artifacts and the latest version of @0xproject/contract-wrappers (#1105)
  • Add gasLimit and gasPrice as optional properties on BuyQuoteExecutionOpts (#1116)
  • Add docs:json command to package.json (#1139)
  • Add missing types to public interface (#1139)

@0x/[email protected]

  • Initial release (#1105)

@0x/[email protected]

  • Initial release (#1105)

@0x/[email protected]

  • Add optional validation to the forwarder wrapper methods
  • Updated to use new modularized artifacts. (#1105)
  • Top-level ContractWrappers class has a new optional contractAddresses parameter. (#1105)
  • Default contract addresses are no longer stored in artifacts and are instead loaded from the @0xproject/contract-addresses package. (#1105)
  • Most contract addresses are now defined at instantiation time and are available as properties (e.g., exchangeWrapper.address) instead of methods (e.g., exchangeWrapper.getContractAddress()). (#1105)
  • Removed setProvider method in top-level ContractWrapper class and added new unsubscribeAll method. (#1105)
  • Some properties and methods have been renamed. For example, some methods that previously could throw no longer can, and so their names have been updated accordingly. (#1105)
  • Removed ContractNotFound errors. Checking for this error was somewhat ineffecient. Relevant methods/functions now return the default error from web3-wrapper, which we feel provides enough information. (#1105)

@0x/[email protected]

  • Make web3-provider-engine types a 'dependency' so it's available to users of the library (#1105)

[email protected]

  • Add JSONRPCResponseError and error field on JSONRPCResponsePayload. (#1102)

@0x/[email protected]

  • Updated to use new @0xproject/contract-artifacts and @0xproject/abi-gen-wrappers packages (#1105)

@0x/[email protected]

  • Convert all schemas to JSON files so that they can be used with json-schema implemenations in other programming languages. (#1145)

@0x/[email protected]

  • Contract artifacts have been moved to the new @0xproject/contract-artifacts package. v1 migrations have been removed. runMigrationsAsync returns the addresses of the contracts that were deployed. (#1105)

@0x/[email protected]

  • Added ecSignOrderAsync to first sign an order using eth_signTypedData and fallback to eth_sign. (#1102)
  • Added ecSignTypedDataOrderAsync to sign an order exclusively using eth_signTypedData. (#1102)
  • Rename ecSignOrderHashAsync to ecSignHashAsync removing SignerType parameter. (#1102)
  • Use AssetData union type for function return values. (#1131)

@0x/[email protected]

  • Added getStats function and returns a Stats object (#1118)
  • Updated to use new modularized artifacts and the latest version of @0xproject/contract-wrappers. Constructor has a new optional contractAddresses parameter. (#1105)

@0x/[email protected]

  • Make @types/solidity-parser-antlr a 'dependency' so it's available to users of the library (#1105)

@0x/[email protected]

  • Make @loopback/openapi-v3-types a 'dependency' so it's available to users of the library (#1105)

@0x/[email protected]

  • Add MetamaskSubprovider to handle inconsistent JSON RPC behaviour (#1102)
  • Add support for eth_signTypedData in wallets Mnemonic, Private and EthLightWallet (#1102)
  • Make web3-provider-engine types a 'dependency' so it's available to users of the library (#1105)

@0x/[email protected]

  • Added EIP712Parameter EIP712Types EIP712TypedData for EIP712 signing (#1102)
  • Added ZeroExTransaction type for Exchange executeTransaction (#1102)
  • Add AssetData union type (type AssetData = ERC20AssetData | ERC721AssetData) (#1131)

@0x/[email protected]

  • Add signTypedData to perform EIP712 eth_signTypedData. (#1102)
  • Web3Wrapper now throws when an RPC request contains an error field in the response. Previously errors could be swallowed and undefined returned. (#1102)