Skip to content

Releases: 1Password/arboard

v3.4.0

29 Apr 06:03
Compare
Choose a tag to compare

Added

  • Added a wait_until method for Linux, as a superset of the existing wait 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 to 0.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 the objc2 ecosystem for the Apple clipboard implementation.

Full Changelog: v3.3.2...v3.4.0

v3.3.2

02 Mar 19:42
Compare
Choose a tag to compare

Fixed

  • Fixed compilation on Windows when using the image-data feature combined with older Rust compilers.

v3.3.1

12 Feb 23:50
Compare
Choose a tag to compare

Changed

  • Updated Windows clipboard and migrated from winapi to windows-sys.
  • Internally migrated to Rust 2021 edition.
  • Significantly improved the crate's error documentation.
  • Updated core-graphics to 0.23
  • Updated x11rb to 0.13

Full Changelog: v3.3.0...v3.3.1

v3.3.0

20 Nov 22:19
Compare
Choose a tag to compare

Added

  • Add support for ExcludeClipboardContentFromMonitorProcessing on Windows platforms.

Changed

  • Improved timeout error messaging.
  • Update wl-clipboard-rs to 0.8.
  • Update x11rb to 0.12.

v3.2.1

29 Aug 05:35
Compare
Choose a tag to compare

Fixed

  • Removed all leaks from the macOS clipboard code. Previously, both the get and set 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

04 Nov 18:21
Compare
Choose a tag to compare

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

18 Oct 03:36
Compare
Choose a tag to compare

Added

  • Implemented the ability to set HTML on the clipboard

Changed

  • Updated minimum clipboard-win version to 4.4.
  • Updated wl-clipboard-rs to the version 0.7.

v3.1.0

21 Sep 02:26
Compare
Choose a tag to compare

Changed

  • Updated image to the version 0.24.
  • Lowered Wayland clipboard initialization log level.

v3.0.0

19 Sep 22:22
Compare
Choose a tag to compare

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
    a write call to a X11 and Wayland or clipboard

Changed

  • Updated wl-clipboard-rs to the version 0.6.
  • Updated x11rb to the version 0.10.
  • Cleaned up spelling in documentation
  • (Breaking) Functions that used to accept String now take Into<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.

v2.1.1

18 May 23:28
Compare
Choose a tag to compare

Changed

  • Fix compilation on FreeBSD
  • Internal cleanup and documentation fixes
  • Remove direct dependency on the once_cell crate.
  • Fixed crates.io repository link