You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2025/02/04 07:29:16 UTC

[PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 4.0.0 [camel]

dependabot[bot] opened a new pull request, #17042:
URL: https://github.com/apache/camel/pull/17042

   Bumps [io.pinecone:pinecone-client](https://github.com/pinecone-io/pinecone-java-client) from 3.1.0 to 4.0.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/pinecone-io/pinecone-java-client/releases">io.pinecone:pinecone-client's releases</a>.</em></p>
   <blockquote>
   <h2>v4.0.0 Release</h2>
   <p>This version of the Pinecone Java SDK introduces <a href="https://docs.pinecone.io/guides/indexes/sparse-indexes#upsert-sparse-vectors">Sparse Indexes</a>. It also supports version 2025-01 of the Pinecone API. You can read more about versioning <a href="https://docs.pinecone.io/reference/api/versioning">here</a>.</p>
   <h2>Features</h2>
   <h3>Sparse Index</h3>
   <p>Following is an example that shows how to create sparse index, upsert and query data into the index, and finally deleting the index.</p>
   <pre lang="java"><code>import io.pinecone.proto.UpsertResponse;
   import io.pinecone.unsigned_indices_model.QueryResponseWithUnsignedIndices;
   import org.openapitools.db_control.client.model.DeletionProtection;
   import org.openapitools.db_control.client.model.IndexModel;
   <p>import java.util.*;</p>
   <p>public class SparseIndexExample {<br />
   public static void main(String[] args) {<br />
   // Instantiate Pinecone class<br />
   Pinecone pinecone = new Pinecone<br />
   .Builder(System.getenv(&quot;PINECONE_API_KEY&quot;))<br />
   .withSourceTag(&quot;pinecone_test&quot;)<br />
   .build();</p>
   <pre><code>    // Create sparse Index
       String indexName = &amp;quot;example-index&amp;quot;;
       String cloud = &amp;quot;aws&amp;quot;;
       String region = &amp;quot;us-east-1&amp;quot;;
       String vectorType = &amp;quot;sparse&amp;quot;;
       Map&amp;lt;String, String&amp;gt; tags = new HashMap&amp;lt;&amp;gt;();
       tags.put(&amp;quot;env&amp;quot;, &amp;quot;test&amp;quot;);
       pinecone.createSparseServelessIndex(indexName,
               cloud,
               region,
               DeletionProtection.ENABLED,
               tags,
               vectorType);
   
       // Wait for index to be ready
       Thread.sleep(10000);
       IndexModel indexModel = pinecone.describeIndex(indexName);
       System.out.println(indexModel.getStatus());
   
       // Upsert vectors
       Index index = pinecone.getIndexConnection(indexName);
       String id = &amp;quot;v1&amp;quot;;
       ArrayList&amp;lt;Long&amp;gt; indices = new ArrayList&amp;lt;&amp;gt;();
       indices.add(1L);
       indices.add(2L);
   
       ArrayList&amp;lt;Float&amp;gt; values = new ArrayList&amp;lt;&amp;gt;();
       values.add(1f);
   </code></pre>
   <p>&lt;/tr&gt;&lt;/table&gt;<br />
   </code></pre></p>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/pinecone-io/pinecone-java-client/blob/main/CHANGELOG.md">io.pinecone:pinecone-client's changelog</a>.</em></p>
   <blockquote>
   <h3>4.0.0</h3>
   <ul>
   <li>Add support for sparse indexes</li>
   <li>Generate code based on 2025-01 open-api spec</li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/6ed8d46666dca975c5e19511e4cde81eb50d88ab"><code>6ed8d46</code></a> Update rerank example in the README after breaking changes (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/177">#177</a>)</li>
   <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/902f14823320f1b3e9759aaef1f139d18146a0c8"><code>902f148</code></a> Prepare to release Java SDK v4.0.0 (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/176">#176</a>)</li>
   <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/59b9f5f2178ef0c620d690b77a717c4490bc9cc2"><code>59b9f5f</code></a> Add support to create sparse serverless index method (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/175">#175</a>)</li>
   <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/0f9a4838cf4012bac4331b601bbaf7be14321943"><code>0f9a483</code></a> Replace protoc with buf and add build script for generating code from the pro...</li>
   <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/154dfd33a2ca16b20b6ef5967bab8a51ec8a4266"><code>154dfd3</code></a> remove commented code</li>
   <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/6afb4dd54ab05700439065425f4462177e12ac26"><code>6afb4dd</code></a> generate code based on 2025-01 api spec</li>
   <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/6e109e377eee62da4bf5e2c7064fc5ae26b9d097"><code>6e109e3</code></a> Add index tags  (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/169">#169</a>)</li>
   <li>See full diff in <a href="https://github.com/pinecone-io/pinecone-java-client/compare/v3.1.0...v4.0.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.pinecone:pinecone-client&package-manager=maven&previous-version=3.1.0&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   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-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   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)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 4.0.0 [camel]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #17042:
URL: https://github.com/apache/camel/pull/17042#issuecomment-2633209371

   OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 4.0.0 [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #17042:
URL: https://github.com/apache/camel/pull/17042#issuecomment-2633085762

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :robot: CI automation will test this PR automatically.
   
   :camel: Apache Camel Committers, please review the following items:
   
   * First-time contributors **require MANUAL approval** for the GitHub Actions to run
   
   * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot.
   
   * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
   
   * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. 
   
   * :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 4.0.0 [camel]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on PR #17042:
URL: https://github.com/apache/camel/pull/17042#issuecomment-2633209279

   Needs manual update, I guess.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 4.0.0 [camel]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd closed pull request #17042: chore(deps): Bump io.pinecone:pinecone-client from 3.1.0 to 4.0.0
URL: https://github.com/apache/camel/pull/17042


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org