From c8ff029d4145cd6627211c2f04d1151a69d006b2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:24:07 +0000 Subject: [PATCH 1/6] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index fa389875f..6e7f0fbbc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 169 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-1d44bb7fad99487af1161eb24dfd5369440eda7e80ed237cbc1acc6802a7d212.yml openapi_spec_hash: 1b6b6215b60094b76b91c56b925a251a -config_hash: e68a052fd109c0885732114753abc739 +config_hash: 768e8f0faa1a21e26b07e6cdc395cebf From 5d6f0c66ec9f014020b266a413ceffbcbfc0cee1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Sep 2025 04:25:56 +0000 Subject: [PATCH 2/6] chore(internal): codegen related update --- scripts/fast-format | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 scripts/fast-format diff --git a/scripts/fast-format b/scripts/fast-format new file mode 100755 index 000000000..2aa524fd3 --- /dev/null +++ b/scripts/fast-format @@ -0,0 +1,39 @@ +#!/usr/bin/env bash + +set -euo pipefail + +cd "$(dirname "$0")/.." + +if [ $# -eq 0 ]; then + echo "Usage: $0 [additional-formatter-args...]" + echo "The file should contain one file path per line" + exit 1 +fi + +FILE_LIST="$1" + +if [ ! -f "$FILE_LIST" ]; then + echo "Error: File '$FILE_LIST' not found" + exit 1 +fi + +if command -v ktfmt-fast-format &> /dev/null; then + echo "Error: ktfmt-fast-format not found" + exit 1 +fi + +# Process Kotlin files +kt_files=$(grep -E '\.kt$' "$FILE_LIST" | grep -v './buildSrc/build/') +kt_files=$(grep -E '\.kt$' "$FILE_LIST" | grep -v './buildSrc/build/') +echo "==> Found $(echo "$kt_files" | wc -l) Kotlin files:" + +if [[ -n "$kt_files" ]]; then + echo "==> will format Kotlin files" + echo "$kt_files" | tr '\n' '\0' | xargs -0 ktfmt --kotlinlang-style "$@" +else + echo "No Kotlin files to format -- expected outcome during incremental formatting" +fi + +# TODO(mbudayr): support palantir-java-format +# Process Java files +# grep -E '\.java$' "$FILE_LIST" | grep -v './buildSrc/build/' | tr '\n' '\0' | xargs -0 -r palantir-java-format --palantir --replace "$@" From 97051d95c205b511461c7cd891abcf9416e35341 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Sep 2025 05:45:08 +0000 Subject: [PATCH 3/6] chore(internal): codegen related update --- scripts/fast-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fast-format b/scripts/fast-format index 2aa524fd3..c8b60da24 100755 --- a/scripts/fast-format +++ b/scripts/fast-format @@ -17,7 +17,7 @@ if [ ! -f "$FILE_LIST" ]; then exit 1 fi -if command -v ktfmt-fast-format &> /dev/null; then +if ! command -v ktfmt-fast-format &> /dev/null; then echo "Error: ktfmt-fast-format not found" exit 1 fi From 2a2668c5c0a415c518caccaf4a463ec9af92a567 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 12 Sep 2025 14:31:24 +0000 Subject: [PATCH 4/6] chore(internal): codegen related update --- scripts/fast-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fast-format b/scripts/fast-format index c8b60da24..e16bfc56f 100755 --- a/scripts/fast-format +++ b/scripts/fast-format @@ -29,7 +29,7 @@ echo "==> Found $(echo "$kt_files" | wc -l) Kotlin files:" if [[ -n "$kt_files" ]]; then echo "==> will format Kotlin files" - echo "$kt_files" | tr '\n' '\0' | xargs -0 ktfmt --kotlinlang-style "$@" + echo "$kt_files" | tr '\n' '\0' | xargs -0 ktfmt-fast-format --kotlinlang-style "$@" else echo "No Kotlin files to format -- expected outcome during incremental formatting" fi From a70d854e542a55828d246ef266c4d1ba49d7bc95 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Sep 2025 14:54:36 +0000 Subject: [PATCH 5/6] fix(client): incorrect `getPackageVersion` impl --- .../src/main/kotlin/com/lithic/api/core/Properties.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/Properties.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/Properties.kt index b465d2351..6de9f8077 100644 --- a/lithic-java-core/src/main/kotlin/com/lithic/api/core/Properties.kt +++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/Properties.kt @@ -2,7 +2,7 @@ package com.lithic.api.core -import java.util.Properties +import com.lithic.api.client.LithicClient fun getOsArch(): String { val osArch = System.getProperty("os.arch") @@ -16,7 +16,7 @@ fun getOsArch(): String { "x86_64" -> "x64" "arm" -> "arm" "aarch64" -> "arm64" - else -> "other:${osArch}" + else -> "other:$osArch" } } @@ -30,13 +30,13 @@ fun getOsName(): String { osName.startsWith("Linux") -> "Linux" osName.startsWith("Mac OS") -> "MacOS" osName.startsWith("Windows") -> "Windows" - else -> "Other:${osName}" + else -> "Other:$osName" } } fun getOsVersion(): String = System.getProperty("os.version", "unknown") fun getPackageVersion(): String = - Properties::class.java.`package`.implementationVersion ?: "unknown" + LithicClient::class.java.`package`.implementationVersion ?: "unknown" fun getJavaVersion(): String = System.getProperty("java.version", "unknown") From 872277021c5456e2c328d5bc82bb83692ac635ac Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Sep 2025 14:55:33 +0000 Subject: [PATCH 6/6] release: 0.105.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 15 +++++++++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6b28bdb22..6954feb31 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.105.0" + ".": "0.105.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c6e3d650..1c7e6d106 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.105.1 (2025-09-15) + +Full Changelog: [v0.105.0...v0.105.1](https://github.com/lithic-com/lithic-java/compare/v0.105.0...v0.105.1) + +### Bug Fixes + +* **client:** incorrect `getPackageVersion` impl ([a70d854](https://github.com/lithic-com/lithic-java/commit/a70d854e542a55828d246ef266c4d1ba49d7bc95)) + + +### Chores + +* **internal:** codegen related update ([2a2668c](https://github.com/lithic-com/lithic-java/commit/2a2668c5c0a415c518caccaf4a463ec9af92a567)) +* **internal:** codegen related update ([97051d9](https://github.com/lithic-com/lithic-java/commit/97051d95c205b511461c7cd891abcf9416e35341)) +* **internal:** codegen related update ([5d6f0c6](https://github.com/lithic-com/lithic-java/commit/5d6f0c66ec9f014020b266a413ceffbcbfc0cee1)) + ## 0.105.0 (2025-09-10) Full Changelog: [v0.104.0...v0.105.0](https://github.com/lithic-com/lithic-java/compare/v0.104.0...v0.105.0) diff --git a/README.md b/README.md index 003c9c7d4..eade69618 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.105.0) -[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.105.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.105.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.105.1) +[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.105.1/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.105.1) @@ -13,7 +13,7 @@ The Lithic Java SDK is similar to the Lithic Kotlin SDK but with minor differenc -The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.105.0). +The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.105.1). @@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.lithic.com](https://docs.lithic ### Gradle ```kotlin -implementation("com.lithic.api:lithic-java:0.105.0") +implementation("com.lithic.api:lithic-java:0.105.1") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.lithic.api:lithic-java:0.105.0") com.lithic.api lithic-java - 0.105.0 + 0.105.1 ``` diff --git a/build.gradle.kts b/build.gradle.kts index fe036afff..0baba1809 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ repositories { allprojects { group = "com.lithic.api" - version = "0.105.0" // x-release-please-version + version = "0.105.1" // x-release-please-version } subprojects {