Skip to content

Latest commit

 

History

History
377 lines (240 loc) · 23.7 KB

CHANGELOG.md

File metadata and controls

377 lines (240 loc) · 23.7 KB

Changelog

Documents changes that result in:

  • smart contracts redeployment, especially ABI changes
  • API changes in the package (externally used constants, externally used utilities and scripts)
  • important bug fixes between releases

[0.50.2]

  • Reduce dependencies and dependency updates
  • Drop python3.7 support

[0.50.0]

  • #1580 Establish better naming convention for time related values
  • #1550 Replace settle timeout range with one constant value
  • #1582 Move settle timeouts from channels to token networks
  • #1565 Switch from block numbers to dates/time values
  • #1612 Add deployment option for user deposit withdraw timeout
  • #1608 Extend documentation for Arbitrum gas prices
  • #1623 Add API endpoint to verify Arbitrum One deployments

[0.40.3]

  • #1602 Upgrade and unpin web3 dependency

[0.40.2]

  • #1584 Upgrade web3 and eth-tester dependencies

[0.40.1]

  • #1576 Add missing mypy_extensions requirement

[0.40.0]

  • #1517, #1522 Upgrade to solidity 0.8 series
  • #1519 Use block.chainid in contracts instead of a deploy time value
    • This changes the ABI of the TokenNetworkRegistry and TokenNetwork contract constructors

[0.39.0]

  • #81 Add error messages to all contracts
  • #1182 Add support for reusing the ServiceRegistry in the deployment scripts
  • #1383 Add TokenNetwork.cooperativeSettle, which settles the channel in a single transaction when the participants cooperate
  • #1436 Add TokenNetwork.openChannelWithDeposit, which combines opening and depositing to a channel
  • #1481 Allow removing the limits after deployments
  • #1482 Add UserDeposit.withdrawToBeneficiary, which allows withdrawing to a beneficiary
  • #1494 Add both participants addresses to the TokenNetwork.ChannelSettled event
  • #1496 Enable contract optimizations

[0.38.0]

  • #1462 TokenNetwork: allow updating channel state anytime before a channel is settled
  • #1464 Use RDN as default token for service payments

[0.37.6]

  • #1456 Add Python 3.9 support

[0.37.5]

  • Add missing deployment files for the unstable deployment done in 0.37.2.

[0.37.3]

  • #1443 Remove semver dependency, which was causing version conflicts for other packages using raiden-contracts

[0.37.2]

  • #1439 Provide additional unstable (development) deployment on goerli testnet
  • #1430 Allow reusing the ServiceRegistry when deploying contracts

[0.37.0]

  • New deployments for both mainnet and testnets (goerli, rinkeby, ropsten)
  • Updated disclaimer

[0.37.0-b3]

  • Fix CONTRACTS_VERSION, which was outdated in 0.37.0-b2.

[0.37.0-b2]

  • #1376 Support verification of TokenNetworks
  • Test release of contracts on mainnet for Brainbot-internal testing. Do not use for anything else! The deprecation switch will be triggered soon!

[0.37.0-beta]

  • Practice deployment for next mainnet release

[0.36.2]

  • #1372 Rename network to chain for consistency
  • #1371 Update web3 and improve typing
  • #1363 Update solc to 0.6.3

[0.36.1]

  • #1339 Update web3 and related dependencies. This also enables an Istanbul compatible test chain.
  • #1361 Require --service-registry-controller during service contracts deployment.
  • #1360 Add Python 3.8 support

[0.36.0]

  • #1355 update solc version to 0.5.16
  • allow unlimited number of TokenNetworks in testnet deployment

[0.35.0]

  • No code changes, just different parameters for testnet deployments than in 0.34. Settings are the same as in the 0.33 deployments, again.

[0.34.0]

  • #1318 add make install-dev.
  • #1350 remove support for deploying unlimited contracts

0.33.3 - 2019-10-24

  • #1313 fix deployment using --contracts-version CONTRACT_VERSION, even when data and data_CONTRACTS_VERSION contain different sources
  • #1299 fix consistency of data_0.25.2
  • #1306 move data_0.25.2 to data_0.33.0

0.33.2 - 2019-10-17

  • #1296 re-deploy service contracts
  • #1296 removed Kovan deployment files (perhaps people don't use them)

0.33.1 - 2019-10-15

  • #1288 fix MANIFEST.in
  • More keyword arguments in Python scripts

