- 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.
- Added a
wait_until
method for Linux, as a superset of the existingwait
functionality. 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
image
to0.25
. - Removed direct
thiserror
dependency. - 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
objc
to theobjc2
ecosystem for the Apple clipboard implementation.
- Fixed compilation on Windows when using the
image-data
feature combined with older Rust compilers.
- Updated Windows clipboard and migrated from
winapi
towindows-sys
. - Internally migrated to Rust 2021 edition.
- Significantly improved the crate's error documentation.
- Updated
core-graphics
to0.23
- Updated
x11rb
to0.13
- Add support for
ExcludeClipboardContentFromMonitorProcessing
on Windows platforms.
- Improved timeout error messaging.
- Update
wl-clipboard-rs
to0.8
. - Update
x11rb
to0.12
. arboard
's MSRV is now 1.61.
- Removed all leaks from the macOS clipboard code. Previously, both the
get
andset
methods 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_cell
crate.
- 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.
- Implemented the ability to set HTML on the clipboard
- Updated minimum
clipboard-win
version to4.4
. - Updated
wl-clipboard-rs
to the version0.7
.
- Updated
image
to the version0.24
. - Lowered Wayland clipboard initialization log level.
- Support for clearing the clipboard.
- Spport for excluding Windows clipboard data from cliboard history and OneDrive.
- Support waiting for another process to read clipboard data before returning
from a
write
call to a X11 and Wayland or clipboard
- Updated
wl-clipboard-rs
to the version0.6
. - Updated
x11rb
to the version0.10
. - Cleaned up spelling in documentation
- (Breaking) Functions that used to accept
String
now takeInto<Cow<'a>, str>
instead. This avoids cloning the string more times then necessary on platforms that can. - (Breaking)
Error
is now marked as#[non_exhaustive]
. - (Breaking) Removed all platform specific modules and clipboard structures from the public API.
If you were using these directly, the recommended replacement is using
arboard::Clipboard
and the new platform-specific extension traits instead. - (Breaking) On Windows, the clipboard is now opened once per call to
Clipboard::new()
instead of on each operation. This means that instances ofClipboard
should be dropped once you're performed the needed operations to prevent other applications from working with it afterwards.
- Fix compilation on FreeBSD
- Internal cleanup and documentation fixes
- Remove direct dependency on the
once_cell
crate. - Fixed crates.io repository link
- Updated most dependencies
- Removed crate deprecation
- Fixed soundness bug in Windows clipboard
- On X11, re-assert clipboard ownership every time the data changes.
- Update dependency on yanked crate versions
- Make the image operations an optional feature
- Support selecting which linux clipboard is used
- Fixed a bug that caused the
set_image
function on Windows to distort the image colors.
- Optional native wayland support through the
wl-clipboard-rs
crate.
- The
set_image
function on Windows now also provides the image inCF_BITMAP
format.
- Fixed the clipboard contents sometimes not being preserved after the program exited.