Skip to content

Commit fef09b9

Browse files
Merge pull request #3 from CASParser/release-please--branches--main--changes--next
release: 0.0.4
2 parents 6b3201f + 3867993 commit fef09b9

File tree

6 files changed

+62
-8
lines changed

6 files changed

+62
-8
lines changed

.github/workflows/publish-sonatype.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
distribution: temurin
2323
java-version: |
2424
8
25-
17
25+
21
2626
cache: gradle
2727

2828
- name: Set up Gradle

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.0.3"
2+
".": "0.0.4"
33
}

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 0.0.4 (2025-09-13)
4+
5+
Full Changelog: [v0.0.3...v0.0.4](https://github.com/CASParser/cas-parser-java/compare/v0.0.3...v0.0.4)
6+
7+
### Bug Fixes
8+
9+
* **ci:** use java-version 21 for publish step ([29ae5b2](https://github.com/CASParser/cas-parser-java/commit/29ae5b284038528c2cde321ff2e74257755a7adb))
10+
11+
12+
### Chores
13+
14+
* improve formatter performance ([2486fa4](https://github.com/CASParser/cas-parser-java/commit/2486fa43b6f0e0b1809d6155276d028c942d5a85))
15+
* **internal:** codegen related update ([14e49f9](https://github.com/CASParser/cas-parser-java/commit/14e49f9467da3e4c5f89e913820f7c6a34c41291))
16+
* **internal:** codegen related update ([b175f13](https://github.com/CASParser/cas-parser-java/commit/b175f13cdf092aef7f028737640db543ce6c62e5))
17+
318
## 0.0.3 (2025-08-22)
419

520
Full Changelog: [v0.0.2...v0.0.3](https://github.com/CASParser/cas-parser-java/compare/v0.0.2...v0.0.3)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<!-- x-release-please-start-version -->
44

5-
[![Maven Central](https://img.shields.io/maven-central/v/com.cas_parser.api/cas-parser-java)](https://central.sonatype.com/artifact/com.cas_parser.api/cas-parser-java/0.0.3)
6-
[![javadoc](https://javadoc.io/badge2/com.cas_parser.api/cas-parser-java/0.0.3/javadoc.svg)](https://javadoc.io/doc/com.cas_parser.api/cas-parser-java/0.0.3)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.cas_parser.api/cas-parser-java)](https://central.sonatype.com/artifact/com.cas_parser.api/cas-parser-java/0.0.4)
6+
[![javadoc](https://javadoc.io/badge2/com.cas_parser.api/cas-parser-java/0.0.4/javadoc.svg)](https://javadoc.io/doc/com.cas_parser.api/cas-parser-java/0.0.4)
77

88
<!-- x-release-please-end -->
99

@@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1313

1414
<!-- x-release-please-start-version -->
1515

16-
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).
16+
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).
1717

1818
<!-- x-release-please-end -->
1919

@@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.casparser.in](https://docs.casp
2424
### Gradle
2525

2626
```kotlin
27-
implementation("com.cas_parser.api:cas-parser-java:0.0.3")
27+
implementation("com.cas_parser.api:cas-parser-java:0.0.4")
2828
```
2929

3030
### Maven
@@ -33,7 +33,7 @@ implementation("com.cas_parser.api:cas-parser-java:0.0.3")
3333
<dependency>
3434
<groupId>com.cas_parser.api</groupId>
3535
<artifactId>cas-parser-java</artifactId>
36-
<version>0.0.3</version>
36+
<version>0.0.4</version>
3737
</dependency>
3838
```
3939

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repositories {
99

1010
allprojects {
1111
group = "com.cas_parser.api"
12-
version = "0.0.3" // x-release-please-version
12+
version = "0.0.4" // x-release-please-version
1313
}
1414

1515
subprojects {

scripts/fast-format

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
cd "$(dirname "$0")/.."
6+
7+
if [ $# -eq 0 ]; then
8+
echo "Usage: $0 <file-with-paths> [additional-formatter-args...]"
9+
echo "The file should contain one file path per line"
10+
exit 1
11+
fi
12+
13+
FILE_LIST="$1"
14+
15+
if [ ! -f "$FILE_LIST" ]; then
16+
echo "Error: File '$FILE_LIST' not found"
17+
exit 1
18+
fi
19+
20+
if ! command -v ktfmt-fast-format &> /dev/null; then
21+
echo "Error: ktfmt-fast-format not found"
22+
exit 1
23+
fi
24+
25+
# Process Kotlin files
26+
kt_files=$(grep -E '\.kt$' "$FILE_LIST" | grep -v './buildSrc/build/')
27+
kt_files=$(grep -E '\.kt$' "$FILE_LIST" | grep -v './buildSrc/build/')
28+
echo "==> Found $(echo "$kt_files" | wc -l) Kotlin files:"
29+
30+
if [[ -n "$kt_files" ]]; then
31+
echo "==> will format Kotlin files"
32+
echo "$kt_files" | tr '\n' '\0' | xargs -0 ktfmt-fast-format --kotlinlang-style "$@"
33+
else
34+
echo "No Kotlin files to format -- expected outcome during incremental formatting"
35+
fi
36+
37+
# TODO(mbudayr): support palantir-java-format
38+
# Process Java files
39+
# grep -E '\.java$' "$FILE_LIST" | grep -v './buildSrc/build/' | tr '\n' '\0' | xargs -0 -r palantir-java-format --palantir --replace "$@"

0 commit comments

Comments
 (0)