# 1.20.0 -> 1.21.0

## Breaking changes

* VehicleID parameter in **associateDevice** API has been renamed from `toVehichleId` to `toVehicleId`

```swift
import Devices

IMSDeviceManager.associateDevice(bluetoothDevice, toVehicleId: nil)
```

* The trip detection enable api has been modified

```swift
import TripDetectionUmbrella

let tripDetectionManager = TripDetectionManager(identity: identity,
                                                uploadRoute: uploadRouteType
                                                telemetryEvents: telemetryEvents,
                                                features: features)
        
tripDetectionManager.enable { (state, date) in
    switch state {
    case .potentialTrip:
        log.d("Potential trip at \(date)!")
    case .confirmedTrip:
        log.d("Confirmed trip at \(date)!")
    case .endedTrip:
        log.d("Trip ended at \(date)!")
    @unknown default:
        log.e("Error fetching trip states with date!")
    }
}
```

For more details on `TripDetectionManager` arguments, check [here](/readme/ios/initializing-the-sdk.md#identity).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.ims.tech/migration-notes/ios/older-releases/1.20.0-greater-than-1.21.0.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