0.33.0 - 2019-10-12

  • #1260 Simplify the usage of ContractSourceManager. Users don't need to call compute_checksums() to initialize the object.
  • Some refactoring and typo fixes.

0.32.0 - 2019-09-25

  • The minimum settlement window is now shorter (20 blocks) on test networks.
  • #1213 etherscan_verify.py now fails when a source imports a nonexistent file.
  • Add many tests
  • #1205 When ServiceRegistry creates a new Deposit, ServiceRegistry asserts that the deadline is in the future.
  • #1238 Reward Proof now contains non_closing_address that goes together with non_closing_signature.

0.31.0 - 2019-08-20

  • #1163 MonitoringService.monitor() no longer works for service providers that are not registered in ServiceRegistry
  • #1177 When ServiceRegistry is deprecated, deposits can be immediately be withdrawn.

0.30.0 - 2019-08-15

  • #1150 Use different message ID for chnanelClose() and updateNonClosingBalanceProof()
  • #1148 Add TokenNetworkRegistry's address to MonitoringService's constructor arguments
  • #1160 Revert the upgrade web3.py and other dependencies
  • #1151 OneToN doesn't work for service providers not registered in ServiceRegistry

0.29.1 - 2019-08-13

  • #1153 Upgrade web3.py and other dependencies

0.29.0 - 2019-07-26

  • #1143 Add ServiceRegistry.hasValidRegistration() function that returns whether a given address has a valid registration.

0.28.0 - 2019-07-26

  • #1140 ServiceRegistry exposes the list of addresses that have made deposits

0.27.0 - 2019-07-23

  • #1136 ServiceRegistry has a deprecation switch.
  • #1132 ServiceRegistry has a controller that can change parameters.
  • #1116 ServiceRegistry's required deposit changes dynamically.
  • #1124 TokenNetwork's closeChannel() can be called by anybody on behalf of the closing participant.
  • #1118 TokenNetwork's ChannelClosed and NonClosingBalanceProofUpdated events contain balance_hash from the submitted balance proofs.
  • #1126 TokenNetwork's ChannelSettled event contains locksroots of the two sets of pending transfers.

0.26.0 - 2019-07-11

  • #1119 Changed the signature construction of monitoring reward proof so that a signature covers the whole reward proof
  • #1108 Added a new event DeprecationSwitch to TokenNetwork

0.25.1 - 2019-07-03

  • #1101 Add more gas measurements about CustomToken calls

0.25.0 - 2019-07-03

  • #1103 Add expiration_block argument to TokenNetwork.setTotalWithdraw().
  • #1099 Remove raiden_contracts.constants.GAS_REQUIRED_FOR* constants. Use instead raiden_contracts.contract_manager.gas_measurements().
  • #1079 Measure gas consumption of CustomToken.mint()
  • #1050 MonitoringService.claimReward() returns a boolean as the signature says

0.24.0 - 2019-06-19

  • #1023 Remove contract_version variable from the contracts
  • #1070 Type-annotate ChainIDs

0.23.0 - 2019-06-07

  • #1013 Remove EndpointRegistry contract
  • #1024 When OneToN checks the signature of an IOU, it considers MessageTypeId.IOU
  • #1062 Stopped using Merkle trees; instead the concatenation of all submitted locks is hashed
  • #1043 This Changelog is supposed to appear in the package

0.22.0 - 2019-06-03

  • #1034 Add gas.json in the package so gas_measurements(contracts_version) works.
  • #1025 MonitoringService.monitor() takes a signature that takes in the message ID.

0.21.0 - 2019-05-28

  • #1027 Add gas_measurements(contracts_version) that shows the gas measurements as a dictionary.
  • #988 Unlock-related functions' and events' arguments are renamed into sender and receiver

0.20.0 - 2019-05-17

  • #979 Start using SHA256 for the hashlock.
  • #979 Start accepting zero as the secret.

0.19.1 - 2019-05-14

  • #973 Stop forcing a development-time dependency during the usual installation

0.19.0 - 2019-05-09

  • #909 MonitoringService prioritizes services
  • #853 add chain_id in the IOU claims for OneToN
  • #928 #956 black formatter is enabled
  • #896 #941 Some Python code cleanup
  • #867 get_contracts_deployment_info() returns None instead of raising a ValueError when no deployment file is found.
  • #863 Deploy 0.4.0 version on Goerli

0.18.0 - 2019-04-12

  • #831 Add contracts_version=0.11.1 that includes Görli deployment

