Releases: 1Password/arboard
Releases Β· 1Password/arboard
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.
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
v3.6.0
Added
- 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.
Changed
- The background thread in the X11 backend no longer exits on every selection request failure.
Fixed
- 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.
New Contributors
- @MrSmoer made their first contribution in #155
- @crumblingstatue made their first contribution in #186
Full Changelog: v3.5.0...v3.6.0
v3.5.0
Added
- Add
file_listto theGetinterface. - Implement
Get::html()for all platforms.
Changed
- Updated
wl-clipboard-rsto0.9. - Improved
windows-sysversion compatibility range to support0.52-0.60. - Updated
objc2tov0.6. - Raised MSRV to 1.71.0.
New Contributors
- @hamirmahal made their first contribution in #169
- @Gae24 made their first contribution in #163
Full Changelog: v3.4.1...v3.5.0
v3.4.1
Added
- 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.
New Contributors
Full Changelog: v3.4.0...v3.4.1
v3.4.0
Added
- 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.
Fixed
- Transparency in copied images now behaves better in certain Windows apps.
Changed
- 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: v3.3.2...v3.4.0
v3.3.2
Fixed
- Fixed compilation on Windows when using the
image-datafeature combined with older Rust compilers.
v3.3.1
Changed
- 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: v3.3.0...v3.3.1
v3.3.0
Added
- Add support for
ExcludeClipboardContentFromMonitorProcessingon Windows platforms.
Changed
- Improved timeout error messaging.
- Update
wl-clipboard-rsto0.8. - Update
x11rbto0.12.
v3.2.1
Fixed
- 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.
Changed
- 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.
v3.2.0
Changed
- The Windows clipboard now behaves consistently with the other
platform implementations again. - Significantly improve cross-platform documentation of
Clipboard. - Remove lingering uses of the
dbg!macro in the Wayland backend.