Skip to content

Latest commit

 

History

History
1274 lines (594 loc) · 41.6 KB

CHANGELOG.md

File metadata and controls

1274 lines (594 loc) · 41.6 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[taos-v0.10.1] - 2023-08-17

Full Changelog: taos-v0.9.5...taos-v0.10.1

Bug Fixes

  • Fix IsData trait impls for taos-sys (4a764a3)

Features

  • Use async bind in async prelude (3f9dd98)

[taos-v0.9.5] - 2023-08-16

Full Changelog: taos-v0.9.4...taos-v0.9.5

Bug Fixes

  • Now we support single-thread tokio runtime (c89bfa8)
  • Use block_in_place under multi-thread runtime only (b617d28)

Enhancements

  • Ws_affected_rows64, ws_stmt_set_sub_tbname (881f471)
  • Ws_affected_rows64 (681d84a)
  • Add affected_rows_once (c3a9ac1)

Features

  • Add is_native/is_ws in taos::Taos (dbf8c0b)

Testing

  • Add case for ws_stmt_set_sub_tbname (4f02b51)
  • Add case affected_row (90698bc)
  • Update case affected_row (d582daa)

Dev

  • Add query benchmark with critierion (568a150)

[taos-v0.9.4] - 2023-08-09

Full Changelog: taos-v0.9.3...taos-v0.9.4

Bug Fixes

  • ws: Fix some panics in websocket impls (142a9e9)

Features

  • Use default rustls for taos-ws-sys (52e9b18)

[taos-v0.9.3] - 2023-08-03

Full Changelog: taos-v0.9.2...taos-v0.9.3

Bug Fixes

  • mdsn: Fix unix path with spaces (d5aa25f)

Documentation

  • Add example code (0cb8868)
  • Add example code: basic (01788f9)
  • Add example code: stmt bind (1dcf95b)
  • Add example code: stmt muti bind (ed81b2d)
  • Add example code: stmt muti bind (c9b64fd)
  • Add ws-table-muti-bind (69d4054)
  • Add example of get err string (56400af)

[taos-v0.9.2] - 2023-07-27

Full Changelog: taos-v0.9.1...taos-v0.9.2

Bug Fixes

  • sys: Fix nchar display error (2c291f1)

  • ws-sys: Fix nchar to str (00c465c)

  • Reclaim vec item (6ad6f81)

  • Fix csv dsn parse error when use unix glob (f49a0e5)

Documentation

  • Update git cliff config and CHANGELOG.md (c8848c9)

Enhancements

Features

  • Add api get_col_fields and get_tag_fields (83c0242)
  • Add c api stmt get fields (552749d)
  • Update C struct (fdebcd7)

Testing

[taos-v0.9.1] - 2023-07-18

Full Changelog: taos-v0.9.0...taos-v0.9.1

Bug Fixes

[taos-v0.9.0] - 2023-07-12

Full Changelog: taos-v0.8.15...taos-v0.9.0

Bug Fixes

  • optin: Safe way to fetch raw block in both v2/v3 (931a3f5)

  • Annotate of ws_get_server_info (1d05e7b)

  • Annotate of ws_get_server_info (295cf45)

  • Drop data in WsMaybeError (db84de5)

  • Remove read (4a4cdac)

  • Drop data in WsMaybeError (ced57b9)

  • Remove read (a40f0a8)

  • Fix unexpected error string (3e79cf1)

Enhancements

Features

  • Raise backtrace with taosc error codes (2637b39)

Testing

[taos-v0.8.15] - 2023-06-28

Full Changelog: taos-v0.8.14...taos-v0.8.15

Bug Fixes

  • Cloud as enterprise edition (f93c339)

[taos-v0.8.14] - 2023-06-27

Full Changelog: taos-v0.8.13...taos-v0.8.14

Bug Fixes

  • Treat cloud as enterprise (68bdda9)

[taos-v0.8.13] - 2023-06-27

Full Changelog: taos-v0.8.12...taos-v0.8.13

Bug Fixes

  • Cloud connection 400 bad request error (6281978)

[taos-v0.8.12] - 2023-06-21

Full Changelog: taos-v0.8.11...taos-v0.8.12

