Skip to content

SDK regeneration - #237

Open
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-07_20-55-56_532
Open

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-07_20-55-56_532

Conversation

@fern-api

@fern-api fern-api Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

17.13.0 → 17.13.1

🌿 Generated with Fern


Note

Medium Risk
Large generated diff with new endpoints and FHIR2OMOP response shape changes; credential builders no longer expose grantType, which may break callers that customized OAuth grant types.

Overview
Regenerates the Java SDK to 17.13.1 (Fern CLI/generator bump) and wires new API surface from the updated OpenAPI spec.

New capabilities: client.lang2FhirBatch() for async batch Lang2FHIR jobs (create, upload items, finalize/cancel, paginated status/results). Implementation guide version publish/get and custom profile version CRUD under profiles().versions(). Lang2FHIR multi/document flows gain optional primaryPatient; patientReference is a deprecated alias and must not be combined with it. Document extraction types/docs now include RTF and XML/C-CDA (instance-specific).

FHIR→OMOP: CreateOmopRequest adds optional vocabVersion; request/response models and reference docs expand for broader resource coverage, richer tables/mappings/diagnostics, and stricter eligibility semantics.

Client/runtime: PhenomlClient / AsyncPhenomlClient and ClientOptions implement close() for owned OkHttp resources. Credential auth drops configurable grantType (always client_credentials). Custom instanceUrl only replaces the default URL template when environment is unset or DEFAULT.

Minor/breaking-adjacent: Crosswalk error handling maps some former gateway/not-implemented statuses to InternalServerError. SDK identity headers (User-Agent, X-Fern-SDK-Name) updated to the Maven artifact coordinates.

Reviewed by Cursor Bugbot for commit 8958c08. Bugbot is set up for automated code reviews on this repo. Configure here.

fern-api Bot and others added 5 commits October 7, 2026 20:56
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 4.21.1
🌿 Generated with Fern
🌿 Generated with Fern

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 8958c08. Configure here.

} catch (IOException e) {
throw new PhenomlClientException("Network error executing HTTP request", e);
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stream uploads omit required multipart fields

High Severity

The stream-based uploadItem overloads send only a file part and ignore document, create, request_id, and id. They also take an unused file argument. Document items require a document JSON part, create items must not send a file, and retries need request_id, so these overloads cannot satisfy the API contract and will be rejected.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8958c08. Configure here.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants