Skip to content

SDK regeneration - #231

Closed
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-21_17-33-04_622
Closed

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-21_17-33-04_622

Conversation

@fern-api

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

Copy link
Copy Markdown
Contributor

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 so openapi.json stays bundled in wheels/sdists.

New API surface adds client.implementation_guides.implementation_guides.create_version and get_version for 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 token as a static string or callable, instance_url resolving through environment URL templates without overwriting an explicit base_url, OAuth refresh sending grant_type=client_credentials, optional-body requests that omit Content-Type when no body is sent, percent-encoded path params via quote_path_param, SSE streams skipping empty data lines, HttpResponse.response exposure, 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.

fern-api Bot and others added 5 commits September 21, 2026 17:33
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

@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.

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",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5e97239. 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