Bug Fixes

Enhancements

  • Add sync implement for put schemaless (5a57e5d)

[taos-v0.8.11] - 2023-06-13

Full Changelog: taos-v0.8.10...taos-v0.8.11

Bug Fixes

  • features: Offset for native flag should be labelled as taos_sys::tmq::Offset (1a1cc08)

Enhancements

  • Add sync implement for put schemaless (fe2ff37)

Features

  • Add cast() method to ColumnView (83d61c2)

Refactor

  • There's no need for parsing the response of the tmq as error string here (8a42a33)

Build

  • private is a deprecated attribute for cargo (8c3de91)

[taos-v0.8.10] - 2023-06-08

Full Changelog: taos-v0.8.9...taos-v0.8.10

Bug Fixes

[taos-v0.8.9] - 2023-06-08

Full Changelog: taos-v0.8.8...taos-v0.8.9

Bug Fixes

  • Do not panic while ws retrun no assignment (d6b1b86)

Enhancements

  • Add assignment and seek to AsConsumer (37e3f69)

Testing

[taos-v0.8.8] - 2023-06-01

Full Changelog: taos-v0.8.5...taos-v0.8.8

Enhancements

  • Dsn parse support param vlaue contains line break (e17b0c1)

Refactor

[taos-v0.8.5] - 2023-05-30

Full Changelog: taos-v0.8.4...taos-v0.8.5

Enhancements

  • Seek_offset use dsn (1f30982)
  • Columnview support from micros/nanos (9987fac)

[taos-v0.8.4] - 2023-05-25

Full Changelog: taos-v0.8.3...taos-v0.8.4

Bug Fixes

Enhancements

  • Add messager for tmq (a5c654b)
  • Ws impl assignments and seek_offset (5f63949)

Refactor

  • Update Assignment args name (cfc7e30)

Testing

  • Ws add case for assignments and seek offset (972686c)
  • Upate case of test_put (626dbdd)
  • Ws move args db from action insert to conn (52aa82d)

[taos-v0.8.3] - 2023-05-22

Full Changelog: taos-v0.8.2...taos-v0.8.3

Bug Fixes

Enhancements

Features

[taos-v0.8.2] - 2023-05-17

Full Changelog: taos-v0.8.1...taos-v0.8.2

Bug Fixes

Enhancements

Features

  • Get assignments and seek offset (ee45fb8)
  • Taos-optin add assignments and offset seek (db257c0)
  • Add topic_assignment (023e782)
  • Add block <-> views helper methods (cbe6d53)

Testing

[taos-v0.8.1] - 2023-04-26

Full Changelog: taos-v0.8.0...taos-v0.8.1

Bug Fixes

  • ws: Fix get raw data in websocket (18f6ec4)

  • Is_enterprise_edition return result (ce40d61)

[taos-v0.8.0] - 2023-04-24

Full Changelog: taos-v0.7.6...taos-v0.8.0

Bug Fixes

  • Taos_query_a_with_reqid should be optional (08dd7dc)
  • Fix test error for reqid (3e6db89)
  • Fix memory leak for query and tmq (794b3b5)

Enhancements

[taos-v0.7.6] - 2023-04-14

Full Changelog: taos-v0.7.5...taos-v0.7.6

Bug Fixes

  • Add args about wal to fix tmq test (60006eb)
  • Fix encoded username parsing error (e3b922f)

Testing

[taos-v0.7.5] - 2023-04-13

Full Changelog: taos-v0.7.4...taos-v0.7.5

Bug Fixes

  • Fix dead loop when table not exists (aa89a02)

[taos-v0.7.4] - 2023-04-13

Full Changelog: taos-v0.7.3...taos-v0.7.4

Enhancements

  • Update sml data struct (4c19d40)
  • Use trace level instead of error to avoid misleading (e167b95)

[taos-v0.7.3] - 2023-04-13

Full Changelog: taos-v0.7.2...taos-v0.7.3

Bug Fixes

  • Fix ws_errno on NULL ptr (974b67d)
  • Fix windows error when call json_meta (f5c0870)

Enhancements

[taos-v0.7.2] - 2023-04-10

