Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.289.0"
".": "0.289.1"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.289.1 (2025-08-20)

Full Changelog: [v0.289.0...v0.289.1](https://github.com/Increase/increase-java/compare/v0.289.0...v0.289.1)

### Bug Fixes

* **client:** ensure correct binary content type ([3f0018a](https://github.com/Increase/increase-java/commit/3f0018aacd63a0925f71acaac851cc80b43a22dd))


### Chores

* **client:** rename parameter ([3f0018a](https://github.com/Increase/increase-java/commit/3f0018aacd63a0925f71acaac851cc80b43a22dd))

## 0.289.0 (2025-08-20)

Full Changelog: [v0.288.0...v0.289.0](https://github.com/Increase/increase-java/compare/v0.288.0...v0.289.0)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<!-- x-release-please-start-version -->

[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.289.0)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.289.0/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.289.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.increase.api/increase-java)](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.289.1)
[![javadoc](https://javadoc.io/badge2/com.increase.api/increase-java/0.289.1/javadoc.svg)](https://javadoc.io/doc/com.increase.api/increase-java/0.289.1)

<!-- x-release-please-end -->

Expand All @@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe

<!-- x-release-please-start-version -->

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.289.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.289.1).

<!-- x-release-please-end -->

Expand All @@ -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.289.0")
implementation("com.increase.api:increase-java:0.289.1")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.289.0")
<dependency>
<groupId>com.increase.api</groupId>
<artifactId>increase-java</artifactId>
<version>0.289.0</version>
<version>0.289.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {

allprojects {
group = "com.increase.api"
version = "0.289.0" // x-release-please-version
version = "0.289.1" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private constructor(
* [RFC 7578](https://datatracker.ietf.org/doc/html/rfc7578) which defines file transfers
* for the multipart/form-data protocol.
*/
fun file(file: Path) = apply { body.file(file) }
fun file(path: Path) = apply { body.file(path) }

/** What the File will be used for in Increase's systems. */
fun purpose(purpose: Purpose) = apply { body.purpose(purpose) }
Expand Down Expand Up @@ -461,11 +461,11 @@ private constructor(
* [RFC 7578](https://datatracker.ietf.org/doc/html/rfc7578) which defines file
* transfers for the multipart/form-data protocol.
*/
fun file(file: Path) =
fun file(path: Path) =
file(
MultipartField.builder<InputStream>()
.value(file.inputStream())
.filename(file.name)
.value(path.inputStream())
.filename(path.name)
.build()
)

Expand Down
Loading