Peatio 2.4.0 (March 23, 2020)
Overview
We are pleased to present Peatio Open Source 2.4.0.
This release notes is must-read for migrating from older versions.
Breaking changes
Deleted workers: * Pusher Market * Pusher Member
Moved EventApi and AMQP modules to lib folder.
Record Trades and K-lines to InfluxDB #2441 (mnaichuk)
- Add InfluxDB client;
- Add new AMQP daemon InfluxDB writer;
- Rewrite Public Trade endpoint to return trades from influx;
- Rewrite Public K-line endpoint to return k-lines from influx;
- Rewrite k-line daemon;
- Rewrite KlineService;
- Update backend.yml;
- Update drone.yml;
- Update ./bin/setup;
- Update daemons.god;
Add ability to read tickers from influx #2480 (mnaichuk)
- Add Cronjob daemon with Jobs::Cron::KLine, Jobs::Cron::Ticker jobs;
- Remove MarketTicker, K, SlaveBook and GlobalState daemons;
- Remove Global.rb;
- Add TickersService and KLineSerivce;
- Update API and WS API with new services.
New Features
Add Peatio Upstream worker. Add Opendax Upstream #2458 (mnaichuk)
- Introduce Upstream Worker;
- Add encrypted data field to market model;
- Upstream will initialize from market data:
- {"upstream"=>{"driver"=>"opendax", "target"=>"btcusdt", "rest"=>"https://url", "websocket"=>"wss://url"}}
- Add Upstream::Peatio::Opendax class;
This stream sends a snapshot of the order-book at the subscription time, then it sends increments. Volumes information in increments replace the previous values. If the volume is zero the price point should be removed from the order-book. Documentation for incremental order-book
Add Peatio Bitgo plugin. Documentation for bitgo plugin Add Peatio public Webhook endpoint for deposit and withdraw detection through Bitgo events.
Enhancements
- Replace legacy authentication with jwt-rack #2450 (ysv)
- Add default value for data market field #2553 (mnaichuk)
- Use scheduling in blockchain daemon to reflect config changes in DB #2552 (ysv)
- Add docs about engines #2546 (dnfd)
- Update gems dependencies #2549 (mnaichuk)
- Delete encrypt for market data. Update upstream daemon #2543 (mnaichuk)
- Add manager role #2540 (mnaichuk)
- Add admin api for engines #2538 (mnaichuk)
- Update peatio-core version #2536 (mnaichuk)
- Update column type for data engines #2534 (mnaichuk)
- Feature: add POST admin/blockchain/process_block #2526 (ec)
- Enhancement: Improve deposit model. Add ability to collect through api #2510 (mnaichuk)
- Websocket documentation for peatio 2.4 #2505 (calj)
- Fix: Ability to save wallet secret on update #2501 (chumaknadya)
- Update irix and peatio-bitgo versions #2532 (mnaichuk)
- Feature: Include post_only order in market/depth #2531 (dnfd)
- Remove old helpers #2528 (mnaichuk)
- Return wallet balance in admin api #2522 (mnaichuk)
- Feature: Alive check for a blockchain node to get the latest block #2521 (chumaknadya)
- Enhancement: Add ability to fail withdraw from skipped state #2519 (chumaknadya)
- Feature: Expose deposit address && beneficiaries for admin endpoints #2518 (chumaknadya)
- Remove LOCKING_BUFFER_FACTOR from buy market order #2509 (mnaichuk)
- Add feature to search currency by code or name in /public/currencies #2516 (ysv)
- Enhancement: Add Kaigara installation to the Dockerfile #2514 (vshatravenko)
- Update export task with data field for market #2513 (mnaichuk)
- Update peatio plugins #2503 (mnaichuk)
- Update websocket API documentation for peatio 2.4 #2502 (calj)
- Enhancement: Improve deposits, withdrawals and transactions filters #2492 (mnaichuk)
- Redeploy on master.devkube.com #2491 (dpatsora)
- Features and improvements pack #2490 (akulakovaa)
- Setup redeploy on devkube #2489 (dpatsora)
- Feature: add POST management/currencies/list API endpoint #2487 (ec)
- Add Trading docs #2478 (mnaichuk)
- Update Peatio API documentation #2477 (mnaichuk)
- Improve API filtering for order history #2476 (mnaichuk)
- Prepare doc for Peatio v2.4 migration #2475 (dpatsora)
- Expose UUID #2473 (dnfd)
- Enhancement: Delete total header from admin API endpoints #2468 (chumaknadya)
- Update to Rails 5.2.4 #2466 (mod)
- Enhancement: Add validation for trading fees, blockchains, transfers #2464 (chumaknadya)
- Add filters by deposit/withdraw states #2463 (chumaknadya)
- Add finex as third party engine support. Add to_reject withdrawal state. Add maker role #2459 (mnaichuk)
Bug Fixes
- Skip pending ERC-20 transaction in blockchain daemon #2658 (mnaichuk)
- Fix: Avoid to use join in admin API for tables with a large amount of data. Change Kaminari usage in pagination #2602
- Fix: Remove nested SQL transactions in blockchain daemon. Update deposit model #2548 (mnaichuk)
- Fix: Update UID and GID to the app user for all project files #2499 (apaulb)
- Fix file permissions #2496 (apaulb)
- Fix: Add docs && changelog generation on master branch #2515 (chumaknadya)
- Fix: add ability to cancel order by uuid #2508 (mikoim)
- Fix: Add created_at to transaction entity #2498 (chumaknadya)
- [Snyk] Fix for 1 vulnerabilities #2494 (snyk-bot)
- Fix: Clean rails built in warnings #2483 (mnaichuk)
- Fix ./bin/setup #2482 (akulakovaa)
- Fix: add ability to search order by uuid #2481 (akulakovaa)
- Initialize Blockchain and Wallet adapters in service creation. Updat… #2474 (mnaichuk)
- Fix: Collect deposits after sql transaction #2471 (mnaichuk)
- Publish events to specific exchange #2470 (dnfd)
- Fix: Change beneficiary address validation #2462 (chumaknadya)
- Fix: Add report exception to screen for OrderProcessor initialize #2453 (mnaichuk)