From 8cfcc5497a6fd6cc2abed682c9baf9b0964b70c0 Mon Sep 17 00:00:00 2001 From: Rohan Shah Date: Wed, 23 Oct 2024 20:47:24 -0400 Subject: [PATCH] Prepare for releasing v3.0.0 (#165) ## Problem Prepare for releasing Java SDK v3.0.0. ## Solution Releasing a major version requires updating: 1. README 2. gradle.properties 3. CHANGELOG.md 4. Constants.java ## Type of Change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update - [ ] Infrastructure change (CI configs, etc) - [X] Non-code change (docs, etc) - [ ] None of the above: (explain here) ## Test Plan No code is updated as a part of this change, integration tests should run as expected. --- CHANGELOG.md | 11 +++++++++++ README.md | 6 +++--- gradle.properties | 2 +- src/main/java/io/pinecone/commons/Constants.java | 2 +- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fa80119..d080a296 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ [comment]: <> (When bumping [pc:VERSION_LATEST_RELEASE] create a new entry below) ### Unreleased version +### 3.0.0 +- Add support for imports + - start import + - list imports + - describe import + - cancel import +- Add support for inference + - embed + - rerank +- Generate code based on 2024-10 open-api spec + ### 2.1.0 - Add support to disable TLS for data plane operations diff --git a/README.md b/README.md index d2b86499..eb861426 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Maven: io.pinecone pinecone-client - 2.0.0 + 3.0.0 ``` @@ -23,12 +23,12 @@ Maven: Gradle: ``` -implementation "io.pinecone:pinecone-client:2.0.0" +implementation "io.pinecone:pinecone-client:3.0.0" ``` [comment]: <> (^ [pc:VERSION_LATEST_RELEASE]) -Alternatively, you can use our standalone uberjar [pinecone-client-2.0.0-all.jar](https://repo1.maven.org/maven2/io/pinecone/pinecone-client/2.0.0/pinecone-client-2.0.0-all.jar), which bundles the Pinecone +Alternatively, you can use our standalone uberjar [pinecone-client-3.0.0-all.jar](https://repo1.maven.org/maven2/io/pinecone/pinecone-client/3.0.0/pinecone-client-3.0.0-all.jar), which bundles the Pinecone SDK and all dependencies together. You can include this in your classpath like you do with any 3rd party JAR without having to obtain the *pinecone-client* dependencies separately. diff --git a/gradle.properties b/gradle.properties index da7f1c35..32160092 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -pineconeClientVersion = 2.1.0 +pineconeClientVersion = 3.0.0 diff --git a/src/main/java/io/pinecone/commons/Constants.java b/src/main/java/io/pinecone/commons/Constants.java index 6dc97885..e9aa47c6 100644 --- a/src/main/java/io/pinecone/commons/Constants.java +++ b/src/main/java/io/pinecone/commons/Constants.java @@ -1,5 +1,5 @@ package io.pinecone.commons; public class Constants { - public static final String pineconeClientVersion = "v2.1.0"; + public static final String pineconeClientVersion = "v3.0.0"; }