# Change Log
All notable changes to this project will be documented in this file.

## Unreleased

## 6.20.0 - 2025-12-04

### Added
- Attention score in driving insights. (ATOM-60)
- Introduced `CallEvent` as a replacement for `CallWhileMovingEvent`, with an additional field `handsFreeState`. (ATOM-60)
- Added a new `callState` field to `PhoneUsageEvent`. (ATOM-60) 

### Changed
- Updated the Android and iOS Sentiance SDKs to v6.20.

### Deprecated
- Deprecated the `CallWhileMovingEvent` type and the `getCallWhileMovingEvents` API. (ATOM-60)

## 6.19.0 - 2025-11-07

### Added
- A new API to submit vehicle crash feedback. (ATOM-848)

### Fixed
- Added the `SentianceDrivingInsights` iOS native module to the modules map (fixes versioning issue). (ATOM-998)
- Wrong occupant role feedback result on iOS. (ATOM-1068)
- Wrong driving insights API signatures (`getDrivingInsights` + `getAverageOverallSafetyScore`). (ATOM-1153)

## 6.18.1 - 2025-10-10

### Fixed
- iOS build failure due to "RNSentianceCore-Swift.h file not found" when the app's Podfile specifies `use_modular_headers!`. (ATOM-1031)

## 6.18.0 - 2025-09-30

### Added
- Support reporting wrong way events and score. (ATOM-722)
- Support a new crash diagnostics output: `crash candidate discarded - accuracy before impact is too bad`. (ATOM-847)

## 6.17.0 - 2025-08-29

### Changed
- Updated the Android and iOS native SDKs to v6.17.0.

## 6.16.0 - 2025-07-31

### Added
- Enable module definition for the iOS native core module. (ATOM-603)

## 6.15.0 - 2025-07-11

### Added
- `detectorMode` field to vehicle crash events. (ATOM-373)
- Make the iOS native modules static frameworks. (ATOM-602)

### Fixed
- Issue preventing the SDK from discovering whether new arch mode is enabled, causing the event listeners to not work on Android. (ATOM-605, ATOM-673)
- Error when setting crash event/diagnostic listeners on iOS, when the new architecture mode is enabled. (ATOM-683)

## 6.14.1 - 2025-06-26

### Fixed
- Support event listener registration in both old and new architecture modes on Android. (ATOM-605)

## 6.14.0 - 2025-06-17

### Added
- `canMonitorGeofences` field to the SDK status. (ATOM-455)

## 6.13.0 - 2025-04-30

### Changed
- Updated the Android minSdkVersion for all packages from 23 to 24, to match that of the upcoming native SDK version. (ATOM-419)
- Updated the iOS deployment target for all packages from 12.0 to 13.0, to match that of the upcoming native SDK version. (ATOM-419)
- Updated the native Android and iOS SDKs to v6.13.0.

## 6.12.0 - 2025-03-28

### Added
- Add acceleration, turning and braking harsh driving scores. (ATOM-117)
- Expose the vehicle crash severity. (ATOM-234)

### Changed
- Change the waypoints' `speedLimitInMps` value from `undefined` to `Number.MAX_VALUE` if the waypoint has an unlimited speed limit. (ATOM-227)

### Deprecated
- `listenVehicleCrashEvents` is now deprecated. (ATOM-234)

## 6.11.0 - 2025-02-28

### Added
- Update the APIs to support provisional timeline events. (ATOM-2)

## 6.10.1 - 2025-02-07

### Fixed
- Add missing occupant role info to Typescript definition files. (ATOM-109)

## 6.10.0 - 2025-02-07

### Added
- Support for tagging transports. (SDK1-2940)
- Add last update time info to the driving insights + user context's transport events. (SDK1-2940)
- Expose confidence + harsh driving event type. (SDK1-2998)
- Include waypoints in driving events reported to the app. (SDK1-2968)
- Provide an API to query the user-level score. (ATOM-50)
- Add occupant role to transport event and allow the user to submit feedback for the occupant role. (SDK1-3079)

### Fixed
- Added user context update criteria to the public typescript API. (SDK1-2943)
- A bug on iOS where the bicycle transport mode is exposed as `BYCICLE` instead of `BICYCLE`. (ATOM-50)

## 6.9.1-rc.2 - 2024-11-12

### Changed
- Updated the native SDKs to `6.9.1-rc2`.

## 6.9.1-rc.1 - 2024-11-04

### Changed
- Updated the native SDKs to `6.9.1-rc1`.

## 6.9.0 - 2024-10-04

### Changed
- Updated the native SDKs' versions to `6.9.0`.

## 6.8.0 - 2024-07-05

### Added
- Android: added the sdk-lifestyle module as a dependency to the user-context. (SDK1-2694)
- New smart-geofences module to support Smart Geofences. (SDK1-2662)

### Changed
- Updated the Android target and compile SDK version to 34. (SDK1-2733)

## 6.7.1 - 2024-04-22

### Fixed
- Return segment attributes as an array of attributes, instead of a dictionary of attributes. (SDK1-2691)

## 6.7.0 - 2024-04-05

### Added
- Public APIs for controlling mobile data usage, in line with the added native SDK APIs. (SDK1-2553)
- Support for `isLocationAvailable` SDK status property for iOS. (SDK1-2592)

### Changed
- Replace `EventTimelineApi` with `SentianceEventTimeline`, and provide `EventTimelineApi` as an alias instead. (SDK1-2553)
