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

   Bumps 
[io.pinecone:pinecone-client](https://github.com/pinecone-io/pinecone-java-client)
 from 3.1.0 to 4.0.1.
   <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.1 Release</h2>
   <h2>Fixed [issue <a 
href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/173";>#173</a>](<a
 
href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/173";>pinecone-io/pinecone-java-client#173</a>):
 Thread safety issue for <code>getIndexConnection()</code> and 
<code>getAsyncIndexConnection()</code></h2>
   <p>The <code>getIndexConnection()</code> and 
<code>getAsyncIndexConnection()</code> methods were not thread-safe. The 
underlying <code>connectionsMap</code>, which maintains a mapping of index 
names (<code>String</code>) to their corresponding 
<code>PineconeConnection</code> instances, was incorrectly updating all entries 
to reference the most recently created connection. This fix ensures that each 
index maintains its own distinct connection, preventing unintended overwrites 
in multi-threaded environments.</p>
   <h2>What's Changed</h2>
   <ul>
   <li>Create new config per connection by <a 
href="https://github.com/rohanshah18";><code>@​rohanshah18</code></a> in <a 
href="https://redirect.github.com/pinecone-io/pinecone-java-client/pull/178";>pinecone-io/pinecone-java-client#178</a></li>
   <li>Prepare to release v4.0.1 by <a 
href="https://github.com/rohanshah18";><code>@​rohanshah18</code></a> in <a 
href="https://redirect.github.com/pinecone-io/pinecone-java-client/pull/179";>pinecone-io/pinecone-java-client#179</a></li>
   </ul>
   <p><strong>Full Changelog</strong>: <a 
href="https://github.com/pinecone-io/pinecone-java-client/compare/v4.0.0...v4.0.1";>https://github.com/pinecone-io/pinecone-java-client/compare/v4.0.0...v4.0.1</a></p>
   <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 {
   public static void main(String[] args) {
   // Instantiate Pinecone class
   Pinecone pinecone = new Pinecone
   .Builder(System.getenv(&quot;PINECONE_API_KEY&quot;))
   .withSourceTag(&quot;pinecone_test&quot;)
   .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);
   </code></pre>
   <p>&lt;/tr&gt;&lt;/table&gt;
   </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.1</h3>
   <ul>
   <li>Create a new config per index connection</li>
   </ul>
   <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/c83ea24eb3e5b5c9400d26b1073dd7e58fcb9530";><code>c83ea24</code></a>
 Prepare to release v4.0.1 (<a 
href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/179";>#179</a>)</li>
   <li><a 
href="https://github.com/pinecone-io/pinecone-java-client/commit/b4cc92cc43eff19e925862f26d02063d28349015";><code>b4cc92c</code></a>
 Create new config per connection (<a 
href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/178";>#178</a>)</li>
   <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.1";>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.1)](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-unsubscr...@camel.apache.org

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

Reply via email to