dependabot[bot] opened a new pull request, #14946: URL: https://github.com/apache/camel/pull/14946
Bumps [io.pinecone:pinecone-client](https://github.com/pinecone-io/pinecone-java-client) from 1.2.2 to 2.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>v2.0.0 Release</h2> <h3>API versioning</h3> <p>This updated release of the Pinecone Java SDK depends on API version <code>2024-07</code>. This v2 SDK release line should continue to receive fixes as long as the <code>2024-07</code> API version is in support.</p> <h3>Deletion Protection</h3> <p>Use deletion protection to prevent your most important indexes from accidentally being deleted. This feature is available for both serverless and pod indexes.</p> <p>To enable this feature for existing pod indexes, use <code>configurePodsindex()</code></p> <pre lang="java"><code>import io.pinecone.clients.Pinecone; import org.openapitools.control.client.model.DeletionProtection; ... <p>Pinecone pinecone = new Pinecone.Builder("PINECONE_API_KEY").build();<br /> pinecone.configurePodsIndex(indexName, DeletionProtection.ENABLED);<br /> </code></pre></p> <p>When deletion protection is enabled, calls to <code>deleteIndex()</code> will fail until you first disable the deletion protection.</p> <pre lang="java"><code># To disable deletion protection for pods index pinecone.configurePodsIndex(indexName, DeletionProtection.DISABLED); </code></pre> <p>If you want to enable this feature at the time of index creation, <code>createIndex</code> now accepts as an enum argument. The feature is disabled by default.</p> <pre lang="java"><code>import io.pinecone.clients.Pinecone; import org.openapitools.client.model.IndexModel; import org.openapitools.control.client.model.DeletionProtection; <p>...</p> <p>Pinecone pinecone = new Pinecone.Builder("PINECONE_API_KEY").build();</p> <p>String indexName = "example-index";<br /> String similarityMetric = "cosine";<br /> int dimension = 1538;<br /> String cloud = "aws";<br /> String region = "us-west-2";</p> <p>IndexModel indexModel = pinecone.createServerlessIndex(indexName, similarityMetric, dimension, cloud, region, DeletionProtection.ENABLED);<br /> </code></pre></p> <h2>What's Changed</h2> <ul> <li>Release candidate/2024 07 by <a href="https://github.com/rohanshah18"><code>@​rohanshah18</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-java-client/pull/142">pinecone-io/pinecone-java-client#142</a></li> <li>Update generated code for fixing Collection Model's dimension error by <a href="https://github.com/rohanshah18"><code>@​rohanshah18</code></a> in <a href="https://redirect.github.com/pinecone-io/pinecone-java-client/pull/144">pinecone-io/pinecone-java-client#144</a></li> </ul> <!-- raw HTML omitted --> </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>2.0.0</h3> <ul> <li>Add deletion protection</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/e5f79bb81e1d1748f4f6ff13c66d10442440c309"><code>e5f79bb</code></a> Clean up README (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/146">#146</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/c50d9a62f4ccd2e6f7c6b25b93c70fe5aac14794"><code>c50d9a6</code></a> Prepare for v2.0.0 release and update README + add migration guide (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/145">#145</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/ebb0fc95cb34ebea23f0e300affd4e013cba9fb7"><code>ebb0fc9</code></a> Update generated code for fixing Collection Model's dimension error (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/144">#144</a>)</li> <li><a href="https://github.com/pinecone-io/pinecone-java-client/commit/ddc00b8f87cc2b8cd1c46323158e1048b23aec82"><code>ddc00b8</code></a> Release candidate/2024 07 (<a href="https://redirect.github.com/pinecone-io/pinecone-java-client/issues/142">#142</a>)</li> <li>See full diff in <a href="https://github.com/pinecone-io/pinecone-java-client/compare/v1.2.2...v2.0.0">compare view</a></li> </ul> </details> <br /> [](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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
