Skip to content

feat: rename Address to UserAddress and add new SDK features#127

Open
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-13T12-22Z
Open

feat: rename Address to UserAddress and add new SDK features#127
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-13T12-22Z

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Mar 13, 2026

  • The SDK now includes structured HTTP request logging with configurable log levels and automatic redaction of sensitive headers. Lab report parsing now supports uploading multiple files at once - the parser_create_job method now accepts a list of files instead of a single file. The AppointmentPscLabs enum now includes support for Sonora Quest labs.
  • New optional parameters added across lab test methods: appointment_notes for phlebotomy requests, lab_slug and lab_account_id for filtering lab tests and markers, order_transaction_id for filtering orders, clinical_notes for order creation, and idempotency support for PSC appointment booking. PSC appointment availability now requires a lab parameter and supports cached data retrieval.
  • Enhanced lab tests API with new optional parameters including lab_account_id, lab_slug, order_transaction_id, appointment_notes, clinical_notes, and idempotency support for PSC appointment booking. Improved link client API by making vital_link_token optional in several methods and adding new parameters like vital_ios_sdk_version and granted_permissions to connect_manual_provider. Updated method documentation for better clarity.
  • The Address type has been renamed to UserAddress for improved clarity. Update import statements from vital import Address to vital import UserAddress in your user creation code. The SDK also adds new capabilities for lab test compendium search, lab account management, and order transaction tracking.
  • The SDK now includes two new modules: compendium for lab test search and conversion operations, and lab_account for managing team lab accounts. Access these through client.compendium.search(), client.compendium.convert(), and client.lab_account.get_team_lab_accounts() methods.
  • New OrderTransaction client available for managing order transactions, including methods to retrieve transactions, fetch results, and download PDF reports. The Link client now supports optional iOS/Android SDK version tracking and granted permissions management for manual providers.
  • The SDK now supports order transactions, enhanced appointment booking with async confirmation, and lab test compendium search functionality. New types include ClientFacingOrderTransaction for order grouping, appointment booking enhancements with notes and timeout configurations, and comprehensive lab test search capabilities with CanonicalCandidate matching. Additional improvements include Sonora Quest lab provider support, clinical notes on orders, and enhanced lab account management.
  • The SDK now supports derived readiness metrics in data queries through new column expressions. Lab account management has been expanded with delegated flow options and order transaction tracking. New provider integrations include Samsung Health and Sonora Quest lab testing. Address models now support access notes for delivery instructions, and comprehensive biomarker search functionality has been added.
  • New UsState enum and UserAddress model types are now available for handling US state codes and structured address data in user-related operations.

This update renames the Address type to UserAddress for better clarity and 
consistency throughout the user management API. The change also introduces
new compendium and lab account features, along with order transaction support.

Key changes:
- Rename Address type to UserAddress in user creation methods
- Add new compendium client for lab test search and conversion
- Add lab account management capabilities
- Add order transaction tracking functionality
- Add support for Python 3.13, 3.14, and 3.15
- Add logging configuration options to client constructors

🌿 Generated with Fern
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.

0 participants