Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
05af7d5
chore: sync repo
stainless-app[bot] Sep 1, 2025
00f7055
chore: update SDK settings
stainless-app[bot] Sep 1, 2025
4ab06b0
feat(api): add BaseWebhookEvent
stainless-app[bot] Sep 2, 2025
cbbd424
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
436b4f8
codegen metadata
stainless-app[bot] Sep 2, 2025
b462410
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
76c5b5e
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
74027ef
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
8dd7933
codegen metadata
stainless-app[bot] Sep 2, 2025
d57885b
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
83ce070
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
1341b62
feat(api): manual updates
stainless-app[bot] Sep 3, 2025
924fef8
codegen metadata
stainless-app[bot] Sep 3, 2025
181fbe5
fix(ci): use java-version 21 for publish step
stainless-app[bot] Sep 4, 2025
cd2b64e
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
1c76234
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
c6e61f8
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
2ef93ad
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
bb12ecf
codegen metadata
stainless-app[bot] Sep 4, 2025
95ef741
codegen metadata
stainless-app[bot] Sep 4, 2025
c75a767
feat(api): extract UpdateFileDetailsRequest to model
stainless-app[bot] Sep 5, 2025
2d52469
chore(internal): remove redundant deserializer symbols
stainless-app[bot] Sep 9, 2025
f25c3c4
chore(internal): codegen related update
stainless-app[bot] Sep 12, 2025
da788af
chore(internal): codegen related update
stainless-app[bot] Sep 13, 2025
cd82f98
chore(internal): codegen related update
stainless-app[bot] Sep 13, 2025
078eab8
fix(client): incorrect `getPackageVersion` impl
stainless-app[bot] Sep 16, 2025
814caf9
chore(internal): codegen related update
stainless-app[bot] Sep 19, 2025
2d41187
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
e01a75a
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
09a68d6
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
e474ef2
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
f5206be
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
da02221
chore(internal): codegen related update
stainless-app[bot] Sep 20, 2025
daaa7f3
chore: improve formatter performance
stainless-app[bot] Sep 20, 2025
1b520d1
feat(api): Update env var name
stainless-app[bot] Sep 20, 2025
0b273a9
feat(api): update api docs link
stainless-app[bot] Sep 20, 2025
065125f
feat(api): remove Stainless attribution from readme
stainless-app[bot] Sep 20, 2025
ffd7bc0
codegen metadata
stainless-app[bot] Sep 21, 2025
646022d
feat(api): manual updates
stainless-app[bot] Sep 22, 2025
998d126
chore(internal): improve examples
stainless-app[bot] Sep 23, 2025
86ca3d7
chore(internal): change some comment formatting
stainless-app[bot] Sep 24, 2025
8ccff9b
fix(client): deserialization of empty objects
stainless-app[bot] Sep 26, 2025
6e2eac3
feat(api): add path policy related non-breaking changes
stainless-app[bot] Sep 30, 2025
bff74fe
codegen metadata
stainless-app[bot] Sep 30, 2025
34289ae
feat(api): add selectedFieldsSchema in upload and list API response
stainless-app[bot] Sep 30, 2025
fc00907
docs: correct typo in default value description for custom metadata f…
stainless-app[bot] Sep 30, 2025
7abe230
feat(api): fix upload API request params
stainless-app[bot] Sep 30, 2025
d8b1664
codegen metadata
stainless-app[bot] Oct 3, 2025
ff67a4b
codegen metadata
stainless-app[bot] Oct 3, 2025
283eebf
codegen metadata
stainless-app[bot] Oct 3, 2025
d32862e
codegen metadata
stainless-app[bot] Oct 3, 2025
2ba8411
codegen metadata
stainless-app[bot] Oct 3, 2025
780f941
codegen metadata
stainless-app[bot] Oct 3, 2025
73b45cc
codegen metadata
stainless-app[bot] Oct 5, 2025
70d2551
feat(api): add GetImageAttributesOptions and ResponsiveImageAttribute…
stainless-app[bot] Oct 21, 2025
4d5f93f
codegen metadata
stainless-app[bot] Oct 21, 2025
15118a9
codegen metadata
stainless-app[bot] Oct 30, 2025
6b94acd
codegen metadata
stainless-app[bot] Oct 30, 2025
52a222e
codegen metadata
stainless-app[bot] Oct 30, 2025
ccb0ffb
fix(client): multi-value header serialization
stainless-app[bot] Nov 13, 2025
d4b8c84
fix(client): cancel okhttp call when future cancelled
stainless-app[bot] Nov 26, 2025
2273b04
docs: remove `$` for better copy-pasteabality
stainless-app[bot] Dec 2, 2025
ef2d36e
codegen metadata
stainless-app[bot] Dec 8, 2025
2ac6ea4
codegen metadata
stainless-app[bot] Dec 8, 2025
24ea242
codegen metadata
stainless-app[bot] Dec 12, 2025
1b2ada9
codegen metadata
stainless-app[bot] Dec 12, 2025
6c7f656
codegen metadata
stainless-app[bot] Dec 12, 2025
fa1b9b7
feat(client): add `HttpRequest#url()` method
stainless-app[bot] Jan 5, 2026
41bf700
docs: prominently feature MCP server setup in root SDK readmes
stainless-app[bot] Jan 5, 2026
a7be5ce
feat(client): allow configuring dispatcher executor service
stainless-app[bot] Jan 9, 2026
83de2bf
chore(internal): support uploading Maven repo artifacts to stainless …
stainless-app[bot] Jan 12, 2026
1bca614
feat(api): Add saved extensions API and enhance transformation options
stainless-app[bot] Jan 15, 2026
4b083bb
codegen metadata
stainless-app[bot] Jan 15, 2026
b0bfdf6
fix: add ai-tasks property to response schemas with enum values
stainless-app[bot] Jan 15, 2026
8e34e08
chore(internal): clean up maven repo artifact script and add html doc…
stainless-app[bot] Jan 15, 2026
7f3e0d6
chore: test on Jackson 2.14.0 to avoid encountering FasterXML/jackson…
stainless-app[bot] Jan 16, 2026
b92f5f0
chore(internal): improve maven repo docs
stainless-app[bot] Jan 16, 2026
a6dc3e2
fix(client): disallow coercion from float to int
stainless-app[bot] Jan 16, 2026
7115c38
chore(internal): update `actions/checkout` version
stainless-app[bot] Jan 16, 2026
a7d3f1e
fix: deserialization order
stainless-app[bot] Jan 16, 2026
87d2ad3
fix(client): fully respect max retries
stainless-app[bot] Jan 16, 2026
e60fd58
chore(ci): upgrade `actions/setup-java`
stainless-app[bot] Jan 16, 2026
ea9bfc3
fix: vocab field is required
stainless-app[bot] Jan 20, 2026
7156f6f
chore(internal): update maven repo doc to include authentication
stainless-app[bot] Jan 21, 2026
2224a12
feat(client): send `X-Stainless-Kotlin-Version` header
stainless-app[bot] Jan 21, 2026
1f6f1dc
chore(internal): correct cache invalidation for `SKIP_MOCK_TESTS`
stainless-app[bot] Jan 22, 2026
3c1ce69
fix(client): preserve time zone in lenient date-time parsing
stainless-app[bot] Jan 23, 2026
940ebfc
chore(ci): upgrade `actions/github-script`
stainless-app[bot] Jan 23, 2026
74087c5
codegen metadata
stainless-app[bot] Jan 28, 2026
2a727d4
fix(docs): fix mcp installation instructions for remote servers
stainless-app[bot] Jan 28, 2026
1d14a59
chore(internal): allow passing args to `./scripts/test`
stainless-app[bot] Jan 30, 2026
ceb43dd
fix(api): add missing embeddedMetadata and video properties to FileDe…
stainless-app[bot] Feb 2, 2026
0413e64
feat(api): add customMetadata property to folder schema
stainless-app[bot] Feb 2, 2026
ff73a7a
feat(api): add webhook signature verification
stainless-app[bot] Feb 6, 2026
99a48d6
chore(internal): upgrade AssertJ
stainless-app[bot] Feb 6, 2026
89b8598
chore(internal): update `TestServerExtension` comment
stainless-app[bot] Feb 17, 2026
98d50fa
chore(internal): remove unnecessary base URL
stainless-app[bot] Feb 17, 2026
534feb3
chore(internal): make `OkHttp` constructor internal
stainless-app[bot] Feb 18, 2026
f462bff
feat(client): add more convenience service method overloads
stainless-app[bot] Feb 18, 2026
c7a7295
feat(client): add connection pooling option
stainless-app[bot] Feb 18, 2026
3f1d1c6
chore(internal): remove mock server code
stainless-app[bot] Feb 19, 2026
6fb3f0c
chore: update mock server docs
stainless-app[bot] Feb 19, 2026
34b930a
chore: make `Properties` more resilient to `null`
stainless-app[bot] Feb 23, 2026
48e02f7
chore: drop apache dependency
stainless-app[bot] Feb 23, 2026
f10c1b0
chore(internal): expand imports
stainless-app[bot] Feb 24, 2026
6a528ff
feat(api): dpr type update
stainless-app[bot] Feb 26, 2026
2f221f7
chore(tests): update webhook tests
stainless-app[bot] Mar 3, 2026
997ab63
feat(api): revert dpr breaking change
stainless-app[bot] Mar 5, 2026
eb80ae5
fix: fix request delays for retrying to be more respectful of high re…
stainless-app[bot] Mar 5, 2026
87b5f18
chore(internal): bump palantir-java-format
stainless-app[bot] Mar 5, 2026
19e8f78
chore(ci): skip uploading artifacts on stainless-internal branches
stainless-app[bot] Mar 7, 2026
6b3d9f5
chore: update placeholder string
stainless-app[bot] Mar 7, 2026
15b04f7
fix(client): incorrect `Retry-After` parsing
stainless-app[bot] Mar 10, 2026
e970882
chore(internal): codegen related update
stainless-app[bot] Mar 13, 2026
3e76397
chore(internal): tweak CI branches
stainless-app[bot] Mar 16, 2026
51a3135
chore(internal): update retry delay tests
stainless-app[bot] Mar 17, 2026
91e327e
fix(client): allow updating header/query affecting fields in `toBuild…
stainless-app[bot] Mar 17, 2026
3b0fc2e
chore(tests): bump steady to v0.19.4
stainless-app[bot] Mar 20, 2026
4c944e0
chore(internal): update gitignore
stainless-app[bot] Mar 23, 2026
f43fd3a
chore(ci): skip lint on metadata-only changes
stainless-app[bot] Mar 24, 2026
11184c7
chore(internal): update multipart form array serialization
stainless-app[bot] Mar 26, 2026
e3b34fb
feat(api): Introduce lxc, lyc, lap parameters in overlays.
stainless-app[bot] Apr 6, 2026
8352cba
feat(api): dam related webhook events
stainless-app[bot] Apr 10, 2026
26eba98
feat(api): fix spec indentation
stainless-app[bot] Apr 10, 2026
0caeef8
feat(api): indentation fix
stainless-app[bot] Apr 10, 2026
fb7f512
feat(api): merge with main to bring back missing parameters
stainless-app[bot] Apr 10, 2026
0cbbc63
feat(api): update webhook event names and remove DAM prefix
stainless-app[bot] Apr 10, 2026
f18e22b
fix(api): rename DamFile events to File for consistency
stainless-app[bot] Apr 10, 2026
f9a78b0
docs: improve examples
stainless-app[bot] Apr 10, 2026
f5fdf8f
fix(api): extract shared schemas to prevent Go webhook union breaking…
stainless-app[bot] Apr 13, 2026
dc76ed5
codegen metadata
stainless-app[bot] Apr 13, 2026
e71dfe1
refactor: AITags to singular AITag schema with array items pattern
stainless-app[bot] Apr 13, 2026
e98e22e
codegen metadata
stainless-app[bot] Apr 13, 2026
4c0fdb3
chore: configure new SDK language
stainless-app[bot] Apr 18, 2026
f8cb896
Java dev
stainless-app[bot] Apr 20, 2026
75ff27c
feat(api): manual updates
stainless-app[bot] Apr 20, 2026
b39e9dc
chore: update SDK settings
stainless-app[bot] Apr 20, 2026
b586d51
feat(api): manual updates
stainless-app[bot] Apr 20, 2026
ec944a0
chore: remove custom code
stainless-app[bot] Apr 20, 2026
afb90e6
feat(api): manual updates
stainless-app[bot] Apr 20, 2026
92fb768
feat: add helper utilities and lib module with tests
manu4543 Apr 21, 2026
99c2be8
release: 3.0.0
stainless-app[bot] Apr 21, 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
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# syntax=docker/dockerfile:1
FROM debian:bookworm-slim

RUN apt-get update && apt-get install -y --no-install-recommends \
libxkbcommon0 \
ca-certificates \
ca-certificates-java \
make \
curl \
git \
openjdk-17-jdk-headless \
unzip \
libc++1 \
vim \
&& apt-get clean autoclean

# Ensure UTF-8 encoding
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8

WORKDIR /workspace

COPY . /workspace
20 changes: 20 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "Debian",
"build": {
"dockerfile": "Dockerfile"
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
109 changes: 109 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
name: CI
on:
push:
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 15
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')

steps:
- uses: actions/checkout@v6

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

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

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

build:
timeout-minutes: 15
name: build
permissions:
contents: read
id-token: write
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')

steps:
- uses: actions/checkout@v6

- name: Set up Java
uses: actions/setup-java@v5
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

- name: Get GitHub OIDC Token
if: |-
github.repository == 'stainless-sdks/imagekit-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/imagekit-java' &&
!startsWith(github.ref, 'refs/heads/stl/')
env:
URL: https://pkg.stainless.com/s
AUTH: ${{ steps.github-oidc.outputs.github_token }}
SHA: ${{ github.sha }}
PROJECT: imagekit-java
run: ./scripts/upload-artifacts
test:
timeout-minutes: 15
name: test
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v6

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

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

- name: Run tests
run: ./scripts/test
41 changes: 41 additions & 0 deletions .github/workflows/publish-sonatype.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This workflow is triggered when a GitHub release is created.
# It can also be run manually to re-publish to Sonatype in case it failed for some reason.
# You can run this workflow by navigating to https://www.github.com/imagekit-developer/imagekit-java/actions/workflows/publish-sonatype.yml
name: Publish Sonatype
on:
workflow_dispatch:

release:
types: [published]

jobs:
publish:
name: publish
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6

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

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

- name: Publish to Sonatype
run: |-
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" --no-configuration-cache
env:
SONATYPE_USERNAME: ${{ secrets.IMAGE_KIT_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.IMAGE_KIT_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }}
GPG_SIGNING_KEY: ${{ secrets.IMAGE_KIT_SONATYPE_GPG_SIGNING_KEY || secrets.GPG_SIGNING_KEY }}
GPG_SIGNING_PASSWORD: ${{ secrets.IMAGE_KIT_SONATYPE_GPG_SIGNING_PASSWORD || secrets.GPG_SIGNING_PASSWORD }}
24 changes: 24 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release Doctor
on:
pull_request:
branches:
- master
workflow_dispatch:

jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'imagekit-developer/imagekit-java' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v6

- name: Check release environment
run: |
bash ./bin/check-release-environment
env:
SONATYPE_USERNAME: ${{ secrets.IMAGE_KIT_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.IMAGE_KIT_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }}
GPG_SIGNING_KEY: ${{ secrets.IMAGE_KIT_SONATYPE_GPG_SIGNING_KEY || secrets.GPG_SIGNING_KEY }}
GPG_SIGNING_PASSWORD: ${{ secrets.IMAGE_KIT_SONATYPE_GPG_SIGNING_PASSWORD || secrets.GPG_SIGNING_PASSWORD }}
22 changes: 0 additions & 22 deletions .github/workflows/test.yml

This file was deleted.

21 changes: 12 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
.idea
out/production
.prism.log
.stdy.log
.gradle
build
config.properties
.DS_Store
.project
.settings
bin
.classpath
.idea
.kotlin
build/
codegen.log
kls_database.db


image-kit-java-example/resources
image-kit-java-example/src/main/resources/
temp
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "3.0.0"
}
4 changes: 4 additions & 0 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
configured_endpoints: 47
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-c7f578172392bde58bbb72be2a25b9e917529cd07550358c645ce155debf2418.yml
openapi_spec_hash: f0d797a17b1e8e81707517700cd44b13
config_hash: da0c89d794fefcf600a4ddfc78553c2a
Loading
Loading