Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 4 additions & 3 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"cliVersion": "3.48.2",
"cliVersion": "4.33.0",
"generatorName": "fernapi/fern-java-sdk",
"generatorVersion": "3.33.2",
"generatorVersion": "3.39.1",
"generatorConfig": {
"publish-to": "central",
"base-api-exception-class-name": "ApiError",
"client-class-name": "Vital",
"enable-forward-compatible-enums": false
},
"sdkVersion": "1.2.605"
"originGitCommit": "f444fe6263faadf48b2301daab41ad5748f3aeee",
"sdkVersion": "2.0.0"
}
1 change: 1 addition & 0 deletions .fernignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Specify files that shouldn't be modified by Fern

README.md
changelog.md
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ java {

group = 'io.tryvital'

version = '1.2.605'
version = '2.0.0'

jar {
dependsOn(":generatePomFileForMavenPublication")
Expand Down Expand Up @@ -78,7 +78,7 @@ publishing {
maven(MavenPublication) {
groupId = 'io.tryvital'
artifactId = 'vital-java'
version = '1.2.605'
version = '2.0.0'
from components.java
pom {
name = 'vital'
Expand Down
40 changes: 40 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## 2.0.0 - 2026-03-18
* The SDK now supports configurable logging through the ClientOptions.Builder.logging() method. Logging is silent by default and must be explicitly enabled. Enhanced SSE streaming capabilities are available with new event-level discrimination support for handling discriminated union payloads in server-sent events.
* The `parserCreateJob` methods that accepted `InputStream` parameters have been removed from `RawLabReportClient`. Use the `File`-based overloads instead. Additionally, lab test APIs now support new optional fields including lab account ID, lab slug, and appointment notes.
* The SDK now supports SDK version tracking for manual connections, clinical notes for orders, and access notes for addresses. New optional fields include vitalIosSdkVersion and vitalAndroidSdkVersion in ManualConnectionData, clinicalNotes in ClientFacingOrder, accessNotes in Address, grantedPermissions in ManualConnectionData, and appointmentNotes in AppointmentRescheduleRequest. Enhanced data querying with new derived readiness column expressions.
* The `GetOrderTransactionResponse.getStatus()` method now returns an `OrderTransactionStatus` enum instead of a String. Update code to handle the enum type. The `ParsingJob.getJobId()` method has been removed - use `ParsingJob.getId()` instead for the parsing job identifier.
* The `UserInfo.getAddress()` method now returns `UserAddress` instead of `Address`. Update your code to use the new return type, which includes the same fields plus an optional `AccessNotes` field. New `DerivedReadinessColumnExpr` variant is available in `QuerySelectItem` for readiness data queries.
* The getMarkers() methods now accept an optional lab_slug parameter for filtering markers by laboratory. Updated method documentation clarifies that getMarkers() returns only active and orderable markers (excluding reflex markers), while getMarkersForLabTest() includes reflex markers.
* The SDK now supports filtering markers by lab slug using the `lab_slug` parameter in the `getMarkers` method. Additionally, iOS and Android SDK version headers can now be included when connecting manual providers.
* The SDK now includes a comprehensive logging framework for monitoring HTTP requests and responses. Developers can configure logging levels (DEBUG, INFO, WARN, ERROR) and provide custom logger implementations. Logging is silent by default and can be enabled via the new `logging()` method on SDK builders.
* New lab testing providers are now supported: Sonora Quest and CRL labs are available for appointment booking and test processing. Samsung Health integration is now available for manual data entry. The SDK also adds support for Apero and PVerify payor verification services.
* Additional order status tracking is now available for corrected test results, and new CompendiumClient and LabAccountClient provide access to expanded lab testing capabilities.
* New compendium API endpoints for searching and converting food items are now available through the CompendiumClient. The SDK also includes new SSE event parsing utilities for handling Server-Sent Events with discriminated unions.
* New compendium search and conversion capabilities available through ConvertCompendiumBody and SearchCompendiumBody request classes. The SDK now includes LabAccountClient with getTeamLabAccounts() method for managing laboratory accounts.
* New lab account management capabilities are now available through the `RawLabAccountClient` class with `getTeamLabAccounts()` method for retrieving and filtering team lab accounts. Lab test order creation now supports an optional `clinicalNotes` field for enhanced documentation during the ordering process.
* New `additionalProperty()` and `additionalProperties()` methods available on all request builders. These methods allow passing custom key-value pairs in API requests for enhanced flexibility.
* New convenience methods `additionalProperty()` and `additionalProperties()` are now available on all request builders, providing a fluent interface for setting custom properties on API requests.
* New builder methods additionalProperty() and additionalProperties() are now available on all vitals request classes, allowing you to set custom properties on API requests using a fluent builder pattern.
* The SDK now supports adding custom properties to all vitals request builders via new `additionalProperty()` and `additionalProperties()` methods.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on request builders, allowing custom key-value pairs to be passed for forward compatibility. The `AppointmentBookingRequest` builder also supports a new optional `appointmentNotes` field for custom booking annotations.
* New `CanonicalCandidate` type available for lab test canonicalization with LOINC codes, provider IDs, aliases, and confidence scoring. Builder classes now include convenience methods `additionalProperty()` and `additionalProperties()` for easier custom property management.
* The SDK now supports an optional `appointmentNotes` field on `ClientFacingAppointment` objects. Additionally, builder classes across the SDK now include `additionalProperty()` and `additionalProperties()` methods for enhanced flexibility when constructing objects.
* New `additionalProperty()` and `additionalProperties()` builder methods are now available across all client-facing data types. These methods allow you to add custom properties to model objects that will be preserved during serialization.
* The SDK now provides builder methods for setting additional properties on all client-facing data types. Use `additionalProperty(key, value)` or `additionalProperties(map)` when building objects to include custom key-value pairs.
* The SDK now supports setting additional properties on Client Facing types through new builder methods. Use `additionalProperty(key, value)` or `additionalProperties(map)` on any Client Facing type builder to include custom fields.
* The SDK now supports comprehensive lab account management through the new ClientFacingLabAccount type, enabling configuration of lab delegation flows, billing settings, and team allowlists. New lab report parsing job events (ClientFacingLabReportParsingJobCreatedEvent and ClientFacingLabReportParsingJobUpdatedEvent) are available for tracking document processing workflows. All existing builder types now include additionalProperty() methods for extended metadata support.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on all client-facing type builders. These methods allow setting custom key-value pairs on API response objects during construction.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on all data model builders, enabling custom field extensions when constructing objects.
* The SDK now supports setting additional properties on objects during construction. New `additionalProperty(String key, Object value)` and `additionalProperties(Map<String, Object>)` methods are available on all builder classes, enabling more flexible object creation.
* New `additionalProperty()` and `additionalProperties()` methods available on all model builder classes for setting dynamic properties.
* New compendium conversion API available with `ConvertCompendiumResponse` class for converting lab tests between different providers. Added `CompendiumSearchLabs` enum supporting LABCORP, QUEST, BIOREFERENCE, and SONORA_QUEST. Enhanced all model builders with `additionalProperty()` and `additionalProperties()` methods for better handling of unknown API response fields.
* The SDK now supports setting additional properties on model builders through new `additionalProperty()` and `additionalProperties()` methods. This provides better forward compatibility when the API adds new fields. A new `GetTeamLabAccountsResponse` class is also available for team lab account operations.
* New `additionalProperty()` and `additionalProperties()` methods available on all Grouped data type builders. These methods allow adding custom key-value pairs to objects during construction for enhanced extensibility.
* New builder methods available for setting additional properties on grouped data types. The `additionalProperty()` and `additionalProperties()` methods can be used when building grouped response objects programmatically.
* The SDK now supports additional properties in builder patterns through new `additionalProperty()` and `additionalProperties()` methods. New enum value `DERIVED_READINESS` added to `IndexColumnExprIndex`, and new enum classes `LabAccountDelegatedFlow` and `LabAccountStatus` are available.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on all data model builders, enabling programmatic access to set custom properties on response objects.
* New `PerLabCandidate` type available for laboratory test candidate matching, providing access to marker IDs, lab information, LOINC codes, CPT codes, and confidence scores. All builder classes now include `additionalProperty()` and `additionalProperties()` methods for handling custom fields.
* New types available for provider ID conversion operations: `ProviderIdConversionResponse` and `RelatedCandidate`. Added support for Samsung Health provider and gender field in result metadata. All model builders now support additional properties via `additionalProperty()` and `additionalProperties()` methods.
* New `SearchCompendiumResponse`, `SearchMode`, and `UsState` types are now available in the SDK. The SDK also adds missing builder methods for additional properties on existing types.
* New `UserAddress` type available for handling user address information. Enhanced builder pattern support across existing model classes with additional property methods.

Loading
Loading