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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,18 @@ jobs:
run: ./scripts/build

- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/openlayer-java'
if: |-
github.repository == 'stainless-sdks/openlayer-java' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
with:
script: core.setOutput('github_token', await core.getIDToken());

- name: Build and upload Maven artifacts
if: github.repository == 'stainless-sdks/openlayer-java'
if: |-
github.repository == 'stainless-sdks/openlayer-java' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
Expand Down
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.5.2"
".": "0.6.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 27
openapi_spec_hash: c70c3eccfe803e99c14e97e650b1e314
config_hash: 1f7626e569e1a74574a58d7883170a0e
configured_endpoints: 28
openapi_spec_hash: 5f7962599290c70cb47c05c3b29fdbd8
config_hash: f1c0c034bd832878eb47146c51afdd55
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 0.6.0 (2026-03-06)

Full Changelog: [v0.5.2...v0.6.0](https://github.com/openlayer-ai/openlayer-java/compare/v0.5.2...v0.6.0)

### Features

* **api:** update POST /rows to use list method name ([5fd64a9](https://github.com/openlayer-ai/openlayer-java/commit/5fd64a9fbe3c0218e9bd25d81d3341a9c92d37bc))
* **closes OPEN-9425:** document /rows endpoint in API reference and … ([e9093d0](https://github.com/openlayer-ai/openlayer-java/commit/e9093d022dfd5a333252214f0a6a5f1eaf3049b7))


### Chores

* **internal:** bump palantir-java-format ([3b5458b](https://github.com/openlayer-ai/openlayer-java/commit/3b5458bd3c2dd9d7107e13834d39b69202a2199a))
* **internal:** codegen related update ([d1f3122](https://github.com/openlayer-ai/openlayer-java/commit/d1f3122b9f64430fc58f5c6dc86c74aba371cd39))
* **test:** do not count install time for mock server timeout ([e2cc9fd](https://github.com/openlayer-ai/openlayer-java/commit/e2cc9fd39b862bf6bf9eff79b205e078b16d9080))

## 0.5.2 (2026-02-25)

Full Changelog: [v0.5.1...v0.5.2](https://github.com/openlayer-ai/openlayer-java/compare/v0.5.1...v0.5.2)
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.openlayer.api/openlayer-java)](https://central.sonatype.com/artifact/com.openlayer.api/openlayer-java/0.5.2)
[![javadoc](https://javadoc.io/badge2/com.openlayer.api/openlayer-java/0.5.2/javadoc.svg)](https://javadoc.io/doc/com.openlayer.api/openlayer-java/0.5.2)
[![Maven Central](https://img.shields.io/maven-central/v/com.openlayer.api/openlayer-java)](https://central.sonatype.com/artifact/com.openlayer.api/openlayer-java/0.6.0)
[![javadoc](https://javadoc.io/badge2/com.openlayer.api/openlayer-java/0.6.0/javadoc.svg)](https://javadoc.io/doc/com.openlayer.api/openlayer-java/0.6.0)

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

Expand All @@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).

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

The REST API documentation can be found on [openlayer.com](https://openlayer.com/docs/api-reference/rest/overview). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.openlayer.api/openlayer-java/0.5.2).
The REST API documentation can be found on [openlayer.com](https://openlayer.com/docs/api-reference/rest/overview). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.openlayer.api/openlayer-java/0.6.0).

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

Expand All @@ -24,7 +24,7 @@ The REST API documentation can be found on [openlayer.com](https://openlayer.com
### Gradle

```kotlin
implementation("com.openlayer.api:openlayer-java:0.5.2")
implementation("com.openlayer.api:openlayer-java:0.6.0")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.openlayer.api:openlayer-java:0.5.2")
<dependency>
<groupId>com.openlayer.api</groupId>
<artifactId>openlayer-java</artifactId>
<version>0.5.2</version>
<version>0.6.0</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.openlayer.api"
version = "0.5.2" // x-release-please-version
version = "0.6.0" // x-release-please-version
}

subprojects {
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/openlayer.java.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tasks.withType<Test>().configureEach {

val palantir by configurations.creating
dependencies {
palantir("com.palantir.javaformat:palantir-java-format:2.73.0")
palantir("com.palantir.javaformat:palantir-java-format:2.89.0")
}

fun registerPalantir(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,8 @@ private constructor(
}
}
?.let { retryAfterNanos ->
// If the API asks us to wait a certain amount of time (and it's a reasonable
// amount), just
// do what it says.
val retryAfter = Duration.ofNanos(retryAfterNanos.toLong())
if (retryAfter in Duration.ofNanos(0)..Duration.ofMinutes(1)) {
return retryAfter
}
// If the API asks us to wait a certain amount of time, do what it says.
return Duration.ofNanos(retryAfterNanos.toLong())
}

// Apply exponential backoff, but not more than the max.
Expand Down
Loading