Skip to content

feat: update module path to v505 and add new client modules#71

Open
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-18T15-38Z
Open

feat: update module path to v505 and add new client modules#71
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-18T15-38Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: Changed module import path from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505, requiring all consumers to update their import statements.

  • The SDK now supports derived readiness column expressions in aggregate queries, enabling access to chronotype, sleep scores, recovery scores, stress scores, and strain metrics. Enhanced lab report parsing with improved metadata handling and failure reason tracking for better error diagnostics.
  • The SDK now supports appointment notes for booking and rescheduling appointments, adds Sonora Quest as a new lab provider option, and includes async booking confirmation with configurable timeout controls. Additional optional fields have been added to improve order creation and address handling workflows.
  • The SDK now supports Samsung Health connections through the new ManualProvidersSamsungHealth provider type. Additional metadata fields (VitalIosSdkVersion, VitalAndroidSdkVersion, GrantedPermissions) are available on ManualConnectionData for enhanced mobile SDK integration.
  • New comprehensive lab results management with BiomarkerResult, MissingBiomarkerResult, and LabResultsRaw types. Added lab report parsing job events and order transaction tracking with ClientFacingOrderTransaction. Enhanced address handling with AccessNotes field and clinical context with ClinicalNotes on orders. Added support for new labs (Sonora Quest, CRL), providers (Samsung Health), and additional order status variants.
  • The Go SDK module path has been updated to github.com/tryVital/vital-go/v505. All import statements must be updated to use the new v505 path. The SDK also introduces new client modules for Compendium, LabAccount, and OrderTransaction services, and replaces the Address type with UserAddress in user-related structures.
  • The SDK has migrated to a versioned module structure. All import statements must be updated from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. Type references have also changed from the vitalgo package to v505. Update your imports and type references accordingly to continue using the SDK.
  • Breaking change: The module import path has changed from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. Update your import statements to use the new versioned path. All exported functions and types remain unchanged.
  • The module path has been updated to github.com/tryVital/vital-go/v505. Existing code using this SDK must update all import statements from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505.
  • New compendium module provides lab test search and conversion capabilities. The SDK now supports searching for canonical lab tests across multiple providers and converting provider IDs between different lab systems including LabCorp, Quest, BioReference, and Sonora Quest.
  • New client packages available: Compendium client for search and conversion operations, LabAccount client for managing team lab accounts, and OrderTransaction client for transaction retrieval and PDF downloads. Additional supporting types and improved file handling are also included.
  • New order transaction client available with methods for retrieving transaction details, lab results, and PDF downloads. Added Bytes() pointer utility function for []byte values.

Updates the Go module path from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505, adds new client modules for Compendium, LabAccount, and OrderTransaction, and introduces the UserAddress type while updating serialization logic.

Key changes:
- Updated import paths throughout codebase to use v505 module path
- Added Compendium, LabAccount, and OrderTransaction client modules
- Introduced UserAddress type with full field support and JSON serialization
- Updated UserInfo and UserInfoCreateRequest to use UserAddress instead of Address
- Added UnmarshalJSON and MarshalJSON methods to multiple request/response types
- Made Insured field non-optional in CreateInsuranceRequest

🌿 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