---
title: "Binance JavaScript SDK Releases | Siebly"
description: "Release notes for Binance JavaScript SDK, with dates, changelogs, and repository links. Page 1 of 2."
canonical: "https://siebly.io/releases/sdk/binance"
robots: "index,follow"
---

# SDK Releases and Updates

Combined release notes across all Siebly JavaScript SDK repositories, sorted by most recent.

Release cache generated: 2026-11-24T14:04:09.751Z.

Showing releases 1 to 50 of 54 for Binance JavaScript SDK. Page 1 of 2.

## Archive pages

- [Page 1](/releases/sdk/binance)
- [Page 2](/releases/sdk/binance/page/2)

## SDK archives

- [All SDKs](/releases)
- [Binance JavaScript SDK](/releases/sdk/binance)
- [Bybit JavaScript SDK](/releases/sdk/bybit-api)
- [OKX JavaScript SDK](/releases/sdk/okx-api)
- [Gate JavaScript SDK](/releases/sdk/gateio-api)
- [Bitget JavaScript SDK](/releases/sdk/bitget-api)
- [KuCoin JavaScript SDK](/releases/sdk/kucoin-api)
- [Coinbase JavaScript SDK](/releases/sdk/coinbase-api)
- [Kraken JavaScript SDK](/releases/sdk/kraken-api)
- [HTX JavaScript SDK](/releases/sdk/htx-api)
- [Hyperliquid JavaScript SDK](/releases/sdk/hyperliquid-api)

## Releases

### [Binance JavaScript SDK v3.6.13](https://github.com/sieblyio/binance/releases/tag/v3.6.13)

v3.6.13: Expand round to tick / round to step utils & tests, fixing rounding edge case. Bump node build to LTS, misc fixes. New docs page with dedicated guides!. Published: 2026-11-20T11:53:49Z.

#### What's Changed

