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 29 of 29 for KuCoin JavaScript SDK. Page 1 of 1.
What's Changed
- feat(v2.6.9): UTA orderbook depth and 6 Nov account changes by @JJ-Cro in kucoin-api PR #174
Full Changelog: kucoin-api compare v2.6.8...v2.6
What's Changed
- fix(ws): stop scanning every frame for pong, add opt-in pre-parse dat… by @ucmahdi in kucoin-api PR #171
- chore(v2.6.8): align npm author URL with siebly.io by @JJ-Cro in kucoin-api PR #172
Full Changelog: kucoin-api compare v2.6.7...v2.6
What's Changed
- chore: bump pinned dependencies by @tiagosiebler in kucoin-api PR #169
- chore(v2.6.7): deprecate removed Classic Crypto Loan Pro endpoints by @JJ-Cro in kucoin-api PR #170
Full Changelog: kucoin-api compare v2.6.6...v2.6
What's Changed
- fix(v2.6.6): correct client names in examples, document 429000 rate limit handling by @JJ-Cro in kucoin-api PR #168
Full Changelog: kucoin-api compare v2.6.5...v2.6
What's Changed
- feat(v2.6.5): add UTA futures WebSocket amendFuturesOrder (uta.amend) by @JJ-Cro in kucoin-api PR #165
Full Changelog: kucoin-api compare v2.6.4...v2.6
What's Changed
- feat(v2.6.4): add UTA V2 REST paths, amendOrder/getCurrencies/getIndexPrice, and broker markup by @JJ-Cro in kucoin-api PR #164
Full Changelog: kucoin-api compare v2.6.3...v2.6
What's Changed
- feat(v2.6.3): link package docs to Siebly pages by @tiagosiebler in kucoin-api PR #160
- Kucoin QuickStart Guide: Kucoin JavaScript Getting Started
- Kucoin Tutorial Kucoin JavaScript & Node.js Tutorial
Full Changelog: kucoin-api compare v2.6.2...v2.6
What's Changed
- fix: clarify KuCoin quickstart client and topic guidance by @JJ-Cro in kucoin-api PR #151
- fix: git url after siebly repo migration by @JJ-Cro in kucoin-api PR #153
- chore(): README.md template sections by @tiagosiebler in kucoin-api PR #156
- feat(v2.6.2): add new API endpoints and update documentation by @JJ-Cro in kucoin-api PR #157
- Introduced new endpoints for Call Auction Info, Deposit History, Withdrawal History, Interest Rate Index, and Trade Statistics.
- Updated existing interfaces to include new request and response types.
- Added examples for new API calls in the documentation.
- Updated version to 2.6.2 in package.json and package-lock.json.
- Enhanced WebSocket support for Call Auction Info channel.
Full Changelog: kucoin-api compare v2.6.1...v2.6
What's Changed
- chore(v2.6.0): upgrade GitHub Actions to setup-node v7 and checkout v6 by @JJ-Cro in kucoin-api PR #147
- chore(v2.6.1): pin ws to 8.x, remove webpack analyser and improve wsOptions type by @tiagosiebler in kucoin-api PR #148
Full Changelog: kucoin-api compare v2.6.0...v2.6
What's Changed
- chore(v2.6.0): pin npm to v11 and update Node to v24.18.0 by @JJ-Cro in kucoin-api PR #145
Full Changelog: kucoin-api compare v2.5.5...v2.6
What's Changed
- feat(v2.5.5): enhance UTA API with new endpoints for fiat price and rate limits, update deposit status types, and improve WebSocket event interfaces by @JJ-Cro in kucoin-api PR #144
Full Changelog: kucoin-api compare v2.5.4...v2.5
What's Changed
- Update README badges by @JJ-Cro in kucoin-api PR #140
- fix(v2.5.4): UTA futures request building, chore: bump dependencies post audit by @tiagosiebler in kucoin-api PR #142
Full Changelog: kucoin-api compare v2.5.3...v2.5
Refer to the Kucoin JavaScript SDK QuickStart Guide to learn more.
What's Changed
- feat(v2.5.3): update package version to 2.5.3, enhance BrokerClient with Fast API withdrawal functionality, and improve API documentation with new endpoints and status codes by @JJ-Cro in kucoin-api PR #137
- chore: npm bumps post-audit by @tiagosiebler in kucoin-api PR #139
Full Changelog: kucoin-api compare v2.5.2...v2.5
What's Changed
- feat(v2.5.2): enhance Unified Trading Account API with new endpoints … by @JJ-Cro in kucoin-api PR #130
- chore: lockfile bumps after audit, add quickstart readme link by @tiagosiebler in kucoin-api PR #133
Full Changelog: kucoin-api compare v2.5.1...v2.5
What's Changed
- feat: add Unified Trading Account examples and update Spot and Futures guides by @JJ-Cro in kucoin-api PR #117
- feat(v2.5.1): update API documentation and examples for Unified Trading Account by @JJ-Cro in kucoin-api PR #122
Full Changelog: kucoin-api compare v2.5.0...v2.5
What's Changed
- feat(v2.5.0): support regional KuCoin EU and AU REST APIs and WebSockets by @tiagosiebler in kucoin-api PR #116
- Add readme notice on upcoming migration to the Siebly.io GitHub organisation.
Full Changelog: kucoin-api compare v2.4.1...v2.5
What's Changed
- refactor: reorganize example directory structure and update WebSocket examples by @JJ-Cro in kucoin-api PR #113
- refactor: update SDK references and enhance request utility types by @JJ-Cro in kucoin-api PR #114
- feat(v2.4.1):add tests for isDeepObjectMatch function by @JJ-Cro in kucoin-api PR #115
Full Changelog: kucoin-api compare v2.4.0...v2.4
What's Changed
- feat: add examples for futures and spot trading using WebSocket and REST APIs by @JJ-Cro in kucoin-api PR #112
- feat(v2.4.0): Integrate V2 (Pro) Public & Private WebSockets by @tiagosiebler in kucoin-api PR #111
- Bump eslint to latest
Full Changelog: kucoin-api compare v2.3.6...v2.4
What's Changed
- feat(v2.3.6): enhance API client with new endpoints and update package dependencies by @JJ-Cro in kucoin-api PR #109
Full Changelog: kucoin-api compare v2.3.5...v2.3
What's Changed
- chore: update NPM publish workflow to trigger on release events and h… by @JJ-Cro in kucoin-api PR #104
- chore: enhance WSClientConfigurableOptions to support additional WebSocket and HTTP client options by @JJ-Cro in kucoin-api PR #105
- chore: update .gitignore, add webpack configuration, and enhance package.json for optional dependencies by @JJ-Cro in kucoin-api PR #106
- feat(v2.3.5): update webpack config, update wsOptions, update release workflow, minor bumps by @tiagosiebler in kucoin-api PR #107
- chore(): README.md template sections by @tiagosiebler in kucoin-api PR #108
Full Changelog: kucoin-api compare v2.3.4...v2.3
What's Changed
- chore(): README.md template sections by @tiagosiebler in kucoin-api PR #102
- [Snyk] Upgrade axios from 1.13.1 to 1.13.2 by @tiagosiebler in kucoin-api PR #101
- chore(v2.3.4): readme bumps by @tiagosiebler in kucoin-api PR #103
Full Changelog: kucoin-api compare v2.3.3...v2.3
What's Changed
- [Snyk] Upgrade axios from 1.12.2 to 1.13.1 by @tiagosiebler in kucoin-api PR #99
- chore(deps-dev): bump js-yaml from 3.14.1 to 3.14.2 by @dependabot[bot] in kucoin-api PR #98
- feat(v2.3.3): add new endpoints for market available inventory and kumining, update SDK documentation and examples by @JJ-Cro in kucoin-api PR #100
Full Changelog: kucoin-api compare v2.3.2...v2.3
What's Changed
- feat(v2.3.2): add futures copy trading cross margin, hedge mode, collateral and kyc endpoints by @JJ-Cro in kucoin-api PR #97
Full Changelog: kucoin-api compare v2.3.1...v2.3
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
- feat(): Add licence file by @JJ-Cro in kucoin-api PR #95
- fix(2.3.1): improve error handling in WebSocket client, fix circular error by @JJ-Cro in kucoin-api PR #96
Full Changelog: kucoin-api compare v2.3.0...v2.3
What's Changed
- feat(v2.3.0): introduced Unified Trading Client by @JJ-Cro in kucoin-api PR #92
The UnifiedAPIClient provides access to KuCoin's Unified API endpoints, which offer streamlined market data access across Spot, Futures, and Margin trading products. It doesn't serve a purpose of a UTA account(Unified trading account) - but it is a new generation of API endpoints generalised for all trading products.
Full Changelog: kucoin-api compare v2.2.0...v2.3
What's Changed
- feat(v2.2.0, #67): Integrate WebSocket API for sending orders & commands via WebSocket events by @tiagosiebler in kucoin-api PR #84
- feat(): added wsapi client, examples and all types by @JJ-Cro in kucoin-api PR #90
- feat(): Added examples by @JJ-Cro in kucoin-api PR #91
- Bumped ws package to newer version
Breaking Changes
- No breaking changes with this release. Much of the architecture was already prepared for this enhancement.
WebSocket API
This release introduces a new WebSocket class called WebsocketAPIClient. This wraps around the newly integrated sendWSAPIRequest command from the WebsocketClient, to send commands & orders via a persisted WebSocket connection.
Below is an example showing how easy it is to use the WebSocket API without any concern for the complexity of managing WebSockets. For more detailed demonstration, take a look at the examples/WebSockets/ws-api-client.ts example:
import { DefaultLogger, WebsocketAPIClient } from 'kucoin-api';
// or, if you prefer `require()`:
// const { DefaultLogger, WebsocketAPIClient } = require('kucoin-api');
const customLogger = {
...DefaultLogger,
// For a more detailed view of the WebsocketClient, enable the `trace` level by uncommenting the below line:
// trace: (...params) => console.log(new Date(), 'trace', ...params),
};
const account = {
key: process.env.API_KEY || 'keyHere',
secret: process.env.API_SECRET || 'secretHere',
passphrase: process.env.API_PASSPHRASE || 'apiPassPhraseHere', // This is NOT your account password
};
const wsClient = new WebsocketAPIClient(
{
apiKey: account.key,
apiSecret: account.secret,
apiPassphrase: account.passphrase,
// If you want your own event handlers instead of the default ones with logs, disable this setting and see the `attachEventHandlers` example below:
// attachEventListeners: false
},
// customLogger, // optional: uncomment this to inject a custom logger
);
// Make WebSocket API calls, very similar to a REST API:
wsClient
.submitNewSpotOrder({
side: 'buy',
symbol: 'BTC-USDT',
type: 'limit',
price: '150000',
size: '0.0001',
})
.then((syncSpotOrderResponse) => {
console.log('Sync spot order response:', syncSpotOrderResponse);
})
.catch((e) => {
console.log('Sync spot order error:', e);
});
wsClient
.submitFuturesOrder({
clientOid: 'futures-test-' + Date.now(),
side: 'buy',
symbol: 'XBTUSDTM',
marginMode: 'CROSS',
type: 'limit',
price: '1000',
qty: '0.01',
leverage: 10,
positionSide: 'LONG', // needed if trading two-way (hedge) position mode
})
.then((futuresOrderResponse) => {
console.log('Futures order response:', futuresOrderResponse);
})
.catch((e) => {
console.log('Futures order error:', e);
});
Full Changelog: kucoin-api compare v2.1.23...v2.2
What's Changed
- feat(v2.1.23): Add updatePositionMode endpoint and enhance futures response types by @JJ-Cro in kucoin-api PR #89
Full Changelog: kucoin-api compare v2.1.22...v2.1
What's Changed
- feat(v2.1.22): Added new margin trading endpoints and request/response types for borrow interest rates and margin stop orders. by @JJ-Cro in kucoin-api PR #86
Full Changelog: kucoin-api compare v2.1.21...v2.1
What's Changed
Transitioned the release workflow to a token-less trusted publisher workflow, for a more secure way to publish new releases to npm.
Historic Changelog
- chore(v2.1.17): update readme for modern and performant look by @JJ-Cro in kucoin-api PR #74
- fix(v2.1.18, #77): delete params passed as query string by @tiagosiebler in kucoin-api PR #78
- feat(2.1.19): added cross margin new endpoint by @JJ-Cro in kucoin-api PR #79
- [Snyk] Upgrade nanoid from 3.3.8 to 3.3.11 by @tiagosiebler in kucoin-api PR #76
- [Snyk] Upgrade axios from 1.8.2 to 1.10.0 by @tiagosiebler in kucoin-api PR #75
- feat(v2.1.20): add Web Crypto API check for authentication by @JJ-Cro in kucoin-api PR #80
- chore(): Update GitHub Actions workflow for NPM publishing by @JJ-Cro in kucoin-api PR #81
- chore(): Bump version to 2.1.21 in package.json and package-lock.json by @JJ-Cro in kucoin-api PR #82
Full Changelog: kucoin-api on GitHub