Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 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
556836d
release: 0.1.0
stainless-app[bot] Sep 21, 2025
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
85 changes: 85 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
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

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: Run lints
run: ./scripts/lint

build:
timeout-minutes: 15
name: build
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@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

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@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/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@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/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 publish --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@v4

- 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.

15 changes: 6 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
.idea
out/production
.prism.log
.gradle
build
config.properties
.DS_Store
.project
.settings
bin
.classpath
.idea
.kotlin
build/
codegen.log
kls_database.db
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.1.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: 42
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-d1a3e6dfc45ae832b6b14a0aef25878985c679fa9f48c1470df188b1578ba648.yml
openapi_spec_hash: 1d382866fce3284f26d341f112988d9d
config_hash: d57f3c7c581048428b41398f30da8b9b
64 changes: 64 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Changelog

## 0.1.0 (2025-09-21)

Full Changelog: [v0.0.1...v0.1.0](https://github.com/imagekit-developer/imagekit-java/compare/v0.0.1...v0.1.0)

### Features

* **api:** add BaseWebhookEvent ([4ab06b0](https://github.com/imagekit-developer/imagekit-java/commit/4ab06b01316b114e526159de348b9d52fdd57567))
* **api:** extract UpdateFileDetailsRequest to model ([c75a767](https://github.com/imagekit-developer/imagekit-java/commit/c75a767180e2d032fc0ab1d2fe74e41795bd957d))
* **api:** manual updates ([f5206be](https://github.com/imagekit-developer/imagekit-java/commit/f5206beb4c997de9c2ff47a70d36795557fae7c5))
* **api:** manual updates ([e474ef2](https://github.com/imagekit-developer/imagekit-java/commit/e474ef2004c784def6eba33158337511c073d178))
* **api:** manual updates ([09a68d6](https://github.com/imagekit-developer/imagekit-java/commit/09a68d6fb594866ed049c11cba27d797ef553908))
* **api:** manual updates ([e01a75a](https://github.com/imagekit-developer/imagekit-java/commit/e01a75a9df1f6f49754095c9b61159236b5658b5))
* **api:** manual updates ([2d41187](https://github.com/imagekit-developer/imagekit-java/commit/2d41187dea1edca9d0f941690244b4c50874d9cc))
* **api:** manual updates ([2ef93ad](https://github.com/imagekit-developer/imagekit-java/commit/2ef93ad3db97af5fef99687a4438c76e2220b384))
* **api:** manual updates ([c6e61f8](https://github.com/imagekit-developer/imagekit-java/commit/c6e61f8ca6b3a9485ab15d0221842ef76b6cae32))
* **api:** manual updates ([1c76234](https://github.com/imagekit-developer/imagekit-java/commit/1c762344ee41aa7099febdca72f368943ee8428b))
* **api:** manual updates ([cd2b64e](https://github.com/imagekit-developer/imagekit-java/commit/cd2b64ef8d6324264a71321bb11a7849260d98fc))
* **api:** manual updates ([1341b62](https://github.com/imagekit-developer/imagekit-java/commit/1341b6282b4a32013cb60f11ee0ec9aaef8acac4))
* **api:** manual updates ([83ce070](https://github.com/imagekit-developer/imagekit-java/commit/83ce0707ff45a9daa97e12daa9ad050dcbab53f9))
* **api:** manual updates ([d57885b](https://github.com/imagekit-developer/imagekit-java/commit/d57885b731de1837a7edcd3f6eab303db855475a))
* **api:** manual updates ([74027ef](https://github.com/imagekit-developer/imagekit-java/commit/74027efe9095a5e650addddf064d6e3773413894))
* **api:** manual updates ([76c5b5e](https://github.com/imagekit-developer/imagekit-java/commit/76c5b5e1fbc0ac3415d5e35febce642dd47cd0ab))
* **api:** manual updates ([b462410](https://github.com/imagekit-developer/imagekit-java/commit/b46241040326016adf4ad220178ccf3221323f90))
* **api:** manual updates ([cbbd424](https://github.com/imagekit-developer/imagekit-java/commit/cbbd424da5ebd388dd6e3d8af7e38b7633ed0604))
* **api:** remove Stainless attribution from readme ([065125f](https://github.com/imagekit-developer/imagekit-java/commit/065125f9c510b69c6ec41ddb811f9cebcdd37c1b))
* **api:** update api docs link ([0b273a9](https://github.com/imagekit-developer/imagekit-java/commit/0b273a981219fbf9083fcb2559d81f3e472ca9e1))
* **api:** Update env var name ([1b520d1](https://github.com/imagekit-developer/imagekit-java/commit/1b520d13de7c42693d3acc4a364fdec55eb341ce))


### Bug Fixes

* add one more method in multipartbuilder to build from json ([9dc2f89](https://github.com/imagekit-developer/imagekit-java/commit/9dc2f897ec7b9a1998d283359472b882cfb9ee68))
* **ci:** use java-version 21 for publish step ([181fbe5](https://github.com/imagekit-developer/imagekit-java/commit/181fbe5360fbc5820cb9df684d242896ec146049))
* **client:** incorrect `getPackageVersion` impl ([078eab8](https://github.com/imagekit-developer/imagekit-java/commit/078eab8cf903109aaead3f0e90a2ee0b14c9c9ce))


### Chores

* added reauired constants ([85ffc4d](https://github.com/imagekit-developer/imagekit-java/commit/85ffc4d8ee3a39546f45c4abe5b26fc3a9628cfe))
* ImageKit class added with all functionalities ([6edfbd1](https://github.com/imagekit-developer/imagekit-java/commit/6edfbd19d82826e76ed913512ef518d31859b440))
* ImageKit Configuration class added ([3af7846](https://github.com/imagekit-developer/imagekit-java/commit/3af7846d0f91f43e63ac71c2d0f7f6b73ca3250d))
* improve formatter performance ([daaa7f3](https://github.com/imagekit-developer/imagekit-java/commit/daaa7f33c20310093952bd4396d305bef42c81b8))
* Initial setup ([c70634b](https://github.com/imagekit-developer/imagekit-java/commit/c70634b76b4a4f1299d73b2a6a20df128bf3c088))
* **internal:** codegen related update ([da02221](https://github.com/imagekit-developer/imagekit-java/commit/da0222197fca08583b2096effa2bd18a9f9f615b))
* **internal:** codegen related update ([814caf9](https://github.com/imagekit-developer/imagekit-java/commit/814caf9f6454c4b32af76f3a5b68d6af54d631b3))
* **internal:** codegen related update ([cd82f98](https://github.com/imagekit-developer/imagekit-java/commit/cd82f981b54a9131ed8195f62de0bb65bb436b6d))
* **internal:** codegen related update ([da788af](https://github.com/imagekit-developer/imagekit-java/commit/da788af79c52a70075f39b26776b203cd958ceb0))
* **internal:** codegen related update ([f25c3c4](https://github.com/imagekit-developer/imagekit-java/commit/f25c3c46f4104091a5e8e376c22727eb3aaa4611))
* **internal:** remove redundant deserializer symbols ([2d52469](https://github.com/imagekit-developer/imagekit-java/commit/2d52469a65c898504a76adb6ab4826aa3febbbdc))
* response models, MultipartBuilder and RestClient created for file operations ([ed443a7](https://github.com/imagekit-developer/imagekit-java/commit/ed443a793f765f296ed51119656b017ab1dccfe3))
* sample sdk running code added ([46e0c29](https://github.com/imagekit-developer/imagekit-java/commit/46e0c29bc2d3e6bfbf001870c11de08d9260e896))
* sync repo ([05af7d5](https://github.com/imagekit-developer/imagekit-java/commit/05af7d57aab0174c720f1dd71e87d39f1197bfa1))
* update SDK settings ([00f7055](https://github.com/imagekit-developer/imagekit-java/commit/00f705596f585c9020a4620a9675e733f28b8b1b))
* url generation functionality and getAuthentication functionality implemented ([d8c2b5d](https://github.com/imagekit-developer/imagekit-java/commit/d8c2b5d7fe098da89e0ca2804a03032a8155ed17))
* Utils class added ([fdfe731](https://github.com/imagekit-developer/imagekit-java/commit/fdfe73124974ade54e03705421149f89469be86d))


### Build System

* Test CI added ([16153cc](https://github.com/imagekit-developer/imagekit-java/commit/16153ccc9b7a49f7dc732974e0b4b384d8273ea2))
* updating CI ([a14b7cc](https://github.com/imagekit-developer/imagekit-java/commit/a14b7cc70204cd8af648e3c3ac7664f3916850b1))
* version and doc changed for expecting release of 1.0.0 ([0abfb43](https://github.com/imagekit-developer/imagekit-java/commit/0abfb433ef126b5e21acf8773733b1003153a7e4))
21 changes: 0 additions & 21 deletions DEVELOPMENT.md

This file was deleted.

Loading
Loading