Releases: 1Password/arboard
Releases · 1Password/arboard
v3.4.1
v3.4.0
Added
- 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.
Fixed
- Transparency in copied images now behaves better in certain Windows apps.
Changed
- 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.
Full Changelog: v3.3.2...v3.4.0
v3.3.2
Fixed
- Fixed compilation on Windows when using the
image-data
feature combined with older Rust compilers.
v3.3.1
Changed
- 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
Full Changelog: v3.3.0...v3.3.1
v3.3.0
Added
- Add support for
ExcludeClipboardContentFromMonitorProcessing
on Windows platforms.
Changed
- Improved timeout error messaging.
- Update
wl-clipboard-rs
to0.8
. - Update
x11rb
to0.12
.
v3.2.1
Fixed
- 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.
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_cell
crate.
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.
v3.1.1
Added
- Implemented the ability to set HTML on the clipboard
Changed
- Updated minimum
clipboard-win
version to4.4
. - Updated
wl-clipboard-rs
to the version0.7
.
v3.1.0
Changed
- Updated
image
to the version0.24
. - Lowered Wayland clipboard initialization log level.
v3.0.0
Added
- 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
awrite
call to a X11 and Wayland or clipboard
Changed
- 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 usingarboard::Clipboard
and
the new platform-specific extension traits instead.