You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,35 @@
1
1
# Kite v5 - TypeScript
2
2
3
+
## [5.1.0] - 2025-07-21
4
+
5
+
### New Features
6
+
7
+
-**Enhanced Type Safety**: Improved TypeScript type definitions for ticker event callbacks
8
+
-**Comprehensive Type Exports**: All type definitions are now properly exported from main entry point with direct imports: `{ KiteConnect, Order, KiteTickerParams, Exchanges } from 'kiteconnect'`
9
+
-**Ticker Event Types**: Added proper exports for `Tick`, `LTPTick`, `QuoteTick`, and `FullTick` interfaces
10
+
-**Historical Data Types**: Added `HistoricalData` type with `Promise<HistoricalData[]>` for `getHistoricalData()` method
11
+
-**Order Interface Completeness**: Enhanced Order interface with all missing fields from orderbook API response
12
+
-**Enhanced Ticker Events**: Added `KiteTickerEvents` and `KiteTickerEventCallbacks` for type safety and discovery
13
+
14
+
### Bug Fixes
15
+
16
+
-**Security Vulnerabilities**: Fixed all npm audit vulnerabilities
17
+
- Upgraded axios from vulnerable version to 1.10.0 with proper TypeScript typing
18
+
- Applied security patches across all dependencies
19
+
-**Timezone Handling**: Fixed historical data timezone handling for Date objects [Issue #107](https://github.com/zerodha/kiteconnectjs/issues/107)
20
+
- Date objects now correctly preserve local timezone instead of converting to UTC
21
+
-**Missing Order Fields**: Added missing fields to Order interface including `instrument_token`, `placed_by`, `exchange_order_id`, and 15+ other fields [Issue #113](https://github.com/zerodha/kiteconnectjs/issues/113)
22
+
-**Content-Type Detection**: Enhanced CSV and JSON content-type handling to support charset specifications using pattern matching instead of strict equality
23
+
24
+
### Breaking Changes
25
+
26
+
-**Date Object Timezone Handling**: If you were manually compensating for the timezone bug by adjusting Date objects, you'll need to update your code to use the actual intended time values
27
+
28
+
### Backward Compatibility
29
+
30
+
- String date inputs: No changes required
31
+
- Ticker event callbacks: Existing `any[]` callbacks continue to work
32
+
3
33
## [5.0.0] - 2024-06-13
4
34
5
35
### Breaking Changes
@@ -35,4 +65,5 @@ If you are upgrading from a previous version, please review the following change
35
65
36
66
- This release marks a significant update with the transition to TypeScript. Please report any issues or bugs to the repository's issue tracker.
0 commit comments