Initial commit
This commit is contained in:
155
docs/releases/2.6.0.md
Normal file
155
docs/releases/2.6.0.md
Normal file
@@ -0,0 +1,155 @@
|
||||
## Peatio 2.6.0 (December 11, 2020) ##
|
||||
|
||||
### Overview ###
|
||||
|
||||
We are pleased to present Peatio Open Source 2.6.0.
|
||||
|
||||
This release concentrated on changes for user deposit addresses generation, new wallet clients, platform reliability, and security updates:
|
||||
|
||||
1. Unify deposit addresses for ETH & ERC20 tokens.
|
||||
2. Global Withdraw Limits.
|
||||
3. Implement adaptive gas_price setting.
|
||||
4. Opendax wallet client support.
|
||||
5. Yaml based admin and user permissions.
|
||||
6. PostgreSQL and MariaDB support.
|
||||
|
||||
This release note is a must-read for migrating from older versions.
|
||||
|
||||
### Breaking changes ###
|
||||
|
||||
- Global Withdraw Limits [\#2670](https://github.com/openware/peatio/pull/2670) ([mnaichuk](https://github.com/mnaichuk))
|
||||
|
||||
Introduce the admin's ability to set global withdrawal limits in one currency (the platform global currency) for users.
|
||||
Application of specific limits, depending on user KYC level and group.
|
||||
Time limits control for one day or one month period.
|
||||
|
||||
* Add admin and public API modules for withdrawal limits.
|
||||
* Add user endpoint for withdrawal sums for each period.
|
||||
|
||||
- Feature: Implement adaptive gas\_price setting [\#2684](https://github.com/openware/peatio/pull/2684) ([mnaichuk](https://github.com/mnaichuk))
|
||||
|
||||
Add the option "gas_price" to a currency with those possible values: `standard`, `safelow`, `fast`. By default, peatio will use the `standard` option. Make sure to change eth base currencies to those possible values.
|
||||
|
||||
- Feature: Unify deposit addresses for ETH & ERC20 tokens [\#2575](https://github.com/openware/peatio/pull/2575) ([mnaichuk](https://github.com/mnaichuk))
|
||||
|
||||
Now a user will get a single deposit address for ETH and ERC20 tokens. One deposit wallet will be able to have a few currencies.
|
||||
Make sure to run related migration and configure Wallet <> Currency relations after.
|
||||
|
||||
* Add Wallet <> Currency association
|
||||
* PaymentAddress now belongs to Member and a platform Wallet
|
||||
* Admin endpoints to add and delete a currency to a wallet
|
||||
|
||||
- Encrypt Beneficiary data [\#2702](https://github.com/openware/peatio/pull/2702) ([mnaichuk](https://github.com/mnaichuk))
|
||||
|
||||
Encrypt Beneficiary `data` field using vault transit. The migration will automatically insert data for existing beneficiaries.
|
||||
|
||||
- Feature: Add user permissions [\#2730](https://github.com/openware/peatio/pull/2730) ([chumaknadya](https://github.com/chumaknadya))
|
||||
|
||||
Introduce permissions for users with `cancan` based on the YAML file. Config [example](https://github.com/openware/peatio/blob/master/config/abilities.yml)
|
||||
|
||||
- Feature: Introduce yaml based admin permissions in peatio [\#2643](https://github.com/openware/peatio/pull/2643) ([chumaknadya](https://github.com/chumaknadya))
|
||||
|
||||
Introduce permissions for admin endpoints with `cancan` based on the YAML file. Config [example](https://github.com/openware/peatio/blob/master/config/abilities.yml)
|
||||
|
||||
### New Features ###
|
||||
|
||||
- PostgreSQL support [\#2714](https://github.com/openware/peatio/pull/2714) ([calj](https://github.com/calj))
|
||||
- Add the support of MariaDB ([calj](https://github.com/calj))
|
||||
|
||||
Databases documentation [postgress](https://github.com/openware/peatio/blob/master/docs/databases/postgresql.md) [mariadb](https://github.com/openware/peatio/blob/master/docs/databases/mariadb.md)
|
||||
|
||||
- Feature: Add Opendax wallet plugin [\#2735](https://github.com/openware/peatio/pull/2735) ([chumaknadya](https://github.com/chumaknadya))
|
||||
|
||||
* Feature: Add general wallet plugin
|
||||
- Use JWT to authenticate peatio to the wallet
|
||||
- Use SSL to secure the connection
|
||||
|
||||
* Minor changes for address creating
|
||||
|
||||
* Add ability to detect transaction from custom smart contract
|
||||
|
||||
Documentation for [Opendax Wallet](https://github.com/openware/peatio/blob/master/docs/peatio/opendax_wallet_plugin.md)
|
||||
Co-authored-by: Maksym Naichuk <mnaichuk@heliostech.fr>
|
||||
|
||||
- Feature: Add ability to cancel orders on upstream [\#2745](https://github.com/openware/peatio/pull/2745) ([dpatsora](https://github.com/dpatsora))
|
||||
|
||||
We allow the cancelation of Finex orders through peatio Admin | User API. It will process cancel using AMQP.
|
||||
|
||||
- Add Gnosis base plugin [\#2744](https://github.com/openware/peatio/pull/2744) ([mnaichuk](https://github.com/mnaichuk))
|
||||
|
||||
Gnosis class inherits from ETH plugin except for the creation of address and transaction methods. With the Tower Gnosis plugin, you can process `multisig` withdrawals! More info about [gnosis](https://gnosis-safe.io/)
|
||||
|
||||
- Feature: Implement smart position changing for market and currencies [\#2682](https://github.com/openware/peatio/pull/2682) ([chumaknadya](https://github.com/chumaknadya))
|
||||
|
||||
We introduced smart position changing for markets and currencies (reorder all records in case of insert, etc.). More info [here](https://github.com/openware/peatio/blob/master/app/models/helpers/reorder_position.rb)
|
||||
|
||||
|
||||
- Feature: limit number of currencies/markets [\#2660](https://github.com/openware/peatio/pull/2660) ([dinesh-skyach](https://github.com/dinesh-skyach))
|
||||
|
||||
Now you will be able to limit the number of currencies using ENV vars: MAX_CURRENCIES, MAX_MARKETS.
|
||||
|
||||
- Introduce CoinGecko API Endpoints [\#2698](https://github.com/openware/peatio/pull/2698) ([dpatsora](https://github.com/dpatsora))
|
||||
|
||||
- Introduce CMC API Endpoints [\#2696](https://github.com/openware/peatio/pull/2696) ([chumaknadya](https://github.com/chumaknadya))
|
||||
|
||||
### Enhancements ###
|
||||
|
||||
- Mask beneficiary account\_number on API level [\#2708](https://github.com/openware/peatio/pull/2708) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Add transfer\_type in deposit and withdraw [\#2664](https://github.com/openware/peatio/pull/2664) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Add rake task to fetch currency current price [\#2680](https://github.com/openware/peatio/pull/2680) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Create member via Management API [\#2681](https://github.com/openware/peatio/pull/2681) ([dpatsora](https://github.com/dpatsora))
|
||||
- Allow user to change the email [\#2750](https://github.com/openware/peatio/pull/2750) ([dpatsora](https://github.com/dpatsora))
|
||||
- Define token type in currency model [\#2672](https://github.com/openware/peatio/pull/2672) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Skip deposit fee collection transaction [\#2762](https://github.com/openware/peatio/pull/2762) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Delete symbol from currency table [\#2676](https://github.com/openware/peatio/pull/2676) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Enhancement: Return deposit address in account entity [\#2761](https://github.com/openware/peatio/pull/2761) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Add the ability to exclude users by role from PnL calculation [\#2760](https://github.com/openware/peatio/pull/2760) ([calj](https://github.com/calj))
|
||||
- Update drone config [\#2758](https://github.com/openware/peatio/pull/2758) ([calj](https://github.com/calj))
|
||||
- Fix specs for PostgreSQL [\#2742](https://github.com/openware/peatio/pull/2742) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Enhancement: Generate wallet settings on creation [\#2741](https://github.com/openware/peatio/pull/2741) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Enhancement: Update withdraw limits logic [\#2740](https://github.com/openware/peatio/pull/2740) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Add matching exchange for trading daemons. Delete deprecated amqp configs [\#2733](https://github.com/openware/peatio/pull/2733) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Enhancement: Allow dot in currency code for API endpoints [\#2731](https://github.com/openware/peatio/pull/2731) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Enhancement: Disable WLs if there are no in DB or zero limits [\#2724](https://github.com/openware/peatio/pull/2724) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Enhancement: Add possibility to import and export Operation::Accounts [\#2720](https://github.com/openware/peatio/pull/2720) ([dpatsora](https://github.com/dpatsora))
|
||||
- Update vault policies documentation [\#2712](https://github.com/openware/peatio/pull/2712) ([calj](https://github.com/calj))
|
||||
- Add separate user and password for archive DB [\#2711](https://github.com/openware/peatio/pull/2711) ([dnfd](https://github.com/dnfd))
|
||||
- Update dependencies [\#2710](https://github.com/openware/peatio/pull/2710) ([calj](https://github.com/calj))
|
||||
- Optimize PnL main query [\#2699](https://github.com/openware/peatio/pull/2699) ([calj](https://github.com/calj))
|
||||
- Enhancement: Add export:configs Rake task [\#2693](https://github.com/openware/peatio/pull/2693) ([vshatravenko](https://github.com/vshatravenko))
|
||||
- Enhancement: Add import:configs Rake task [\#2692](https://github.com/openware/peatio/pull/2692) ([vshatravenko](https://github.com/vshatravenko))
|
||||
- Enhancement: trigger custom image build [\#2691](https://github.com/openware/peatio/pull/2691) ([josadcha](https://github.com/josadcha))
|
||||
- Enhancement: add admin currencies fetch filters [\#2678](https://github.com/openware/peatio/pull/2678) ([oyershov](https://github.com/oyershov))
|
||||
- Enhancement: Delete symbol from currency table [\#2676](https://github.com/openware/peatio/pull/2676) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Add rake task for load trades and build k-lines. Update 2-4 migration documentation [\#2675](https://github.com/openware/peatio/pull/2675) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Update CI to build images for branches matching {fix,integration}/\* [\#2674](https://github.com/openware/peatio/pull/2674) ([calj](https://github.com/calj))
|
||||
- Enhancement: Add ability to create market by engine name [\#2671](https://github.com/openware/peatio/pull/2671) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Update peatio-bitgo version. Change rid length for withdraw [\#2669](https://github.com/openware/peatio/pull/2669) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Improve Engines and Markets seed [\#2665](https://github.com/openware/peatio/pull/2665) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Speedup tests execution [\#2661](https://github.com/openware/peatio/pull/2661) ([calj](https://github.com/calj))- Fix: Add from\_addresses on deposit creation [\#2656](https://github.com/openware/peatio/pull/2656) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Renew of vault token with ENV. Remove sensitive data from admin entities [\#2568](https://github.com/openware/peatio/pull/2568) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Improve vault support [\#2544](https://github.com/openware/peatio/pull/2544) ([mnaichuk](https://github.com/mnaichuk))
|
||||
|
||||
|
||||
### Bug Fixes ###
|
||||
|
||||
- Remove market creation validation for unvisible market [\#2765](https://github.com/openware/peatio/pull/2765) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Update currency price field [\#2756](https://github.com/openware/peatio/pull/2756) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix: tx\[input\] fetch [\#2746](https://github.com/openware/peatio/pull/2746) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix: Add ability to configure wallet features from settings [\#2738](https://github.com/openware/peatio/pull/2738) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix: Abilities for user permissions [\#2736](https://github.com/openware/peatio/pull/2736) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Fix: Dont mask beneficiary account number on admin endpoints [\#2729](https://github.com/openware/peatio/pull/2729) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Update WalletService trigger\_webhook\_event method [\#2727](https://github.com/openware/peatio/pull/2727) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix: Add ability to update wallet settings [\#2725](https://github.com/openware/peatio/pull/2725) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Fix: Remove partial wallet settings update [\#2722](https://github.com/openware/peatio/pull/2722) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix InfluxDB sharding spec [\#2716](https://github.com/openware/peatio/pull/2716) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix: Add error message for adjustment creation if user balance is insufficient [\#2715](https://github.com/openware/peatio/pull/2715) ([Kohelbekker](https://github.com/Kohelbekker))
|
||||
- Fix: do not fail on start if VAULT\_TOKEN is unset [\#2709](https://github.com/openware/peatio/pull/2709) ([calj](https://github.com/calj))
|
||||
- Update vault rails gem. Fix update wallet params [\#2707](https://github.com/openware/peatio/pull/2707) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix: Update import/export rake tasks for payment\_addresses [\#2703](https://github.com/openware/peatio/pull/2703) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Remove uri validation from wallet model [\#2700](https://github.com/openware/peatio/pull/2700) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix database migration for MariaDB [\#2694](https://github.com/openware/peatio/pull/2694) ([calj](https://github.com/calj))
|
||||
- Fix: Wallet links update. Deposit spread wallet recalculation [\#2687](https://github.com/openware/peatio/pull/2687) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix: Add wallet link && fix blockchain\_key on currency creation [\#2686](https://github.com/openware/peatio/pull/2686) ([chumaknadya](https://github.com/chumaknadya))
|
||||
- Fix: Update spread deposit with currency price [\#2685](https://github.com/openware/peatio/pull/2685) ([mnaichuk](https://github.com/mnaichuk))
|
||||
- Fix wallet load\_balance method. Update WalletBalances job [\#2667](https://github.com/openware/peatio/pull/2667) ([mnaichuk](https://github.com/mnaichuk))
|
||||
Reference in New Issue
Block a user