Releases: dolphindb/api-java
Releases · dolphindb/api-java
3.00.5.0
New Features
- Added an asynchronous write utility for the multi-active deployment architecture of DolphinDB.
- Added interface UpdateListener for StreamingSQLClient to enable real-time monitoring of Streaming SQL subscription data changes and allow users to process the updates as needed.
- Added method getStreamingSQLSubscriptionInfo for StreamingSQLClient to retrieve subscription information based on queryId.
- Added method Appendfor BasicAnyVector to append data in forms such as matrix, set, table, and dict.
- Added method appendEventWithResponse to synchronously wait for the response of a specific event.
Improvement
- Optimized the EOFException error message when canceling subscriptions.
Issues Fixed
- Fixed an issue where StreamingSQLClient reported an error when updating tables while writing any data.
- Fixed a vulnerability in the lz4-java dependency used by the Java API, replacing org.lz4 with at.yawk.lz4.
3.00.4.2
Issues Fixed
- Fixed a race condition in the
ThreadPooledClient.unsubscribeInternalmethod to prevent MessageParser from triggering an unnecessary reconnection after receiving an EOF signal during unsubscription.
3.00.4.1
New Features
- Added a filter parameter to EventClient.subscribe to allow subscribing only to specific events based on filtering conditions.
Issues Fixes
-
Fixed an issue where serialization failed for BasicDictionary objects whose values were not scalars.
-
Fixed an issue where TopicPoller.poll returned an empty list when the timeout parameter was set to 0.
3.00.4.0
New Features
- Added
Util.createVector(type, size, capacity)for creating vectors. - Added new vector creation methods, such as
BasicIntVector(int size, int capacity), to specify the initial size and capacity. - Added support for setting and adding values in vectors using Java primitive types.
- Added support for creating Decimal vectors directly from a list of strings (List
<String>). - Added support in MTW for inserting data into stream tables in Orca.
- Added support for StreamingSQLClient, enabling declaration of streaming SQL tables, registration of streaming SQL queries, and subscription to streaming SQL query results.
- Added support in
BasicAnyVectorfor theAppendmethod to add single values or entire vectors, and for thesetmethod to modify elements at any position. - Added method
getScaletoBasicArrayVectorinterface for obtaining the scale of a DECIMAL array vector.
Fixed Issues
- Fixed an issue where constructing
BasicDecimal32VectorwithInteger.MIN_VALUEas null value caused errors.
3.00.3.2
Issues Fixed
- Fixed an issue with vector serialization and deserialization during CEP event sending and subscription.
3.00.3.1
Issues Fixed
- Fixed an issue where the Java API failed to reconnect when the DolphinDB server node was disconnected and reconnect was enabled.
- Fixed an issue where the Java process could crash during node failover when
enableHighAvailability=true. - Fixed an issue where the process would hang when the script contained null characters.
3.00.3.0
Improvements
- Reduced the log level of initialization validation messages from ERROR to WARN.
3.00.2.6
New Features
- Added support for configuring parameters of DBConnection.connect via ConnectConfig.
3.00.2.5
New Features
- Added support for SCRAM authentication.
3.00.2.4
New Features
- Added parameter reconnect and tryReconnectNums to MultithreadedTableWriter for setting auto reconnection and reconnection attempts.
Improvements
- Added support for user login authentication to enhance security.
- The run function has added listener functionality.