v3.6.1
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.
- Add support for pasting lists of files via
Set::file_listinterface by @Gae24 in https://github.com/1Password/arboard/pull/181 - Support
windows-sys0.60 inarboard's allowed version range by @complexspaces in https://github.com/1Password/arboard/pull/201
- Fix grammar and typos by @complexspaces and @gagath in https://github.com/1Password/arboard/pull/194 and https://github.com/1Password/arboard/pull/196
- Prefer PNG when pasting images on Windows by @wcassels in https://github.com/1Password/arboard/pull/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!
- Remove silent dropping of file paths when non-UTF8 was mixed in on Linux by @Gae24 in https://github.com/1Password/arboard/pull/197
- Fix parsing of 24-bit bitmaps on Windows by @wcassels in https://github.com/1Password/arboard/pull/198
- Example: Images with transparency copied by Firefox are now handled correctly, among others.
- @gagath made their first contribution in https://github.com/1Password/arboard/pull/196
- @wcassels made their first contribution in https://github.com/1Password/arboard/pull/198
Full Changelog: https://github.com/1Password/arboard/compare/v3.6.0...v3.6.1
v3.6.0
- Add support for excluding data from clipboard history on Linux.
arboard, in debug builds, now attempts to call out clipboard lifetime mishandling.- This is a debugging feature, and as such has no absolute or promised behavior.
- The background thread in the X11 backend no longer exits on every selection request failure.
- Handled cases where using an unsupported Primary clipboard on Wayland would return the wrong error.
- Clearing the clipboard on Linux now behaves correctly when interacting with other apps on the system.
- Pasting text with an explicit locale ID on Windows now works as intended.
- @MrSmoer made their first contribution in https://github.com/1Password/arboard/pull/155
- @crumblingstatue made their first contribution in https://github.com/1Password/arboard/pull/186
Full Changelog: https://github.com/1Password/arboard/compare/v3.5.0...v3.6.0
v3.5.0
- Add
file_listto theGetinterface. - Implement
Get::html()for all platforms.
- Updated
wl-clipboard-rsto0.9. - Improved
windows-sysversion compatibility range to support0.52-0.60. - Updated
objc2tov0.6. - Raised MSRV to 1.71.0.
- @hamirmahal made their first contribution in https://github.com/1Password/arboard/pull/169
- @Gae24 made their first contribution in https://github.com/1Password/arboard/pull/163
Full Changelog: https://github.com/1Password/arboard/compare/v3.4.1...v3.5.0
v3.4.1
- Added support for excluding macOS clipboard items from history.
- Note that macOS has no official history, so arboard's implementation uses a community standard instead.
- @Hinton made their first contribution in https://github.com/1Password/arboard/pull/159
Full Changelog: https://github.com/1Password/arboard/compare/v3.4.0...v3.4.1
v3.4.0
- Added a
wait_untilmethod for Linux, as a superset of the existingwaitfunctionality. This is a helper for letting an application wait without manual timeout handling.
- Transparency in copied images now behaves better in certain Windows apps.
- Updated
imageto0.25. - Removed direct
thiserrordependency. - Fixed Linux documentation links
- Raised MSRV to 1.67.1
- Reverted timeout behavior of
Clipboard::new()on platforms using X11. Applications are encouraged to wrap constructor calls in their own thread/channel timeout mechanisms instead to make sure the behavior matches each usecase. - Migrated away from
objcto theobjc2ecosystem for the Apple clipboard implementation.
Full Changelog: https://github.com/1Password/arboard/compare/v3.3.2...v3.4.0
v3.3.1
- Updated Windows clipboard and migrated from
winapitowindows-sys. - Internally migrated to Rust 2021 edition.
- Significantly improved the crate's error documentation.
- Updated
core-graphicsto0.23 - Updated
x11rbto0.13
Full Changelog: https://github.com/1Password/arboard/compare/v3.3.0...v3.3.1
v3.2.1
- Removed all leaks from the macOS clipboard code. Previously, both the
getandsetmethods leaked data. - Fixed documentation examples so that they compile on Linux.
- Removed extra whitespace macOS's HTML copying template. This caused unexpected behavior in some apps.
- Added a timeout when connecting to the X11 server on UNIX platforms. In situations where the X11 socket is present but unusable, the clipboard initialization will no longer hang indefinitely.
- Removed macOS-specific dependency on the
once_cellcrate.