diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index f7ef15b5d..a13afdac9 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.398.0"
+ ".": "0.399.0"
}
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f0af896d2..cd86d4bf8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,18 @@
# Changelog
+## 0.399.0 (2026-01-21)
+
+Full Changelog: [v0.398.0...v0.399.0](https://github.com/Increase/increase-java/compare/v0.398.0...v0.399.0)
+
+### Features
+
+* **client:** send `X-Stainless-Kotlin-Version` header ([6f0a4b3](https://github.com/Increase/increase-java/commit/6f0a4b3946e2a8bec02d9d8df11be7579419b00d))
+
+
+### Chores
+
+* **internal:** update maven repo doc to include authentication ([2c42319](https://github.com/Increase/increase-java/commit/2c4231946f8ed09826d0efdd97354e6bc0202b28))
+
## 0.398.0 (2026-01-21)
Full Changelog: [v0.397.2...v0.398.0](https://github.com/Increase/increase-java/compare/v0.397.2...v0.398.0)
diff --git a/README.md b/README.md
index 0608c016b..b29b47ed7 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.398.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.398.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.399.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.399.0)
@@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe
-The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.398.0).
+The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.399.0).
@@ -24,7 +24,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
### Gradle
```kotlin
-implementation("com.increase.api:increase-java:0.398.0")
+implementation("com.increase.api:increase-java:0.399.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.398.0")
This is the Maven repository for your Stainless Java SDK build.
-To use the uploaded Maven repository, add the following to your project's pom.xml:
The details depend on whether you're using Maven or Gradle as your build tool.
+ +Add the following to your project's pom.xml:
<repositories>
+ <repository>
+ <id>stainless-sdk-repo</id>
+ <url>https://pkg.stainless.com/s/${PROJECT}/${SHA}/mvn</url>
+ </repository>
+</repositories>
+
+ Add the following to your build.gradle file:
repositories {
+ maven {
+ url "https://pkg.stainless.com/s/${PROJECT}/${SHA}/mvn"
+ }
+}
+
+ Some accounts may require authentication to access the repository. If so, use the
+ following instructions, replacing YOUR_STAINLESS_API_TOKEN with your actual token.
First, ensure you have the following in your Maven settings.xml for repo authentication:
<servers> + <server> + <id>stainless-sdk-repo</id> + <configuration> + <httpHeaders> + <property> + <name>Authorization</name> + <value>Bearer YOUR_STAINLESS_API_TOKEN</value> + </property> + </httpHeaders> + </configuration> + </server> +</servers>+ +
Then, add the following to your project's pom.xml:
<repositories>
<repository>
<id>stainless-sdk-repo</id>
@@ -105,14 +149,24 @@ generate_instructions() {
</repository>
</repositories>
- If you're using Gradle, add the following to your build.gradle file:
Add the following to your build.gradle file:
repositories {
maven {
- url 'https://pkg.stainless.com/s/${PROJECT}/${SHA}/mvn'
+ url "https://pkg.stainless.com/s/${PROJECT}/${SHA}/mvn"
+ credentials(HttpHeaderCredentials) {
+ name = "Authorization"
+ value = "Bearer YOUR_STAINLESS_API_TOKEN"
+ }
+ authentication {
+ header(HttpHeaderAuthentication)
+ }
}
}
+ Once you've added the repository, you can include dependencies from it as usual. See your +
Once you've configured the repository, you can include dependencies from it as usual. See your project README for more details.