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.37.10",
"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": "490713277bc34d3e43cde8608486b46ac79daef9",
"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
36 changes: 36 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## 2.0.0 - 2026-03-20
* The SDK now supports configurable logging through the new `logging()` method on `ClientOptions.Builder`. Additionally, SSE streaming capabilities have been enhanced with event-level discrimination support via new `fromSseWithEventDiscrimination()` methods on the `Stream` class.
* Breaking changes: The `parserCreateJob` methods that accepted `InputStream` parameters have been removed from `RawLabReportClient`. Use the `File`-based overloads instead. New optional fields are now available for lab test creation including `labAccountId` and `labSlug` for better lab provider integration.
* The SDK now supports tracking mobile SDK versions through new optional fields in manual connection data, enhanced appointment management with appointment notes, clinical notes for lab orders, and improved address handling with access notes. A new derived readiness column expression type is also available for aggregate queries.
* Breaking changes: The `jobId` field has been removed from `ParsingJob` - this field is no longer available. The `status` field in `GetOrderTransactionResponse` now returns an `OrderTransactionStatus` enum instead of a String. New optional fields added: `statusDetail` on `ClientFacingOrderEvent`, `orderTransaction` on `LabResultsRaw`, and `accessNotes` on all PatientAddress types for enhanced functionality.
* The SDK now supports derived readiness column expressions in query operations through QueryGroupByItem and QuerySelectItem. Additionally, UsAddress now includes an optional accessNotes field for delivery instructions.
* The SDK now supports additional lab and appointment providers including Sonora Quest, CRL, Samsung Health, and Tandem Source. New logging configuration is available through the VitalBuilder.logging() method to enable HTTP request/response debugging. The SDK also adds new client methods for compendium and lab account management, and supports corrected order statuses for completed lab orders.
* New `CompendiumClient` available for searching and converting exercise data. Use `client.compendium().search()` to find exercises and `client.compendium().convert()` to transform exercise formats.
* New lab account management capabilities added with `LabAccountClient.getTeamLabAccounts()` method. Added compendium search functionality with `ConvertCompendiumBody` and `SearchCompendiumBody` request types for discovering and converting lab test information across laboratory providers.
* The SDK now supports lab account management through the new `RawLabAccountClient.getTeamLabAccounts()` method, which allows filtering by account ID and status. Lab test orders can now include clinical notes via the `clinicalNotes` parameter in `CreateOrderRequestCompatible`.
* Request builders now support dynamic property addition with new `additionalProperty()` and `additionalProperties()` methods. These methods enable adding custom key-value pairs to requests at build time for enhanced flexibility.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on request builders, allowing custom key-value pairs to be added to API requests for enhanced flexibility.
* The SDK now supports additional properties on vitals request builders. New `additionalProperty()` and `additionalProperties()` methods are available on all vitals request classes, allowing you to pass custom key-value pairs when making vitals API calls.
* New `additionalProperty()` and `additionalProperties()` methods available on all vitals request builders, enabling custom properties to be added to API requests.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on request classes, allowing you to include custom fields in API requests. The `AppointmentBookingRequest` class also now supports an optional `appointmentNotes` field.
* New `CanonicalCandidate` type available for accessing biomarker metadata including LOINC codes, display names, confidence scores, and provider mappings. Enhanced builders now support dynamic property handling with `additionalProperty()` and `additionalProperties()` methods.
* The SDK now supports appointment notes through a new optional `appointmentNotes` field on `ClientFacingAppointment`. Additional builder convenience methods have been added across multiple types for easier programmatic construction.
* New builder methods for setting additional properties are now available on all data type builders. Use `additionalProperty(key, value)` to set individual properties or `additionalProperties(map)` to set multiple properties at once.
* The SDK now provides builder methods for managing additional properties on client-facing data types. New `additionalProperty()` and `additionalProperties()` methods are available on builders for diagnosis information, health metrics, and other data types to support extensible JSON handling.
* New `additionalProperty()` and `additionalProperties()` builder methods available on multiple ClientFacing data type builders. These methods allow setting custom key-value pairs during object construction for enhanced extensibility.
* New lab account management and parsing job event types are now available. The SDK includes ClientFacingLabAccount for managing lab provider accounts and new webhook events for lab report parsing job lifecycle tracking.
* New `additionalProperty()` and `additionalProperties()` builder methods available on all client-facing model types to support custom field extensions.
* The SDK now includes additionalProperty() and additionalProperties() methods on all builder classes, allowing developers to set custom properties when constructing client-facing types for enhanced flexibility and future extensibility.
* New `additionalProperty()` and `additionalProperties()` methods available on all builder interfaces. These methods allow setting custom properties on data objects during construction.
* The SDK now supports setting additional properties on builder objects through new `additionalProperty()` and `additionalProperties()` methods. This enables handling of dynamic API response fields not explicitly defined in the schema.
* New lab test compendium functionality with CompendiumSearchLabs enum supporting labcorp, quest, bioreference, and sonora_quest laboratories. Added ConvertCompendiumResponse class for handling lab test conversion results and DerivedReadinessColumnExpr types for readiness data queries. All builder classes now include additionalProperty() methods for enhanced data flexibility.
* Builder classes now support additional properties through new `additionalProperty()` and `additionalProperties()` methods, allowing dynamic extension of data models at runtime. A new `GetTeamLabAccountsResponse` type is also available for lab account operations.
* New builder methods `additionalProperty()` and `additionalProperties()` are now available on all grouped data type builders, allowing custom properties to be set on response objects in a fluent manner.
* New builder methods `additionalProperty()` and `additionalProperties()` available on all grouped data type builders (GroupedIge, GroupedSteps, GroupedStressLevel, etc.) for setting custom properties on response objects.
* The SDK now supports setting custom additional properties on builder objects through new additionalProperty() and additionalProperties() methods. Added support for DERIVED_READINESS in IndexColumnExprIndex and new lab account enums for delegation flows and status tracking.
* The SDK now supports setting additional properties on object builders. New `additionalProperty()` and `additionalProperties()` methods are available on builders for LoincMatch, Macros, MealColumnExpr, and other types. A new `PerLabCandidate` type has also been added.
* The SDK now supports new provider types (Tandem Source and Samsung Health) and includes enhanced builder methods for handling additional properties on all type classes. A new ProviderIdConversionResponse type is available for provider ID conversion operations.
* New compendium search types and result metadata enhancements are now available. The SDK adds `RelatedCandidate`, `SearchCompendiumResponse`, and `SearchMode` types for advanced search functionality. Result metadata now includes an optional `gender` field with the new `ResultMetadataGender` enum supporting male, female, and other values.
* The SDK now includes comprehensive US address support with a new UsState enum containing all 50 state abbreviations and a UserAddress class for structured address representation. All builder classes now support additional properties for improved extensibility.
* Builder classes for WorkoutColumnExpr, WorkoutDurationTimeseriesExpr, and WorkoutV2InDb now support additionalProperty() and additionalProperties() methods for setting custom properties beyond the standard API fields.

Loading
Loading