Full Changelog: taos-v0.7.1...taos-v0.7.2

Bug Fixes

  • Fix windows ptr reading error while query failed (90a3846)

Enhancements

Testing

End

  • Add query_with_req_id for native (bb642bc)
  • Add query_with_req_id for native, optin package (55588e2)

[taos-v0.7.1] - 2023-04-03

Full Changelog: taos-v0.7.0...taos-v0.7.1

Bug Fixes

  • Fix unaligned ptr reader (76df290)
  • Fix docs building error in docs.rs (f8af219)

[taos-v0.7.0] - 2023-04-03

Full Changelog: taos-v0.6.0...taos-v0.7.0

Bug Fixes

  • option: Do not check errors for enable.heartbeat.background (0f717a8)

  • Update mdsn to v0.2.10 (1d358b5)

  • Fix tmq config options (01b6854)

Documentation

  • mdsn: Add homepage/documentation/repository info to Cargo.toml (db9513c)

[taos-v0.5.12] - 2023-03-25

Full Changelog: taos-v0.5.11...taos-v0.5.12

Bug Fixes

  • Add ColumnView::from_json (baee5d5)

[taos-v0.5.10] - 2023-03-23

Full Changelog: taos-v0.5.9...taos-v0.5.10

Enhancements

Features

  • Add pool_builder for TBuiler trait (8b7e77f)

[taos-v0.5.9] - 2023-03-19

Full Changelog: taos-v0.5.8...taos-v0.5.9

Bug Fixes

[taos-v0.5.8] - 2023-03-18

Full Changelog: taos-v0.5.7...taos-v0.5.8

Bug Fixes

  • Fix error for block stream (47e84d4)
  • Use a smaller pool size as default (4712a91)

Features

  • Concat two column views with Add operator or .concat method (094b8b6)

[taos-v0.5.7] - 2023-03-17

Full Changelog: taos-v0.5.5...taos-v0.5.7

Bug Fixes

  • Fix != error in taosx (c93422f)
  • Fix in use fetch_rows_a for v2 (0884f7f)

[taos-v0.5.5] - 2023-03-16

Full Changelog: taos-v0.5.4...taos-v0.5.5

Features

  • Support PartialEq for borrowed and owned value (661e0b8)

[taos-v0.5.3] - 2023-03-16

Full Changelog: taos-v0.5.1...taos-v0.5.3

Bug Fixes

  • sys: Parse version with 5-fragments like 3.0.3.0.1 (2bb63dc)

  • Fix 0x032C error (fd48d6d)

  • Fix double free for stmt (28cd48a)

  • Santizer detect unaligned memory (33c7f50)

Enhancements

  • Error logging in debug level for code handling (aeedb0f)

[taos-v0.5.1] - 2023-03-09

Full Changelog: taos-v0.5.0...taos-v0.5.1

Bug Fixes

  • optin: Fix metadata unimplemented (28363ec)

[taos-v0.5.0] - 2023-03-08

Full Changelog: taos-v0.4.18...taos-v0.5.0

