JavaScript API
3.0.200
New Features
- Added support for IOTANY vectors.
- Added parameter offset for streaming subscription to set the position of the first message where the subscription begins.
Improvements
- Optimized the performance of
invoke
method.
Issues Fixed
- Fixed an issue where
invoke
failed to execute functions defined on remote nodes. - Fixed disconnection issues when uploading strings with
\0
to server.
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.
- Enhanced support for documentation and function hints for the latest server version.
- Enhanced
StreamingMessage
that allows accessing window data usingwindow.data
.
- 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.