Version 2.2.0
In this release
This release contains a new NODE support and a lot of improvements, including the lower latency observed by our load tests.
See below for more information.
Migration
Recommended to do the snapshot on all Matcher servers before update:
curl -X POST -H 'X-Api-Key: your-api-key-here' "http://host:port/matcher/debug/saveSnapshots"
New
- Support of NODE 1.2.9;
- Showing an order version for new orders at order history HTTP endpoint;
Huge improvement of Swagger documentation
- Most methods are provided with examples of entities, both input and output;
- Models are provided. They also contain a useful documentation, for example, how to sign the request;
- Added a grouping by purpose.
WebSocket improvements
API changes are still possible, so we don't expose the documentation right now.
- Clients now receive the MatcherIsStopping error during the graceful shutdown;
- Scheduling optimizations, which leads to less pressure on the server;
- Fixed some cases in which matcher sent exceed data to the client.
Fixes
- Fixed the calculation of the average weighed price of an order;
- ExchangeTransaction should not be created if a market order wasn't matched at least on 1 coin;
- Returning a meaningful error, when a user passes an address from another network;
- If the order wasn't matched, the average weighed price is 0;
Other changes
- Scala is updated to 2.13, also updated a lot of dependencies;
- A lot of improvements in the checker utility. It checks that matcher works correctly after update;
Initial support for Docker
We made huge steps to provide Docker images. Now they are in review, but we are already use them in our functional testing.
- Images
wavesplatform/matcher-node
(Waves Node with Extension) andwavesplatform/matcher-server
(DEX) introduced; - Draft of the README.md updates added: README_DOCKER.md. Use it at own risk;
- An image of NODE with Matcher extension for functional tests
waves-integration-it
is built uponmatcher-node
; - An image of Matcher server for functional tests
dex-it
is built uponmatcher-server
;
Code improvements
Usually we don't mention an internal changes. But there were made a lot of code improvements, so we notice them.
- A better packages and class names;
- More unit tests for REST API, added a backward compatibility tests for JSON encoding;
- Introduced REST API DTO annotated objects, this will add an additional level of API stability;
- Serialized representation of Waves, Order Statuses, Order Types and Accepted Order Types unified across the project.
SHA256 Checksums
b5174b12985c265a9849a2846d7c6da714708756628ffba4b16c6872f20f9e71 waves-dex-2.2.0.zip
a9393e8d7ab7febc12069ee5f546ea785d7103ad13b9e82b07d12e2b45cf27f9 waves-dex_2.2.0_all.deb
eacd4c6642de5ed736def7196c4020a34942c141ccb0854611ee45c710d10546 waves-dex-extension-2.2.0.zip
a3c9de2f6ed54563c31f9e27ded7f9ef4f6ba989e57c783971274ba5ab24c708 waves-dex-extension_2.2.0_all.deb
df0a795b601dfe2082a6e44e9fc0ca71ca1189c9c41e888a84fb9bef25e0cdab waves-dex-extension-testnet_2.2.0_all.deb
d038654627ae476a63aa2daa9300ce3257a28b0f60d9d3a8c2663efbeaf0f92b waves-dex-extension-stagenet_2.2.0_all.deb