Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
390e75d
chore: sync repo
stainless-app[bot] May 9, 2025
ce52e15
chore(internal): codegen related update
stainless-app[bot] May 9, 2025
134e615
feat(client): allow providing some params positionally
stainless-app[bot] May 9, 2025
9372b90
docs: remove or fix invalid readme examples
stainless-app[bot] May 9, 2025
d2fa723
feat(client)!: extract auto pagination to shared classes
stainless-app[bot] May 9, 2025
d1cacea
chore(docs): grammar improvements
stainless-app[bot] May 22, 2025
0e78fa9
fix(client): remove `@MustBeClosed` for future returning methods
stainless-app[bot] May 29, 2025
710b626
feat(client): implement per-endpoint base URL support
stainless-app[bot] Jun 12, 2025
9ebe803
feat(client): add a `withOptions` method
stainless-app[bot] Jun 13, 2025
5d83cd2
chore(ci): enable for pull requests
stainless-app[bot] Jun 17, 2025
21777c4
fix(client): bump max requests per host to max requests (5 -> 64)
stainless-app[bot] Jun 24, 2025
6e8b2be
fix(ci): release-doctor — report correct token name
stainless-app[bot] Jun 27, 2025
69737c8
chore(ci): only run for pushes and fork pull requests
stainless-app[bot] Jun 28, 2025
2595481
fix(client): don't close client on `withOptions` usage when original …
stainless-app[bot] Jun 30, 2025
7d83620
refactor(internal): minor `ClientOptionsTest` change
stainless-app[bot] Jul 1, 2025
e48acb3
feat(api): api update
stainless-app[bot] Jan 7, 2026
fd5752e
feat(api): manual updates
stainless-app[bot] Sep 29, 2025
36f4df2
codegen metadata
stainless-app[bot] Sep 29, 2025
24fe35d
codegen metadata
stainless-app[bot] Sep 30, 2025
87529a4
codegen metadata
stainless-app[bot] Sep 30, 2025
0a5da03
codegen metadata
stainless-app[bot] Sep 30, 2025
c4416ef
codegen metadata
stainless-app[bot] Oct 2, 2025
a089f7f
feat(api): api update
stainless-app[bot] Oct 22, 2025
225da0c
feat(api): api update
stainless-app[bot] Oct 28, 2025
4881e6f
chore(internal): codegen related update
stainless-app[bot] Nov 14, 2025
9b5aa41
chore(internal): codegen related update
stainless-app[bot] Nov 27, 2025
942316f
chore(internal): codegen related update
stainless-app[bot] Dec 3, 2025
e05af45
codegen metadata
stainless-app[bot] Dec 16, 2025
e8d8121
feat(api): add test evaluation method
stainless-app[bot] Dec 17, 2025
1e7cea4
codegen metadata
stainless-app[bot] Dec 17, 2025
d2c9111
chore(internal): codegen related update
stainless-app[bot] Jan 1, 2026
9c97d6d
chore(internal): codegen related update
stainless-app[bot] Jan 6, 2026
7a381e0
release: 0.1.0-alpha.12
stainless-app[bot] Jan 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
49 changes: 37 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,63 @@
name: CI
on:
push:
branches:
- main
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
pull_request:
branches:
- main
- next
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 15
name: lint
runs-on: ubuntu-latest

