Skip to content

Testnet Release - v0.16.0 - The Supreme Archer

Pre-release
Pre-release
Compare
Choose a tag to compare
@agatsoh agatsoh released this 01 Apr 19:37
· 1059 commits to master since this release
46d876f

🏹 New Raiden Light Client SDK, dApp and CLI Release

INFO: The Light Client SDK, dApp and CLI are work in progress, are not
production-ready, and currently can only be used on the Ethereum Testnets.

Summary of features that went in:

  • The SDK can now charge mediation fees, flat as well as proportional, the options for which are also included in the CLI.
  • The user_deposit endpoint with possibility of deposit, withdraw and planned withdraw with necessary changes in the SDK
  • Initial sync optimizations
  • Removing raiden transport through rooms and relying on toDevice and WebRTC channels.
  • Removing SDK's reliance on WebRTC so that SDK will be fully functional in environments that do not support it, through the toDevice messages
  • Changes in various screens for the dapp to adapt it for full fledged mobile usage.
  • Additional services URLs can be passed as a list in CLI as well as mentioning them more number of times through options passed to the --pathfindingServiceAddress

Raiden SDK

Added

  • #1342 Flat (fixed) mediation fees for mediator nodes
  • #1343 Proportional (per transfer amount) mediation fees for mediator nodes
  • #2581 config.pfsSafetyMargin now also accepts a [f, a] pair, which will add f*fee + a*amount on top of PFS's estimated fee, if one wants finer-grain control on safety margin which is added on the transfer to be initiated.
  • #2629 config.autoUDCWithdraw (default=true) to allow disabling automatically completing a planned UDC withdraw, and new Raiden.getUDCWithdrawPlan and Raiden.withdrawFromUDC to check and perform UDC withdraw when not in auto mode.
  • #2644 Raiden.getUDCTotalDeposit method to fetch UDC total_deposit, base of depositToUDC amounts

Changed

  • #2536 Wait for global messages before resolving deposits and channel open request
  • #2566 Optimize initial sync and resume previous sync filters scans
  • #2570 Support multiple custom services in config.pfs
  • #2635 BREAKING Renamed Raiden.planUdcWithdraw to Raiden.planUDCWithdraw for consistency
  • #2645 Wait for condition to be ready on settleChannel and withdrawFromUDC in case it's called early instead of erroring

Removed

  • #2550 BREAKING Remove migration of legacy state at localStorage during creation
  • #2567 BREAKING Remove support for peer-to-peer communication through Matrix rooms; now supports only toDevice and WebRTC channels.
  • #2600 wrtc auto-polyfill; now, if you're using raiden-ts in a NodeJS project, you're expected to polyfill wrtc or some WebRTC-compatible API to your global object; in exchange, the SDK doesn't require WebRTC, and therefore should work fine on environments without it (through matrix' toDevice messages).

Fixed

  • #2596 Fix unlocking sent transfers even if receiving is disabled

Raiden dApp

Fixed

  • #2590 Fix back arrow not visible on account screen when disconnected
  • #2606 Fix NoTokens screen not being displayed
  • #2420 Fix withdraw and deposit button for channels on mobile
  • #2421 Fix account menu on mobile devices by making it scrollable
  • #2422 Fix broken layout on RaidenAccount screen for mobile virtual keyboard
  • #2383 Fix broken handling of path/query parameters of transfer route
  • #2607 Fix endless navigation loop when canceling open channel route
  • #2617 Fix automatic token selection on external open channel event for new accounts

Added

  • #1515 Button for disconnecting the dApp

Raiden CLI

Changed

  • #2570 Support list of additional services URLs to be passed to --pathfindingServiceAddress
  • #2581 CLI now defaults to 3% * fee + 0.05% * amount for fee safety margin, same as PC

Added

  • #1342 --flat-fee param to set a fixed fee (per token) to be taken on transfers being mediated