Skip to content

0.0.12

Compare
Choose a tag to compare
@slvrtrn slvrtrn released this 01 Feb 14:35
· 164 commits to main since this release

New features

  • ResultSet.query_id contains a unique query identifier that might be useful for retrieving query metrics from system.query_log
  • User-Agent HTTP header is set according to the language client spec.
    For example, for client version 0.0.12 and Node.js runtime v19.0.4 on Linux platform, it will be clickhouse-js/0.0.12 (lv:nodejs/19.0.4; os:linux).
    If ClickHouseClientConfigOptions.application is set, it will be prepended to the generated User-Agent.
  • Run tests on nodejs@v19

Breaking changes

  • client.insert now returns { query_id: string } instead of void
  • client.exec now returns { stream: Stream.Readable, query_id: string } instead of just Stream.Readable