diff --git a/CHANGELOG.md b/CHANGELOG.md
index cdbbacd..02b539a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
[comment]: <> (When bumping [pc:VERSION_LATEST_RELEASE] create a new entry below)
### Unreleased version
+### 4.0.0
+- Add support for sparse indexes
+- Generate code based on 2025-01 open-api spec
+
### 3.1.0
- Add support to pass base url for control and data plane operations
diff --git a/LICENSE b/LICENSE
index 261eeb9..075fb10 100644
--- a/LICENSE
+++ b/LICENSE
@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright 2023 Pinecone Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/README.md b/README.md
index ee17999..679cc02 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ Maven:
io.pinecone
pinecone-client
- 3.0.0
+ 4.0.0
```
@@ -23,12 +23,12 @@ Maven:
Gradle:
```
-implementation "io.pinecone:pinecone-client:3.0.0"
+implementation "io.pinecone:pinecone-client:4.0.0"
```
[comment]: <> (^ [pc:VERSION_LATEST_RELEASE])
-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
+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
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.
@@ -202,7 +202,6 @@ import java.util.HashMap;
Pinecone pinecone = new Pinecone.Builder("PINECONE_API_KEY").build();
String indexName = "example-index";
-int dimension = 1538;
String cloud = "aws";
String region = "us-east-1";
HashMap tags = new HashMap<>();
diff --git a/gradle.properties b/gradle.properties
index a9c6f41..bea2d8d 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1 +1 @@
-pineconeClientVersion = 3.1.0
+pineconeClientVersion = 4.0.0
diff --git a/src/main/java/io/pinecone/commons/Constants.java b/src/main/java/io/pinecone/commons/Constants.java
index 4344f11..5e6a83e 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 = "v3.1.0";
+ public static final String pineconeClientVersion = "v4.0.0";
}