Releases: sieblyio/bybit-api
Releases · sieblyio/bybit-api
Release list
v4.7.1: Upgrade & pin WS dependency to v8 to resolve upstream regression
What's Changed
- chore(): upgrade GitHub Actions to setup-node v7 and checkout v6 by @JJ-Cro in #557
- fix(v4.7.1, #558): ws v7 dependency WS_ERR_TOO_MANY_BUFFERED_PARTS side effect, chore: remove bundle analyser, fix: return type by @tiagosiebler in #559
Full Changelog: v4.7.0...v4.7.1
v4.7.0: Add Alpha LP & Prediction APIs, bump build to LTS node v24, misc readme updates
What's Changed
- chore: update readme with docs link by @JJ-Cro in #551
- feat(v4.6.6): add Alpha LP and Prediction market APIs with corresponding request types and examples by @JJ-Cro in #553
- chore(v4.7.0): bump build version to LTS node v24. bump deps post audit. by @tiagosiebler in #554
Full Changelog: v4.6.4...v4.7.0
v4.6.4: Move build tooling to devDependencies to reduce install bloat
What's Changed
- chore: update quickstart guide to latest by @tiagosiebler in #547
- chore(v4.6.4): move build toolchain to devDependencies (fixes default-install bloat) by @tamasPetki in #549
New Contributors
- @tamasPetki made their first contribution in #549
Full Changelog: v4.6.3...v4.6.4
v4.6.3: Add new PWM investment plan APIs & examples
What's Changed
- refactor: update import statements to ES6 syntax across multiple API documentation files by @JJ-Cro in #542
- feat: add tutorial by @tiagosiebler in #544
- feat(v4.6.3): add new PWM investment plan APIs and examples by @JJ-Cro in #546
Full Changelog: v4.6.2...v4.6.3
Bybit API changelog catch-up (~Apr-Jun 2026). Types + RestClientV5 methods + apidoc examples where we had HTTP samples.
Breaking / watch out
FiatBybitPaydropped fromPermissionsV5/ApiKeyPermissionsV5(useFiatBitPay)EarnPositionV5.availableAmount+freezeDetailsare required in types now (API returns them)CoinInfoV5.chains[].withdrawMaxadded;remainAmountstill typed but deprecated
Type updates (existing endpoints)
- Position -
openTimeonPositionV5+WSPositionV5 - Instruments -
symbolIdon spot / linear / inverse / option;InstrumentSymbolTypeV5(stock,forex, etc.) - Affiliate user info -
paySendAmount30Day,payFtt,cardFtt; request paramscoin,business - Fixed loan supply -
availableSourceon create;refundedAccounton cancel supply - Earn position -
availableAmount,freezeDetails[]
New - Strategy (/v5/strategy/*)
createStrategyOrder- twap / chaseOrder / iceberg / povgetStrategyListgetStrategyOrderListstopStrategy
New - Hold to Earn (/v5/earn/hold-to-earn/*)
getHoldToEarnAirdropProducts- public, no authgetHoldToEarnAirdropYieldHistory- needs Earn permission
New - PWM investment plan (user)
getPwmInvestmentPlanList-GET .../investment-plan/listgetPwmInvestmentPlanDetailgetPwmPendingInvestmentPlanDetail-.../new-planclaimPwmWithdrawableFundsgetPwmInvestmentPlanAssetTrendgetPwmFundHistoricalNavsubscribePwmInvestmentPlaninvestMorePwmInvestmentPlanredeemPwmInvestmentPlangetPwmInvestmentPlanOrders
New - PWM customize plan
getPwmSubscribableProductInfo- publiccreatePwmCustomizeInvestmentPlan
New - PWM asset manager
getPwmAllFundssettlePwmFundProfitcreatePwmFundcreatePwmAssetManagerInvestmentPlangetPwmAssetManagerInvestmentPlans- not the same as usergetPwmInvestmentPlanListmanagePwmAssetManagerInvestmentPlangetPwmAllFundOrdersmanagePwmFundOrder- approve/rejectcreatePwmFundSubAccountpwmFundTransfer- custodian sub-account keygetPwmFundTransferRecords
Affiliate
getAffiliateSubAffiliateList-GET /v5/affiliate/affiliate-sub-list
New modules
src/types/request|response/v5-strategy.tssrc/types/request|response/v5-earn-pwm.ts
Examples (examples/apidoc/)
V5/Strategy/*(4)V5/Earn/get-hold-to-earn-*(2)V5/Earn/PWM/*(23)V5/Affiliate/get-affiliate-sub-affiliate-list.js
Other
docs/endpointFunctionList.mdregeneratedllms.txtregenerated- version bump
4.6.2->4.6.3
v4.6.2: Add new API endpoints for Alpha Trade, Card, Earn. Minor type updates & lockfile bumps.
What's Changed
- feat(v4.6.2): add new API endpoints for Alpha Trade, Card, and Earn fe… by @JJ-Cro in #540
- chore: minor test updates & lockfile bumps by @tiagosiebler in #541
Full Changelog: v4.6.1...v4.6.2
v4.6.1: Add new affiliate, commodity, funding history endpoints. Misc readme updates & dependency bump after audit.
What's Changed
- feat(v4.6.1): Add API endpoints and changes from release notes by @JJ-Cro in #535
- chore: bump dependencies after npm audit, update readme by @tiagosiebler in #536
- add readme references to new quickstart guide on using the Bybit REST API JavaScript SDK
Full Changelog: v4.6.0...v4.6.1
v4.6.0: Upgrades to WebSocket architecture, aligned with other SDKs
What's Changed
- Upgrades to WebSocket architecture, aligned with other SDKs by @tiagosiebler in #533
The WebSocket client architecture saw many improvements with the newer SDKs. This PR cleans up some of the tech debt, bringing this in line with the other SDKs. Less differences -> easier long-term maintainability:
- Bump audit dependencies
- Add wsUrl & WS ref to open & reconnected events
- Normalise internal emittable event structure handling via safer getFinalEmittable normaliser
- Add authPrivateConnectionsOnConnect mechanic
- Normalise internal logger category, optional WS API Auth flag
- Normalise internal WS behaviour flags
- Add internal requireConnectionReady & useNativeHeartbeats flags
- Integrate custom reconnection hook mechanic.
Full Changelog: v4.5.3...v4.6.0
v4.5.3: Add GitHub migration notice
What's Changed
- chore(v4.5.3): add readme migration notice by @tiagosiebler in #530
Full Changelog: v4.5.2...v4.5.3
v4.5.2: Add new REST & WS examples. Enhance WsStore isDeepObjectMatch for recursion.
What's Changed
- feat: add examples for RSA authentication and faster HMAC signing in Bybit API client; enhance demo trading functionality with WebSocket and REST examples by @JJ-Cro in #526
- refactor: reorganize example files and enhance type definitions; update WebSocket event handling with type annotations by @JJ-Cro in #527
- feat(v4.5.2):enhance isDeepObjectMatch function for recursive object c… by @JJ-Cro in #528
Full Changelog: v4.5.1...v4.5.2
v4.5.1: New API endpoints for crypto loans and fiat trading, minor enhancements
What's Changed
- feat(v4.5.1): add new API endpoints for crypto loans and fiat trading, enhance existing functionality with new examples and documentation updates by @JJ-Cro in #525
Full Changelog: v4.5.0...v4.5.1