Skip to content

refactor: update module imports to versioned package paths#65

Open
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-13T03-09Z
Open

refactor: update module imports to versioned package paths#65
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-13T03-09Z

Conversation

@fern-api
Copy link
Contributor

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

  • The SDK now supports derived readiness columns in aggregate queries, allowing analysis of sleep scores, recovery metrics, and stress indicators. Lab report parsing has been enhanced with multi-file upload support and improved error reporting with machine-readable failure reasons.
  • New asynchronous appointment booking capabilities allow configurable timeout handling for improved reliability. Added support for Sonora Quest lab provider and enhanced lab test creation with additional clinical notes and lab account fields. The orders endpoint now supports filtering by order transaction ID for better order management.
  • The SDK now supports Samsung Health as a manual provider option. Enhanced JSON serialization handling ensures more reliable API communication with explicit field marshaling support.
  • The SDK now includes three new client modules: Compendium, LabAccount, and OrderTransaction. Enhanced JSON serialization support has been added for several request types including UserCreateBody, CreateInsuranceRequest, and UserInfoCreateRequest.
  • The SDK now supports form URL encoded request bodies in addition to JSON. When endpoints specify "application/x-www-form-urlencoded" content type, request data will be automatically serialized as form data instead of JSON.
  • Breaking change: All import paths have been updated to use versioned packages (e.g., github.com/tryVital/vital-go/v505). Update your import statements to use the new versioned paths. All type names now require the v505 package prefix (e.g., vitalgo.User becomes v505.User).
  • The Go SDK module path has been updated to github.com/tryVital/vital-go/v505. Existing imports must be updated from 'github.com/tryVital/vital-go' to 'github.com/tryVital/vital-go/v505'. All type references using the 'vitalgo' package alias should be changed to 'v505'.
  • Import paths have changed from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. Update your import statements and replace vitalgo. type references with v505. to continue using the SDK.
  • New compendium search and conversion functionality for lab test data. The SDK now supports searching canonical lab tests and converting lab test identifiers between different provider formats through new types including ConvertCompendiumBody, SearchCompendiumBody, and related response structures.
  • New Compendium, Lab Account, and Order Transaction API modules are now available. The Compendium module provides health data search and conversion capabilities. The Lab Account module enables team lab account management. The Order Transaction module supports transaction tracking with result and PDF retrieval functionality.
  • New order transaction raw client available with methods for retrieving transaction data, lab results, and PDF reports. Added Bytes() utility function for creating byte slice pointers.

Update all import statements from "github.com/tryVital/vital-go" to "github.com/tryVital/vital-go/v505" to support Go modules versioning. This ensures proper dependency resolution and follows Go modules best practices for major version changes.

Key changes:
- Updated package import paths across all client files
- Modified type references to use v505 package prefix
- Added support for mobile SDK version headers in ConnectManualProvider
- Maintained all existing public API signatures and functionality

🌿 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