3.00.1

httpClient

Enhancements

  • Enhanced sendEmail (3.00.1.5) :
    • Added optional msg parameter to support custom-formatted SMTP messages, aligning with standard SMTP libraries.
    • subject and body parameters are optional when msg is provided.
    • Standardized message body line breaks.

kafka

New Features

  • Added optional parameter errCallback for methods producer and consumer, allowing users to define callback functions that will be executed when errors occur during the execution. (3.00.1.4)
  • Added method getOffsetInfo to get offsets of the topic. (3.00.1.4)

Enhancements

  • Added parameter msgAsTable for method createSubJob to decide whether the subscribed data is ingested as a table, thus enhancing the overall performance of receiving data. (3.00.1.4)
  • Enhanced method getJobStat to provide more message details of subscription tasks. (3.00.1.4)
  • Improved the consumerPoll and consumerPollBatch methods to fetch data as plain text. (3.00.1.4)
  • Implemented new error notifications for unsuccessful connections to designated producers or consumers. (3.00.1.4)
Important:

Compatibility Changes: Deprecated over 30 methods. For exceptional circumstances requiring access to these discontinued functions, please reach out to our technical support team. (3.00.1.4)

LibTorch

New Features

  • Added support for model prediction results as tuples containing tensors. (3.00.1.6)

Enhancement

  • First release. This plugin is used to implement efficient model prediction and data analysis with TorchScript models in DolphinDB's environment. (3.00.1.1)

MongoDB

Bug Fixes

  • [DPLG-3303] Fixed an issue where floating-point numbers were not rounded when converted to DolphinDB integers. (3.00.1.6)
  • [DPLG-3304] Fixed server crashes when the first row of an oid type column returned by the query was null.(3.00.1.6)
  • [DPLG-3312] Fixed server crashes when the first 1,024 rows of a column returned by the query were all null.(3.00.1.6)

MQTT

New Features

  • Added parameter config (optional) to method mqtt::connect, which supports the following options (3.00.1.1):
    • "recvBufSize": the size of the receive buffer
    • "clientID": the ID to publish the connection
  • Added parameter config (optional) to method mqtt::subscribe, which supports the following settings (3.00.1.1):
    • "sendBufSize": the size of the send buffer
    • "subscribeID": the ID to subscribe to the connection
    • "asyncFlag": whether to enable the asynchronous subscription mode

ODBC

New Features

  • Added setLogLevel to set the plugin's log output level, and getLogLevel to get the current level. (3.00.1.8)

Enhancement

  • The Linux version of the plugin supported automatically selecting the appropriate driver for character encoding based on the ODBC driver library interface. (3.00.1.1)
  • Database connections are now only locked when dataBaseType is "ClickHouse" or unspecified. (3.00.1.8)

py

New Features

  • py is now supported on Linux x64. (3.00.1.4)

WebSocket

Enhancement

  • Added the subscription identifier (tag) to log message.(3.00.1.2)

Bug Fixes

  • Fixed an issue where cancelSubJob returns false when the task cancellation took more than 5 seconds, even though the cancellation was still in progress.(3.00.1.2)
  • Fixed server crash caused by WebSocket reconnection failure. (3.00.1.8)