Skip to content

Commit 902f148

Browse files
committed
Prepare to release Java SDK v4.0.0 (#176)
## Problem Prepare to release Java SDK v4.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 NA
1 parent 59b9f5f commit 902f148

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
[comment]: <> (When bumping [pc:VERSION_LATEST_RELEASE] create a new entry below)
44
### Unreleased version
5+
### 4.0.0
6+
- Add support for sparse indexes
7+
- Generate code based on 2025-01 open-api spec
8+
59
### 3.1.0
610
- Add support to pass base url for control and data plane operations
711

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright 2023 Pinecone Systems, Inc.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

+3-4
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>3.0.0</version>
18+
<version>4.0.0</version>
1919
</dependency>
2020
```
2121

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

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

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

31-
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
31+
Alternatively, you can use our standalone uberjar [pinecone-client-4.0.0-all.jar](https://repo1.maven.org/maven2/io/pinecone/pinecone-client/4.0.0/pinecone-client-4.0.0-all.jar), which bundles the Pinecone
3232
SDK 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

@@ -202,7 +202,6 @@ import java.util.HashMap;
202202
Pinecone pinecone = new Pinecone.Builder("PINECONE_API_KEY").build();
203203

204204
String indexName = "example-index";
205-
int dimension = 1538;
206205
String cloud = "aws";
207206
String region = "us-east-1";
208207
HashMap<String, String> tags = new HashMap<>();

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pineconeClientVersion = 3.1.0
1+
pineconeClientVersion = 4.0.0
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package io.pinecone.commons;
22

33
public class Constants {
4-
public static final String pineconeClientVersion = "v3.1.0";
4+
public static final String pineconeClientVersion = "v4.0.0";
55
}

0 commit comments

Comments
 (0)