- feat(v3.6.13): Expiry reason updatesEXHAUSTED, eV, BUY lock release, fix rounding, keepPriority, docs by @JJ-Cro in <https://github.com/sieblyio/binance/pull/700>
- Introducing a new dedicated documentation page for our [Binance JavaScript & Node.js SDK](https://sieblyio.github.io/docs/binance/)
  - Powered by our rich request & response types.
  - Detailed examples for the leading JavaScript & Node.js runtimes, included but not limited to Node, JavaScript, TypeScript, React, Vite, Next.js, iOS & Android (via React Native), Bun, Deno and Cloudflare Workers. These fully tested quickstart guides include everything needed to make full use of Binance's REST APIs & WebSockets with any leading JavaScript runtime.

#### Changelog

- Spot `expiryReason` typed as `SpotExpiryReason`, incl. new `EXHAUSTED` and `INSUFFICIENT_QUOTE_NOTIONAL_LIMIT`
- Optional `effectiveSelfTradePreventionMode` (raw `eV`) on user data events and FULL `preventedMatches[]`
- JSDoc: from 20 Nov, BUY limit orders that trade on entry then rest release locks above remaining qty x price
- Optional `quoteNotionalLimit` on spot orders and order lists (BUY only, no enable date yet), `Qq` on `executionReport`, `market/limitQuoteNotionalLimitAllowed` on exchangeInfo
- Optional `T` (`shutdownTime`) on `serverShutdown`, optional `filter` on WS API `userDataStream.subscribe`
- `roundToTickSize` / `roundToStepSize` floor with decimal-safe integer math (no BigInt), incl. non-power-of-ten and aligned values (Fixes #695)
- `amendOrderKeepPriority` calls `PUT /api/v3/order/amend/keepPriority` (Fixes #696)

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.12...v3.6.13>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.12](https://github.com/sieblyio/binance/releases/tag/v3.6.12)

v3.6.12: Add sub account API key management APIs, add CANCEL_ONLY symbol status filters. Published: 2026-11-09T11:19:37Z.

#### What's Changed

- feat(v3.6.12): support CANCEL\_ONLY symbol status filters, add sub account API key management APIs by @JJ-Cro in <https://github.com/sieblyio/binance/pull/694>

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.11...v3.6.12>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.11](https://github.com/sieblyio/binance/releases/tag/v3.6.11)

v3.6.11: Improve robustness on derived user data key handling during teardown. Published: 2026-10-26T17:29:57Z.

#### What's Changed

- fix(v3.6.11): robustness on derived user data key handling during teardown by @tiagosiebler in <https://github.com/sieblyio/binance/pull/693>

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.10...v3.6.11>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.10](https://github.com/sieblyio/binance/releases/tag/v3.6.10)

v3.6.10: Binance REST API updates for PM income page parameter removal, Stable Rate loan deprecations, margin listen-key V2. Published: 2026-10-26T13:04:50Z.

#### What's Changed

- chore: update logo, readme, bump pinned versions by @tiagosiebler in <https://github.com/sieblyio/binance/pull/691>
- feat(v3.6.10): PM income page removal, Stable Rate loan deprecations, margin listen-key V2 by @JJ-Cro in <https://github.com/sieblyio/binance/pull/692>

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.9...v3.6.10>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.9](https://github.com/sieblyio/binance/releases/tag/v3.6.9)

v3.6.9: Add position risk control filter, delistTime and commission discount docs. Published: 2026-10-20T12:31:49Z.

#### What's Changed

- feat(v3.6.9): position risk control filter, delistTime and commission discount docs by @JJ-Cro in <https://github.com/sieblyio/binance/pull/690>

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.8...v3.6.9>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.8](https://github.com/sieblyio/binance/releases/tag/v3.6.8)

v3.6.8: Drop page from futures income history endpoint, add PM fund collection params. Published: 2026-10-16T09:51:42Z.

#### What's Changed

- feat(v3.6.8): drop page from futures income history, add PM fund collection params by @JJ-Cro in <https://github.com/sieblyio/binance/pull/689>

#### Summary

Binance stopped accepting `page` on USD-M and COIN-M income history on 16 Oct 2026. Paginate with `startTime` / `endTime`. This release also adds the other pending Binance field updates that were still missing, and bumps the package to **3.6.8**.

#### Changelog

- Remove `page` from `GetIncomeHistoryParams` used by `USDMClient.getIncomeHistory()` (`GET /fapi/v1/income`) and `CoinMClient.getIncomeHistory()` (`GET /dapi/v1/income`). Binance removed `page` on 16 Oct 2026; JSDoc says to paginate with `startTime` and `endTime`.
- Portfolio Margin fund collection (`POST /sapi/v1/portfolio/asset-collection`, `POST /papi/v1/asset-collection`): optional `amount` and `futureType` (`UM` | `CM` | `OPTION`); must be sent together.
- VIP loan repayment history (`GET /sapi/v1/loan/vip/repay/history`): add `repayInterest` and `repayPrincipal`.
- Spot algo open and historical orders: optional `duration` (seconds, TWAP only).
- Margin / spot user-data `executionReport`: add allocation id `a` as a number, mapped to `allocationId`.
- Version 3.6.8. Regenerated `docs/endpointFunctionList.md` and `llms.txt`.

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.7...v3.6.8>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.7](https://github.com/sieblyio/binance/releases/tag/v3.6.7)

v3.6.7: Deprecate removed Binance DCI auto-compound APIs. Published: 2026-10-08T11:41:48Z.

#### What's Changed

- feat(v3.6.7): deprecate removed Binance DCI auto-compound APIs by @JJ-Cro in <https://github.com/sieblyio/binance/pull/688>

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.6...v3.6.7>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.6](https://github.com/sieblyio/binance/releases/tag/v3.6.6)

v3.6.6: Add sync margin OTO lists, loan LTV, FX schedule, and futures symbol type. Published: 2026-10-07T11:18:58Z.

#### What's Changed

- feat(v3.6.6): sync margin OTO lists, loan LTV, FX schedule, and futures symbol type, update package version to 3.6.6 by @JJ-Cro in <https://github.com/sieblyio/binance/pull/687>

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.5...v3.6.6>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.5](https://github.com/sieblyio/binance/releases/tag/v3.6.5)

v3.6.5: Add block trades WS, update misc types. Published: 2026-09-18T09:46:58Z.

#### What's Changed

- feat(v3.6.5): updates per release notes, update package version to 3.6.5 by @JJ-Cro in <https://github.com/sieblyio/binance/pull/686>

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.4...v3.6.5>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.4](https://github.com/sieblyio/binance/releases/tag/v3.6.4)

v3.6.4: Bump dependencies, add links to Siebly.io quickstart guides & tutorial. Published: 2026-09-01T13:42:41Z.

#### What's Changed

- feat(v3.6.4): link package docs to Siebly pages by @tiagosiebler in <https://github.com/sieblyio/binance/pull/685>
- Binance QuickStart Guide: [Binance JavaScript Getting Started](https://siebly.io/sdk/binance/javascript)
- Binance Tutorial [Binance JavaScript & Node.js Tutorial](https://siebly.io/sdk/binance/javascript/tutorial)

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.3...v3.6.4>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.3](https://github.com/sieblyio/binance/releases/tag/v3.6.3)

v3.6.3: Enhance order types with new fields for spot and futures, including selfTradePreventionMode and peg price options. Published: 2026-08-24T11:16:54Z.

#### What's Changed

- feat(v3.6.3): enhance order types with new fields for spot and futures, including selfTradePreventionMode and peg price options by @JJ-Cro in <https://github.com/sieblyio/binance/pull/684>

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.2...v3.6.3>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.2](https://github.com/sieblyio/binance/releases/tag/v3.6.2)

v3.6.2: Spot asset tags endpoint, portfolio m delta switch/get, few new req/res fields, update repo links after migration. Published: 2026-08-12T14:28:21Z.

#### What's Changed

- fix: git url after siebly repo migration by @JJ-Cro in <https://github.com/sieblyio/binance/pull/680>
- chore(): README.md template sections by @tiagosiebler in <https://github.com/sieblyio/binance/pull/682>
- feat(v3.6.2): updates per release notes, update package version to 3.6.2 by @JJ-Cro in <https://github.com/sieblyio/binance/pull/681>

**Full Changelog**: <https://github.com/sieblyio/binance/compare/v3.6.1...v3.6.2>

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.1](https://github.com/sieblyio/binance/releases/tag/v3.6.1)

v3.6.1: Pin ws to 8.x, remove webpack analyser and improve WS types. Published: 2026-07-17T16:51:16Z.

#### What's Changed

- chore(v3.6.0): upgrade GitHub Actions to setup-node v7 and checkout v6 by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/677](https://github.com/sieblyio/binance/pull/677)
- chore(v3.6.1): Pin ws to 8.x, remove webpack analyser and improve WS types by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/678](https://github.com/sieblyio/binance/pull/678)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.6.0...v3.6.1](https://github.com/sieblyio/binance/compare/v3.6.0...v3.6.1)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.6.0](https://github.com/sieblyio/binance/releases/tag/v3.6.0)

v3.6.0: Pin release to use NPM v11 & update build version to Node LTS v24. Published: 2026-07-16T14:39:08Z.

#### What's Changed

- chore(v3.6.0): pin npm to v11 and update Node to v24.18.0 by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/675](https://github.com/sieblyio/binance/pull/675)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.11...v3.6.0](https://github.com/sieblyio/binance/compare/v3.5.11...v3.6.0)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.11](https://github.com/sieblyio/binance/releases/tag/v3.5.11)

v3.5.11: Update new algo order endpoints, docs, examples, broken test. Published: 2026-07-07T10:55:57Z.

#### What's Changed

- feat(v3.5.11): update CoinMClient and MainClient to support new algo order endpoints, enhance documentation, and add new examples for loan and travel rule functionalities by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/674](https://github.com/sieblyio/binance/pull/674)
- Bump dependencies post-audit
- Update certificate pinning test with latest pub key.

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.10...v3.5.11](https://github.com/sieblyio/binance/compare/v3.5.10...v3.5.11)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.10](https://github.com/sieblyio/binance/releases/tag/v3.5.10)

v3.5.10: Update quickstart guide. Move optionalDependencies to dev to reduce bloat.. Published: 2026-06-09T14:53:54Z.

#### What's Changed

- chore: update quickstart guide to latest by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/671](https://github.com/sieblyio/binance/pull/671)
- chore(v3.5.10): move optionalDependencies to devDependencies and update README badges by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/672](https://github.com/sieblyio/binance/pull/672)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.9...v3.5.10](https://github.com/sieblyio/binance/compare/v3.5.9...v3.5.10)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.9](https://github.com/sieblyio/binance/releases/tag/v3.5.9)

v3.5.9: Add block trade & margin liquidation endpoints. Update examples with imports.. Published: 2026-06-01T11:44:14Z.

#### What's Changed

- feat(v3.5.9): add support for historical block trades and margin liquidation loan features, update documentation and examples by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/669](https://github.com/sieblyio/binance/pull/669)
- refactor: update examples to use ES6 import syntax for CoinMClient an… by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/670](https://github.com/sieblyio/binance/pull/670)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.8...v3.5.9](https://github.com/sieblyio/binance/compare/v3.5.8...v3.5.9)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.8](https://github.com/sieblyio/binance/releases/tag/v3.5.8)

v3.5.8: Auto resolve usdm wsKey when subscribing to market data, update bracket order example to use passive limit order for TP. Published: 2026-05-04T15:22:09Z.

#### What's Changed

- feat(v3.5.8): auto resolve usdm wsKey when subscribing to market data, update bracket order example to use passive limit order for TP by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/668](https://github.com/sieblyio/binance/pull/668)

#### Summary

- Update bracket order example to use limit order for TP. More likely to see a fill if there's a flash move past the TP order.
- Update subscribe/unsubscribe WebsocketClient methods to automatically resolve the wsKey for usdm futures, when subscribing to market data (see #653 for more details).

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.7...v3.5.8](https://github.com/sieblyio/binance/compare/v3.5.7...v3.5.8)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.7](https://github.com/sieblyio/binance/releases/tag/v3.5.7)

v3.5.7: Revert uppercase boolean edge case. Published: 2026-04-29T09:55:35Z.

#### What's Changed

- chore(v3.5.7): revert uppercase boolean edge case, after confirmation by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/667](https://github.com/sieblyio/binance/pull/667)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.6...v3.5.7](https://github.com/sieblyio/binance/compare/v3.5.6...v3.5.7)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.6](https://github.com/sieblyio/binance/releases/tag/v3.5.6)

v3.5.6: Improve private wsKey resolution for futures userData streams, misc fixes, docs updates, util methods. Published: 2026-04-28T13:37:43Z.

#### What's Changed

- feat(v3.5.6): Improve private wsKey resolution for futures userData streams, misc fixes, docs updates, util methods by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/665](https://github.com/sieblyio/binance/pull/665)
- chore(v3.5.6): bump for release by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/666](https://github.com/sieblyio/binance/pull/666)

* chore: force private url for user data sub request
* fix: null value handling in algo order REST response
* feat: inherit util methods around custom order ID generation. feat: intro quickstart guide
* feat: update quickstart guide & tutorial link
* chore: revise quickstart guide phrasing
* chore: docs update, feat: add exchange info util methods for futures
* feat: update tpsl & bracket order examples
* fix: capitalised boolean for algo order priceProtect, aligned with docs
* fix: beautifier edge case with null object guard

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.5...v3.5.6](https://github.com/sieblyio/binance/compare/v3.5.5...v3.5.6)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.5](https://github.com/sieblyio/binance/releases/tag/v3.5.5)

v3.5.5: Add new Spot, WS API (Spot), Earn and Portfolio Margin endpoints & types. Published: 2026-04-21T15:47:44Z.

#### What's Changed

- feat(v3.5.5):  Spot, Derivatives, Portfolio margin updates by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/664](https://github.com/sieblyio/binance/pull/664)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.4...v3.5.5](https://github.com/sieblyio/binance/compare/v3.5.4...v3.5.5)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.4](https://github.com/sieblyio/binance/releases/tag/v3.5.4)

v3.5.4: Fix HMAC WSAPI order submit issue due to parameter sort. Published: 2026-03-30T11:33:29Z.

#### What's Changed

- fix(v3.5.4, #659): signed parameter-sort for per-request HMAC WSAPI signatures by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/661](https://github.com/sieblyio/binance/pull/661)

#### Summary

- Fix sign issue due to missing parameter sort, when using per-request WSAPI sign (HMAC & RSA keys)
- Split test stages into categories
- Introduce WSAPI auth tests
- Misc bumps after audit
- Remove redundant circleci config

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.3...v3.5.4](https://github.com/sieblyio/binance/compare/v3.5.3...v3.5.4)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.3](https://github.com/sieblyio/binance/releases/tag/v3.5.3)

v3.5.3: Bump node build to LTS v24. Published: 2026-03-25T10:50:47Z.

#### What's Changed

- chore(v3.5.3): bump node build to LTS v24 by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/658](https://github.com/sieblyio/binance/pull/658)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.2...v3.5.3](https://github.com/sieblyio/binance/compare/v3.5.2...v3.5.3)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.2](https://github.com/sieblyio/binance/releases/tag/v3.5.2)

v3.5.2: fix activatePrice for WSAPI futures. Bump node build version, misc bump after audit.. Published: 2026-03-25T10:27:55Z.

#### What's Changed

- Fix: rename activationPrice to correct activatePrice in WSAPINewFutur… by @DanZBo in [https://github.com/tiagosiebler/binance/pull/656](https://github.com/sieblyio/binance/pull/656)
- chore(v3.5.2): bump node build version, misc bump after audit, fix(#656): activatePrice for futures algo order by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/657](https://github.com/sieblyio/binance/pull/657)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.1...v3.5.2](https://github.com/sieblyio/binance/compare/v3.5.1...v3.5.2)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.1](https://github.com/sieblyio/binance/releases/tag/v3.5.1)

v3.5.1: Fixes WebSocket URL resolution for portfolio margin listenKey. Published: 2026-03-13T20:19:55Z.

#### What's Changed

- fix(v3.5.1): handle suffix when adding listenKey to WebSocket URL by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/655](https://github.com/sieblyio/binance/pull/655)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.5.0...v3.5.1](https://github.com/sieblyio/binance/compare/v3.5.0...v3.5.1)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.5.0](https://github.com/sieblyio/binance/releases/tag/v3.5.0)

v3.5.0: Add support for Binance USDM Futures base URL split & migration. Published: 2026-03-13T14:13:30Z.

#### What's Changed

- feat(v3.5.0, #653): add support for Binance USDM Futures base URL split & migration by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/654](https://github.com/sieblyio/binance/pull/654)

#### Summary

- Bump dependencies after audit.
- Readme updates.
- Add more WebSocket documentation for more detailed guidance.
- No breaking changes expected, but USDM Futures WebSocket users may need to migrate in future when Binance deprecates the previous WS endpoint.
- Add complete support for new USDM Futures Base URL Split & Migration, with examples:
  - **Action required**: if you're using the wsClient.subscribe() methods, you **must** provide the correct WsKey. Refer to these examples for guidance:
    - USDM Public topics: [https://github.com/tiagosiebler/binance/blob/master/examples/WebSockets/Public/ws-usdm-public.ts#L145-L152](https://github.com/sieblyio/binance/blob/v3.5.0/examples/WebSockets/Public/ws-usdm-public.ts#L145-L152)
    - USDM Market topics: [https://github.com/tiagosiebler/binance/blob/master/examples/WebSockets/Public/ws-usdm-market.ts#L145-L151](https://github.com/sieblyio/binance/blob/v3.5.0/examples/WebSockets/Public/ws-usdm-market.ts#L145-L151)
    - USDM ListenKey User Data: [https://github.com/tiagosiebler/binance/blob/master/examples/WebSockets/Private(userdata)/ws-userdata-listenkey.ts#L182-L186](https://github.com/sieblyio/binance/blob/v3.5.0/examples/WebSockets/Private\(userdata\)/ws-userdata-listenkey.ts#L182-L186)
    - USDM WS API User Data (recommended): [https://github.com/tiagosiebler/binance/blob/master/examples/WebSockets/Private(userdata)/ws-userdata-wsapi.ts#L185](https://github.com/sieblyio/binance/blob/v3.5.0/examples/WebSockets/Private\(userdata\)/ws-userdata-wsapi.ts#L185)

##### Base URL Split & Migration

On 06/03/2026, Binance announced a routing upgrade to their USDM Futures WebSocket System, titled: "Binance USDⓈ-M Futures WebSocket System Upgrade Notice (2026-03-06)".

###### Key Highlights:

- Introduction of three dedicated WebSocket base URLs:
  - Public (high-frequency public market data)
    - wss\://fstream.binance.com/public
  - Market (regular market data)
    - wss\://fstream.binance.com/market
  - Private (user data streams)
    - wss\://fstream.binance.com/private
- New endpoints are supported immediately upon this announcement.
- Legacy WebSocket URLs will be permanently retired on 2026-04-23.
- Documentation including endpoint & stream mapping: [https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Important-WebSocket-Change-Notice#public-high-frequency-public-data](https://developers.binance.com/en/docs/products/derivatives-trading-usds-futures/websocket-market-streams/Important-WebSocket-Change-Notice#public-high-frequency-public-data)

###### Binance JavaScript SDK Support

All three dedicated WebSocket base URLs are supported. Each with their own unique WsKey, used to track each unique connection.

Continue to subscribe to market data as before with the dedicated subscribe method, but ensure to provide the connection key depending on the type of market data you are consuming.

Minimal examples:

```typescript
// ...

// For public (high-frequency public data)
const wsKeyUsdmPublic = WS_KEY_MAP.usdmPublic;
wsClient.subscribe(['btcusdt@bookTicker', 'btcusdt@depth'], wsKeyUsdmPublic);

// For market (regular market data)
const wsKeyUsdmMarket = WS_KEY_MAP.usdmMarket;
wsClient.subscribe(['btcusdt@aggTrade', 'btcusdt@forceOrder'], wsKeyUsdmMarket);

// For user data, continue using the subscribe user data stream method as before.
// The SDK will automatically route to the "private" endpoint for USDM Futures:
wsClient.subscribeUsdFuturesUserDataStream();
```

###### Legacy `wsClient.subscribe*()` methods

If you're using any of the per-topic convenience methods, such as `wsClient.subscribeAggregateTrades(...)`, no change is required. The SDK will automatically route the topic subscription request to the appropriate WS URL.

#### Further Reading

For detailed examples, refer to the examples in this folder, as well as the following documentation:

- Binance JavaScript SDK QuickStart Guide: <https://siebly.io/sdk/binance/javascript>
- Binance JavaScript SDK Readme: <https://www.npmjs.com/package/binance>

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.4.4...v3.5.0](https://github.com/sieblyio/binance/compare/v3.4.4...v3.5.0)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.4.4](https://github.com/sieblyio/binance/releases/tag/v3.4.4)

v3.4.4: Refactor example directory structure, add alpha websockets, and add new API examples for margin listen token and WebSocket disconnect. Published: 2026-03-10T17:36:23Z.

#### What's Changed

- feat(v3.4.4): Refactor example directory structure, add alpha websockets, and add new API examples for margin listen token and WebSocket disconnect by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/652](https://github.com/sieblyio/binance/pull/652)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.4.3...v3.4.4](https://github.com/sieblyio/binance/compare/v3.4.3...v3.4.4)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.4.3](https://github.com/sieblyio/binance/releases/tag/v3.4.3)

v3.4.3: Bump audit dependency, revert prefix version. Published: 2026-02-27T09:21:09Z.

#### What's Changed

- chore(v3.4.3): bump audit dependency, revert prefix version by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/650](https://github.com/sieblyio/binance/pull/650)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.4.2...v3.4.3](https://github.com/sieblyio/binance/compare/v3.4.2...v3.4.3)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.4.2](https://github.com/sieblyio/binance/releases/tag/v3.4.2)

v3.4.2: Fix FuturesNewAlgoOrderParams activatePrice parameter. Fallback from WSAPI to WSClient user data stream for futures. Published: 2026-02-23T10:30:25Z.

#### What's Changed

- fix: rename activationPrice to activatePrice in FuturesNewAlgoOrderParams by @DanZBo in [https://github.com/tiagosiebler/binance/pull/648](https://github.com/sieblyio/binance/pull/648)
- feat: fallback from wsapi to wsclient user data stream for futures by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/649](https://github.com/sieblyio/binance/pull/649)

#### New Contributors

- @DanZBo made their first contribution in [https://github.com/tiagosiebler/binance/pull/648](https://github.com/sieblyio/binance/pull/648)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.4.1...v3.4.2](https://github.com/sieblyio/binance/compare/v3.4.1...v3.4.2)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.4.1](https://github.com/sieblyio/binance/releases/tag/v3.4.1)

v3.4.1: Ensure max margin user data listen token expiry time. Add rimraf dev dependency.. Published: 2026-02-21T12:13:54Z.

#### What's Changed

- fix(v3.4.1): ensure max margin user data listen token expiry time by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/646](https://github.com/sieblyio/binance/pull/646)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.4.0...v3.4.1](https://github.com/sieblyio/binance/compare/v3.4.0...v3.4.1)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.4.0](https://github.com/sieblyio/binance/releases/tag/v3.4.0)

v3.4.0: Integrate Cross Margin WebSocket API User Data Stream for Binance Node.js SDK. Published: 2026-02-21T11:59:36Z.

#### What's Changed

- feat(v3.4.0): integrate margin websocket api user data stream with automatic listen token refresh & resubscribe, bump eslint & jest by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/645](https://github.com/sieblyio/binance/pull/645)

#### Summary

- Adds complete integration for Binance's "listen token" workflow used for the cross margin user data stream (via WebSocket API), since the original mechanic is formally deprecated.
- Automatic token refresh before expiry, for seamless continuous connection to the cross margin user data stream.
- Automatic token expiration handling, in the rare event the SDK was unable to refresh the token before it expired.
- Automatic resubscribe, if the connection drops after you subscribed to the cross margin user data stream.
- Binance docs for margin user data stream: [https://developers.binance.com/docs/margin\_trading/trade-data-stream](https://developers.binance.com/en/docs/products/margin-trading/trade-data-stream)
- Bumped eslint to 10 (dev dependency, resolves a number of audit complaints)
- Bumped jest to 30 (dev dependency, resolves a number of audit complaints)
- Bumped minor node build version to LTS

The process for subscribing to the Cross Margin WebSocket API user data stream with this Binance Node.js SDK is very similar to the other WS API user data streams. Just be sure to use the wsKey for margin. The rest is automatic, including token refresh & expiry handling:
[https://github.com/tiagosiebler/binance/blob/master/examples/WebSockets/Private(userdata)/ws-userdata-wsapi-margin.ts#L183-L186](https://github.com/sieblyio/binance/blob/v3.4.0/examples/WebSockets/Private\(userdata\)/ws-userdata-wsapi-margin.ts#L183-L186)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.3.3...v3.4.0](https://github.com/sieblyio/binance/compare/v3.3.3...v3.4.0)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.3.3](https://github.com/sieblyio/binance/releases/tag/v3.3.3)

v3.3.3: Add GitHub migration notice. Published: 2026-02-09T12:15:56Z.

#### What's Changed

- chore(v3.3.3): add readme migration notice by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/642](https://github.com/sieblyio/binance/pull/642)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.3.2...v3.3.3](https://github.com/sieblyio/binance/compare/v3.3.2...v3.3.3)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.3.2](https://github.com/sieblyio/binance/releases/tag/v3.3.2)

v3.3.2: Add enablePortfolioMarginTrading APIPermission property. Published: 2026-02-07T11:24:23Z.

#### What's Changed

- feat(v3.3.2): add enablePortfolioMarginTrading APIPermission property by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/640](https://github.com/sieblyio/binance/pull/640)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.3.1...v3.3.2](https://github.com/sieblyio/binance/compare/v3.3.1...v3.3.2)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.3.1](https://github.com/sieblyio/binance/releases/tag/v3.3.1)

v3.3.1: Add user data stream WebSocket API support for RSA & HMAC keys. Published: 2026-02-05T11:17:18Z.

#### What's Changed

- feat(v3.3.1): add support for WS API user data stream for RSA & HMAC keys by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/639](https://github.com/sieblyio/binance/pull/639)

#### Summary

- Effective on 2026-02-20 07:00 (UTC), Binance's listenKey mechanism for Spot will be discontinued.
- Users are expected to migrate to the WebSocket API user data stream.
- This PR adds full support for RSA & HMAC keys to the WebSocket API user data stream integration.
- Example: [https://siebly.io/examples/Binance/WebSockets/Private(userdata)/ws-userdata-wsapi.ts#L158-L162](https://siebly.io/examples/Binance/WebSockets/Private\(userdata\)/ws-userdata-wsapi#L158-L162)
- Binance announcement here: <https://www.binance.com/en/support/announcement/detail/80b38c8954bf4965b21eeb3c5fc6edfa?utm_source=EnglishTelegram&utm_medium=GlobalCommunity&utm_campaign=AnnouncementBot>

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.3.0...v3.3.1](https://github.com/sieblyio/binance/compare/v3.3.0...v3.3.1)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.3.0](https://github.com/sieblyio/binance/releases/tag/v3.3.0)

v3.3.0: WebSocket API support for HMAC & RSA keys. Ensure Web Crypto API is used for REST request sign. Updated docs.. Published: 2026-02-04T16:50:30Z.

#### What's Changed

- feat(v3.3.0): WebSocket API support for HMAC & RSA keys. Ensure Web Crypto API is used for REST request sign. Updated docs. by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/638](https://github.com/sieblyio/binance/pull/638)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.2.4...v3.3.0](https://github.com/sieblyio/binance/compare/v3.2.4...v3.3.0)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.2.4](https://github.com/sieblyio/binance/releases/tag/v3.2.4)

v3.2.4: Add new REST & WS examples. Enhance WsStore isDeepObjectMatch for recursion.. Published: 2026-02-04T15:57:42Z.

#### What's Changed

- feat(v3.2.4): Update WSStore isDeepObjectMatch to support recursive … by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/637](https://github.com/sieblyio/binance/pull/637)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.2.3...v3.2.4](https://github.com/sieblyio/binance/compare/v3.2.3...v3.2.4)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.2.3](https://github.com/sieblyio/binance/releases/tag/v3.2.3)

v3.2.3: Export ws connectionstate enum properly. Published: 2026-02-03T11:40:59Z.

#### What's Changed

- refactor: reorganize example directory structure and enhance error handling by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/635](https://github.com/sieblyio/binance/pull/635)
- chore: bump version to 3.2.3 in package.json and package-lock.json by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/636](https://github.com/sieblyio/binance/pull/636)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.2.2...v3.2.3](https://github.com/sieblyio/binance/compare/v3.2.2...v3.2.3)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.2.2](https://github.com/sieblyio/binance/releases/tag/v3.2.2)

v3.2.2: Fix unintentional oid warning for usdm and wsapi. Published: 2026-02-02T13:53:41Z.

#### What's Changed

- fix(v3.2.2, #632): unintentional order id warning by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/634](https://github.com/sieblyio/binance/pull/634)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.2.1...v3.2.2](https://github.com/sieblyio/binance/compare/v3.2.1...v3.2.2)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.2.1](https://github.com/sieblyio/binance/releases/tag/v3.2.1)

v3.2.1: Add & rearrange examples around trading, incl demo and WS. Fix unintentional oid warning.. Published: 2026-02-02T11:20:21Z.

#### What's Changed

- feat: add multiple examples for futures and spot trading, including demo trading and websocket integration by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/631](https://github.com/sieblyio/binance/pull/631)
- fix(v3.2.1, #632): unintentional order id warning by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/633](https://github.com/sieblyio/binance/pull/633)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.2.0...v3.2.1](https://github.com/sieblyio/binance/compare/v3.2.0...v3.2.1)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.2.0](https://github.com/sieblyio/binance/releases/tag/v3.2.0)

v3.2.0: Update WS Options connectivity and examples, bump audit dependency. Published: 2026-01-27T12:15:01Z.

#### What's Changed

- fix(v3.2.0): update options ws connectivity and example, audit dependency bump by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/629](https://github.com/sieblyio/binance/pull/629)

#### Summary

- Old options wss url is nowhere to be seen in the API docs anymore. Only one mention in the changelog from a few years ago but no deprecation notice.
- Shifted to the url mentioned in the docs and updated the example with the new topic formats. Seems to be working again.
- Minor dependency bump after audit.

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.1.9...v3.2.0](https://github.com/sieblyio/binance/compare/v3.1.9...v3.2.0)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.1.9](https://github.com/sieblyio/binance/releases/tag/v3.1.9)

v3.1.9: Add fiat deposit & order detail endpoints. Published: 2026-01-26T14:26:28Z.

#### What's Changed

- feat(v3.1.9): add fiat deposit and order detail endpoints, update examples and documentation by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/627](https://github.com/sieblyio/binance/pull/627)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.1.8...v3.1.9](https://github.com/sieblyio/binance/compare/v3.1.8...v3.1.9)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.1.8](https://github.com/sieblyio/binance/releases/tag/v3.1.8)

v3.1.8: Implement demo trading subdomains, add WebSocket API algo orders & types, fix hardcoded boolean types, minor bumps & cleaning. Published: 2026-01-19T12:24:46Z.

#### What's Changed

- chore(): README.md template sections by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/619](https://github.com/sieblyio/binance/pull/619)
- feat: add WebSocket API algo orders & type definitions by @jinusean in [https://github.com/tiagosiebler/binance/pull/613](https://github.com/sieblyio/binance/pull/613)
- chore: update NPM publish workflow to trigger on release events and handle prerelease tags by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/621](https://github.com/sieblyio/binance/pull/621)
- refactor: update imports and add notes for Node.js-only functionality… by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/623](https://github.com/sieblyio/binance/pull/623)
- feat(): implement demo trading  by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/622](https://github.com/sieblyio/binance/pull/622)
- fix(#603): correct unintentionally hardcoded boolean types, bump webpack bundle analyser, cleaning by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/624](https://github.com/sieblyio/binance/pull/624)

#### New Contributors

- @jinusean made their first contribution in [https://github.com/tiagosiebler/binance/pull/613](https://github.com/sieblyio/binance/pull/613)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.1.7...v3.1.8](https://github.com/sieblyio/binance/compare/v3.1.7...v3.1.8)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.1.7](https://github.com/sieblyio/binance/releases/tag/v3.1.7)

v3.1.7: Add new OPO, OPOCO and misc USDM endpoints, add fiat withdraw endpoint, misc dependency bumps. Published: 2025-12-24T10:50:01Z.

#### What's Changed

- \[Snyk] Upgrade source-map-loader from 2.0.0 to 2.0.2 by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/608](https://github.com/sieblyio/binance/pull/608)
- \[Snyk] Upgrade axios from 1.12.2 to 1.13.1 by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/606](https://github.com/sieblyio/binance/pull/606)
- feat(v3.1.6): add new OPO and OPOCO order list methods, enhance USDM client with new endpoints, and update examples by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/610](https://github.com/sieblyio/binance/pull/610)
- feat: implement fiat withdraw by @NilsonCesar in [https://github.com/tiagosiebler/binance/pull/616](https://github.com/sieblyio/binance/pull/616)
- \[Snyk] Upgrade axios from 1.13.1 to 1.13.2 by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/614](https://github.com/sieblyio/binance/pull/614)
- \[Snyk] Upgrade webpack from 5.97.1 to 5.102.1 by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/607](https://github.com/sieblyio/binance/pull/607)
- feat(v3.1.7, #615): add feat withdraw endpoint by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/618](https://github.com/sieblyio/binance/pull/618)

#### New Contributors

- @NilsonCesar made their first contribution in [https://github.com/tiagosiebler/binance/pull/616](https://github.com/sieblyio/binance/pull/616)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.1.5...v3.1.7](https://github.com/sieblyio/binance/compare/v3.1.5...v3.1.7)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.1.5](https://github.com/sieblyio/binance/releases/tag/v3.1.5)

v3.1.5: Fix diff book depth stream for futures, bump audit dependency. Published: 2025-11-18T15:38:12Z.

#### What's Changed

- fix(v3.1.5): bump audit dependency, fix diff book stream name for futures by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/605](https://github.com/sieblyio/binance/pull/605)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.1.4...v3.1.5](https://github.com/sieblyio/binance/compare/v3.1.4...v3.1.5)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.1.4](https://github.com/sieblyio/binance/releases/tag/v3.1.4)

v3.1.4: New algo orders endpoints, deprecation of !ticker@arr topic. Published: 2025-11-17T11:12:05Z.

#### What's Changed

- feat(v3.1.4): New algo orders, minor changes by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/604](https://github.com/sieblyio/binance/pull/604)

##### 1. Spot API - New `symbolStatus` Parameter

**Affected Endpoints:**

- REST API:
  - `GET /api/v3/depth`
  - `GET /api/v3/ticker/price`
  - `GET /api/v3/ticker/bookTicker`
  - `GET /api/v3/ticker/24hr`
  - `GET /api/v3/ticker/tradingDay`
  - `GET /api/v3/ticker`

- WebSocket API:
  - `depth`
  - `ticker.price`
  - `ticker.book`
  - `ticker.24hr`
  - `ticker.tradingDay`
  - `ticker`

**Files Modified:**

- `src/types/spot.ts` - Added `symbolStatus` to `TradingDayTickerParams` and `RollingWindowTickerParams`
- `src/types/shared.ts` - Added `symbolStatus` to `OrderBookParams`
- `src/main-client.ts` - Added `symbolStatus` to method parameters
- `src/types/websockets/ws-api-requests.ts` - Added `symbolStatus` to request interfaces

**Usage:**

```
// REST API
client.get24hrChangeStatistics({
  symbols: ['BTCUSDT'],
  symbolStatus: 'TRADING'
});

// WebSocket API
wsClient.sendWSAPIRequest('mainWSAPI', 'ticker.24hr', {
  symbol: 'BTCUSDT',
  symbolStatus: 'TRADING'
});
```

##### 2. Deprecated WebSocket Stream - `!ticker@arr`

**Change:** The `!ticker@arr` stream has been deprecated by Binance (effective 2025-11-14).

**Files Modified:**

- `src/types/websockets/ws-events-formatted.ts` - Added `@deprecated` JSDoc warning
- `src/util/typeGuards.ts` - Added deprecation warning to `isWsFormatted24hrTickerArray()`
- `examples/WebSockets/ws-public.ts` - Updated to use `!miniTicker@arr` instead
- `examples/WebSockets/ws-custom-parser.ts` - Updated to use `!miniTicker@arr` instead
- `README.md` - Updated examples to use recommended alternatives

**Migration:**

```
// Old (deprecated)
wsClient.subscribe(['!ticker@arr'], 'main');

// New (recommended)
wsClient.subscribe(['!miniTicker@arr'], 'main'); // For all symbols
// or
wsClient.subscribe(['btcusdt@ticker'], 'main'); // For single symbol### 3. Derivatives - `priceMatch` Enum Updates
```

**Change:** `OPPONENT_10` and `OPPONENT_20` are temporarily removed from place/amend flows (effective 2025-10-23).

**Files Modified:**

- `src/types/futures.ts` - Added deprecation comment to `PriceMatchMode`
- `src/types/portfolio-margin.ts` - Added deprecation comment to `PMPriceMatch`

**Affected Endpoints:**

- USDⓈ-M Futures: `POST/PUT /fapi/v1/order`, `POST/PUT /fapi/v1/batchOrders`
- COIN-M Futures: `POST/PUT /dapi/v1/order`, `POST/PUT /dapi/v1/batchOrders`
- Portfolio Margin: `POST/PUT /papi/v1/um/order`, `POST/PUT /papi/v1/cm/order`, etc.

##### 4. USDⓈ-M Futures - Order Expire Reason Field

**Change:** New `er` (order expire reason) field available in `ORDER_TRADE_UPDATE` stream (effective 2025-10-23).

**Files Modified:**

- `src/types/websockets/ws-events-raw.ts` - Added `er?: string` to `WsMessageFuturesUserDataOrderTradeUpdateEventRaw`
- `src/types/websockets/ws-events-formatted.ts` - Added `orderExpireReason?: string` to `WsMessageFuturesUserDataTradeUpdateEventFormatted`

**Usage:**

```
wsClient.on('formattedUserDataMessage', (data) => {
  if (data.eventType === 'ORDER_TRADE_UPDATE') {
    console.log('Order expire reason:', data.order.orderExpireReason);
  }
});
```

##### 5. USDⓈ-M Futures - Algo Orders (Conditional Orders Migration)

**Change:** Conditional orders migrated to Algo Service (effective 2025-12-02).

**Order Types Affected:**

- `STOP_MARKET`
- `TAKE_PROFIT_MARKET`
- `STOP`
- `TAKE_PROFIT`
- `TRAILING_STOP_MARKET`

###### 5.1 New REST API Endpoints

**Files Modified:**

- `src/types/futures.ts` - Added new Algo Order types and interfaces
- `src/usdm-client.ts` - Added new REST API methods

**New Methods:**

```
// Place algo order
client.submitNewAlgoOrder({
  algoType: 'CONDITIONAL',
  symbol: 'BTCUSDT',
  side: 'SELL',
  type: 'TAKE_PROFIT',
  quantity: '0.01',
  triggerPrice: '50000',
  price: '50000',
  timeInForce: 'GTC'
});

// Cancel algo order
client.cancelAlgoOrder({
  algoId: 12345
});

// Cancel all algo open orders
client.cancelAllAlgoOpenOrders({
  symbol: 'BTCUSDT'
});

// Query algo order
client.getAlgoOrder({
  algoId: 12345
});

// Query open algo orders
client.getOpenAlgoOrders({
  symbol: 'BTCUSDT'
});

// Query all algo orders
client.getAllAlgoOrders({
  symbol: 'BTCUSDT'
});
```

**New Endpoints:**

- `POST /fapi/v1/algoOrder` - Place an algo order
- `DELETE /fapi/v1/algoOrder` - Cancel an algo order
- `DELETE /fapi/v1/algoOpenOrders` - Cancel all open algo orders
- `GET /fapi/v1/algoOrder` - Query an algo order
- `GET /fapi/v1/openAlgoOrders` - Query algo open order(s)
- `GET /fapi/v1/allAlgoOrders` - Query algo order(s)

###### 5.2 New WebSocket Events

**Files Modified:**

- `src/types/websockets/ws-events-raw.ts` - Added `WsMessageFuturesUserDataAlgoUpdateRaw`
- `src/types/websockets/ws-events-formatted.ts` - Added `WsMessageFuturesUserDataAlgoUpdateFormatted`

**New Event Type:** `ALGO_UPDATE`

**Usage:**

```
// Raw event
wsClient.on('message', (data) => {
  if (data.e === 'ALGO_UPDATE') {
    console.log('Algo Order Update:', data.ao);
  }
});

// Formatted event
wsClient.on('formattedUserDataMessage', (data) => {
  if (data.eventType === 'ALGO_UPDATE') {
    console.log('Algo Order Update:', data.algoOrder);
  }
});
```

##### 6. New TypeScript Types and Interfaces

**Added to `src/types/futures.ts`:**

```
// Types
export type AlgoOrderType = 'CONDITIONAL';
export type AlgoOrderStatus = 'NEW' | 'CANCELED' | 'TRIGGERED' | 'EXPIRED' | 'FINISHED';

// Interfaces
export interface NewAlgoOrderParams { /* ... */ }
export interface AlgoOrderResponse { /* ... */ }
export interface CancelAlgoOrderParams { /* ... */ }
export interface CancelAlgoOrderResponse { /* ... */ }
export interface CancelAllAlgoOpenOrdersResponse { /* ... */ }
export interface QueryAlgoOrderParams { /* ... */ }
export interface QueryAlgoOrderResponse { /* ... */ }
export interface QueryOpenAlgoOrdersParams { /* ... */ }
export interface QueryAllAlgoOrdersParams { /* ... */ }
```

#### Breaking Changes

**None.** All changes are backwards compatible:

- New optional parameters won't affect existing code
- Deprecated streams still work (will be removed by Binance at a later date)
- Deprecated `priceMatch` values temporarily removed by Binance but kept in types for compatibility
- New methods and types are additive

#### Migration Guide

##### For `!ticker@arr` Stream Users

```
// Before
wsClient.subscribe(['!ticker@arr'], 'main');

// After (recommended)
wsClient.subscribe(['!miniTicker@arr'], 'main');
// or for single symbol
wsClient.subscribe(['btcusdt@ticker'], 'main');### For Conditional Orders → Algo Orders

// Old conditional order (still works but will migrate to algo service)
client.submitNewOrder({
  symbol: 'BTCUSDT',
  side: 'SELL',
  type: 'TAKE_PROFIT',
  quantity: '0.01',
  stopPrice: '50000',
  price: '50000',
  timeInForce: 'GTC'
});

// New algo order (recommended for conditional orders after 2025-12-02)
client.submitNewAlgoOrder({
  algoType: 'CONDITIONAL',
  symbol: 'BTCUSDT',
  side: 'SELL',
  type: 'TAKE_PROFIT',
  quantity: '0.01',
  triggerPrice: '50000', // Note: stopPrice → triggerPrice
  price: '50000',
  timeInForce: 'GTC'
});
```

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.1.3...v3.1.4](https://github.com/sieblyio/binance/compare/v3.1.3...v3.1.4)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.1.3](https://github.com/sieblyio/binance/releases/tag/v3.1.3)

v3.1.3: Handle circular reference risk in WS API Client exception handler. Published: 2025-11-05T11:11:40Z.

#### What's Changed

- fix(v3.1.3, fixes #600): handle risk of circular reference in WS API Client exception handler by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/601](https://github.com/sieblyio/binance/pull/601)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.1.2...v3.1.3](https://github.com/sieblyio/binance/compare/v3.1.2...v3.1.3)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.1.2](https://github.com/sieblyio/binance/releases/tag/v3.1.2)

v3.1.2: Add type guard for diff book depth update event. Published: 2025-10-23T10:58:03Z.

#### What's Changed

- Minor breaking change from previous version: renamed diff book event interface to WsMessageDiffBookDepthEventFormatted.
- Add type guard isWsDiffBookDepthEventFormatted for depthUpdate event.

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.1.1...v3.1.2](https://github.com/sieblyio/binance/compare/v3.1.1...v3.1.2)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.1.1](https://github.com/sieblyio/binance/releases/tag/v3.1.1)

v3.1.1: Add missing depthUpdate event types and properties. Bump Axios. Minor readme & license update.. Published: 2025-10-22T10:44:03Z.

#### What's Changed

- chore(): update Readme to include portfolio margin examples  by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/592](https://github.com/sieblyio/binance/pull/592)
- \[Snyk] Upgrade axios from 1.12.0 to 1.12.2 by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/591](https://github.com/sieblyio/binance/pull/591)
- feat(v3.1.1): add missing depth update formatted and raw event types and properties by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/596](https://github.com/sieblyio/binance/pull/596)
- Bump license year.

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.1.0...v3.1.1](https://github.com/sieblyio/binance/compare/v3.1.0...v3.1.1)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.1.0](https://github.com/sieblyio/binance/releases/tag/v3.1.0)

v3.1.0: Introduce custom JSON parser hook. Published: 2025-09-29T15:38:05Z.

#### Summary

In niche cases, WS events from Binance include orderIds with very large numbers. These cannot be safely represented as integers (larger than `Number.MAX_SAFE_INTEGER`. In most cases this might not affect you, but for those that do depend on these properties (see #208), this provides an alternative.

A custom parser can now be injected via the `customParseJSONFn` parameter. This allows alternatives such as using RegEx to wrap orderId fields in a string or using a 3rd party big-number safe JSON.parsing library, to parse incoming WebSocket events. For detailed examples, refer to [ws-custom-parser.ts](https://github.com/sieblyio/binance/blob/v3.1.0/examples/WebSockets/ws-custom-parser.ts) in the examples folder.

No breaking changes are expected, as the custom parser method is only used if provided via the customParseJSONFn method.

#### What's Changed

- \[Snyk] Security upgrade axios from 1.10.0 to 1.12.0 by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/585](https://github.com/sieblyio/binance/pull/585)
- feat(ws): add parseWsMessageFn to configure JSON parsing by @merovinh in [https://github.com/tiagosiebler/binance/pull/588](https://github.com/sieblyio/binance/pull/588)
- feat(v3.1.0, #588): introduce custom JSON parser hook & small refinements by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/589](https://github.com/sieblyio/binance/pull/589)
- feat(v3.1.0, #588): introduce custom JSON parser hook & small refinements by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/590](https://github.com/sieblyio/binance/pull/590)

#### New Contributors

- @merovinh made their first contribution in [https://github.com/tiagosiebler/binance/pull/588](https://github.com/sieblyio/binance/pull/588)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.0.9...v3.1.0](https://github.com/sieblyio/binance/compare/v3.0.9...v3.1.0)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Binance JavaScript SDK v3.0.9](https://github.com/sieblyio/binance/releases/tag/v3.0.9)

v3.0.9: Add soft staking endpoints with examples, add margin auto cancel param. Published: 2025-09-15T11:47:23Z.

#### What's Changed

- feat(v3.0.9): update package version and add soft staking endpoints with examples, add margin auto cancel param by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/586](https://github.com/sieblyio/binance/pull/586)
- fix: add missing dev dependency for CI tests by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/587](https://github.com/sieblyio/binance/pull/587)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.0.8...v3.0.9](https://github.com/sieblyio/binance/compare/v3.0.8...v3.0.9)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)
