SDK Releases & Updates

Combined release feed across all JavaScript SDK GitHub repositories, sorted by most recent. Navigate our most recent SDK releases, updates, and changelogs in one place. Filter by SDK to view specific release notes and stay up-to-date with the latest features and improvements.

Last refresh:

Showing releases 1 to 27 of 27 for Gate JavaScript SDK. Page 1 of 1.

Gate JavaScript SDK
v1.6.9

What's Changed

  • fix(v1.6.9): deprecate no-op REST recvWindow by @JJ-Cro in gateio-api PR #155
  • Introducing a new dedicated documentation page for our Gate.com JavaScript & Node.js SDK
    • 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 Gate's REST APIs & WebSockets with any leading JavaScript runtime.

Full Changelog: gateio-api compare v1.6.8...v1.6

Gate JavaScript SDK
v1.6.8

What's Changed

  • feat(v1.6.8): add stock endpoints and align Gate API types by @JJ-Cro in gateio-api PR #153

Full Changelog: gateio-api compare v1.6.7...v1.6

Gate JavaScript SDK
v1.6.7

What's Changed

  • chore: update logo, readme, bump pinned versions by @tiagosiebler in gateio-api PR #149
  • feat(v1.6.7): withdrawal id filters, 5xx retry docs, README ticker snippet by @JJ-Cro in gateio-api PR #150

Full Changelog: gateio-api compare v1.6.6...v1.6

Gate JavaScript SDK
v1.6.6

What's Changed

  • feat(v1.6.6): RPI order books, stock dual earn, CrossEx securities by @JJ-Cro in gateio-api PR #148

Full Changelog: gateio-api compare v1.6.4...v1.6

Gate JavaScript SDK
v1.6.4

What's Changed

  • feat(v1.6.4): add announcement, ADL risk, OTC pre-upload, and CrossEx margin APIs by @JJ-Cro in gateio-api PR #146

Full Changelog: gateio-api compare v1.6.3...v1.6

Gate JavaScript SDK
v1.6.3

What's Changed

Full Changelog: gateio-api compare v1.6.2...v1.6

Gate JavaScript SDK
v1.6.2

What's Changed

Full Changelog: gateio-api compare v1.6.1...v1.6

Gate JavaScript SDK
v1.6.1

What's Changed

  • chore(v1.6.0): upgrade GitHub Actions to setup-node v7 and checkout v6 by @JJ-Cro in gateio-api PR #133
  • chore(v1.6.1): pin ws to 8.x, remove webpack analyser and improve wsOptions type by @tiagosiebler in gateio-api PR #134

Full Changelog: gateio-api compare v1.6.0...v1.6

Gate JavaScript SDK
v1.6.0

What's Changed

Full Changelog: gateio-api compare v1.5.5...v1.6

Gate JavaScript SDK
v1.5.5

What's Changed

  • feat(v1.5.5): add new OTC bank management endpoints, update existing request/response types, and enhance WebSocket client functionality @JJ-Cro by @JJ-Cro in gateio-api PR #129

Full Changelog: gateio-api compare v1.5.4...v1.5

Gate JavaScript SDK
v1.5.4

What's Changed

  • chore(v1.5.4): Move optionalDependencies to devDependencies and update README badges by @JJ-Cro in gateio-api PR #127

Full Changelog: gateio-api compare v1.5.3...v1.5

View all releases here: gateio api release feed

Gate JavaScript SDK
v1.5.3

What's Changed

  • feat(v1.5.3): add new OTC bank management endpoints and examples, other type changes by @JJ-Cro in gateio-api PR #125
  • chore: move webpack to dev dependencies to prevent bundle bloat. depn bump after audit. by @tiagosiebler in gateio-api PR #126

Full Changelog: gateio-api compare v1.5.2...v1.5

View all releases here: gateio api release feed

Gate JavaScript SDK
v1.5.2

What's Changed

Full Changelog: gateio-api compare v1.5.1...v1.5


