SDK regeneration - #231
SDK regeneration#231fern-api[bot] wants to merge 5 commits into
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.30.0
🌿 Generated with Fern
Patches applied (1): - patch-6516695e: Release 15.0.2: restore bundled openapi.json packaging (#169)
🌿 Generated with Fern
…f06fd54484fc8ef9 [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.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5e97239. Configure here.
|
|
||
| headers: typing.Dict[str, str] = { | ||
| "User-Agent": "phenoml/17.0.0", | ||
| "User-Agent": "phenoml/0.0.0-fern-placeholder", |
There was a problem hiding this comment.
User-Agent uses placeholder version
Medium Severity
get_headers now sends User-Agent as phenoml/0.0.0-fern-placeholder on every request. The previous value tracked the SDK version, and X-Fern-SDK-Version was correctly updated to 17.0.1, so this looks like a failed version substitution rather than an intentional change.
Reviewed by Cursor Bugbot for commit 5e97239. Configure here.


17.0.0 → 17.0.1
🌿 Generated with Fern
✅ Customizations automatically preserved in this update.
Note
Medium Risk
Touches HTTP transport, auth token handling, and path encoding used on every request, plus new implementation-guide version endpoints and expanded document/batch API semantics that callers may depend on.
Overview
Release 17.0.1 regenerates the Python SDK from Fern (generator 5.30.0), bumps package and metadata versions, refreshes
poetry.lock(notably httpx-aiohttp^0.1.8), and reapplies the Fern replay patch soopenapi.jsonstays bundled in wheels/sdists.New API surface adds
client.implementation_guides.implementation_guides.create_versionandget_versionfor publishing and fetching exact implementation-guide package versions, with matching code-examples entries. Reference docs are updated across OMOP FHIR→CDM mapping (broader resource coverage and clearer drop/mapping semantics), lang2fhir document / document_multi and batch upload (RTF/XML/C-CDA on dedicated instances, size limits), batch job lifecycle (no cap on concurrent jobs; clarified idempotency/correlation byte limits), and implementation-guide delete behavior.Client/runtime changes include accepting
tokenas a static string or callable,instance_urlresolving through environment URL templates without overwriting an explicitbase_url, OAuth refresh sendinggrant_type=client_credentials, optional-body requests that omitContent-Typewhen no body is sent, percent-encoded path params viaquote_path_param, SSE streams skipping empty data lines,HttpResponse.responseexposure, and a fix to the async agent chat stream doc example. Agent chat raw clients share the SSE empty-line handling.Reviewed by Cursor Bugbot for commit 5e97239. Bugbot is set up for automated code reviews on this repo. Configure here.