dolphindb 3.0.132 → 3.0.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/CHANGELOG.zh.md +14 -0
- package/browser.d.ts +1 -1
- package/browser.js +5 -2
- package/browser.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +5 -2
- package/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Release Notes
|
|
2
2
|
|
|
3
|
+
## English | [中文](./CHANGELOG.zh.md)
|
|
4
|
+
|
|
5
|
+
## Version: 3.0.200
|
|
6
|
+
#### New Features
|
|
7
|
+
- Added parameter offset for streaming subscription to set the position of the first message where the subscription begins.
|
|
8
|
+
- Added support for IOTANY vectors.
|
|
9
|
+
|
|
10
|
+
#### Improvments
|
|
11
|
+
- Optimized the performance of invoke method.
|
|
12
|
+
|
|
13
|
+
#### Issues Fixed
|
|
14
|
+
- Fixed an issue where invoke failed to execute functions defined on remote nodes.
|
|
15
|
+
- Fixed disconnection issues when uploading strings with \0 to server.
|
|
16
|
+
|
|
17
|
+
|
|
3
18
|
## Version: 3.0.100
|
|
4
19
|
#### New Features
|
|
5
20
|
- Added support for heartbeat mechanism to prevent automatic disconnection due to prolonged inactivity.
|
package/CHANGELOG.zh.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# 版本发布说明
|
|
2
2
|
|
|
3
|
+
## [English](./CHANGELOG.md) | 中文
|
|
4
|
+
|
|
5
|
+
## 版本: 3.0.200
|
|
6
|
+
#### 新增功能
|
|
7
|
+
- 流数据订阅新增参数 offset,支持指定流表订阅第一条消息所在的位置。
|
|
8
|
+
- 支持 IOTANY 向量类型。
|
|
9
|
+
|
|
10
|
+
#### 功能优化
|
|
11
|
+
- 优化 invoke 方法的性能。
|
|
12
|
+
|
|
13
|
+
#### 问题修复
|
|
14
|
+
- invoke 无法执行未在远程节点上定义的函数。
|
|
15
|
+
- 上传 server 的数据中若有 `\0` 的字符串连接会断开。现已增加相关检查。
|
|
16
|
+
|
|
3
17
|
## 版本: 3.0.100
|
|
4
18
|
#### 新增功能
|
|
5
19
|
- 增加心跳机制,以避免连接长时间不使用后自动断开的情况。
|
package/browser.d.ts
CHANGED
|
@@ -596,7 +596,7 @@ export interface StreamingMessage<TRows = any> extends StreamingParams {
|
|
|
596
596
|
After successfully subscribed, if the subsequently pushed message is parsed incorrectly, the error will be set and the handler will be called. */
|
|
597
597
|
error?: Error;
|
|
598
598
|
}
|
|
599
|
-
export declare const winsize:
|
|
599
|
+
export declare const winsize: 10000;
|
|
600
600
|
export interface DdbEvalOptions {
|
|
601
601
|
urgent?: boolean;
|
|
602
602
|
listener?: DdbMessageListener;
|
package/browser.js
CHANGED
|
@@ -838,7 +838,10 @@ export class DdbObj {
|
|
|
838
838
|
}
|
|
839
839
|
return [
|
|
840
840
|
len,
|
|
841
|
-
seq(size, i =>
|
|
841
|
+
seq(size, i => {
|
|
842
|
+
const type = metas[i + size + 2];
|
|
843
|
+
return type === DdbType.void ? null : sub_vecs.get(type)[metas[i + 2]];
|
|
844
|
+
})
|
|
842
845
|
];
|
|
843
846
|
}
|
|
844
847
|
// 25 01 type = decimal32, form = vector
|
|
@@ -2700,7 +2703,7 @@ export function int1282str(buffer, le = true) {
|
|
|
2700
2703
|
return [...buf].map(x => x.toString(16)
|
|
2701
2704
|
.padStart(2, '0')).join('');
|
|
2702
2705
|
}
|
|
2703
|
-
export const winsize =
|
|
2706
|
+
export const winsize = 10000;
|
|
2704
2707
|
export class DdbConnectionError extends Error {
|
|
2705
2708
|
name = 'DdbConnectionError';
|
|
2706
2709
|
cause;
|