Skip to content

v1.1.1

Compare
Choose a tag to compare
@VictorFrWu VictorFrWu released this 16 Nov 23:33
· 75 commits to main since this release

Release-Notes

HTTP Sync & Async Request

  • Receive Window Parameter: Added by default (5 seconds).
  • Debug Mode Parameter: Added by default (false) to print request and response headers.
  • Base URL Setting: Allows setting to testnet or mainnet.
  • Log Option Interceptor Parameter: Currently supports SLF4J and OkHttp3; planning to support customized messaging in the next version.
  • Trade API: For create/amend/cancel single & batch orders, now supports dedicated class, map, and JSON.
  • Asset API: Deposit and withdrawal operations will automatically generate a transfer ID.

WebSocket

  • Ping Pong Interval Parameter: Added by default (20 seconds).
  • Max Alive Time Parameter: Only supports private channel, ranging from 30s to 600s (also supports minutes).
  • Log Option Interceptor for WebSocket: Currently supports SLF4J and OkHttp3; planning to support customized messaging in the next version.

Improvements

  • Class Mapping for POST Requests: Each POST request will have a class mapped and converted to JSON for the request body.
  • Enhanced Unit Tests: Added more tests for serialization and deserialization of data.
  • Performance Tests for WebSocket: Added tests for maximum argument limits.
  • POST Request Handling: Parameters not supported in query string will be reset to the body.
  • Security Enhancements: Secure check for signed requests implemented.

Change Log

  • CategoryType: Renamed from ProductType.
  • Deprecated useTestnet: This function is now deprecated.
  • Serialization Optimization: No reserialization of data before sending POST requests, using conversion instead.