|
| 1 | +## 6.0.0 - 2026-02-09 |
| 2 | +* feat: SDK generator upgrade with auth providers, logging, and restructured upload API |
| 3 | +* Major SDK regeneration with upgraded Fern TypeScript SDK generator (v3.46.3). Introduces pluggable auth, |
| 4 | +* structured logging with sensitive data redaction, and centralizes error handling across all clients. |
| 5 | +* Breaking changes: |
| 6 | +* PhenoMLClient (WrapperClient) no longer exported from main entry point; use phenomlClient directly |
| 7 | +* All resource client classes renamed with Client suffix (e.g. Agent -> AgentClient, Construe -> ConstrueClient) |
| 8 | +* UploadRequest restructured from discriminated union (UploadRequest.Csv/Json) to flat interface with Format enum |
| 9 | +* Remove UploadRequestCsv and UploadRequestJson types |
| 10 | +* Remove user_id field from ChatMessageTemplate, ChatSessionTemplate, FhirProviderTemplate, SummaryTemplate, McpServerResponse, McpServerToolResponse, WorkflowDefinition, WorkflowResponse |
| 11 | +* Construe getASpecificCode parameter renamed from codeId to codeID |
| 12 | +* Auth client options simplified to use standard BaseClientOptions |
| 13 | +* New features: |
| 14 | +* Configurable logging system (LogConfig, Logger, ConsoleLogger) with sensitive data redaction for headers, URLs, and query params |
| 15 | +* Custom fetch implementation support via BaseClientOptions.fetch |
| 16 | +* AuthProvider pattern for pluggable authentication (BearerAuthProvider, NoOpAuthProvider) |
| 17 | +* BodyIsNullError type for null response bodies on streaming/SSE endpoints |
| 18 | +* Form-encoded request body support (requestType: "form") |
| 19 | +* New exports: BaseClientOptions, BaseRequestOptions types |
| 20 | +* Infrastructure improvements: |
| 21 | +* Centralized error handling via handleNonStatusCodeError() replacing duplicated switch blocks |
| 22 | +* Improved error class prototype chains (proper instanceof and stack traces via new.target.prototype) |
| 23 | +* Case-insensitive header merging |
| 24 | +* React Native runtime detection now prioritized over Node.js |
| 25 | +* Cross-platform timer types (ReturnType<typeof setTimeout> instead of NodeJS.Timeout) |
| 26 | +* Automatic Accept header based on response type |
| 27 | +* Removed X-Fern-SDK-Name, X-Fern-SDK-Version, User-Agent from default headers |
| 28 | + |
1 | 29 | ## 5.3.0 - 2026-02-09 |
2 | 30 | * feat: add custom code system export endpoint |
3 | 31 | * Add new exportCustomCodeSystem method to the construe client that allows exporting custom (non-builtin) code systems as JSON files. This feature enables users to backup and transfer code systems between instances. |
|
0 commit comments