[Snyk] Upgrade @clickhouse/client from 0.2.9 to 0.2.10 #1143

Closed
opened 2026-04-05 16:25:37 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @simlarsen on 3/11/2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @clickhouse/client from 0.2.9 to 0.2.10.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2024-02-19.
Release notes
Package name: @clickhouse/client
  • 0.2.10 - 2024-02-19

    New features

    • If InsertParams.values is an empty array, no request is sent to the server and ClickHouseClient.insert short-circuits itself. In this scenario, the newly added InsertResult.executed flag will be false, and InsertResult.query_id will be an empty string.

    Bug fixes

    • Client no longer produces Code: 354. inflate failed: buffer error exception if request compression is enabled and InsertParams.values is an empty array (see above).
  • 0.2.9 - 2024-01-19

    New features

    • It is now possible to set additional HTTP headers for outgoing ClickHouse requests. This might be useful if, for example, you have a reverse proxy with authorization. (@ teawithfruit)
    const client = createClient({
      additional_headers: {
        'X-ClickHouse-User': 'clickhouse_user',
        'X-ClickHouse-Key': 'clickhouse_password',
      },
    })
from @clickhouse/client GitHub release notes
Commit messages
Package name: @clickhouse/client

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

*Originally created by @simlarsen on 3/11/2024* <p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade @clickhouse/client from 0.2.9 to 0.2.10.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **1 version** ahead of your current version. - The recommended version was released **21 days ago**, on 2024-02-19. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@clickhouse/client</b></summary> <ul> <li> <b>0.2.10</b> - <a href="https://snyk.io/redirect/github/ClickHouse/clickhouse-js/releases/tag/0.2.10">2024-02-19</a></br><h3>New features</h3> <ul> <li>If <code>InsertParams.values</code> is an empty array, no request is sent to the server and <code>ClickHouseClient.insert</code> short-circuits itself. In this scenario, the newly added <code>InsertResult.executed</code> flag will be <code>false</code>, and <code>InsertResult.query_id</code> will be an empty string.</li> </ul> <h3>Bug fixes</h3> <ul> <li>Client no longer produces <code>Code: 354. inflate failed: buffer error</code> exception if request compression is enabled and <code>InsertParams.values</code> is an empty array (see above).</li> </ul> </li> <li> <b>0.2.9</b> - <a href="https://snyk.io/redirect/github/ClickHouse/clickhouse-js/releases/tag/0.2.9">2024-01-19</a></br><h3>New features</h3> <ul> <li>It is now possible to set additional HTTP headers for outgoing ClickHouse requests. This might be useful if, for example, you have a reverse proxy with authorization. (<a href="https://snyk.io/redirect/github/teawithfruit">@ teawithfruit</a>)</li> </ul> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const client = createClient({ additional_headers: { 'X-ClickHouse-User': 'clickhouse_user', 'X-ClickHouse-Key': 'clickhouse_password', }, })"><pre><span class="pl-k">const</span> <span class="pl-s1">client</span> <span class="pl-c1">=</span> <span class="pl-en">createClient</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">additional_headers</span>: <span class="pl-kos">{</span> <span class="pl-s">'X-ClickHouse-User'</span>: <span class="pl-s">'clickhouse_user'</span><span class="pl-kos">,</span> <span class="pl-s">'X-ClickHouse-Key'</span>: <span class="pl-s">'clickhouse_password'</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div> </li> </ul> from <a href="https://snyk.io/redirect/github/ClickHouse/clickhouse-js/releases">@clickhouse/client GitHub release notes</a> </details> </details> <details> <summary><b>Commit messages</b></summary> </br> <details> <summary>Package name: <b>@clickhouse/client</b></summary> <ul> <li><a href="https://snyk.io/redirect/github/ClickHouse/clickhouse-js/commit/bd5bd294cd427e24595f3c218d47f3021a2caeab">bd5bd29</a> Short-circuit when insert values are empty (#229)</li> <li><a href="https://snyk.io/redirect/github/ClickHouse/clickhouse-js/commit/cbc1090da9fd46c5f67e97711fafd1cbc718ef09">cbc1090</a> Add tests for Nested data type (#227)</li> <li><a href="https://snyk.io/redirect/github/ClickHouse/clickhouse-js/commit/7a14392592ed907adabaaf519ac83d0f24bba295">7a14392</a> Pin parquet-wasm version</li> </ul> <a href="https://snyk.io/redirect/github/ClickHouse/clickhouse-js/compare/8b3d1349fb5f769c0e1fbf80abf5e0f4e84d3dc8...bd5bd294cd427e24595f3c218d47f3021a2caeab">Compare</a> </details> </details> <hr/> **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJhZDM3MzBjYi03Yjc3LTQwYzMtOTMyOC0yNzQzNzgwZDA3YjEiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImFkMzczMGNiLTdiNzctNDBjMy05MzI4LTI3NDM3ODBkMDdiMSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/a2fb4fe1-f25f-4ff9-a58c-e78277b0a7fa?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/a2fb4fe1-f25f-4ff9-a58c-e78277b0a7fa/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/a2fb4fe1-f25f-4ff9-a58c-e78277b0a7fa/settings/integration?pkg&#x3D;@clickhouse/client&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"ad3730cb-7b77-40c3-9328-2743780d07b1","prPublicId":"ad3730cb-7b77-40c3-9328-2743780d07b1","dependencies":[{"name":"@clickhouse/client","from":"0.2.9","to":"0.2.10"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/a2fb4fe1-f25f-4ff9-a58c-e78277b0a7fa?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"a2fb4fe1-f25f-4ff9-a58c-e78277b0a7fa","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2024-02-19T16:25:16.668Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) --->
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1143