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
fix: v3.1.1 - Test suite compatibility and cache improvements
## Fixed
- Updated test references from old cache variables to new optimized ones (_instrument_cache -> _opt_instrument_cache)
- Fixed datetime serialization/deserialization in cached DataFrames to preserve timezone information
- Resolved BatchedWebSocketHandler flush mechanism with event-based signaling
- Fixed race condition in BatchedWebSocketHandler task creation
- Corrected SignalR mock methods in connection management tests (AsyncMock -> MagicMock)
## Improved
- Enhanced datetime handling in msgpack cache with proper timezone preservation
- More robust cache deserialization with fallback handling
- Better datetime string format compatibility
## Tests
- All 438 tests now passing
- Added comprehensive test coverage for new cache implementation
- Fixed all test suite compatibility issues with optimized cache
This release ensures full test suite compatibility with the v3.1.0 performance optimizations.
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,15 @@ A **high-performance async Python SDK** for the [ProjectX Trading Platform](http
21
21
22
22
This Python SDK acts as a bridge between your trading strategies and the ProjectX platform, handling all the complex API interactions, data processing, and real-time connectivity.
23
23
24
-
## 🚀 v3.1.0 - High-Performance Production Suite
24
+
## 🚀 v3.1.1 - High-Performance Production Suite
25
25
26
-
**Latest Update (v3.1.0)**: Major performance optimizations delivering 2-5x improvements across the board with automatic memory management and enterprise-grade caching.
26
+
**Latest Update (v3.1.1)**: Bug fixes and improvements for test suite compatibility with optimized cache implementation, enhanced datetime serialization, and WebSocket handler improvements.
27
+
28
+
### What's New in v3.1.1
29
+
-**Fixed**: Test suite compatibility with optimized cache implementation
30
+
-**Fixed**: Datetime serialization/deserialization in cached DataFrames
31
+
-**Fixed**: BatchedWebSocketHandler flush and race condition issues
32
+
-**Fixed**: SignalR mock methods in connection management tests
Copy file name to clipboardExpand all lines: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[project]
2
2
name = "project-x-py"
3
-
version = "3.1.0"
3
+
version = "3.1.1"
4
4
description = "High-performance Python SDK for futures trading with real-time WebSocket data, technical indicators, order management, and market depth analysis"
0 commit comments