traceo
traceo copied to clipboard
Bump @clickhouse/client from 0.2.10 to 1.6.0 in /relay-worker
Bumps @clickhouse/client from 0.2.10 to 1.6.0.
Release notes
Sourced from @clickhouse/client
's releases.
1.6.0
New features
- Added optional
real_time_microseconds
field to theClickHouseSummary
interface (see ClickHouse/ClickHouse#69032)Bug fixes
- (Node.js) Fixed unhandled exceptions produced when calling
ResultSet.json
if the response data was not, in fact, a valid JSON. (#311)1.1.0
New features
- Added an option to override the credentials for a particular
query
/command
/exec
/insert
request via theBaseQueryParams.auth
setting; when set, the credentials will be taken from there instead of the username/password provided during the client instantiation (#278).- Added an option to override the
session_id
for a particularquery
/command
/exec
/insert
request via theBaseQueryParams.session_id
setting; when set, it will be used instead of the session id provided during the client instantiation (@holi0317
, #271).Bug fixes
- Fixed the incorrect
ResponseJSON<T>.totals
TypeScript type. Now it correctly matches the shape of the data (T
, default =unknown
) instead of the formerRecord<string, number>
definition (#274).1.0.2
Bug fixes
- The
command
method now drains the response stream properly, as the previous implementation could cause theKeep-Alive
socket to close after each request.- (Node.js) Removed an unnecessary error log in the
ResultSet.stream
method if the request was aborted or the result set was closed (#263).Improvements
- (Node.js)
ResultSet.stream
logs an error via theLogger
instance if the stream emits an error event instead of a simpleconsole.error
call.- Minor adjustments to the formatting of the
DefaultLogger
log messages.- Added missing
rows_before_limit_at_least
to the ResponseJSON type (@0237h
, #267).1.0.1
A hotfix for both Node.js and Web packages. See the 1.0.0 entry that contains the entire 1.0.x changelog.
Bug fixes
- Fixed the regression where the default HTTP/HTTPS port numbers (80/443) could not be used with the URL configuration (#258).
1.0.0
Formal stable release milestone with many improvements and some breaking changes.
Major new features overview:
- Advanced TypeScript support for
query
+ResultSet
- URL configuration
From now on, the client will follow the official semantic versioning guidelines.
Deprecated API
... (truncated)
Changelog
Sourced from @clickhouse/client
's changelog.
1.6.0 (Common, Node.js, Web)
New features
- Added optional
real_time_microseconds
field to theClickHouseSummary
interface (see ClickHouse/ClickHouse#69032)Bug fixes
- Fixed unhandled exceptions produced when calling
ResultSet.json
if the response data was not in fact a valid JSON. (#311)1.5.0 (Node.js)
New features
- It is now possible to disable the automatic decompression of the response stream with the
exec
method. SeeExecParams.decompress_response_stream
for more details. (#298).1.4.1 (Node.js, Web)
Improvements
ClickHouseClient
is now exported as a value from@clickhouse/client
and@clickhouse/client-web
packages, allowing for better integration in dependency injection frameworks that rely on IoC (e.g., Nest.js, tsyringe) (@mathieu-bour
, #292).Bug fixes
- Fixed a potential socket hang up issue that could happen under 100% CPU load (#294).
1.4.0 (Node.js)
New features
- (Node.js only) The
exec
method now accepts an optionalvalues
parameter, which allows you to pass the request body as aStream.Readable
. This can be useful in case of custom insert streaming with arbitrary ClickHouse data formats (which might not be explicitly supported and allowed by the client in theinsert
method yet). NB: in this case, you are expected to serialize the data in the stream in the required input format yourself.1.3.0 (Common, Node.js, Web)
New features
It is now possible to get the entire response headers object from the
query
/insert
/command
/exec
methods. Withquery
, you can access theResultSet.response_headers
property; other methods (insert
/command
/exec
) return it as parts of their response objects as well. For example:const rs = await client.query({ query: 'SELECT * FROM system.numbers LIMIT 1', format: 'JSONEachRow', }) console.log(rs.response_headers['content-type'])
This will print:
application/x-ndjson; charset=UTF-8
. It can be used in a similar way with the other methods.Improvements
... (truncated)
Commits
fa85613
Fix unhandled ResultSet.json errors, prepare 1.6.0 (#311)9254e24
OpenSSF Scorecard Workflow and GitHub Action (#310)c348fbd
Fix head version tests, addClickHouseSummary. real_time_microseconds
(#307)78816e6
Add minimal Variant/Dynamic/JSON examples and tests using JSONEachRow format ...9b5270b
Add Node.js 22, increase test request_timeout (#304)43751b0
Allow to disable stream decompression forexec
(#300)442392c
Adjust the tests that rely on the oldObject('json')
data type (#299)2988c50
Fix main branch tests (#297)2199122
Add a zero sleep macrotask before the request (#296)899b34a
Export NodeClickHouseClient and WebClickHouseClient as a value (#295)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)