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.46.6",
"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": "0e5bbce7376c65399cee348cff22cc745aa5b98e",
"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
37 changes: 37 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## 2.0.0 - 2026-03-27
* The INSULIN_INJECTION timeseries type has been removed from IntervalTimeseriesExprTimeseries. Code referencing this enum value will need to be updated. Additionally, InputStream-based methods for creating lab report parser jobs have been removed - use File-based methods instead. The SDK now includes logging configuration support through ClientOptions.
* The `parserCreateJob` methods that accept `InputStream` parameters have been removed from `RawLabReportClient`. Use the `File`-based overloads instead. New lab configuration fields `labAccountId` and `labSlug` are now available in lab test requests for enhanced provider selection.
* The SDK now supports additional optional fields for enhanced data collection: SDK version tracking and permission management in manual connections, access notes for addresses, appointment notes for rescheduling requests, and new derived readiness and insulin injection expression types for data aggregation.
* Breaking changes: The `parentId` field has been removed from `ClientFacingOrder`. The `getStatus()` method in `GetOrderTransactionResponse` now returns `OrderTransactionStatus` enum instead of `String`. New optional fields added for insulin delivery details (`deliveryMode`, `deliveryForm`, `bolusPurpose`), order clinical notes, and lab result order transactions.
* The `jobId` field and `getJobId()` method have been removed from the `ParsingJob` class. Code that accesses this field should be updated to use the `id` field instead. Additionally, patient address classes now support an optional `accessNotes` field for delivery instructions.
* The `UserInfo.address` field now uses the `UserAddress` type instead of the generic `Address` type. The `UsAddress` class now includes an optional `access_notes` field for additional delivery instructions.
* The getMarkers method now supports filtering by lab_slug parameter. Enhanced documentation clarifies marker types returned by different endpoints.
* The SDK now includes a comprehensive logging framework for debugging HTTP requests and responses. Configure logging using the new `logging()` method on `VitalBuilder` - the SDK is silent by default. New enum values have been added across lab providers (SONORA_QUEST, CRL), manual providers (SAMSUNG_HEALTH), password providers (TANDEM_SOURCE), and order statuses to support expanded testing capabilities. Two new client modules are now available: `CompendiumClient` for lab test catalogs and `LabAccountClient` for lab account management.
* New CompendiumClient available with search() and convert() methods for exercise compendium operations. Enhanced SSE event parsing support with SseEventParser utility class for handling Server-Sent Events with discriminated unions.
* The SDK now supports compendium operations for lab test management. New `ConvertCompendiumBody` and `SearchCompendiumBody` classes enable searching lab test catalogs and converting tests between different laboratory providers. Additionally, the new `LabAccountClient` provides team-level lab account management capabilities.
* The SDK now includes a new RawLabAccountClient for managing lab accounts, with methods to retrieve team lab accounts filtered by ID and status. Additionally, lab test orders now support an optional clinicalNotes field for including clinical information with orders.
* The SDK now supports passing additional properties on all request objects through new `additionalProperty()` and `additionalProperties()` builder methods. This enables custom fields beyond the defined schema to be included in API requests.
* The SDK now provides standardized methods for adding custom properties to request objects. All request builders now include `additionalProperty(String key, Object value)` and `additionalProperties(Map<String, Object> additionalProperties)` methods for enhanced request customization.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on all vitals request builders, allowing dynamic property extension for flexible API request customization.
* New `additionalProperty()` and `additionalProperties()` methods available on all vitals request builders for passing extra key-value pairs to API calls.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on request and type classes, allowing custom key-value pairs to be set. The `AppointmentBookingRequest` class now supports an optional `appointmentNotes` field for adding notes to appointment bookings.
* The SDK now includes a new `CanonicalCandidate` class for working with biomarker canonical candidates, featuring LOINC codes, aliases, provider IDs, and confidence scoring. Builder classes now support `additionalProperty()` and `additionalProperties()` methods for handling dynamic fields in API responses.
* New optional `appointmentNotes` field available on `ClientFacingAppointment` objects. Builder classes now include `additionalProperty()` and `additionalProperties()` methods for easier handling of additional metadata.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on all model classes, allowing dynamic property assignment during object construction.
* The SDK now supports insulin pump as a device source type for health data collection. Additionally, all model builders now include methods for setting additional properties, providing better extensibility for future API enhancements.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on all client-facing data type builders, enabling programmatic setting of additional JSON properties not defined in the schema.
* New insulin injection enums available for tracking bolus purpose, delivery form, and delivery mode. The SDK now includes ClientFacingLabAccount model for lab account management and new lab report parsing job event classes for webhook handling.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on client-facing classes for setting custom properties. The `ClientFacingMenstrualCycleSourceType` enum now includes `INSULIN_PUMP` as a supported source type.
* New builder methods for additional properties are now available on all client-facing types. Use `additionalProperty(key, value)` and `additionalProperties(map)` methods in builders to set custom fields on model objects. The ClientFacingSleepCycleSourceType enum also includes a new INSULIN_PUMP value.
* New `additionalProperty()` and `additionalProperties()` methods available on all ClientFacing type builders for setting custom properties with a fluent API.
* The SDK now supports setting custom properties on all client-facing types through new `additionalProperty()` and `additionalProperties()` methods on builder classes. These methods allow adding arbitrary key-value pairs that are preserved during serialization.
* The SDK now includes additionalProperty() and additionalProperties() methods on all builder classes for handling custom properties. New types ConvertCompendiumResponse, CompendiumSearchLabs enum, and DerivedReadinessColumnExpr are available for lab test conversion and readiness data functionality.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on all model objects for setting custom properties. The SDK also adds support for retrieving team lab accounts with the new `GetTeamLabAccountsresponse` class.
* New `additionalProperty()` and `additionalProperties()` builder methods are now available on all Grouped* type builders, enabling clients to set custom properties during object construction.
* Builder classes for grouped data types now support `additionalProperty()` and `additionalProperties()` methods for setting custom JSON properties during object construction.
* The SDK now supports additional property methods on builder classes for extended customization. New insulin injection timeseries expression types are available for health data queries. A new derived readiness index and lab account delegation flow enum have been added for enhanced functionality.
* New LabAccountStatus and OrderStatusDetail enums are now available for tracking lab account and order states. All model builders now support additionalProperty() methods for handling unknown API response fields.
* New PerLabCandidate type available for representing laboratory test marker candidates with detailed LOINC and CPT code information.
* The SDK now supports provider ID conversion with new `ProviderIdConversionResponse` and `RelatedCandidate` types. Added support for TANDEM_SOURCE and SAMSUNG_HEALTH providers. Enhanced `ResultMetadata` with an optional gender field.
* New SearchCompendiumResponse type available for compendium search operations with support for canonical and crosswalk search modes. The SDK also now includes a UsState enum for US state validation and improved builder pattern support across existing types.

Loading
Loading