Commit graph

400 commits

Author SHA1 Message Date
WANG Xu
c52c68aa4f
sync: apply remaining build system changes from monorepo (main)
The following commits could not be applied individually due to context
differences between the monorepo and the public repo's build files.
They have been applied as a cumulative diff to ensure the final state
matches the monorepo exactly:

- chore: sync CI files with 3.0 branch to eliminate merge conflicts (rd-public/tsdb!271)
- revert(refactor): dynamically link taosd taosudf taosmqtt against libtaosnative.so to reduce binary size (revert #183) (rd-public/tsdb!282)
- fix(docs): autofix formatting issues across all doc files (rd-public/tsdb!296)
- feat: support -DBUILD_SANITIZER=true on windows for debug build (rd-public/tsdb!291)
- feat(build): build cache, mirror, and sccache optimizations (rd-public/tsdb!326)
- docs: update image for three replica (rd-public/tsdb!324)
- enh: shared storage on windows (rd-public/tsdb!333)
- fix(cmake): convert ext_libs3 from git clone to URL tarball download (rd-public/tsdb!360)
- feat: dual-source deps and comprehensive docs/packaging (cherry-pick to main) (rd-public/tsdb!352)
- fix(cmake): guard DOWNLOAD_EXTRACT_TIMESTAMP for CMake < 3.24 and fix duplicate Cargo.lock entry (rd-public/tsdb!369)
- fix: test case execution failure in pytest.sh (rd-public/tsdb!338)
- enh: built-in compilation support for Python UDF plugins use abi3 (rd-public/tsdb!325)
2026-05-23 14:11:50 +08:00
She Yanjie
5b6c3c7309
chore: update low-risk dependencies flagged by Dependabot (#35301)
Some checks are pending
TDengine Release Build / Run on macos-14 (push) Waiting to run
TDengine Release Build / Run on ubuntu-22.04 (push) Waiting to run
2026-05-09 21:08:13 +08:00
Yaming Pei
3580c5b226
docs(taosgen): support writing to TDengine in schemaless format and support writing data to Influxdb (#35298)
Some checks are pending
TDengine Release Build / Run on macos-14 (push) Waiting to run
TDengine Release Build / Run on ubuntu-22.04 (push) Waiting to run
2026-05-09 17:51:50 +08:00
xinsheng Ren
e4de207edc
enh: add perm entropy agg example for udf (#35271) 2026-05-09 09:24:30 +08:00
dependabot[bot]
09f246180f
chore(deps): bump com.mchange:c3p0 (#34589) 2026-05-08 15:57:47 +08:00
She Yanjie
ce39949a9f
chore: bump low-risk dependencies (#35294) 2026-05-08 15:31:20 +08:00
She Yanjie
a95d8a6322
feat(docs): security demos and connector docs update (#35124)
* feat(docs): security demos and connector docs update

- add JDBC security demo implementations and rotation helpers (SecurityPoolDemo, SecurityTmqDemo, NacosSecurityDemo, SecurityUtils, TmqRotationManager)

- add validation artifacts (NacosSecurityDemoTest and TEST-VALIDATION.md)

- add new zh/en security guides: connector-security-best-practices and ssl-configuration-guide

- sync zh/en TMQ and Java connector reference docs for token/SSL guidance

- add demo env/cert support files and related project config updates

* fix(security): align rotation logic and update connector security docs

- fix NacosSecurityDemo TMQ rotation call to pass currentToken for duplicate-token guard

- tighten step1 token validation and remove shaded StringUtil dependency

- align SecurityUtils masking/auth detection with tests and rename test class accordingly

- sync zh/en connector-security-best-practices Node.js token and REST API examples

- refine demo env and pool/rotation guard checks

* docs(jdbc): harden security rotation demos and cleanup nacos client

- unify security connection error handling for token/TLS failures

- fetch TMQ token from Nacos and close ConfigService on shutdown

- encode bearer token in JDBC URL and add regression tests

- align dependency versions and localhost defaults in examples

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Update docs/zh/07-develop/connector-security-best-practices.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update docs/zh/07-develop/connector-security-best-practices.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* docs(jdbc): clarify cert generation working directory

Agent-Logs-Url: https://github.com/taosdata/TDengine/sessions/60de2a08-9962-4bda-8e35-b75687ab4856

Co-authored-by: sheyanjie-qq <57549981+sheyanjie-qq@users.noreply.github.com>

* docs: fix token parsing snippet and SAN guidance

Update zh/en connector security docs to use robust multi-line token parsing examples with explicit missing-token handling.

Update zh/en SSL guide to document SAN requirements and provide an openssl SAN generation example, plus typo correction (Widgets).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* docs: update JDBC cert README

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(jdbc-security): align TMQ rotation behavior and docs

- add auth-failure recovery rotation path for TMQ consumer\n- tighten auth/TLS error matching and short-token masking\n- align zh/en TMQ state diagram and trigger wording with runtime behavior

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(jdbc-security): fail fast for blank bearer token URLs

Agent-Logs-Url: https://github.com/taosdata/TDengine/sessions/290f50cd-c3a5-4672-932a-a2eecb2ff441

Co-authored-by: sheyanjie-qq <57549981+sheyanjie-qq@users.noreply.github.com>

* refactor(jdbc-security): scope URL encoding helper to token usage

Agent-Logs-Url: https://github.com/taosdata/TDengine/sessions/290f50cd-c3a5-4672-932a-a2eecb2ff441

Co-authored-by: sheyanjie-qq <57549981+sheyanjie-qq@users.noreply.github.com>

* chore: revert unintended springboot wrapper file changes

Agent-Logs-Url: https://github.com/taosdata/TDengine/sessions/290f50cd-c3a5-4672-932a-a2eecb2ff441

Co-authored-by: sheyanjie-qq <57549981+sheyanjie-qq@users.noreply.github.com>

* Update docs/examples/JDBC/JDBCDemo/src/main/java/com/taos/example/security/SecurityTmqDemo.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update docs/examples/JDBC/JDBCDemo/.env.example

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: update docs/examples/JDBC/JDBCDemo gitignore file

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sheyanjie <yjshe@taosdata.com>
2026-04-22 15:17:44 +08:00
She Yanjie
9982398004
docs(jdbc): release 3.8.3 (#35170) 2026-04-17 23:29:38 +08:00
She Yanjie
c8652c82bf
docs(jdbc): publish 3.8.2 (#35029) 2026-04-01 17:57:28 +08:00
Xuefeng Tan
22611ffc42
docs: update Go connector documentation for v3.8.0 features (#34927)
* docs: update Go connector documentation for v3.8.0 features including unified WebSocket interface and multi-node failover support

* enh: update dependencies for Go connector to v3.8.0

* docs: improve formatting and clarity in Go connector documentation

* docs: improve formatting and clarity in Go connector documentation

* docs: improve formatting and clarity in Go connector documentation
2026-03-28 12:38:09 +08:00
She Yanjie
b4dad213d6
docs(jdbc): add varcharAsString=true to all JDBC connection examples (#34964)
* docs(jdbc): add varcharAsString=true to all JDBC connection examples

- Add varcharAsString=true parameter to all WebSocket (TAOS-WS) JDBC
  URLs in documentation and example code (en/zh)
- Migrate connectionPools DruidDemo/HikariDemo from deprecated native
  TAOS:// (port 6030) to WebSocket TAOS-WS:// (port 6041)
- Use PROPERTY_KEY_VARCHAR_AS_STRING constant in WSHighVolumeDemo and
  ConsumerDemo for programmatic configuration
- Fix string comparison bug in Util.java: replace jdbcURL == "" with
  jdbcURL.isEmpty()
- Remove trailing whitespace in log4j.properties

* Update docs/examples/JDBC/SpringJdbcTemplate/src/main/resources/applicationContext.xml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-27 17:29:04 +08:00
Daniel Clow
e3381a67d8
docs: move udf examples to examples directory (#34866) 2026-03-20 13:58:42 +08:00
She Yanjie
d514c5cf87
docs(jdbc): remove jdbc rest connection demo or change it to websocket (#34579)
Closes: https://project.feishu.cn/taosdata_td/sprint/detail/6825188451
2026-02-25 19:55:24 +08:00
She Yanjie
7adf54e5c0
chore(JDBC): fix jdbc demo vulnerabilities (#34514)
Closes:

- https://project.feishu.cn/taosdata_td/defect/detail/6769701722
- https://project.feishu.cn/taosdata_td/defect/detail/6769703621
- https://project.feishu.cn/taosdata_td/defect/detail/6769622333
- https://project.feishu.cn/taosdata_td/defect/detail/6769660096
- https://project.feishu.cn/taosdata_td/defect/detail/6769414905
- https://project.feishu.cn/taosdata_td/defect/detail/6769444164
- https://project.feishu.cn/taosdata_td/defect/detail/6769452200
- https://project.feishu.cn/taosdata_td/defect/detail/6767732261
- https://project.feishu.cn/taosdata_td/defect/detail/6769417781
- https://project.feishu.cn/taosdata_td/defect/detail/6713473789
- https://project.feishu.cn/taosdata_td/defect/detail/6713502070
- https://project.feishu.cn/taosdata_td/defect/detail/6713233913
- https://project.feishu.cn/taosdata_td/defect/detail/6713577199
2026-02-07 21:26:02 +08:00
Mario Peng
3be71178d8
fix: docs stmt2 demo (#34531) 2026-02-06 19:56:27 +08:00
She Yanjie
6ca5053824
docs(jdbc): release 3.8.1 and update demo (#34433) 2026-02-03 22:03:54 +08:00
She Yanjie
552faab6e1
chore(jdbc): update jdbc version (#34157) 2026-01-05 08:44:29 +08:00
Simon Guan
33d6bc54ab fix: conflicts 2025-12-30 11:20:41 +08:00
Mario Peng
4a37e467ae
docs:fix CI error of stmt/stmt2 examples (#34096) 2025-12-30 11:03:22 +08:00
guozhenwei
1c2ebfb61d
feat: support taos_connect_with func (#33952)
* feat: support taos_connect_with

* refactor: enhance connection options and add tests for taos_set_option and taos_connect_with

* fix: handle NULL keys and values in taos_connect_with options

* fix: revert TAOSWS_GIT_TAG to default value "main"

* docs: add TLS configuration options for WebSocket connections in documentation

* docs: modify zh docs and add en docs

* chore: update taos.cfg

* docs: add examples

* docs: add error handling for connection failure in example code
2025-12-20 21:15:31 +08:00
Simon Guan
8c01985826
merge: from main to 3.0 branch #33909 2025-12-12 13:40:31 +08:00
Daniel Clow
ee96624923
docs: unify taosgen include format (#33883)
* docs: unify taosgen include format

* docs: move taosgen sample file and update links

* fix lint issues
2025-12-11 09:27:06 +08:00
Simon Guan
4bd57b4c2d merge: from main .to 3.0 branch 2025-12-10 16:09:36 +08:00
Daniel Clow
abf7589dcb
docs: correct anchor in sqlalchemy example (#33842) 2025-12-08 09:06:17 +08:00
Simon Guan
bb08833765 merge: from main to 3.0 2025-12-04 09:27:17 +08:00
dependabot[bot]
06ddf712b2
chore(deps): bump org.apache.tomcat.embed:tomcat-embed-core (#33737) 2025-12-01 14:57:46 +08:00
dependabot[bot]
d107dc8332
build(deps): bump org.apache.tomcat.embed:tomcat-embed-core (#33403) 2025-12-01 14:57:32 +08:00
Simon Guan
d529e7534b Merge branch 'main' into merge/mainto3.0 2025-11-22 08:53:31 +08:00
She Yanjie
10d6df6e93
docs(jdbc): jdbc release 3.7.8 (#33661)
* chore(jdbc): update jdbc version

* docs(jdbc): jdbc release 3.7.8
Closes TD-38643
2025-11-20 18:00:52 +08:00
dapan1121
d92f21339b Merge remote-tracking branch 'origin/main' into merge/mainto3.0 2025-11-13 15:57:26 +08:00
She Yanjie
ac6c05c503
docs: jdbc release 3.7.7 (#33575)
* chore(jdbc): update jdbc version

* docs: jdbc release 3.7.7

Closes TD-38565
2025-11-13 15:10:12 +08:00
Simon Guan
96f4fdd896 Merge branch 'main' into merge/mainto3.0 2025-11-05 16:51:58 +08:00
kevin men
10ae72944d
docs: integrate with Pandas docs (#33350)
* docs: integrate with Pandas docs

* docs: add pandas example

* docs: modify pandas example format

* docs: upgrade taopy version

* fix(gpt): update requirements.

---------

Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
2025-10-29 18:05:22 +08:00
wangmm0220
e364d30a42 fix(taosd): process return value 2025-10-22 11:19:17 +08:00
guozhenwei
8bd3ea1ef4
docs: add taos_print_row desc (#33310)
* docs: add taos_print_row desc

* docs: update query examples

* docs: update tmq and query examples

* docs: update c docs

* docs: modify comment info
2025-10-21 10:28:18 +08:00
She Yanjie
05ba8289a5
docs: jdbc release 3.7.6 (#33293)
* chore(jdbc): update jdbc version

* docs: jdbc release 3.7.6

* Update docs/en/14-reference/05-connector/14-java.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-17 16:24:15 +08:00
guozhenwei
ce01c99671
docs: update c native stmt2 example (#33272) 2025-10-16 11:41:41 +08:00
She Yanjie
f8e55eda37
docs: update conntector and error code page, remove rest connect type (#33266)
* chore(jdbc): update jdbc version

* docs: add connection type descriptions in 05-connector

* docs: add WebSocket error codes for C# connector

* docs: add rust connector error codes

* docs: modify conector and error code page

---------

Co-authored-by: t_max <1172915550@qq.com>
Co-authored-by: qevolg <2227465945@qq.com>
2025-10-15 21:03:17 +08:00
Simon Guan
dffa8e6fc5 Merge branch '3.3.6' into merge/3.3.6tomain 2025-10-13 19:00:52 +08:00
Yihao Deng
b375653948
fix: clearing user_ip in taos_options_connection does not take effect (#33228) 2025-10-13 16:57:53 +08:00
Yihao Deng
da0048086c
fix: clearing user_ip in taos_options_connection does not take effect (#33229) 2025-10-13 16:57:47 +08:00
kevin men
9f9987d504
feat: complete version number character copying (#33206)
* feat: complete version number character copying

* feat: set version number arrary length 40
2025-10-11 19:45:18 +08:00
kevin men
17e0c54a2d
docs: fix python examples error (#33199) 2025-10-10 14:16:14 +08:00
She Yanjie
34f77c4790
jdbc release 3.7.5 (#33152)
* chore(jdbc): update jdbc version

* docs: jdbc release 3.7.5
2025-09-29 20:27:42 +08:00
She Yanjie
e20dad6eb3
docs: jdbc release 3.7.5 (#33107)
* chore(jdbc): update jdbc version

* docs: jdbc release 3.7.5
2025-09-29 10:11:22 +08:00
kevin men
0c6ea24299
docs: upgrade the Node.js connector version (#33077)
* docs: upgrade the Node.js connector version

* docs: modify the Node.js connector version describe
2025-09-25 21:09:47 +08:00
kevin men
a77fd713d1
docs: add Flink Source to 6.7 Data Publish (#32914)
* docs: add Flink Source to 6.7 Data Publish

* docs: add Flink docs errors

* docs: add Flink example errors
2025-09-09 10:56:28 +08:00
dependabot[bot]
ae283fcb7f
build(deps): bump org.apache.tomcat.embed:tomcat-embed-core (#32729)
Bumps org.apache.tomcat.embed:tomcat-embed-core from 9.0.106 to 9.0.108.

---
updated-dependencies:
- dependency-name: org.apache.tomcat.embed:tomcat-embed-core
  dependency-version: 9.0.108
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 18:20:35 +08:00
kevin men
22209fabea
docs: upgrade the version of taopsy (#32749)
* docs: upgrade the version of taopsy

* docs: modify taos-ws-py  sqlalchemy examples

* docs: modify taos-ws-py connect examples

* docs: fix taos-ws-py sqlalchemy examples error

* docs: fix taos-ws-py sqlalchemy pool examples error

* docs: add taos-ws-py sqlalchemy pool some addr examples
2025-08-26 16:28:10 +08:00
guozhenwei
0d90aa024f
docs: update python ws docs (#32709)
* docs: update python ws docs

* docs: update rust docs

* fix: correct connection string format in create_connection_with_sqlalchemy function

* docs: update section title from 'DSN' to 'URL Specification' in Python connector documentation
2025-08-25 08:34:20 +08:00