Skip to content

refactor: update import paths to use versioned package structure#73

Open
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-19T16-00Z
Open

refactor: update import paths to use versioned package structure#73
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-19T16-00Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: Import path changes from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505 break existing consumer imports.

  • The SDK now supports derived readiness data in aggregation queries through the new DerivedReadinessColumnExpr type. This enables querying metrics like sleep scores, recovery scores, and strain zones. Lab report parsing also gains improved error reporting with the new FailureReason field and support for uploading multiple files simultaneously.
  • The SDK now supports enhanced appointment booking workflows with asynchronous confirmation, appointment notes, and expanded lab provider coverage including Sonora Quest. New idempotency key support is available for PSC appointment booking. Order creation requests now support clinical notes and additional lab configuration options. Address types include new access notes fields for delivery instructions.
  • The SDK now tracks mobile SDK versions with new VitalIosSdkVersion and VitalAndroidSdkVersion fields in ManualConnectionData. Support has been added for Samsung Health and Tandem Source providers.
  • New biomarker result types and lab report parsing events available. The SDK now includes BiomarkerResult and MissingBiomarkerResult types for handling lab results, along with LabResultsRaw for comprehensive lab data. Added support for lab report parsing workflow events and enhanced order tracking with clinical notes, access notes, and order transaction details.
  • The SDK now includes a new UserAddress type for handling address information. UserInfo and UserInfoCreateRequest now use UserAddress instead of the generic Address type. Additionally, new client modules are available: Compendium, LabAccount, and OrderTransaction.
  • The SDK now supports form URL encoded content type for HTTP requests and allows multiple file uploads in multipart requests for the lab report parser.
  • Import paths have changed from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. Update your import statements to use the new versioned package structure. All type names and function signatures remain the same.
  • The Go SDK now uses versioned module imports. Update your imports from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. All package aliases have been updated from vitalgo to v505. This change enables proper semantic versioning for the Go SDK.
  • The SDK now uses versioned import paths for improved semantic versioning support. Update your imports from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505 to use this version.
  • New compendium module provides lab test search and provider ID conversion functionality. The module includes types for searching canonical lab tests across different providers (Labcorp, Quest, Bioreference, Sonora Quest) and converting between provider-specific test identifiers.
  • New Compendium, LabAccount, and OrderTransaction clients available for lab testing operations. The Compendium client provides search and conversion methods for lab data, LabAccount client enables team lab account management, and OrderTransaction client supports transaction retrieval with PDF export capabilities.
  • New order transaction raw client available with methods for retrieving transaction details, lab results, and PDF downloads. Added Bytes() utility function for creating []byte pointers.

Update all import paths from `github.com/tryVital/vital-go` to `github.com/tryVital/vital-go/v505` to align with Go module versioning conventions. This change affects imports for core types, options, and internal utilities across the labtests package.

Key changes:
- Updated package imports to use `/v505` prefix
- Changed type references from `vitalgo` to `v505` package alias
- Added idempotency headers support for PSC appointment booking
- Maintained all existing function signatures and behavior

🌿 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