Skip to content

SDK regeneration - #214

Closed
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-17_18-59-05_491
Closed

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-17_18-59-05_491

Conversation

@fern-api

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

Copy link
Copy Markdown
Contributor

17.13.0 → 17.13.1

🌿 Generated with Fern


Note

Medium Risk
Large generated surface area with additive APIs, but OAuth grant-type removal and environment builder changes can break existing auth and URL configuration.

Overview
Regenerates the phenoml Java SDK from 17.13.0 to 17.13.1 (Fern CLI/generator bump) and exposes new platform APIs plus a few client behavior tweaks.

Lang2Fhir batch — Adds client.lang2FhirBatch() with create/list, multipart item upload, finalize, cancel, job status, and paginated results retrieval (idempotent request_id on create/upload).

FHIR packaging & profiles — Implementation guides gain createVersion / getVersion, updated delete semantics, and summary fields (canonical_url, version_count). Custom profiles add client.profiles().versions() for listing, creating, fetching, and deleting retained StructureDefinition versions; list/update/delete docs reflect version retention rules.

Document extraction — Lang2Fhir document/multi now document RTF and XML/C-CDA (with size/instance constraints) and map 403 responses via ForbiddenError.

Integrator-facing changes — Credentials auth no longer accepts a custom OAuth grantType (always client_credentials). instanceUrl only rewrites the base URL when environment is unset or DEFAULT, preserving other custom environments. SDK identity headers and Maven version align to 17.13.1; ClientOptions.addHeader skips null values.

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

fern-api Bot and others added 5 commits September 17, 2026 18:59
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 40ea59d. 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.

Stream uploads omit required fields

High Severity

The InputStream uploadItem overloads send only a file multipart part and never attach document, create, request_id, or id. The unused file argument is also ignored. The API requires exactly one of document or create, so these public methods always produce a 400 and cannot express a valid batch item.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 40ea59d. Configure here.

@gavinsharp gavinsharp closed this Sep 22, 2026
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.

1 participant