diff --git a/CHANGELOG.md b/CHANGELOG.md index 00b3a9c5..70fb29d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ [comment]: <> (When bumping [pc:VERSION_LATEST_RELEASE] create a new entry below) ### Unreleased version +### 1.2.1 +- Fix uber jar + ### 1.2.0 - Add list with pagination and limit but without prefix - Add exception cause diff --git a/README.md b/README.md index 611efcd1..1add69ac 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Maven: io.pinecone pinecone-client - 1.2.0 + 1.2.1 ``` @@ -23,12 +23,12 @@ Maven: Gradle: ``` -implementation "io.pinecone:pinecone-client:1.2.0" +implementation "io.pinecone:pinecone-client:1.2.1" ``` [comment]: <> (^ [pc:VERSION_LATEST_RELEASE]) -Alternatively, you can use our standalone uberjar [pinecone-client-1.2.0-all.jar](https://repo1.maven.org/maven2/io/pinecone/pinecone-client/1.2.0/pinecone-client-1.2.0-all.jar), which bundles the pinecone +Alternatively, you can use our standalone uberjar [pinecone-client-1.2.1-all.jar](https://repo1.maven.org/maven2/io/pinecone/pinecone-client/1.2.1/pinecone-client-1.2.1-all.jar), which bundles the pinecone client 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 dfadac26..b3e5081e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -pineconeClientVersion = 1.2.0 +pineconeClientVersion = 1.2.1 diff --git a/src/main/java/io/pinecone/configs/PineconeConfig.java b/src/main/java/io/pinecone/configs/PineconeConfig.java index 0694f7e7..fb057f8b 100644 --- a/src/main/java/io/pinecone/configs/PineconeConfig.java +++ b/src/main/java/io/pinecone/configs/PineconeConfig.java @@ -176,7 +176,7 @@ public String getUserAgentGrpc() { } private String buildUserAgent(String clientId) { - String userAgent = String.format("lang=java; %s=%s", clientId, "v1.2.0"); + String userAgent = String.format("lang=java; %s=%s", clientId, "v1.2.1"); if (this.getSourceTag() != null && !this.getSourceTag().isEmpty()) { userAgent += "; source_tag=" + this.getSourceTag(); } diff --git a/src/test/java/io/pinecone/PineconeBuilderTest.java b/src/test/java/io/pinecone/PineconeBuilderTest.java index 681409e8..65474ca4 100644 --- a/src/test/java/io/pinecone/PineconeBuilderTest.java +++ b/src/test/java/io/pinecone/PineconeBuilderTest.java @@ -18,7 +18,7 @@ public class PineconeBuilderTest { private static final Gson gson = new Gson(); - private static final String pineconeClientVersion = "v1.2.0"; + private static final String pineconeClientVersion = "v1.2.1"; private static AbstractMap.SimpleEntry buildMockCallAndClient(ResponseBody response) throws IOException { Response mockResponse = new Response.Builder() diff --git a/src/test/java/io/pinecone/PineconeConfigTest.java b/src/test/java/io/pinecone/PineconeConfigTest.java index 698d7d04..49711ee1 100644 --- a/src/test/java/io/pinecone/PineconeConfigTest.java +++ b/src/test/java/io/pinecone/PineconeConfigTest.java @@ -8,7 +8,7 @@ public class PineconeConfigTest { - private static final String pineconeClientVersion = "v1.2.0"; + private static final String pineconeClientVersion = "v1.2.1"; @Test public void testValidateWithNullApiKey() {