Skip to content

Releases: dolphindb/api-java

3.00.2.0

23 Oct 08:59
Compare
Choose a tag to compare

New Features

  • Added support for IOTANY vectors.

Improvements

  • Enhanced error messages for DBConnection during reconnection.

  • Renamed the following CEP-related parameters for EventClient and EventSender:

    • eventTimeKeys to eventTimeFields.
    • commonKeys to commonFields.

3.00.1.3

03 Sep 05:48
Compare
Choose a tag to compare

New Features

  • Added parameters connectTimeout and readTimeout to the connect method of DBConnection class to set the maximum connection and read timeouts (in ms) for underlying API Socket connections.

Improvements

  • The error message raised by MultithreadedTableWriter when writing to partitioned tables now displays the specific column names in case of data type mismatch.

Issues Fixed

  • [AJ-763] Fixed an occasional issue where CPU usage was falsely high when using ThreadPooledClient for stream subscription, even without subscription tasks.

3.00.1.2

01 Aug 03:02
Compare
Choose a tag to compare

Improvements

  • The default value of parameter parallelism for run and tryRun has been modified from 2 to 64.

3.00.1.1

17 Jul 02:24
Compare
Choose a tag to compare

New Features

  • Added parameters minimumPoolSize, maximumPoolSize, idleTimeout, and tryReconnectNums to SimpleDBConnectionPool for setting the min/max pool size, max idle time, and the number of reconnection attempts of a connection pool.
  • SimpleDBConnectionPool now supports dynamically acquiring connections and manually releasing idle connections.
  • Added parameter tryReconnectNums to DBConnection for setting the number of reconnection attempts.
  • Added method getScale to Matrix interface for obtaining the scale of a DECIMAL matrix.

Improvements

  • Optimized the implementation logic for AutoFitTableAppender and AutoFitTableUpsert.
  • Optimized log information on CEP events.

Issues Fixed

  • Fixed an issue in high availability (HA) mode where restarting a data node after the controller and agent nodes were restarted would result in connection failure with a "connect to :0" error message.

3.00.1.0

28 Jun 06:28
Compare
Choose a tag to compare

New Features

  • Added combine method for merging data in Decimal Vectors.
  • Added support for creating, downloading and displaying Tensor data.

Issues Fixed

  • Fixed an error where dictionaries with value of ANY type couldn't accept common data types (e.g., INT, STRING).
  • Fixed an error occurring when uploading dictionary data with value of ANY type.

3.00.0.2

30 May 09:28
Compare
Choose a tag to compare

New Features

  • Added parameters backupSites, resubTimeout, and subOnce to subscribe to enable failover mechanism.
  • Added method getValues for retrieving values of array vectors.

3.00.0.1

29 Apr 09:13
Compare
Choose a tag to compare

Issues Fixed

  • Fixed an issue where ExclusiveDBConnectionPool would incorrectly enable load balancing when constructing a connection with high availability enabled.

  • Fixed an issue where the connections established by DBConnection did not involve all nodes in the cluster when high availability was enabled and no specific highAvailabilitySites was specified.

3.00.0.0

09 Apr 05:54
Compare
Choose a tag to compare

New Features

  • Added support for creating matrix of Decimal type.
  • Added parameter enableActualSendTime to MultithreadedTableWriter class to set whether to record the send time for each message.
  • Added CEP (Complex Event Processing) Engine with the following features:
    • EventSender class to write events into a heterogeneous stream table.
    • EventClient class to subscribe events from a heterogeneous stream table.
  • Added method getJavaApiVersion for class Utils to get the current API version.

Issues Fixed

  • Fixed issues for scalar/vector of Decimal type.

2.00.11.1

25 Jan 01:29
Compare
Choose a tag to compare

New Feature

Added new method SimpleDBConnectionPool.

2.00.11.0

19 Jan 06:08
Compare
Choose a tag to compare

Note: The version number of DolphinDB Java API has been adjusted to improve user experience. The new version number aligns with DolphinDB Server 200 and is forward compatible.

New Features

  • Added parameter enableSeqNo to the run method of class DBConnection to enable/disable the sequence number tracking (seqNo) feature.
  • Added parameter enableLoadBalance to the connect method of class DBConnection to enable/disable load balancing in the high availability mode.
  • Added support for the SLF4J logging framework.
  • The DURATION data type supports the identifier of trading calendar.
  • The PartitionedTableAppender class supports writing data of BLOB type.

Enhancements

  • Optimized the behavior of batch writing for MultithreadedTableWriter.
  • Refactored public DBConnection(boolean asynchronousTask, boolean useSSL, boolean compress, boolean usePython, boolean isUrgent, boolean isReverseStreaming, SqlStdEnum sqlStd) to private.
  • Enhanced error messages for the ThreadPooledClient class when threadCount is negative.
  • Updated code usage examples.

Bug Fixes

  • Fixed an issue where the toString() method of the ThreadStatus class in the MultithreadedTableWriter did not correctly output the value of sendFailedRows.
  • Fixed an issue where communication exceptions occurred when uploading strings with “\0“ during serialized transmission.