diff --git a/.github/workflows/publish-sonatype.yml b/.github/workflows/publish-sonatype.yml new file mode 100644 index 0000000..7ffc4ca --- /dev/null +++ b/.github/workflows/publish-sonatype.yml @@ -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/dedalus-labs/dedalus-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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Set up Java + uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 + with: + distribution: temurin + java-version: | + 8 + 21 + cache: gradle + + - name: Set up Gradle + uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0 + + - 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.DEDALUS_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.DEDALUS_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }} + GPG_SIGNING_KEY: ${{ secrets.DEDALUS_SONATYPE_GPG_SIGNING_KEY || secrets.GPG_SIGNING_KEY }} + GPG_SIGNING_PASSWORD: ${{ secrets.DEDALUS_SONATYPE_GPG_SIGNING_PASSWORD || secrets.GPG_SIGNING_PASSWORD }} \ No newline at end of file diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..c7159c1 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.0.2" +} \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index b3016f2..dcb3502 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 32 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/dedalus-labs/dedalus-612bc4e434529d5007d868e94cb7951ad9b13d2c6751b21dbe03f66fecae071c.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/dedalus-labs/dedalus-32ccb3c17674e0ee68fd6eafbdd0f210bccfd09fce0702e28b8278e06678deec.yml openapi_spec_hash: ccb02923079d91569a17162c88da590b -config_hash: cce16da42a2fc50117c5b029105bfed4 +config_hash: 3b16603a18779d453842a0d56638384d diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..50b98c1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## 0.0.2 (2026-05-15) + +Full Changelog: [v0.0.1...v0.0.2](https://github.com/dedalus-labs/dedalus-java/compare/v0.0.1...v0.0.2) + +### Chores + +* configure new SDK language ([a6306b0](https://github.com/dedalus-labs/dedalus-java/commit/a6306b07981d0f73a78264900a916b97ec987a49)) +* update SDK settings ([97cb7a1](https://github.com/dedalus-labs/dedalus-java/commit/97cb7a1b82ea5fa6c02bad04696f1f359e46f78b)) diff --git a/README.md b/README.md index cebaef6..5fe89b7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ # Dedalus Java API Library -[![Maven Central](https://img.shields.io/maven-central/v/com.dedalus.api/dedalus-java)](https://central.sonatype.com/artifact/com.dedalus.api/dedalus-java/0.0.1) -[![javadoc](https://javadoc.io/badge2/com.dedalus.api/dedalus-java/0.0.1/javadoc.svg)](https://javadoc.io/doc/com.dedalus.api/dedalus-java/0.0.1) + + +[![Maven Central](https://img.shields.io/maven-central/v/com.dedalus.api/dedalus-java)](https://central.sonatype.com/artifact/com.dedalus.api/dedalus-java/0.0.2) +[![javadoc](https://javadoc.io/badge2/com.dedalus.api/dedalus-java/0.0.2/javadoc.svg)](https://javadoc.io/doc/com.dedalus.api/dedalus-java/0.0.2) + + The Dedalus Java SDK provides convenient access to the [Dedalus REST API](https://docs.dedaluslabs.ai) from applications written in Java. @@ -16,14 +20,20 @@ Use the Dedalus MCP Server to enable AI assistants to interact with this API, al > Note: You may need to set environment variables in your MCP client. -The REST API documentation can be found on [docs.dedaluslabs.ai](https://docs.dedaluslabs.ai). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.dedalus.api/dedalus-java/0.0.1). + + +The REST API documentation can be found on [docs.dedaluslabs.ai](https://docs.dedaluslabs.ai). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.dedalus.api/dedalus-java/0.0.2). + + ## Installation + + ### Gradle ```kotlin -implementation("com.dedalus.api:dedalus-java:0.0.1") +implementation("com.dedalus.api:dedalus-java:0.0.2") ``` ### Maven @@ -32,10 +42,12 @@ implementation("com.dedalus.api:dedalus-java:0.0.1") com.dedalus.api dedalus-java - 0.0.1 + 0.0.2 ``` + + ## Requirements This library requires Java 8 or later. @@ -874,4 +886,4 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience. -We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/dedalus-java/issues) with questions, bugs, or suggestions. +We are keen for your feedback; please open an [issue](https://www.github.com/dedalus-labs/dedalus-java/issues) with questions, bugs, or suggestions. diff --git a/build.gradle.kts b/build.gradle.kts index 9ef208a..c0f4300 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ repositories { allprojects { group = "com.dedalus.api" - version = "0.0.1" + version = "0.0.2" // x-release-please-version } subprojects { diff --git a/buildSrc/src/main/kotlin/dedalus.publish.gradle.kts b/buildSrc/src/main/kotlin/dedalus.publish.gradle.kts index 9a7692b..fc2c4a2 100644 --- a/buildSrc/src/main/kotlin/dedalus.publish.gradle.kts +++ b/buildSrc/src/main/kotlin/dedalus.publish.gradle.kts @@ -27,9 +27,9 @@ configure { } scm { - connection.set("scm:git:git://github.com/stainless-sdks/dedalus-java.git") - developerConnection.set("scm:git:git://github.com/stainless-sdks/dedalus-java.git") - url.set("https://github.com/stainless-sdks/dedalus-java") + connection.set("scm:git:git://github.com/dedalus-labs/dedalus-java.git") + developerConnection.set("scm:git:git://github.com/dedalus-labs/dedalus-java.git") + url.set("https://github.com/dedalus-labs/dedalus-java") } versionMapping { diff --git a/dedalus-java-core/src/main/kotlin/com/dedalus/api/core/Check.kt b/dedalus-java-core/src/main/kotlin/com/dedalus/api/core/Check.kt index 8c28936..3ca5c31 100644 --- a/dedalus-java-core/src/main/kotlin/com/dedalus/api/core/Check.kt +++ b/dedalus-java-core/src/main/kotlin/com/dedalus/api/core/Check.kt @@ -77,7 +77,7 @@ This can happen if you are either: Double-check that you are depending on compatible Jackson versions. -See https://www.github.com/stainless-sdks/dedalus-java#jackson for more information. +See https://www.github.com/dedalus-labs/dedalus-java#jackson for more information. """ .trimIndent() } diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..9aa1ef1 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,70 @@ +{ + "packages": { + ".": {} + }, + "$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json", + "include-v-in-tag": true, + "include-component-in-tag": false, + "versioning": "prerelease", + "prerelease": true, + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": false, + "pull-request-header": "Automated Release PR", + "pull-request-title-pattern": "release: ${version}", + "changelog-sections": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "perf", + "section": "Performance Improvements" + }, + { + "type": "revert", + "section": "Reverts" + }, + { + "type": "chore", + "section": "Chores" + }, + { + "type": "docs", + "section": "Documentation" + }, + { + "type": "style", + "section": "Styles" + }, + { + "type": "refactor", + "section": "Refactors" + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "build", + "section": "Build System" + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + } + ], + "reviewers": [ + "@windsornguyen" + ], + "release-type": "simple", + "extra-files": [ + "README.md", + "build.gradle.kts" + ] +} \ No newline at end of file