This release focuses on improving compatibility with data in the real world and bug fixes. It also includes a new Set API for working with file paths via drag-and-drop interfaces across Linux, macOS, and Windows.
This release also marks the start of exclusively publishing changelogs via GitHub Releases. The old CHANGELOG.md has been removed due to maintenance overhead and duplication. v3.6.0 is the last revision to include this file.
Added
- Add support for pasting lists of files via
Set::file_listinterface by @Gae24 in #181 - Support
windows-sys0.60 inarboard's allowed version range by @complexspaces in #201
Changed
- Fix grammar and typos by @complexspaces and @gagath in #194 and #196
- Prefer PNG when pasting images on Windows by @wcassels in #198
- Note: This change greatly increases compatibility for "complicated" images that contain alpha values and/or transparent pixels. Support for transparency in
BITMAPformats is ill-defined and inconsistently implemented in the wild, but is consistent inPNG. Most applications loading images onto the clipboard includePNG-encoded data already.
- Note: This change greatly increases compatibility for "complicated" images that contain alpha values and/or transparent pixels. Support for transparency in
- Bitmap images pasted on Windows now use the
imagecrate instead of a homegrown internal parser.- This should not regress any existing Bitmap use cases and instead will provide more consistent and robust parsing. If you notice something now broken, please open an issue!
Fixed
- Remove silent dropping of file paths when non-UTF8 was mixed in on Linux by @Gae24 in #197
- Fix parsing of 24-bit bitmaps on Windows by @wcassels in #198
- Example: Images with transparency copied by Firefox are now handled correctly, among others.
New Contributors
Full Changelog: v3.6.0...v3.6.1