Skip to content

Releases: depyronick/clickhouse-client

2.0.4

29 Jan 12:37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.3...2.0.4

2.0.3

07 Dec 08:46
b65a004
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.2...2.0.3

2.0.2

19 Apr 10:53
Compare
Choose a tag to compare

What's Changed

  • Fixing a bug where JSON is not being inserted by @kenvals in #25

New Contributors

Full Changelog: 2.0.1...2.0.2

2.0.1

20 Feb 12:47
Compare
Choose a tag to compare

What's Changed

  • Move query to req body instead of uri by @BelferMan in #23
  • ClickHouseClient options are now optional.
  • ClickHouseHttpConfig options are now optional.

New Contributors

Full Changelog: 2.0.0...2.0.1

2.0.0

06 Oct 19:02
Compare
Choose a tag to compare

Important Changes

  • The return type of query is now string | T.
  • The return type of queryPromise is now string | T[].
  • Queries will now return T or T[] for JSON formats, and string for non-JSON formats.
  • The library won't allow queries with unsupported formats anymore.
  • Axios HTTP configuration and ClickHouse HTTP Interface Settings are now separate options.

Features

  • Added Parametrized Query Capabilities. Thanks to @antoniovizuete.
  • Added maxBodyLength and maxContentLength HTTP configurations, both defaults to Infinity
  • Added support for formats:
    • TabSeparated
    • TabSeparatedRaw
    • TabSeparatedWithNames
    • TabSeparatedWithNamesAndTypes
    • TabSeparatedRawWithNames
    • TabSeparatedRawWithNamesAndTypes
    • CSV
    • CSVWithNames
    • CSVWithNamesAndTypes
    • CustomSeparated
    • CustomSeparatedWithNames
    • CustomSeparatedWithNamesAndTypes
    • Values
    • Vertical
    • TSV
    • JSON
    • JSONStrings
    • JSONCompact
    • JSONCompactStrings
    • TSKV
    • Pretty
    • PrettyNoEscapes
    • PrettyCompact
    • PrettyCompactNoEscapes
    • PrettyCompactMonoBlock
    • PrettySpace
    • PrettySpaceNoEscapes
    • Null
    • LineAsString

Fixes

  • AxiosError <unknown> typing error.
  • queryPromise memory consumption.

Security

1.0.17

25 Jul 08:38
Compare
Choose a tag to compare
1.0.17 Pre-release
Pre-release

features

  • expose maxBodyLength. Defaults to Infinity.
  • expose maxContentLength. Defaults to Infinity.

dependencies

  • update dependencies

fixes

  • fix AxiosError <unknown> typing error

security

1.0.14

02 Jun 09:00
Compare
Choose a tag to compare

fixes

  • client was unable to report errors for inserts

enhancements

  • added input parameter validations to inserts & queries

1.0.13

20 Apr 07:19
Compare
Choose a tag to compare

dependency updates

1.0.12

15 Feb 06:32
Compare
Choose a tag to compare

dependencies

  • update axios to 0.26.0 due to a follow-redirect vulnerability.

1.0.11

19 Jan 08:20
Compare
Choose a tag to compare

security