Skip to content

Commit e72ad3b

Browse files
refactor: remove unused ErrorResponse type from summary package (#103)
The ErrorResponse class has been removed from the summary types package as it is no longer needed in the API. This cleanup removes unused code and simplifies the SDK structure. Key changes: - Remove ErrorResponse class from com.phenoml.api.resources.summary.types package - Clean up associated builder pattern and serialization annotations - Eliminate unused success and error field definitions 🌿 Generated with Fern Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 44cf28f commit e72ad3b

File tree

4 files changed

+7
-127
lines changed

4 files changed

+7
-127
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ java {
4747

4848
group = 'com.phenoml.maven'
4949

50-
version = '9.1.0'
50+
version = '10.0.0'
5151

5252
jar {
5353
dependsOn(":generatePomFileForMavenPublication")
@@ -78,7 +78,7 @@ publishing {
7878
maven(MavenPublication) {
7979
groupId = 'com.phenoml.maven'
8080
artifactId = 'phenoml-java-sdk'
81-
version = '9.1.0'
81+
version = '10.0.0'
8282
from components.java
8383
pom {
8484
name = 'phenoml'

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 10.0.0 - 2026-03-11
2+
* The `ErrorResponse` class has been removed from the summary types package. If your code references `com.phenoml.api.resources.summary.types.ErrorResponse`, you'll need to update your imports and error handling logic to use alternative error response types available in the SDK.
3+
14
## 9.1.0 - 2026-03-09
25
* feat: add HTTP 429 and 503 error handling to FHIR client
36
* Enhance the FHIR client with comprehensive error handling for rate limiting (429) and service unavailability (503) scenarios. This improves the SDK's resilience and provides better error feedback to developers.

src/main/java/com/phenoml/api/core/ClientOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ private ClientOptions(
3232
this.headers.putAll(headers);
3333
this.headers.putAll(new HashMap<String, String>() {
3434
{
35-
put("User-Agent", "com.phenoml.maven:phenoml-java-sdk/9.1.0");
35+
put("User-Agent", "com.phenoml.maven:phenoml-java-sdk/10.0.0");
3636
put("X-Fern-Language", "JAVA");
3737
put("X-Fern-SDK-Name", "com.phenoml.fern:api-sdk");
38-
put("X-Fern-SDK-Version", "9.1.0");
38+
put("X-Fern-SDK-Version", "10.0.0");
3939
}
4040
});
4141
this.headerSuppliers = headerSuppliers;

src/main/java/com/phenoml/api/resources/summary/types/ErrorResponse.java

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)