Bug Fixes

  • optin: Fix memory leak in stmt bind (29877ea)

  • pool: Set connection timeout default to 5s (7ece76f)

  • py: Fix token parsing for cloud (0fa1922)

  • py: Fix query error with cloud token (83ebaf0)

  • sys: Fix async runtime error under v2 (b318e75)

  • sys: Fix memory leak in stmt bind (1765c99)

  • sys: Remove log::debug! macro in query future (dc6b31f)

  • ws: Unimpleted type when message_type = 3 (a4f6141)

  • Fix unaligned pointer to support sanitizer build (c5077d2)

  • Stmt mem leak for binary/nchar bind (2810106)

  • Retry write meta when got code 0x2603 (f16da13)

  • Fix test error (444be97)

  • Impl to_string for bool type (c2f2119)

  • Fix taos_query_a called twice (78c7f22)

  • Optin server edition check (3608eaf)

  • Fix macos compile error (c4b6066)

  • Fix edition version pattern (cloud) (b20380e)

  • Macos compile error in optin feature (97e6084)

  • Fix async block called twice (2f2ffce)

  • Force Send/Sync for column view (39adc7e)

  • Fix double free when execute set_tag before bind (#142) (354fd26)

  • Fix warnings and syntax error after 3.0.3.0 (59e4d5a)

Enhancements

  • Use mimimum features set of tokio instead of full (915964b)

Features

  • Use rustls with native roots by default (f04e029)
  • Do not move metga when use write_raw_meta. (c00f14a)
  • Pretty print block with prettytable-rs (bd3c725)
  • Expose taos-query at root of taos (b05d76c)
  • Add sesrver_version() and is_enterprise_edition() (1b3e6fc)

[taos-v0.4.18] - 2023-01-08

Full Changelog: taos-v0.4.17...taos-v0.4.18

Bug Fixes

  • Fix create topic error (4dc6862)
  • Fix create topic error for older version (aadc3df)
  • Fix slice of null bits error (391e00d)
  • Add a macro to prepare fixing typo (8e237bd)

Features

  • taos-ws-py: Support multiple python version by abc3-py37 (ea7dcb5)

  • Taosws PEP-249 fully support (f078346)

  • Support column view slice (82a1745)

Testing

Dep

[taos-v0.4.17] - 2022-12-24

Full Changelog: taos-v0.4.16...taos-v0.4.17

Bug Fixes

  • Fix complie errors in sanitizer mode (6564e3d)
  • Fix tmq_free_raw lost that causes mem leak (047486e)
  • Fix mem leak in taos_query_a callback (87a1ed2)
  • Fix DSN parsing with localhost and specified port (83431f4)
  • Default max pool size to 5000 (9a7dff9)
  • Fix memory leak when query error (c13b692)

Enhancements

  • Support delete meta in json (8e1d4f3)

Features

  • Support write_raw_block_with_fields (0ac7f8b)
  • Add server_version method for connection object (51dea9f)

Examples

  • Add example for database creation (f07734c)

[taos-v0.4.16] - 2022-12-10

Full Changelog: taos-v0.4.15...taos-v0.4.16

Bug Fixes

  • Fix test error in CI (e7ed2f0)
  • Support api changes since 3.0.2.0 (7435b54)

[taos-v0.4.15] - 2022-12-09

Full Changelog: taos-v0.4.14...taos-v0.4.15

Bug Fixes

  • Support write_raw_block_with_fields action (4a8ccd5)

[taos-v0.4.14] - 2022-12-09

Full Changelog: taos-v0.4.13...taos-v0.4.14

Bug Fixes

  • Use dlopen2 instead of libloading (57c66b4)

[taos-v0.4.13] - 2022-12-09

Full Changelog: taos-v0.4.12...taos-v0.4.13

Bug Fixes

  • Fix r2d2 timedout error with default pool options (f6da615)
  • Use spawn_blocking for tmq poll async (d48d095)

[taos-v0.4.12] - 2022-12-06

Full Changelog: taos-v0.4.11...taos-v0.4.12

Bug Fixes

  • Produce exlicit error for write_raw_meta in 2.x (d6dd846)

Features

  • mdsn: Support percent encoding of password (137eecf)

[taos-v0.4.11] - 2022-12-01

Full Changelog: taos-v0.4.10...taos-v0.4.11

Bug Fixes

  • sys: Fix compile error when _raw_block_with_fields not avalible (3c65d97)

  • Support ?key-like params (28e61a4)

  • Support special database names in use_database method (633e43a)

  • Fix coredump when optin dropped (7c6ef10)

  • Support utf-8 table names in describe (4f0f3f9)

Features

  • Expose TaosPool type alias for r2d2 pool (5a05049)

[taos-v0.4.10] - 2022-11-29

Full Changelog: taos-v0.4.9...taos-v0.4.10

Bug Fixes

  • Use from_timestamp_opt for the deprecation warning of chrono (711e0f8)
  • Use new write_raw_block_with_fields API if avaliable (1efbb66)

Enhancements

  • Expose fields method to public for RawBlock (e5ae526)

[taos-v0.4.9] - 2022-11-22

Full Changelog: taos-v0.4.8...taos-v0.4.9

Bug Fixes

  • ws: Fix websocket handout in release build (9e9635d)

  • Remove simd-json for mips64 compatibility (6f61d9c)

Enhancements

  • ws: Add features rustls/native-tls for ssl libs (8e01a72)

Testing

[taos-v0.4.8] - 2022-11-11

Full Changelog: taos-v0.4.7...taos-v0.4.8

Bug Fixes

  • ws: Fix error catching for query failed (4065780)

  • ws: Fix call blocking error in async runtime (61ea7f0)

  • ws: Fix send error (2276b20)

  • Use oneshot sender for async drop impls (006e40a)

Features

  • DsnError::InvalidAddresses error changed (5e1a4f1)

[taos-v0.4.7] - 2022-11-02

Full Changelog: taos-v0.4.6...taos-v0.4.7

Bug Fixes

  • ws: Broadcast errors when connection broken (c873d0e)

  • Async future not cancellable when timeout=never (f5db6cc)

Refactor

  • Expose tokio in prelude mod (612334d)

[taos-v0.4.6] - 2022-11-01

Full Changelog: taos-v0.4.5...taos-v0.4.6

Bug Fixes

  • Remove initial poll since first msg not always none (f37afa5)

[taos-v0.4.5] - 2022-10-31

Full Changelog: taos-v0.4.4...taos-v0.4.5

Bug Fixes

  • Cover timeout=never feature for websocket (db54aa1)

[taos-v0.4.4] - 2022-10-31

Full Changelog: taos-v0.4.3...taos-v0.4.4

Bug Fixes

  • Fix Stmt Send/Sync error under async/await (bb3a758)

[taos-v0.4.3] - 2022-10-28

Full Changelog: taos-v0.4.2...taos-v0.4.3

Bug Fixes

  • Check tmq pointer is null (1388bf0)

[taos-v0.4.2] - 2022-10-28

Full Changelog: taos-v0.4.1...taos-v0.4.2

Bug Fixes

  • Fix drop errors when use optin libs (20c1c87)

[taos-v0.4.1] - 2022-10-28

Full Changelog: taos-v0.4.0...taos-v0.4.1

Features

  • Refactor write_raw_* apis (b91a4ad)
  • Add optin package for 2.x/3.x native comatible loading (95ddc44)
  • Support optin native library loading by dlopen (da91105)

[taos-v0.4.0] - 2022-10-25

Full Changelog: taos-v0.3.1...taos-v0.4.0

Bug Fixes

  • ws: Fix coredump when websocket already closed (18da2fb)

  • ws: Fix close on closed websocket connection (2745f60)

  • Remove select-rustc as dep (4e3b0fd)

  • Implicitly set protocol as ws when token param exists (dfb3f4e)

[taos-v0.3.1] - 2022-10-09

Full Changelog: taos-v0.3.0...taos-v0.3.1

Bug Fixes

  • Expose Meta/Data struct (e59f407)

[taos-v0.3.0] - 2022-09-22

Full Changelog: taos-v0.2.12...taos-v0.3.0

Bug Fixes

  • taosws: Fix coredump with cmd: taos -c test/cfg -R (51ec0a5)

  • Handle error on ws disconnected abnormally (6ab74ff)

Features

  • Add MetaData variant for tmq message. (5d0a522)
    • BREAKING: MessageSet enum updated:

[taos-v0.2.12] - 2022-09-17

Full Changelog: taos-v0.2.11...taos-v0.2.12

Bug Fixes

  • Public MetaAlter fields and AlterType enum (9c10958)

[taos-v0.2.11] - 2022-09-16

Full Changelog: taos-v0.2.10...taos-v0.2.11

Bug Fixes

  • Catch error in case of action fetch_block (562039b)
  • Publish meta data structures (9f33b4d)

Performance

  • mdsn: Improve dsn parse performance and reduce binary size (e0586c1)

Refactor

  • Move taos as workspace member (c2dbbc6)

[taos-v0.2.10] - 2022-09-07

Full Changelog: taos-v0.2.9...taos-v0.2.10

Bug Fixes

  • Fix std::ffi::c_char not found in rust v1.63.0 (1aa45e1)

[taos-v0.2.9] - 2022-09-07

Full Changelog: taos-v0.2.8...taos-v0.2.9

Bug Fixes

  • Sync on async websocket query support (5e62fd3)
  • Fix arm64 specific compile error (96ce1ba)

Testing

  • Fix test cases compile error (0b6ad98)

[taos-v0.2.8] - 2022-09-06

Full Changelog: taos-v0.2.7...taos-v0.2.8

Bug Fixes

  • ws: Fix data lost in large query set (685e1ed)

  • Fix unknown action 'close', use 'free_result' (44ded92)

[taos-v0.2.7] - 2022-09-02

Full Changelog: taos-v0.2.6...taos-v0.2.7

Bug Fixes

  • Fix version action response error in websocket (af8d06a)

[taos-v0.2.6] - 2022-09-01

Full Changelog: taos-v0.2.5...taos-v0.2.6

Bug Fixes

  • Fix websocket stmt set json tags error (eca5562)

[taos-v0.2.5] - 2022-08-31

Full Changelog: taos-v0.2.4...taos-v0.2.5

Bug Fixes

  • tmq: Enable expriment snapshot by default (20e8069)

  • Support . in database part (ebd7ee5)

  • Topics table rename (cb695ae)

[taos-v0.2.4] - 2022-08-30

Full Changelog: taos-v0.2.3...taos-v0.2.4

Bug Fixes

  • Remove unused log print (adc4243)

[taos-v0.2.3] - 2022-08-22

Full Changelog: taos-v0.2.2...taos-v0.2.3

Testing

  • Fix llvm-cov test error and report code coverage (8f3018d)

[taos-v0.2.2] - 2022-08-11

Full Changelog: taos-v0.2.1...taos-v0.2.2

Bug Fixes

  • Fix derive error since rustc-1.65.0-nightly (0d155a5)

[taos-v0.2.1] - 2022-08-11

Full Changelog: taos-v0.2.0...taos-v0.2.1

Documentation

  • Fix build error on docs.rs (ce8f6c8)

[taos-v0.2.0] - 2022-08-11

Bug Fixes

  • C: Use char instead of uint8_t in field names (65e08ea)

  • query: Remove debug info of json view (1e7c053)

  • query: Fix websocket v2 float null (35eabf7)

  • ws: Not block on ws_get_server_info (80d7309)

  • ws: Use ws_errno/errstr in ws_fetch_block (c27eeab)

  • ws: Add ws-related error codes, fix version detection (96884b0)

  • ws: Fix fetch block unexpect exit (6e1335f)

  • ws: Fix query errno when connection is not alive (49f980c)

  • ws: Fix stmt bind with non-null values coredump (742f99f)

  • ws: Fix timing compatibility bug for v2 (2f190df)

  • ws: Fix stmt null error when buffer is empty (7fb8574)

  • ws: Fix bigint/unsigned-bigint precision bug (35afaf2)

  • ws-sys: Fix ws_free_result with NULL (f642d60)

  • Fix column length calculation for v2 block (24c3377)

  • Gcc 7 compile error (89c1720)

  • Taos-ws-sys/examples/show-databases.c (2caa2dd)

  • Fix duplicate defines when use with taos.h (430982a)

  • .github/workflows/build.yml branch (ba81246)

  • Remove usless file (e725bcc)

Documentation

  • Add license and refine readme (e80fef2)
  • Add README and query/tmq examples (de89305)
  • Add example for bind and r2d2 (d1b8b27)

Enhancements

  • ws: Feature gated ssl support for websocket (b2c1a92)

Features

  • libtaosws: Add ws_get_server_info (9c2fad8)

  • ws: Add stmt API (20837b2)

  • ws: Add ws_take_timing method for taosc cost (d420966)

  • ws: Add ws_stop_query, support write raw block (13c3563)

  • Support python lib for websocket (1f24401)

  • Add main connector (0ba8a17)

Refactor

  • query: Refactor query interface (dcb9c57)

  • query: New version of raw block (31d1032)

  • Use stable channel (f7989f4)

  • Change ws_rs to ws_res to align with original naming style (94e94cb)

  • Merge with main branch (aa71b8e)

  • Fix nchar/json error, refactor error handling (9d8c632)

  • Fix stmt bind with raw block error (d45e37a)