Releases: depyronick/clickhouse-client
Releases · depyronick/clickhouse-client
2.0.4
What's Changed
- Client: Return reason from _handlePromiseError so it can be caught by @apparelmagic-heath in #36
New Contributors
- @apparelmagic-heath made their first contribution in #36
Full Changelog: 2.0.3...2.0.4
2.0.3
2.0.2
2.0.1
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
- @BelferMan made their first contribution in #23
Full Changelog: 2.0.0...2.0.1
2.0.0
Important Changes
- The return type of
queryis nowstring | T. - The return type of
queryPromiseis nowstring | T[]. - Queries will now return
TorT[]for JSON formats, andstringfor 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
maxBodyLengthandmaxContentLengthHTTP configurations, both defaults toInfinity - 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.queryPromisememory consumption.
Security
- Update
@nestjs/nest-clito avoid CVE-2022-25858
1.0.17
features
- expose
maxBodyLength. Defaults to Infinity. - expose
maxContentLength. Defaults to Infinity.
dependencies
- update dependencies
fixes
- fix
AxiosError<unknown>typing error
security
- update @nestjs/nest-cli to avoid CVE-2022-25858
1.0.14
fixes
- client was unable to report errors for
inserts
enhancements
- added input parameter validations to
inserts&queries
1.0.13
dependency updates
1.0.12
dependencies
- update axios to 0.26.0 due to a follow-redirect vulnerability.
1.0.11
security
- update
@nestjs/clito8.2.0to avoid GHSA-64g7-mvw6-v9qj - update
axiosto0.25.0to avoid CVE-2022-0155