This version supports WebRTC for client-node communication. WebRTC will be used to replace WSS for JavaScript clients running in https environments. It is the final and most important step towards fully decentralized communication in browsers. In addition, this version contains several performance optimization, bug fixes and security patches. Upgrade is required to support new WebRTC clients.
What's Changed
- Add unittest for election.go by @bufrr in #930
- Fix nknc getnonce command invalid params by @yilunzhang in #936
- Add websocket session connectTime to avoid deleting cached message too early by @billfort in #939
- Fix: Replace hardcoded int literal with variable by @omani in #943
- Provide UnmarshalJSON() for common.uint160 by @omani in #944
- Change ci badge from travis-ci to github actions by @yilunzhang in #953
- Regenerate dashboard yarn.lock using official npm registry by @yilunzhang in #954
- fix findSuccessorAddrs has wrong params in comment by @yilunzhang in #956
- Support WebRTC communication by @billfort in #961
- make config.json optional by @yilunzhang in #963
- reduce webrtc error log lvl by @yilunzhang in #964
- gofmt by @yilunzhang in #965
- Add OnOfferConnected channel for synchronize connected event for client by @billfort in #966
- Check if nil before closing WebRTC channels by @billfort in #967
- remove some debug log by @yilunzhang in #968
Full Changelog: v2.2.0...v2.2.1