Skip to content

Commit

Permalink
Release v1.2.1 (#135)
Browse files Browse the repository at this point in the history
## Problem

Prep for releasing v1.2.1

## Solution

Update pineconeClientVersion to 1.2.1

## 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

NA
  • Loading branch information
rohanshah18 authored May 31, 2024
1 parent 01ea2d9 commit c7c02ee
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ Maven:
<dependency>
<groupId>io.pinecone</groupId>
<artifactId>pinecone-client</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
</dependency>
```

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

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.

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pineconeClientVersion = 1.2.0
pineconeClientVersion = 1.2.1
2 changes: 1 addition & 1 deletion src/main/java/io/pinecone/configs/PineconeConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/pinecone/PineconeBuilderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<Call, OkHttpClient> buildMockCallAndClient(ResponseBody response) throws IOException {
Response mockResponse = new Response.Builder()
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/pinecone/PineconeConfigTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit c7c02ee

Please sign in to comment.