Skip to content

Commit 22184f5

Browse files
committed
Update changelog.md
1 parent 8185bea commit 22184f5

4 files changed

Lines changed: 122 additions & 3 deletions

File tree

changelog.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,125 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.0.1] - 2026-02-05
6+
7+
### Breaking Changes
8+
9+
- **Removed Deprecated Methods**: All previously deprecated methods have been removed as part of the v2.0.0 cleanup.
10+
- `searchMarkets(query, params)`: Use `fetchMarkets({ query, ...params })` instead.
11+
- `getMarketsBySlug(slug)`: Use `fetchMarkets({ slug })` instead.
12+
- `searchEvents(query, params)`: Use `fetchEvents({ query, ...params })` instead.
13+
- **Removed Deprecated Fields**: Removed the deprecated `.id` field from `UnifiedMarket` and `MarketOutcome` models. Use `.marketId` and `.outcomeId` instead.
14+
- **Python SDK Signature Changes**: Refactored Python SDK to use direct keyword arguments instead of params dictionary.
15+
- `fetch_ohlcv` and `fetch_trades` now use kwargs for cleaner API calls.
16+
- All methods now follow the pattern: `method(arg1, arg2, key1=value1, key2=value2)` instead of `method(arg1, arg2, params={'key1': value1})`.
17+
18+
### Added
19+
20+
- **Limitless WebSocket Support**: Implemented real-time WebSocket streaming for Limitless exchange.
21+
- Added `watchOrderBook` and `watchTrades` support for live market data.
22+
- WebSocket connection management with automatic reconnection.
23+
- **Limitless On-Chain Balances**: Added on-chain balance fetching capability for Limitless exchange.
24+
- Queries blockchain directly for accurate balance information.
25+
- Integrated with Limitless SDK for seamless balance retrieval.
26+
- **Unified Error Handling System**: Implemented a comprehensive error handling system across all exchanges.
27+
- Consistent error messages and status codes across Polymarket, Kalshi, and Limitless.
28+
- Improved error mapping for better debugging and troubleshooting.
29+
- More robust compliance tests with proper error detection.
30+
- **Polymarket Signing Updates**: Enhanced Polymarket initialization with new authentication options.
31+
- Added `proxyAddress` parameter for explicit proxy wallet configuration.
32+
- Added `signatureType` parameter with support for "gnosis-safe" (default), "polyproxy", and "eoa".
33+
- Updated examples to demonstrate new signing methods.
34+
35+
### Changed
36+
37+
- **Migration to Unified API**: Completed migration to CCXT-style API patterns as outlined in `MIGRATION.md`.
38+
- All exchanges now use consistent parameter patterns with unified `params` objects (TypeScript) or keyword arguments (Python).
39+
- Improved API consistency across all supported exchanges.
40+
- **Updated Examples**: Refactored all examples in `examples/` directory to use v2.0.0 API patterns.
41+
- Removed legacy method calls and deprecated patterns.
42+
- Added examples demonstrating new Polymarket signing configuration.
43+
- Updated models and data structures throughout.
44+
- **OpenAPI Documentation**: Updated OpenAPI specification to include:
45+
- Limitless WebSocket endpoints and methods.
46+
- Missing methods from previous versions.
47+
- Corrected parameter definitions and response schemas.
48+
- **Limitless Documentation**: Improved Limitless exchange documentation with clearer setup instructions and API usage examples.
49+
50+
### Fixed
51+
52+
- **TypeScript Build Errors**: Resolved TypeScript compilation errors related to Limitless WebSocket implementation and server bundle generation.
53+
- **Python Error Parsing**: Fixed error parsing issues in the Python SDK that were causing incorrect error messages.
54+
- **Limitless Search Functionality**: Fixed semantic search parameters and query handling for Limitless markets.
55+
- Corrected parameter mapping for search endpoints.
56+
- Improved search result relevance and accuracy.
57+
- **Compliance Test Improvements**: Enhanced compliance test suite across all exchanges.
58+
- Replaced deprecated `.id` with `.outcomeId` and `.marketId` in all tests.
59+
- Improved error status and message detection for Kalshi `fetchOrder` tests.
60+
- Updated `fetchOrderBook` tests and reduced Limitless logging noise.
61+
- Increased `fetchMarkets` timeout to 120s for Kalshi to handle slower API responses.
62+
- Changed market fetch limit to 25 for better test reliability.
63+
- Fixed `fetchMarket` tests to properly handle Kalshi's data structure.
64+
- **Verbose Logging**: Removed excessive verbose logging from sidecar API, providing cleaner console output during normal operations.
65+
66+
### Improved
67+
68+
- **Error Handling Robustness**: Significantly improved error detection, mapping, and reporting across all exchanges.
69+
- **Test Reliability**: Enhanced compliance test suite with better timeout handling and more robust assertions.
70+
- **Code Quality**: Removed all deprecated code paths, resulting in cleaner and more maintainable codebase.
71+
- **Documentation Quality**: Updated README with authentication introduction and clearer getting started instructions.
72+
73+
### Migration Guide
74+
75+
For TypeScript users upgrading from v1.7.0:
76+
```typescript
77+
// v1.7.0 (deprecated methods)
78+
const markets = await exchange.searchMarkets("Trump", { limit: 10 });
79+
const market = await exchange.getMarketsBySlug("trump-wins-2024");
80+
81+
// v2.0.0 (unified API)
82+
const markets = await exchange.fetchMarkets({ query: "Trump", limit: 10 });
83+
const market = await exchange.fetchMarkets({ slug: "trump-wins-2024" });
84+
85+
// v1.7.0 (deprecated field)
86+
console.log(market.id);
87+
88+
// v2.0.0 (use specific ID fields)
89+
console.log(market.marketId);
90+
console.log(outcome.outcomeId);
91+
```
92+
93+
For Python users upgrading from v1.7.0:
94+
```python
95+
# v1.7.0 (params dictionary)
96+
candles = exchange.fetch_ohlcv(market_id, timeframe, params={'start': start_time})
97+
98+
# v2.0.0 (keyword arguments)
99+
candles = exchange.fetch_ohlcv(market_id, timeframe, start=start_time)
100+
101+
# v1.7.0 (deprecated field)
102+
print(market.id)
103+
104+
# v2.0.0 (use specific ID fields)
105+
print(market.market_id)
106+
print(outcome.outcome_id)
107+
```
108+
109+
Polymarket initialization with new signing options:
110+
```typescript
111+
// v2.0.0 (explicit proxy configuration)
112+
const poly = new Polymarket({
113+
credentials: {
114+
privateKey: "0x...",
115+
proxyAddress: "0x...", // Optional: your proxy wallet address
116+
signatureType: "gnosis-safe" // Optional: "gnosis-safe" (default), "polyproxy", or "eoa"
117+
}
118+
});
119+
```
120+
121+
## [2.0.0] - 2026-02-05
122+
Invalid
123+
5124
## [1.7.0] - 2026-02-03
6125

7126
### Added

core/src/exchanges/kalshi/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { kalshiErrorMapper } from './errors';
1212
import { AuthenticationError } from '../../errors';
1313

1414
// Re-export for external use
15-
export { KalshiWebSocketConfig };
15+
export type { KalshiWebSocketConfig };
1616

1717
export interface KalshiExchangeOptions {
1818
credentials?: ExchangeCredentials;

core/src/exchanges/limitless/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { PortfolioFetcher, getContractAddress } from '@limitless-exchange/sdk';
3232
import { Contract, providers } from 'ethers';
3333

3434
// Re-export for external use
35-
export { LimitlessWebSocketConfig };
35+
export type { LimitlessWebSocketConfig };
3636

3737
export interface LimitlessExchangeOptions {
3838
credentials?: ExchangeCredentials;

core/src/exchanges/polymarket/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { polymarketErrorMapper } from './errors';
1313
import { AuthenticationError } from '../../errors';
1414

1515
// Re-export for external use
16-
export { PolymarketWebSocketConfig };
16+
export type { PolymarketWebSocketConfig };
1717

1818
export interface PolymarketExchangeOptions {
1919
credentials?: ExchangeCredentials;

0 commit comments

Comments
 (0)