Skip to content

feat: add new UserAddress type and update module paths#69

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

feat: add new UserAddress type and update module paths#69
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-18T10-31Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: Module path changed from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505, requiring import statement updates in consumer code.

  • The SDK now supports querying derived readiness metrics including sleep score, recovery score, stress indicators, and chronotype data through new DerivedReadinessColumnExpr. Lab report parsing has been enhanced to support multiple file uploads and provides more detailed failure reasons and optional metadata fields.
  • The SDK now supports asynchronous appointment booking with configurable timeout controls through new AsyncConfirmation, SyncConfirmationTimeoutMillisecond, and AsyncConfirmationTimeoutMillisecond parameters. Appointment notes can now be included when booking, rescheduling, or requesting appointments. Lab test creation supports new LabAccountId and LabSlug parameters for enhanced filtering. Order creation includes a new ClinicalNotes field, and order filtering supports OrderTransactionId. Address types now include AccessNotes for delivery instructions. Sonora Quest is now available as an appointment provider.
  • The SDK now supports additional fields for manual connections including iOS SDK version, Android SDK version, and granted permissions tracking. A new Samsung Health provider option is also available for manual provider connections.
  • The SDK now supports enhanced lab results with detailed biomarker data through new BiomarkerResult, LabResultsRaw, and LabResultsMetadata types. Address types now include an AccessNotes field for delivery instructions. New event types are available for lab report parsing job lifecycle tracking, and order transaction functionality has been added with ClientFacingOrderTransaction. Provider support has been expanded to include Samsung Health and Sonora Quest labs.
  • New UserAddress type available with comprehensive address field support. The SDK module path has been updated to github.com/tryVital/vital-go/v505. New client endpoints added for Compendium, LabAccount, and OrderTransaction services.
  • The SDK now supports form URL encoded request bodies for greater content type flexibility. Import paths have been updated to use the v505 module structure. Lab report parser job creation now supports multiple file uploads.
  • Breaking: The Go module import path has changed from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. Update all import statements in your code to use the new versioned path structure. All existing imports will need to be updated to reference the v505 module.
  • Breaking: Import paths have changed to support Go module versioning. Update all imports from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. This ensures proper version isolation and dependency management when using different SDK versions.
  • Breaking change: All import paths have been updated to use the versioned v505 module. Update your imports from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505 and change the package alias from vitalgo to v505.
  • Breaking change: All types have been moved from the vitalgo package to v505. Update your imports from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505 and change type references accordingly (e.g., vitalgo.User becomes v505.User).
  • Breaking change: All Go import paths have been updated from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. Update your import statements to use the new versioned package path.
  • The Go module 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 types and methods remain the same, only the import path has changed.
  • The SDK now supports lab test compendium operations with new types for searching canonical lab test markers and converting provider IDs between different lab systems (Labcorp, Quest, Bioreference, and Sonora Quest).
  • New Compendium, LabAccount, and OrderTransaction clients are now available, providing methods for medical data search/conversion, lab account management, and order transaction tracking with PDF result support.
  • New order transaction client available with methods to retrieve transaction details, lab results, and PDF reports. The SDK also includes a new Bytes() utility function for working with byte slice pointers.

Updates the Go module path from github.com/tryVital/vital-go to 
github.com/tryVital/vital-go/v505 across all packages. Introduces
new UserAddress type with complete address field support and adds
new client endpoints for Compendium, LabAccount, and OrderTransaction.

Key changes:
- Add UserAddress type with address fields (first_line, country, zip, etc.)
- Update all import paths to use v505 module version
- Add Compendium, LabAccount, and OrderTransaction client endpoints
- Update UserInfo and UserInfoCreateRequest to use UserAddress instead of Address
- Add JSON marshaling/unmarshaling methods to request types
- Change CreateInsuranceRequest.Insured field from optional to required

🌿 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