Skip to content

Commit 891debd

Browse files
authored
Update changelogs, README, and SDK version for v1.1 release (#124)
## Problem Prepare for releasing v1.1 ## Solution Update changelogs, README, and SDK version for releasing v1.1 ## Type of Change - [X] Non-code change (docs, etc) ## Test Plan Publish the v1.1 jar locally and test data and control plane functionalities on a maven project.
1 parent 82f6bd7 commit 891debd

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
[comment]: <> (When bumping [pc:VERSION_LATEST_RELEASE] create a new entry below)
44
### Unreleased version
5+
### v1.1.0
6+
- Add list vectors endpoint
7+
58
### v1.0.0
69
- Remove vector_service.proto and replace it with the generated classes
710
- Add data and control plane wrappers

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ Maven:
1515
<dependency>
1616
<groupId>io.pinecone</groupId>
1717
<artifactId>pinecone-client</artifactId>
18-
<version>1.0.0</version>
18+
<version>1.1.0</version>
1919
</dependency>
2020
```
2121

2222
[comment]: <> (^ [pc:VERSION_LATEST_RELEASE])
2323

2424
Gradle:
2525
```
26-
implementation "io.pinecone:pinecone-client:1.0.0"
26+
implementation "io.pinecone:pinecone-client:1.1.0"
2727
```
2828

2929
[comment]: <> (^ [pc:VERSION_LATEST_RELEASE])
3030

31-
Alternatively, you can use our standalone uberjar [pinecone-client-1.0.0-all.jar](https://repo1.maven.org/maven2/io/pinecone/pinecone-client/1.0.0/pinecone-client-1.0.0-all.jar), which bundles the pinecone
31+
Alternatively, you can use our standalone uberjar [pinecone-client-1.1.0-all.jar](https://repo1.maven.org/maven2/io/pinecone/pinecone-client/1.1.0/pinecone-client-1.1.0-all.jar), which bundles the pinecone
3232
client and all dependencies together. You can include this in your classpath like you do with any 3rd party JAR without
3333
having to obtain the *pinecone-client* dependencies separately.
3434

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pineconeClientVersion = 1.0.0
1+
pineconeClientVersion = 1.1.0

src/main/java/io/pinecone/configs/PineconeConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public String getUserAgentGrpc() {
176176
}
177177

178178
private String buildUserAgent(String clientId) {
179-
String userAgent = String.format("lang=java; %s=%s", clientId, "v1.0.0");
179+
String userAgent = String.format("lang=java; %s=%s", clientId, "v1.1.0");
180180
if (this.getSourceTag() != null && !this.getSourceTag().isEmpty()) {
181181
userAgent += "; source_tag=" + this.getSourceTag();
182182
}

src/test/java/io/pinecone/PineconeBuilderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void PineconeWithOkHttpClientAndUserAgent() throws IOException {
7979

8080
assertEquals(expectedIndex, index);
8181
verify(mockClient, times(1)).newCall(requestCaptor.capture());
82-
assertEquals("lang=java; pineconeClientVersion=v1.0.0", requestCaptor.getValue().header("User-Agent"));
82+
assertEquals("lang=java; pineconeClientVersion=v1.1.0", requestCaptor.getValue().header("User-Agent"));
8383
}
8484

8585
@Test
@@ -105,6 +105,6 @@ public void PineconeWithSourceTag() throws IOException {
105105

106106
assertEquals(expectedIndex, index);
107107
verify(mockClient, times(1)).newCall(requestCaptor.capture());
108-
assertEquals("lang=java; pineconeClientVersion=v1.0.0; source_tag=testsourcetag", requestCaptor.getValue().header("User-Agent"));
108+
assertEquals("lang=java; pineconeClientVersion=v1.1.0; source_tag=testsourcetag", requestCaptor.getValue().header("User-Agent"));
109109
}
110110
}

src/test/java/io/pinecone/PineconeConfigTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,26 @@ public void testValidateWithEmptyApiKey() {
2828
@Test
2929
public void testGetUserAgent() {
3030
PineconeConfig config = new PineconeConfig("testApiKey");
31-
assertEquals(config.getUserAgent(), "lang=java; pineconeClientVersion=v1.0.0");
31+
assertEquals(config.getUserAgent(), "lang=java; pineconeClientVersion=v1.1.0");
3232
}
3333

3434
@Test
3535
public void testGetUserAgentGrpc() {
3636
PineconeConfig config = new PineconeConfig("testApiKey");
37-
assertEquals(config.getUserAgentGrpc(), "lang=java; pineconeClientVersion[grpc]=v1.0.0");
37+
assertEquals(config.getUserAgentGrpc(), "lang=java; pineconeClientVersion[grpc]=v1.1.0");
3838
}
3939
@Test
4040
public void testGetUserAgentWithSourceTag() {
4141
PineconeConfig config = new PineconeConfig("testApiKey");
4242
config.setSourceTag("testSourceTag");
43-
assertEquals(config.getUserAgent(), "lang=java; pineconeClientVersion=v1.0.0; source_tag=testsourcetag");
43+
assertEquals(config.getUserAgent(), "lang=java; pineconeClientVersion=v1.1.0; source_tag=testsourcetag");
4444
}
4545

4646
@Test
4747
public void testGetUserAgentGrpcWithSourceTag() {
4848
PineconeConfig config = new PineconeConfig("testApiKey");
4949
config.setSourceTag("testSourceTag");
50-
assertEquals(config.getUserAgentGrpc(), "lang=java; pineconeClientVersion[grpc]=v1.0.0; source_tag=testsourcetag");
50+
assertEquals(config.getUserAgentGrpc(), "lang=java; pineconeClientVersion[grpc]=v1.1.0; source_tag=testsourcetag");
5151
}
5252

5353
@Test

0 commit comments

Comments
 (0)