Skip to content

Commit cdb5844

Browse files
committed
Update version to 3.1.4 and documentation
- Updated version in __init__.py to 3.1.4 - Updated CHANGELOG.md with v3.1.4 release notes - Updated README.md to reflect latest version and fixes - Updated CLAUDE.md with current version and recent changes - Fixed critical WebSocket connection issue in ProjectXRealtimeClient
1 parent 14b6ff8 commit cdb5844

File tree

6 files changed

+36
-7
lines changed

6 files changed

+36
-7
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Migration guides will be provided for all breaking changes
1515
- Semantic versioning (MAJOR.MINOR.PATCH) is strictly followed
1616

17+
## [3.1.4] - 2025-08-10
18+
19+
### Fixed
20+
- **🐛 WebSocket Connection**: Fixed missing `_use_batching` attribute in ProjectXRealtimeClient
21+
- Added proper mixin initialization with `super().__init__()` call
22+
- Ensures EventHandlingMixin and ConnectionManagementMixin are properly initialized
23+
- Resolves WebSocket error: 'ProjectXRealtimeClient' object has no attribute '_use_batching'
24+
- Added safeguards to prevent duplicate initialization of shared attributes
25+
26+
## [3.1.3] - 2025-08-10
27+
28+
### Fixed
29+
- Minor bug fixes and improvements
30+
31+
## [3.1.2] - 2025-08-10
32+
33+
### Fixed
34+
- Data directory handling improvements
35+
1736
## [3.1.1] - 2025-08-10
1837

1938
### Changed

CLAUDE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
44

5-
## Project Status: v3.1.1 - Stable Production Release
5+
## Project Status: v3.1.4 - Stable Production Release
66

77
**IMPORTANT**: This project uses a fully asynchronous architecture. All APIs are async-only, optimized for high-performance futures trading.
88

@@ -300,6 +300,11 @@ async with ProjectX.from_env() as client:
300300

301301
## Recent Changes
302302

303+
### v3.1.4 - WebSocket Connection Fix
304+
- **Fixed**: Critical WebSocket error with missing `_use_batching` attribute
305+
- **Improved**: Proper mixin initialization in ProjectXRealtimeClient
306+
- **Enhanced**: More robust real-time connection handling
307+
303308
### v3.0.2 - Bug Fixes and Improvements
304309
- **Order Lifecycle Tracking**: Fixed asyncio concurrency and field reference issues
305310
- **Order Templates**: Fixed instrument lookup to use cached object

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ A **high-performance async Python SDK** for the [ProjectX Trading Platform](http
2121

2222
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.
2323

24-
## 🚀 v3.1.1 - Stable Production Release
24+
## 🚀 v3.1.4 - Stable Production Release
2525

26-
**Latest Update (v3.1.1)**: The SDK has reached stable production status with a commitment to backward compatibility. Bug fixes and improvements for test suite compatibility with optimized cache implementation, enhanced datetime serialization, and WebSocket handler improvements.
26+
**Latest Update (v3.1.4)**: Fixed critical WebSocket connection issue with proper mixin initialization in ProjectXRealtimeClient, ensuring stable real-time data streaming.
27+
28+
### What's New in v3.1.4
29+
- **Fixed**: WebSocket connection error (`_use_batching` attribute missing)
30+
- **Improved**: Proper initialization of all mixins in ProjectXRealtimeClient
31+
- **Enhanced**: More robust real-time connection handling
2732

2833
### What's New in v3.1.1
2934
- **📦 MAJOR POLICY CHANGE**: Project has reached stable production status

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
project = "project-x-py"
2424
copyright = "2025, Jeff West"
2525
author = "Jeff West"
26-
release = "3.1.3"
27-
version = "3.1.3"
26+
release = "3.1.4"
27+
version = "3.1.4"
2828

2929
# -- General configuration ---------------------------------------------------
3030

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "project-x-py"
3-
version = "3.1.3"
3+
version = "3.1.4"
44
description = "High-performance Python SDK for futures trading with real-time WebSocket data, technical indicators, order management, and market depth analysis"
55
readme = "README.md"
66
license = { text = "MIT" }

src/project_x_py/indicators/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
)
203203

204204
# Version info
205-
__version__ = "3.1.3"
205+
__version__ = "3.1.4"
206206
__author__ = "TexasCoding"
207207

208208

0 commit comments

Comments
 (0)