# Migration v8

Contains 1 breaking change of the SDK interface.

## Changes

- [changePassword](#changePassword)

### changePassword

- This breaking changes is due to the change of the order of the parameters. `ReasonForChange` is always required and therefore has been moved to the second position whereas newPassword, oldPassword and resetPasswordToken are not required for every reasonForChange value [see changePassword](../services/AUTHORISATION.md#changePassword)

```diff
- authorisation.changePassword(userId, newPassword, oldPassword, resetPasswordToken, reasonForChange);
+ authorisation.changePassword(userId, reasonForChange, newPassword, oldPassword, resetPasswordToken);
```