Breaking / notable typing changes

  • getCrossExFeeRate() — returns CrossExFeeRate[]; each item includes required exchange_type.
  • PushOrder.id — string (was number).
  • getFuturesOrdersByTimeRange() — returns FuturesOrderTimerange[] (not FuturesOrder[]).
  • SpotPriceTriggeredOrder.put.time_in_force — now required ('gtc' | 'ioc').
  • Earn (removed) — submitEth2Swap, getEth2RateHistory, structured product methods removed; related types removed from earn request/response.
  • Dual investment — getDualInvestmentProducts / getDualInvestmentOrders use new request interfaces instead of ad-hoc / FromToPageLimit.
  • Futures price-trigger create/amend (and delivery create) — return TriggerOrderResponse (id, id_string) instead of { id: number }.
  • CrossExRiskLimitTier — quick_cal_amount is required (constructors/mocks must supply it).
  • UnifiedAccountInfo.mode — required field (from earlier batch; may affect mocks).

v4.106.44 / v4.106.48

  • SpotCurrency: category?: string[].
  • finish_as: poc + JSDoc for IOC vs post-only TIF on spot batch/order and futures order / batch amend.
  • PushOrder.id: string (UidPush withdrawal push).
  • CrossEx: fee rates per exchange; convert order response type; PERIODIC_ISOLATED on margin interest comment.
  • RestClient: getCrossExFeeRate, createCrossExConvertOrder signatures updated.

v4.106.49–v4.106.51

  • FuturesOrderTimerange + getFuturesOrdersByTimeRange.
  • FuturesOrder: order_value?, trade_value? (response-only).
  • getFuturesOrder: JSDoc — path id vs text client id.
  • Earn: ETH2 + structured product endpoints and types removed.

