From fd8f7950870333cd4bfae68d7593607fe1ea3278 Mon Sep 17 00:00:00 2001 From: Yaroslav Konoplov Date: Thu, 19 Apr 2018 19:21:38 +0300 Subject: [PATCH] [ci skip] Release Peatio 1.7.0! --- .travis.yml | 4 ++-- docs/releases/1.7.0.md | 26 ++++++++++++++++++++++++-- lib/peatio/version.rb | 2 +- 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1c0ce374dc..2639aa14b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,8 +43,8 @@ install: - bundle exec rake yarn:install # Pull existing layers from Docker Hub to skip building them. The speeds up Travis build a lot. - docker pull peatioexchange/peatio:latest || true # In case image doesn't exist. - - docker pull rubykube/peatio-trading-ui:latest - - docker run -d -p 4000:3000 -e "RAILS_ENV=production" -e "SECRET_KEY_BASE=secret" -e "PLATFORM_ROOT_URL=http://peatio.local" -e "RAILS_SERVE_STATIC_FILES=1" --add-host=peatio.local:$(ip addr show eth0 | grep -Po 'inet \K[\d.]+') --name=peatio-trading-ui rubykube/peatio-trading-ui:latest + - docker pull rubykube/peatio-trading-ui:1.7.0 + - docker run -d -p 4000:3000 -e "RAILS_ENV=production" -e "SECRET_KEY_BASE=secret" -e "PLATFORM_ROOT_URL=http://peatio.local" -e "RAILS_SERVE_STATIC_FILES=1" --add-host=peatio.local:$(ip addr show eth0 | grep -Po 'inet \K[\d.]+') --name=peatio-trading-ui rubykube/peatio-trading-ui:1.7.0 # Execute all of the commands which need to be executed before running actual tests. before_script: diff --git a/docs/releases/1.7.0.md b/docs/releases/1.7.0.md index 40df648112..f9db538dd3 100644 --- a/docs/releases/1.7.0.md +++ b/docs/releases/1.7.0.md @@ -1,4 +1,4 @@ -## Peatio 1.6.0 (April 18, 2018) ## +## Peatio 1.7.0 (April 19, 2018) ## ### Overview ### @@ -10,7 +10,7 @@ 3. Support for multiple fiat currencies. - 4. Brand-new Events API on top of AMQ protocol used for extending Peatio. + 4. Brand-new Events API on top of AMQ protocol used for extending Peatio (experiment). 5. Lot of refactoring and improvements after major changes in 1.6. @@ -104,6 +104,12 @@ New variable has been added: `DISPLAY_CURRENCY`. This variable defines currency which is used to display amount of other currencies. Check more about it in `config/application.yml`. +* [#914](https://github.com/rubykube/peatio/pull/914): Event API based on AMQP used for extending Peatio (experiment). + + This feature allows other applications to extend Peatio functionality (like business logic) by relying on AMQP (RabbitMQ) standard. + + Checkout the specification `docs/specs/event_api.md` for complete details. + ### Enhancements ### * [#782](https://github.com/rubykube/peatio/pull/782): Improved English phrasing in README. @@ -148,6 +154,16 @@ The patch completes pending acceptance tests for admin withdraw page. +* [#885](https://github.com/rubykube/peatio/pull/885): Gemfile optimization: `eventmachine` & `em-websocket`. + + The patch changes Gemfile to require the gems listed above only when they are needed (in `lib/daemons/websocket_api.rb`). + +* [#906](https://github.com/rubykube/peatio/pull/906): Extend type of fee columns to match type of amount columns in database (`DECIMAL(32, 16)`). + + The patch ensures database can store fee equal to 100% of amount. + +* [#896](https://github.com/rubykube/peatio/pull/896): Update omniauth-barong version (compatibility with Barong 1.7). + ### Fixes ### * [#791](https://github.com/rubykube/peatio/pull/791): Fix «NoMethodError: undefined method 'fetch' for #». @@ -215,3 +231,9 @@ The patch fixes overlapping between constants `Order` and `APIv2::Entities::Order`. Merged to 1.5 and up. + +* [#879](https://github.com/rubykube/peatio/pull/879): Store fee in `Order#fee`. + + The patch embeds field `fee` in table `orders`. Previously the value was stored only in market and retrieved from it every time. This was a critical bug which prevented orders from showing real fee value at the moment when order was executed (it displayed only the latest value retrieved from market). + + Merged to 1.6 and up. diff --git a/lib/peatio/version.rb b/lib/peatio/version.rb index 2205096bee..6c2f1c2653 100644 --- a/lib/peatio/version.rb +++ b/lib/peatio/version.rb @@ -1,3 +1,3 @@ module Peatio - VERSION = '1.7.0.alpha' + VERSION = '1.7.0' end