Repository navigation
SDK regeneration - #236
Open
fern-api[bot] wants to merge 5 commits into
Open
SDK regeneration#236fern-api[bot] wants to merge 5 commits into
fern-api[bot] wants to merge 5 commits into
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.21.1
🌿 Generated with Fern
🌿 Generated with Fern
…9c4d914720f0bf94 [skip ci]
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d0631e6. Configure here.
| } catch (IOException e) { | ||
| throw new PhenomlClientException("Network error executing HTTP request", e); | ||
| } | ||
| } |
There was a problem hiding this comment.
Stream uploads omit required multipart fields
Medium Severity
The uploadItem stream overloads only send the file part and ignore document, create, request_id, and id. The batch API requires exactly one of document or create, so stream uploads fail validation. The unused file argument is also dropped if both a file and a stream are supplied.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit d0631e6. Configure here.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


17.13.0 → 17.13.1
🌿 Generated with Fern
Note
Medium Risk
Adds batch and versioning APIs plus FHIR2OMOP request/response shape changes; credential builders lose grantType and clients should call close() for owned HTTP resources—possible compile-time and runtime behavior shifts for integrators.
Overview
17.13.1 is a Fern-regenerated Java SDK bump (generator 4.21.1, spec commit updated) with new API surface and a few client lifecycle/auth tweaks.
The largest functional addition is
client.lang2FhirBatch()— create/list jobs, upload items, finalize/cancel, and paginated status/results for async lang2fhir processing. Lang2FHIR multi/document requests gain optionalprimaryPatient(identifier, name, birthDate, gender);patientReferenceremains as a deprecated alias forprimary_patient.identifierand must not be combined withprimaryPatient.detectionEffortis documented as deprecated. Document endpoints’ types/docs now include RTF and XML/C-CDA (dedicated-instance limits) and additionalCreateRequestResourcevalues.FHIR→OMOP
CreateOmopRequestadds optionalvocabVersion; generated types and docs reflect broader mapping (e.g.observation_period, provider/location/care_site rows, richermappings/diagnostics, US Core demographics behavior). Implementation guides addcreateVersion/getVersion; profiles add aversionssub-client (list/create/get/delete retained StructureDefinition versions) with updated create/update/delete semantics in docs.Client infrastructure:
PhenomlClient/AsyncPhenomlClientimplementAutoCloseableand delegate toClientOptions.close()(shuts down owned OkHttp only). Credential auth no longer exposes configurablegrantType— OAuth uses fixedclient_credentials.instanceUrlno longer overwrites a non-default customenvironment. Minor fixes: null header values skipped, SDK name header corrected, crosswalk errors map 500 toInternalServerErrorinstead of 502/503/501 types.Changelog entry for 17.13.1 is header-only in this diff (prior 17.13.0 notes remain below it).
Reviewed by Cursor Bugbot for commit d0631e6. Bugbot is set up for automated code reviews on this repo. Configure here.