v4.106.52–v4.106.55

  • Futures price-trigger: amount? on create initial and on amend request.
  • Earn auto-invest: new types/request/autoinvest.ts, types/response/autoinvest.ts, exports in index.ts, RestClient methods for all /earn/autoinvest/* routes in scope.
  • Rebate: PartnerDataAggregated / PartnerDataAggregatedResponse, getPartnerAgentDataAggregated.

v4.106.56–v4.106.58

  • WithdrawalRecord: timestamp / DONE wording (no block_number > 0 completion rule).
  • CrossExRiskLimitTier: quick_cal_amount.
  • FuturesContract / FuturesDeliveryContract: contract_type?.
  • GetSubAccountBalancesReq: page?, limit?; getSubBalance uses it.

v4.106.59–v4.106.61

  • Dual earn: refund preview, refund, modify reinvest, project recommend; list plans / list orders query types; models DualOrderRefundPreview, DualProjectRecommend, etc.
  • SubAccountBalance: locking?; getSubBalance return type.
  • TriggerOrderResponse, FuturesPriceTriggeredOrder.id_string?; futures + delivery price-trigger create/amend returns.
  • Rebate list items: JSDoc — commission fields are rebate commission, not generic trade notional.
  • FuturesContract.interest_rate: JSDoc (contracts list/detail).

v4.106.70

  • GetSpotAccountBookReq.type: JSDoc for internal sub-account transfer BizTypes 150215–150219.

View all releases here: gateio api release feed

Gate JavaScript SDK
v1.5.1

What's Changed

New Contributors

Full Changelog: gateio-api compare v1.5.0...v1.5

View all releases here: gateio api release feed

Gate JavaScript SDK
v1.5.0

What's Changed

  • feat: reorganize examples and add getContractSize example for futures trading by @JJ-Cro in gateio-api PR #106
  • feat(v1.5.0): add new P2P and TradFi API examples, update package version to 1.5.0, and include new request types in documentation by @JJ-Cro in gateio-api PR #111
  • chore: dependency bumps after audit & readme updates by @tiagosiebler in gateio-api PR #112
  • add readme references to new quickstart guide on using the Gate.com API JavaScript SDK

Full Changelog: gateio-api compare v1.4.2...v1.5

View all releases here: gateio api release feed

Gate JavaScript SDK
v1.4.2

What's Changed

Full Changelog: gateio-api compare v1.4.1...v1.4

View all releases here: gateio api release feed

Gate JavaScript SDK
v1.4.1

What's Changed

  • feat: add new examples for futures and spot trading using REST and WebSocket clients by @JJ-Cro in gateio-api PR #102
  • feat(v1.4.1): enhance isDeepObjectMatch function for recursive object comparison by @JJ-Cro in gateio-api PR #104

Full Changelog: gateio-api compare v1.4.0...v1.4

View all releases here: gateio api release feed

Gate JavaScript SDK
v1.4.0

What's Changed

  • fix(#99): omit url suffix when query params are empty by @tiagosiebler in gateio-api PR #100
  • feat(v1.4.0): Added otc, crossex and alpha endpoints by @JJ-Cro in gateio-api PR #98

Full Changelog: gateio-api compare v1.3.5...v1.4

View all releases here: gateio api release feed

Gate JavaScript SDK
v1.3.5

What's Changed

  • chore: update NPM publish workflow to trigger on release events and handle prerelease tags by @JJ-Cro in gateio-api PR #93
  • feat: enhance WSClientConfigurableOptions to support additional WebSocket and HTTP client options by @JJ-Cro in gateio-api PR #94
  • feat: add Webpack configuration and update README for browser usage by @JJ-Cro in gateio-api PR #95
  • chore: bump webpack analyser by @tiagosiebler in gateio-api PR #96
  • chore(): README.md template sections by @tiagosiebler in gateio-api PR #97

Full Changelog: gateio-api compare v1.3.4...v1.3

Gate JavaScript SDK
v1.3.4

What's Changed

Full Changelog: gateio-api compare v1.3.3...v1.3

Gate JavaScript SDK
v1.3.3

What's Changed

  • [Snyk] Upgrade axios from 1.12.2 to 1.13.1 by @tiagosiebler in gateio-api PR #88
  • chore(deps-dev): bump js-yaml from 3.14.1 to 3.14.2 by @dependabot[bot] in gateio-api PR #87
  • chore(v1.3.3): update version to 1.3.3, add getLowCapExchangeList endpoint, and deprecate certain fields in response types by @JJ-Cro in gateio-api PR #89

Full Changelog: gateio-api compare v1.3.2...v1.3

Gate JavaScript SDK
v1.3.2

What's Changed

  • feat(v1.3.2): update version to 1.3.2, add new futures price-triggered order update endpoint by @JJ-Cro in gateio-api PR #86

Full Changelog: gateio-api compare v1.3.1...v1.3


🆕 New Endpoints

1. Update Futures Price-Triggered Order

  • Method: updateFuturesPriceTriggeredOrder()
  • Endpoint: PUT /futures/{settle}/price_orders/{order_id}
  • Description: Update a single price-triggered order

2. Get Account Main Keys

  • Method: getAccountMainKeys()
  • Endpoint: GET /account/main_keys
  • Description: Query all main account API key information

📝 Type Updates

New Types Added

  • AccountMainKey - Response interface for main account API keys
  • DepositRecord - Dedicated interface for deposit records with new status values
  • UpdateFuturesPriceTriggeredOrderReq - Request parameters for updating price-triggered orders

Updated Types

  • WithdrawalRecord - Enhanced status field descriptions with detailed comments
  • SubmitFuturesTriggeredOrderReq - Made price and rule fields required in trigger object
  • DepositRecord - New status values: BLOCKED, DEP_CREDITED (removed FINAL)
  • CurrencyChain - Documented is_deposit_disabled field

🔄 Method Updates

Return Type Changes

  • getDepositRecords() - Now returns DepositRecord[] instead of WithdrawalRecord[]

Documentation Updates

  • cancelWithdrawal() - Documented block_number field in response
  • getCurrencyChains() - Added note about low liquidity currencies
  • getWithdrawalStatus() - Added note about API limitations for low liquidity tokens
  • getSpotCurrencyPairs() / getSpotCurrencyPair() - Marked fee field as deprecated
  • submitFuturesPriceTriggeredOrder() - Documented required fields
  • submitEth2Swap() - Updated terminology (ETH2 → GTETH)
  • getEth2RateHistory() - Updated terminology (ETH2 → GTETH)
  • getUnifiedAccountInfo() - Updated field descriptions for cross_balance and iso_balance

✅ Changes Summary

  • ✅ 2 new endpoints implemented
  • ✅ 3 new TypeScript interfaces added
  • ✅ 4 existing interfaces updated
  • ✅ 11 methods updated with improved documentation
  • ✅ All imports and exports properly configured
  • ✅ Zero linter errors
  • ✅ Full TypeScript type safety maintained

📋 Breaking Changes

Required Field Updates

  • SubmitFuturesTriggeredOrderReq.trigger.price - Now required (was optional)
  • SubmitFuturesTriggeredOrderReq.trigger.rule - Now required (was optional)
  • SubmitFuturesTriggeredOrderReq.initial.price - Now required (was optional)

Return Type Changes

  • getDepositRecords() return type changed from WithdrawalRecord[] to DepositRecord[]

🔗 Related Changelog Versions

  • v4.105.28 - Withdrawal block_number field, unified account field updates
  • v4.105.27 - Status field description improvements
  • v4.105.24 - Low liquidity currency documentation
  • v4.105.20 - Deposit record enhancements
  • v4.105.19 - ETH2 to GTETH terminology updates
  • v4.105.18 - New update price-triggered order endpoint
  • v4.105.11 - Main account keys endpoint, fee field deprecation
  • v4.105.10 - Required fields in futures price-triggered orders
Gate JavaScript SDK
v1.3.1

Previously running a JSON.stringify call within the WebsocketAPIClient exception handler could in rare circumstances lead to a circular reference. This handles that scenario in a safer way.

What's Changed

  • chore(1.3.1): update version to 1.3.1 and improve error handling in WebsocketAPIClient by @JJ-Cro in gateio-api PR #85

Full Changelog: gateio-api compare v1.3.0...v1.3

Gate JavaScript SDK
v1.3.0

What's Changed

  • feat: disable request parameter encoding, add unified batch max borrowable endpoint by @tiagosiebler in gateio-api PR #84
  • fixes sign errors seen when request parameter includes comma

Full Changelog: gateio-api compare v1.2.10...v1.3

Gate JavaScript SDK
v1.2.10

What's Changed

  • [Snyk] Security upgrade axios from 1.10.0 to 1.12.0 by @tiagosiebler in gateio-api PR #80
  • fix: axios build error by @tiagosiebler in gateio-api PR #81
  • feat(v1.2.10): add new futures endpoints and update request/response types by @JJ-Cro in gateio-api PR #82

Full Changelog: gateio-api compare v1.2.9...v1.2

Gate JavaScript SDK
v1.2.9

What's Changed

  • fix: correct testnet WebSocket URL for perpFuturesUSDTV4 by @fireflies1988 in gateio-api PR #77
  • chore(): bump package lock after #77 by @tiagosiebler in gateio-api PR #78

New Contributors

Full Changelog: gateio-api compare v1.2.8...v1.2

Gate JavaScript SDK
v1.2.8

What's Changed

This release deprecates the previous automation for publishing releases to NPM, to a more secure tokenless trusted-publisher workflow.

Release notes

  • chore(): update GitHub Actions workflow for NPM publishing by @JJ-Cro in gateio-api PR #72
  • chore(): bump version to 1.2.8 in package.json and package-lock.json by @JJ-Cro in gateio-api PR #73

Full Changelog: gateio-api on GitHub

Subscribe on Substack

Complete the Substack form below to join our newsletter. Substack handles all subscriber data directly.