Fix crash when receiving non-utf8 data

This commit also changes return type of `load` and `load_primary`
to propagate errors during reading and parsing clipboard contents.
This commit is contained in:
Kirill Chibisov 2020-03-04 22:03:55 +03:00
parent 9855d34e4a
commit 2971386aea
3 changed files with 33 additions and 21 deletions

View file

@ -2,6 +2,9 @@
## Unreleased
- Fix crash when receiving non-utf8 data
- **Breaking** `load` and `load_primary` now return `Result<String>` to indicate errors
## 0.3.7 -- 2020-02-27
- Only bind seat with version up to 6, as version 7 is not yet supported by SCTK