docs: go connector v3.6.0

This commit is contained in:
t_max 2024-12-30 10:49:41 +08:00
parent 118b2b9877
commit af434a2831
2 changed files with 42 additions and 36 deletions

View File

@ -22,7 +22,8 @@ Supports Go 1.14 and above.
## Version History ## Version History
| driver-go Version | Major Changes | TDengine Version | | driver-go Version | Major Changes | TDengine Version |
|------------------|------------------------------------------------------------------|-------------------| |-------------------|-------------------------------------------------------------------------------------------------|--------------------|
| v3.6.0 | stmt2 native interface, DSN supports passwords containing special characters (url.QueryEscape). | 3.3.5.0 and higher |
| v3.5.8 | Fixed null pointer exception. | - | | v3.5.8 | Fixed null pointer exception. | - |
| v3.5.7 | taosWS and taosRestful support passing request id. | - | | v3.5.7 | taosWS and taosRestful support passing request id. | - |
| v3.5.6 | Improved websocket query and insert performance. | 3.3.2.0 and higher | | v3.5.6 | Improved websocket query and insert performance. | 3.3.2.0 and higher |
@ -136,6 +137,8 @@ Full form of DSN:
username:password@protocol(address)/dbname?param=value username:password@protocol(address)/dbname?param=value
``` ```
When the password contains special characters, it needs to be escaped using url.QueryEscape.
##### Native Connection ##### Native Connection
Import the driver: Import the driver:

View File

@ -24,7 +24,8 @@ import RequestId from "./_request_id.mdx";
## 版本历史 ## 版本历史
| driver-go 版本 | 主要变化 | TDengine 版本 | | driver-go 版本 | 主要变化 | TDengine 版本 |
|-------------|-------------------------------------|---------------| |--------------|--------------------------------------------|---------------|
| v3.6.0 | stmt2 原生接口DSN 支持密码包含特殊字符url.QueryEscape | 3.3.5.0 及更高版本 |
| v3.5.8 | 修复空指针异常 | - | | v3.5.8 | 修复空指针异常 | - |
| v3.5.7 | taosWS 和 taosRestful 支持传入 request id | - | | v3.5.7 | taosWS 和 taosRestful 支持传入 request id | - |
| v3.5.6 | 提升 websocket 查询和写入性能 | 3.3.2.0 及更高版本 | | v3.5.6 | 提升 websocket 查询和写入性能 | 3.3.2.0 及更高版本 |
@ -137,6 +138,8 @@ WKB规范请参考[Well-Known Binary (WKB)](https://libgeos.org/specifications/w
username:password@protocol(address)/dbname?param=value username:password@protocol(address)/dbname?param=value
``` ```
当密码中包含特殊字符时,需要使用 `url.QueryEscape` 进行转义。
##### 原生连接 ##### 原生连接
导入驱动: 导入驱动: