Skip to content

SDK regeneration - #213

Open
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-16_20-29-53_561
Open

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-16_20-29-53_561

Conversation

@fern-api

@fern-api fern-api Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

17.13.0 → 17.13.1

🌿 Generated with Fern


Note

Medium Risk
Large generated surface area plus OAuth builder API removal (grantType) may break callers; batch and versioning APIs are new integration paths for clinical/FHIR workflows.

Overview
Regenerates the Java SDK to 17.13.1 (Fern CLI/generator bump) and exposes several new API areas from the updated spec.

Lang2Fhir batch — Adds client.lang2FhirBatch() with sync/async clients for the full batch job lifecycle: create/list jobs, multipart item upload, finalize/cancel, job status, paginated results, and per-item result fetch.

FHIR implementation guides & profiles — Implementation guides gain canonical package versioning (createVersion / getVersion), updated delete semantics, summary fields (canonical_url, version_count), and ConflictError on duplicate publishes. Custom profiles gain a profiles().versions() sub-client (list/create/get/delete retained StructureDefinition versions) with docs reflecting stricter update/delete and URL pinning behavior.

Resource review (lang2fhir) — Review results now include a remediated list; findings add unaudited and revised semantics for flagged vs quarantined resources.

Client/auth tweaks — OAuth client-credentials flow no longer exposes configurable grantType (fixed to client_credentials). Builder instanceUrl only overrides the URL template when environment is unset or default. Minor core changes: SDK identity headers, skip null static headers, console logger handler level.

Docs (reference.md, code-examples.json) and Fern replay/metadata align with the new endpoints.

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

fern-api Bot and others added 5 commits September 16, 2026 20:29
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 4.19.2
🌿 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 ef77b01. 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 upload omits required fields

High Severity

The InputStream uploadItem overloads only attach the file part and never send document, create, request_id, or id. The API requires exactly one of document or create, so these overloads cannot succeed. They also ignore the unused file argument and do not apply RequestOptions.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit ef77b01. Configure here.

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