diff --git a/.github/workflows/publish-sonatype.yml b/.github/workflows/publish-sonatype.yml
index 54ab6a1..1b11f45 100644
--- a/.github/workflows/publish-sonatype.yml
+++ b/.github/workflows/publish-sonatype.yml
@@ -22,7 +22,7 @@ jobs:
distribution: temurin
java-version: |
8
- 17
+ 21
cache: gradle
- name: Set up Gradle
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 28e831b..2ed3b71 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.0.3"
+ ".": "0.0.4"
}
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3e1e157..f21b326 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,20 @@
# Changelog
+## 0.0.4 (2025-09-13)
+
+Full Changelog: [v0.0.3...v0.0.4](https://github.com/CASParser/cas-parser-java/compare/v0.0.3...v0.0.4)
+
+### Bug Fixes
+
+* **ci:** use java-version 21 for publish step ([29ae5b2](https://github.com/CASParser/cas-parser-java/commit/29ae5b284038528c2cde321ff2e74257755a7adb))
+
+
+### Chores
+
+* improve formatter performance ([2486fa4](https://github.com/CASParser/cas-parser-java/commit/2486fa43b6f0e0b1809d6155276d028c942d5a85))
+* **internal:** codegen related update ([14e49f9](https://github.com/CASParser/cas-parser-java/commit/14e49f9467da3e4c5f89e913820f7c6a34c41291))
+* **internal:** codegen related update ([b175f13](https://github.com/CASParser/cas-parser-java/commit/b175f13cdf092aef7f028737640db543ce6c62e5))
+
## 0.0.3 (2025-08-22)
Full Changelog: [v0.0.2...v0.0.3](https://github.com/CASParser/cas-parser-java/compare/v0.0.2...v0.0.3)
diff --git a/README.md b/README.md
index 0a2616d..eb1c0bb 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.cas_parser.api/cas-parser-java/0.0.3)
-[](https://javadoc.io/doc/com.cas_parser.api/cas-parser-java/0.0.3)
+[](https://central.sonatype.com/artifact/com.cas_parser.api/cas-parser-java/0.0.4)
+[](https://javadoc.io/doc/com.cas_parser.api/cas-parser-java/0.0.4)
@@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).
-The REST API documentation can be found on [docs.casparser.in](https://docs.casparser.in/reference). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.cas_parser.api/cas-parser-java/0.0.3).
+The REST API documentation can be found on [docs.casparser.in](https://docs.casparser.in/reference). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.cas_parser.api/cas-parser-java/0.0.4).
@@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.casparser.in](https://docs.casp
### Gradle
```kotlin
-implementation("com.cas_parser.api:cas-parser-java:0.0.3")
+implementation("com.cas_parser.api:cas-parser-java:0.0.4")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.cas_parser.api:cas-parser-java:0.0.3")
com.cas_parser.api
cas-parser-java
- 0.0.3
+ 0.0.4
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 45a77c9..d58d78e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -9,7 +9,7 @@ repositories {
allprojects {
group = "com.cas_parser.api"
- version = "0.0.3" // x-release-please-version
+ version = "0.0.4" // x-release-please-version
}
subprojects {
diff --git a/scripts/fast-format b/scripts/fast-format
new file mode 100755
index 0000000..e16bfc5
--- /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-fast-format --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 "$@"