3.0.2
3.0.2.2
New Features
Added support for Python 3.12.
Introduced the Logger package, which allows logging information and print outputs to be directed to a specified location.
The
MultithreadedTableWriter
now includes a reconnect parameter, which controls automatic reconnection if the network connection is interrupted during writing.
Improvements
- The resubTimeout parameter in
subscribe
has been renamed to resubscribeInterval.
Bug Fixes
- Decimal data upload behavior has been standardized to rounding.
- Fixed write performance degradation in the
tableInsert
andMultithreadedTableWriter
, introduced in version 3.0.2.1. - Fixed an issue where nodes in high-availability mode failed to switch properly.
3.0.2.1
New Features
- Added the
io
module with serialization and deserialization functions (dump
,load
,dumps
,loads
).
Improvements
- Enhanced error message clarity.
Bug Fixes
- When using the PROTOCOL_DDB protocol, the DolphinDB BLOB type is now correctly mapped to bytes in Python, instead of str.
3.0.2.0
Improvements
- Enhanced parameter validation for methods such as
Session.run
. - Added tryReconnectNums parameter to
Session.connect
method andDBConnectionPool
constructor to set reconnection attempts. - Added sqlStd parameter to
Session
andDBConnectionPool
constructors to specify server-side SQL dialect. - Changed default protocol in
Session
andDBConnectionPool
constructors from PROTOCOL_PICKLE to PROTOCOL_DDB. - When uploading a pandas.DataFrame, columns of string[pyarrow] type can now be specified as SYMBOL type.
- Added new parameters readTimeout and writeTimeout to
Session.connect
to specify API read and write timeouts.