Skip to content

v1.4.0

Choose a tag to compare

@tigusigalpa tigusigalpa released this 09 Sep 11:16
· 13 commits to main since this release

v1.4.0 — Bybit V5 reliability, Demo Trading, and CI

This release modernizes the SDK around the current Bybit V5 API, strengthens signed-request handling, and adds automated quality and security checks.

Highlights

  • Signed REST requests now send the exact canonical query string or JSON payload used for signature generation.
  • Added typed BybitHttpException errors for non-successful HTTP responses.
  • Added current regional REST and WebSocket endpoints for EU, Indonesia, Japan, Hong Kong, and Turkey.
  • Demo Trading now supports RSA authentication for private WebSocket streams. Public Demo Trading streams correctly use mainnet market-data endpoints.
  • Added V5 helpers for batch orders, execution history, account instruments, transferable funds, asset operations, spot margin, collateral, greeks, and Demo Trading accounts.
  • Improved TradFi support: fixed GOOGLUSDT, paginated instrument discovery, stock filtering, and multi-symbol ticker aggregation.
  • Added GitHub Actions for PHP 7.4–8.4 tests, Xdebug coverage, Codecov uploads, Composer security audits, Dependency Review, OpenSSF Scorecard, and Dependabot.

Upgrade notes

  • testnet and demoTrading are now mutually exclusive.
  • X-Referer is sent only when BYBIT_BROKER_ID is configured. Broker applications should set this value explicitly.
  • HTTP responses with non-2xx status codes now throw BybitHttpException.
  • Demo Trading requires API keys created in the production account’s Demo Trading area; Testnet requires Testnet keys.

See the updated README for configuration details, supported regional endpoints, and new V5 helper methods.