Peatio 2.5.0 (August 7, 2020)
Overview
We are pleased to present Peatio Open Source 2.5.0.
This release notes is must-read for migrating from older versions.
Breaking changes
Rewrite deposit collection flow #2636 (mnaichuk)
- Remove amqp publish and add new deposit state
- Remove amqp deposit workers (deposit_collection and deposit_collections_fees daemons)
- Introduce SQL based deposit daemon
- Add deposit collection flow documentation
Documentation for new deposit collection flow
New Features
- Feature: PnL calculation for traders (calj)
- Uses deposits, withdrawals, trades, adjustments and simple transfers
- Supports multi-level conversions
Increase time precision to milliseconds for deposits, withdrawals, trades and adjustments Documentation for PNL calculation
Move data from main database to archive database #2632 (mnaichuk)
- Add stored procedure execution from rake task
- Delete old cancelled orders without trades
- Add copy orders to the archive database
- Close orders older than MAX_AGE
Documentation list: 1. Order close job 2. Order archive job 3. Order liabilities compact job
AML integration #2589 (mnaichuk)
- Add AMLplugin system
- Add AML functions for Beneficiary model
- Store deposits source addresses
- Add admin beneficiary api
- Add refund model
Add wallet balances. Add cron job for wallet balances update (mnaichuk)
Add CronJob for periodic call and save platform wallets balances to the DB. Balances are updated every minute.
Enhancements
- Add possibility to import and export Operation::Accounts #2721 (dpatsora)
- Add export:configs Rake task (#2693) #2706 (mnaichuk)
- Optimize PnL main query #2688 (calj)
- Trigger custom image build #2695 (josadcha)
- Update CI to build images for branches matching {fix,integration}/* #2677 (calj)
- Update sassc & ffi dependencies #2673 (calj)
- Add from_addresses on deposit creation #2657 (mnaichuk)
- Enhancement: Filter trade by type && expose received_amount (chumaknadya)
- Accounting: add member_id in platform revenues #2607 (calj
- Add jobs table #2649 (mnaichuk)
- Add rake task for distribution #2631 (mnaichuk)
- Expose maker & taker fee for order entity (#2627) (vpetrusenko)
- Add caching for the most used public endpoints #2625 (mnaichuk)
- Add to Currency model description, homepage and price #2601 (mnaichuk)
- Feature: Add ability to skip deposit collection on hot wallet #2613 (mnaichuk)
- Enhancement: add pagination to POST management/accounts/balances #2603 (ec)
- Bump peatio-electrum plugin to 2.6.1 #2592 (calj)
- [Snyk] Security upgrade kaminari from 1.1.1 to 1.2.1 #2586 (snyk-bot)
- Feature: Add ability to resend beneficiary pin #2591 (dpatsora)
- Enhancement: add management api to retrieve non-zero balances #2570 (ec)
- Add ability to set user rate limit #2580 (Kohelbekker)
- Change Influxdb configuration names #2573 (mnaichuk)
- [Snyk] Fix for 5 vulnerabilities #2563 (snyk-bot)
- Improve market states for api #2572 (mnaichuk)
- Add export rake task for engines #2571 (mnaichuk)
- Feature: Add filters for currencies, markets and wallets #2567 (dpatsora)
- Improve orders and trades filtes. Add data field in engine admin API #2565 (mnaichuk)
- Update irix version #2561 (mnaichuk)
- Feature: Add Management API for beneficiaries #2559 (chumaknadya)
- Misc improvements #2556 (calj)
- Delete encrypt for market data. Update upstream daemon #2543 (mnaichuk)
- Feature: Add user portfolio API module #2537 (mnaichuk)
Bug Fixes
- Update peatio-bitgo version. Change rid length for withdraw #2668 (mnaichuk)
- Fix wallet balance parse in the daemons #2666 (mnaichuk)
- Skip pending ERC-20 transaction in blockchain daemon #2659 (mnaichuk)
- Remove inqury from TradingFee model (mnaichuk)
- Fix format function in TickersJob (mnaichuk)
- Remove date parsing in api/v2/public/version #2623 (calj)
- Fix secret replace in deposit collection #2620 (mnaichuk)
- Update configuration for database pool #2619 (mnaichuk)
- Add symbolize keys to WalletService init. Update wallet templates #2616 (mnaichuk)
- Fix versionning generation in CI #2604 (calj)
- Fix: Bitgo address generation #2608 (chumaknadya)
- Fix: Update error handling for trading_fee api #2595 (mnaichuk)
Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination #2602 (mnaichuk)