runs-on: ${{ github.repository == 'stainless-sdks/openlayer-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
- uses: actions/checkout@v4

- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: |
8
17
21
cache: gradle

- name: Set up Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v4

- name: Run lints
run: ./scripts/lint

build:
timeout-minutes: 15
name: build
runs-on: ${{ github.repository == 'stainless-sdks/openlayer-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
- uses: actions/checkout@v4

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: |
8
21
cache: gradle

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build SDK
run: ./scripts/build

47 changes: 0 additions & 47 deletions .github/workflows/create-releases.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/handle-release-pr-title-edit.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/publish-sonatype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: |
8
17
21
cache: gradle

- name: Set up Gradle
Expand All @@ -33,7 +33,7 @@ jobs:
export -- GPG_SIGNING_KEY_ID
printenv -- GPG_SIGNING_KEY | gpg --batch --passphrase-fd 3 --import 3<<< "$GPG_SIGNING_PASSWORD"
GPG_SIGNING_KEY_ID="$(gpg --with-colons --list-keys | awk -F : -- '/^pub:/ { getline; print "0x" substr($10, length($10) - 7) }')"
./gradlew publishAndReleaseToMavenCentral --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD"
./gradlew publishAndReleaseToMavenCentral --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD" --no-configuration-cache
env:
SONATYPE_USERNAME: ${{ secrets.OPENLAYER_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.OPENLAYER_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.prism.log
.gradle
.idea
build
.kotlin
build/
codegen.log
kls_database.db
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.1.0-alpha.11"
".": "0.1.0-alpha.12"
}
4 changes: 3 additions & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
configured_endpoints: 14
configured_endpoints: 19
openapi_spec_hash: 68055a774f3305fb11efa5b5b5881446
config_hash: 00442fdab71911b02ab1e10f9ec05b79
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# Changelog

## 0.1.0-alpha.12 (2026-01-07)

Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/openlayer-ai/openlayer-java/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)

### ⚠ BREAKING CHANGES

* **client:** extract auto pagination to shared classes
* **client:** **Migration:** - If you were referencing the `AutoPager` class on a specific `*Page` or `*PageAsync` type, then you should instead reference the shared `AutoPager` and `AutoPagerAsync` types, under the `core` package
- `AutoPagerAsync` now has different usage. You can call `.subscribe(...)` on the returned object instead to get called back each page item. You can also call `onCompleteFuture()` to get a future that completes when all items have been processed. Finally, you can call `.close()` on the returned object to stop auto-paginating early
- If you were referencing `getNextPage` or `getNextPageParams`:
- Swap to `nextPage()` and `nextPageParams()`
- Note that these both now return non-optional types (use `hasNextPage()` before calling these, since they will throw if it's impossible to get another page)

### Features

* **api:** add test evaluation method ([e8d8121](https://github.com/openlayer-ai/openlayer-java/commit/e8d8121e473aa3cb7df501bf09332e86f199d55b))
* **api:** api update ([225da0c](https://github.com/openlayer-ai/openlayer-java/commit/225da0cd73e1262833789a6c63e9cd9a44cc4cea))
* **api:** api update ([a089f7f](https://github.com/openlayer-ai/openlayer-java/commit/a089f7f9714aa315e489b0fc6083c5ce8944e074))
* **api:** api update ([e48acb3](https://github.com/openlayer-ai/openlayer-java/commit/e48acb317d5b7786c78c593dca0c0e035dde211c))
* **api:** manual updates ([fd5752e](https://github.com/openlayer-ai/openlayer-java/commit/fd5752e3b7d9fb9c64ad3d39877dedbe71a397f2))
* **client:** add a `withOptions` method ([9ebe803](https://github.com/openlayer-ai/openlayer-java/commit/9ebe803f62861554fbd7ca411e05642b69efb6df))
* **client:** allow providing some params positionally ([134e615](https://github.com/openlayer-ai/openlayer-java/commit/134e61553124243d105b41cfc2cfbd886dce4e63))
* **client:** extract auto pagination to shared classes ([d2fa723](https://github.com/openlayer-ai/openlayer-java/commit/d2fa72386ce83cb182c3d710ef25cd9b4b84bd99))
* **client:** implement per-endpoint base URL support ([710b626](https://github.com/openlayer-ai/openlayer-java/commit/710b6268e378ea59f4d0f06f3610e674f9c26073))


### Bug Fixes

* **ci:** release-doctor — report correct token name ([6e8b2be](https://github.com/openlayer-ai/openlayer-java/commit/6e8b2beecbc54b1b42e8b4e5c5fa1057f9f590af))
* **client:** bump max requests per host to max requests (5 -&gt; 64) ([21777c4](https://github.com/openlayer-ai/openlayer-java/commit/21777c4bfcec0adcd1b413f200c6fd1f45034c02))
* **client:** don't close client on `withOptions` usage when original is gc'd ([2595481](https://github.com/openlayer-ai/openlayer-java/commit/2595481dda4cc0ed639196deeed2683cb6a39e75))
* **client:** remove `@MustBeClosed` for future returning methods ([0e78fa9](https://github.com/openlayer-ai/openlayer-java/commit/0e78fa9dad3bc45d3aa173a446b1a07cd418bfc1))


### Chores

* **ci:** enable for pull requests ([5d83cd2](https://github.com/openlayer-ai/openlayer-java/commit/5d83cd2b8cb48f8459c495cc4385a6966ffde4ed))
* **ci:** only run for pushes and fork pull requests ([69737c8](https://github.com/openlayer-ai/openlayer-java/commit/69737c8645e346ded3bad84344e93fe75ac38396))
* **docs:** grammar improvements ([d1cacea](https://github.com/openlayer-ai/openlayer-java/commit/d1cacea72d2b3f2de5d20028b2c5227ad2138534))
* **internal:** codegen related update ([9c97d6d](https://github.com/openlayer-ai/openlayer-java/commit/9c97d6d9cbbd1c93d7354747f0f8d9633f15e4e2))
* **internal:** codegen related update ([d2c9111](https://github.com/openlayer-ai/openlayer-java/commit/d2c9111482081d8b90ba4ad014edf5703a7be94f))
* **internal:** codegen related update ([942316f](https://github.com/openlayer-ai/openlayer-java/commit/942316fdb69201bb3236e73ad7103cf177dea070))
* **internal:** codegen related update ([9b5aa41](https://github.com/openlayer-ai/openlayer-java/commit/9b5aa4181f42a112860eaa69ba7057ca20894283))
* **internal:** codegen related update ([4881e6f](https://github.com/openlayer-ai/openlayer-java/commit/4881e6fb70e8d6d5f6d990a662647a9861165eb3))
* **internal:** codegen related update ([ce52e15](https://github.com/openlayer-ai/openlayer-java/commit/ce52e159a41280088862b8be8b5dd41194051ed9))
* sync repo ([390e75d](https://github.com/openlayer-ai/openlayer-java/commit/390e75d8719363b5395eed54c1ce3c9d8d0412fb))


### Documentation

* add Spring AI sample application ([4cc1fb8](https://github.com/openlayer-ai/openlayer-java/commit/4cc1fb87584f47679b4e1be12be9f1d1e796481b))
* remove or fix invalid readme examples ([9372b90](https://github.com/openlayer-ai/openlayer-java/commit/9372b9032b7e05eb6055a5e71acc6570422146a5))


### Refactors

* **internal:** minor `ClientOptionsTest` change ([7d83620](https://github.com/openlayer-ai/openlayer-java/commit/7d83620f3a8595e17002b9f070187a61bd4e28f0))

## 0.1.0-alpha.11 (2024-12-20)

Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/openlayer-ai/openlayer-java/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2024 Openlayer
Copyright 2026 Openlayer

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