diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d5a7b8..882ceb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,29 @@ # Change Log Breaking changes and additions to Onfleet SDK will be documented in this file. +## [0.14.0] + +Breaking changes to API + +### Added Features + +- Driver roles and hub assignments (driver profile now carries its role and hubs) +- On-duty geofence enforcement configuration +- Camera attachment requirement on pick-up / drop-off task failure + +### Added + +- Role enum added (`Role`: `DRIVER`, `ORGANIZER`, `ALL`) +- Hub model added (`Hub`: id, name, location) +- Driver now exposes `role` (Role) and `hubs` (List) +- OnDutyGeofenceConfig model added (`OnDutyGeofenceConfig`: requirementLevel, radiusMeters) +- Organization now exposes `onDutyGeofence` (OnDutyGeofenceConfig) settings +- Organization now exposes `cameraAttachmentOnPickUpFailure` and `cameraAttachmentOnDropOffFailure` (OrganizationRequirement) failure requirements + +### Changed + +- Driver/Organization public constructor signatures expanded with the fields above (callers passing positional args must update) + ## [0.13.0] Breaking changes to API diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c5159fc..9727bd0 100755 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -14,7 +14,7 @@ android { minSdk = 26 targetSdk = 36 versionCode = 1 - versionName = "0.13.0" + versionName = "0.14.0" } buildTypes { release { @@ -36,7 +36,7 @@ android { } dependencies { - implementation("com.onfleet:driver:0.13.0") + implementation("com.onfleet:driver:0.14.0") implementation("androidx.appcompat:appcompat:1.7.1") implementation("org.jetbrains.kotlin:kotlin-stdlib:2.4.0") implementation("androidx.exifinterface:exifinterface:1.4.2")