0.17.2 - 2019-04-06

  • #813 expose mypy type checking results to the other packages.

0.17.1 - 2019-04-02

  • #809 fix a bug in get_contracts_deployment_info().

0.17.0 - 2019-03-27

  • #711 Re-enable setTotalWithdraw() function of TokenNetwork contract.
  • #788 Fix a bug that prevented deploying 0.3._ TokenNetworks
  • #785 Require click>=7.0

0.16.0 - 2019-03-26

  • #775 Added contract_manager.get_contracts_deployed_info() that takes a module (SERVICES, RAIDEN or ALL) instead of services:bool
  • #775 Deprecated get_contracts_deployed() whose name sounded wrong and that had to be called twice.
  • #755 deploy script does not take --registry option anymore. Use --token-network-registry instead.

0.15.0 - 2019-03-19

  • #749 Fixed the problem where Monitoring Services were rewarded too late
  • #741 Removed raiden_contracts/contracts. Instead, please edit raiden_contracts/data/source directly.

0.14.0 - 2019-03-11

  • #720 Removed checks in MonitoringService.canMonitor() until the design is determined.
  • #696 ContractManager created with version=None has contracts_version == None
  • #678 Add a deployment-time configurable limit on the whole balance of UserDeposit
  • #678 Deployment script's service command takes an additional option --user-deposit-whole-limit

0.13.0 - 2019-03-04

  • #655 Deployment script's register command takes two additional options --channel-participant-deposit-limit and --token-network-deposit-limit
  • #655 TokenNetworkRegistry's createERC20TokenNetwork() function takes two additional arguments _channel_participant_deposit_limit and _token_network_deposit_limit.
  • #655 TokenNetwork's constructor takes two additional arguments _channel_participant_deposit_limit and _token_network_deposit_limit
  • #652 TokenNetworkRegistry's constructor takes an additional argument max_number_of_token_networks
  • #651 Removed flavors

0.12.0 - 2019-02-28

  • Add data/gas.json that contains gas measurements on the development version.
  • Move Raiden contracts to "raiden" subdir, so that the imports match the directory layout.
  • contracts_data_path, contracts_precompiled_path and contracts_gas_path require an additional flavor argument (either Flavor.Limited or Flavor.Unlimited).
  • Started providing Solidity sources next to the deployment data in raiden_contracts/data

0.11.0 - 2019-02-14

  • Deployed on testnets with a new fake token for service payments.

0.10.1 - 2019-02-13

  • #557 Revert the new gas measurements

0.10.0 - 2019-02-13

0.9.0 - 2019-01-23

  • https://github.com/raiden-network/raiden-contracts/compare/v0.8.0...v0.9.0
  • various changes in the smart contract comments
  • various documentation updates
  • internal tests structure updates
  • addition of docstrings in the existing tests
  • #426 Add support for deploying the testnet 0.3._ version (not to be used in production)
  • #407 Fix bug in deployment that recompiled the contracts
  • #396 Introducing mypy in Travis builds
  • #379 #404 Removing raiden-libs dependency
  • #372 MSC - Prefix reward hash with "Ethereum Signed Message"
  • #366 Additional MonitoringService require check
  • #363 Refactor equals() function
  • #360 Update monitoring service to core contracts changes

0.8.0 - 2018-11-12

Changed

0.7.0 - 2018-10-25

Changed

0.6.0 - 2018-10-17

Changed

https://github.com/raiden-network/raiden-contracts/compare/v0.5.0...v0.6.0

0.5.1 - 2018-10-12

Changed

https://github.com/raiden-network/raiden-contracts/compare/v0.5.0...v0.5.1

0.5.0 - 2018-10-11

Changed

https://github.com/raiden-network/raiden-contracts/compare/v0.4.0...v0.5.0

0.4.1 - 2018-10-05

Changed

https://github.com/raiden-network/raiden-contracts/compare/v0.4.0...v0.4.1

0.4.0 - 2018-09-21

Changed

https://github.com/raiden-network/raiden-contracts/compare/v0.3.0...v0.4.0

0.3.1 - 2018-09-17

Changed

https://github.com/raiden-network/raiden-contracts/compare/v0.3.0...v0.3.1

0.3.0 - 2018-09-07

Changed

https://github.com/raiden-network/raiden-contracts/compare/v0.2.0...v0.3.0

0.2.0 - 2018-08-10

Changed

  • First python package release