diff options
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c94e170..9e675f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,12 @@ SPDX-License-Identifier: CC0-1.0 # Unreleased - Add `String` value to the `Error::UnexpectedError` variant. -- Always store serial numbers as integers: +- Always store serial numbers as structs: + - Introduce the `SerialNumber` struct. - Change the return type of `Device::get_serial_number` from `Result<String, - _>` to `Result<u32, _>`. + _>` to `Result<SerialNumber, _>`. - Change the type of the field `DeviceInfo.serial_number` from - `Option<String>` to `Option<u32>`. + `Option<String>` to `Option<SerialNumber>`. - Use `NK_get_status` instead of `NK_read_config` to implement the `Device::get_config` function. |