JavaScript API

3.0.100

New Features
  • Added support for heartbeat mechanism to prevent automatic disconnection due to prolonged inactivity.
  • Added function data() for converting DolphinDB data into primitive JavaScript data.
  • Added function invoke() that allows passing parameters and returning execution results in primitive JavaScript data types when calling DolphinDB functions.
  • Added function execute() that executes DolphinDB scripts and returns execution results in primitive JavaScript data types.
  • Added support for serialization and deserialization of COMPRESSED vectors and Tensor form.
  • Added support for subscription to HA stream tables.
Improvements
  • Enhanced support for documentation and function hints for the latest server version.
  • Enhanced StreamingMessage that allows accessing window data using window.data.
Issues Fixed
  • Fixed an issue with time formatting on lower version browsers (> Chrome 90, < Chrome 100).
  • Fixed an issue where strings returned by toString were not enclosed in quotes.

2.0.1130

Improvements

Added support for parsing DFLT keyword as default values.

2.0.1101

Improvements

Added support for the serialization of DURATION vector.

2.0.1100

Improvements

Added support for processing exchange identifiers as DURATION type.