Skip to content

SDK regeneration - #227

Open
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_16-58-09_798
Open

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_16-58-09_798

Conversation

@fern-api

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

Copy link
Copy Markdown
Contributor

17.13.0 → 17.13.1

🌿 Generated with Fern


Note

Medium Risk
Large auto-generated API surface plus OAuth builder and lifecycle behavior changes can break callers expecting the old grantType hook or shared OkHttp without close().

Overview
Regenerates the Phenoml Java SDK from the updated API spec (17.13.0 → 17.13.1), bumping Fern tooling and Maven publish metadata.

New surface area includes client.lang2FhirBatch() for create/upload/finalize/cancel/list/get batch jobs and per-item results, implementation guide package versions (createVersion, getVersion), and profile version CRUD under client.profiles().versions(). Lang2FHIR multi/document requests gain optional PrimaryPatient (with patientReference documented as a deprecated alias), extra detectable resource enums, and broader document upload types in docs/examples.

FHIR→OMOP responses and request docs expand to cover more administrative resources, richer mappings, a new optional diagnostics list, and updated row/source-value semantics (e.g. bare codes, MedicationRequest type concept 32838). Generated types and Javadoc mirror those contract changes.

Client ergonomics: PhenomlClient / AsyncPhenomlClient implement AutoCloseable and delegate to ClientOptions.close() for owned OkHttp pools; credentials auth no longer exposes configurable grantType (always client_credentials); custom instanceUrl environment setup is fixed so non-default environments are not overwritten.

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

fern-api Bot and others added 5 commits October 1, 2026 16:58
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 4f1f51c. Configure here.

.addPathSegments("items");
FileStream fs = new FileStream(stream, filename, null);
MultipartBody.Builder multipartBodyBuilder = new MultipartBody.Builder().setType(MultipartBody.FORM);
multipartBodyBuilder.addFormDataPart("file", filename, fs.toRequestBody());

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Upload overloads omit required fields

High Severity

The uploadItem overloads that omit UploadItemRequest never send the required document or create form fields. Stream overloads also ignore the file argument and drop request_id and id. Those calls cannot satisfy the API contract and fail at runtime.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4f1f51c. 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