Skip to content

chore(deps): bump hjkl-clipboard from 0.4.8 to 0.5.3#34

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/hjkl-clipboard-0.5.3
Closed

chore(deps): bump hjkl-clipboard from 0.4.8 to 0.5.3#34
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/hjkl-clipboard-0.5.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 6, 2026

Bumps hjkl-clipboard from 0.4.8 to 0.5.3.

Changelog

Sourced from hjkl-clipboard's changelog.

[0.5.3] - 2026-05-05

Fixed

  • Wayland self-paste no longer deadlocks. When the consumer owns the clipboard data_source and then calls get(Clipboard, …) (e.g. CEF reading the system clipboard during a Ctrl+V into a contentEditable), the bg thread previously issued offer.receive(write_fd) and blocked in read_fd_to_end(read_fd), but the matching data_source.send event for our own source could not be dispatched while the bg thread was stuck in that read. do_get now short-circuits when state.clipboard_source is Some and returns the cached payload directly, bypassing the pipe round-trip entirely. Same for Selection::Primary via state.primary_source. Closes kryptic-sh/buffr#34 (issue #4 follow-up — 0.5.2 only fixed the inverse direction where an external app pasted from us).

[0.5.2] - 2026-05-05

Fixed

  • Wayland data_source.send callback no longer performs a blocking write() on the bg thread. The write fd received via SCM_RIGHTS is immediately set to O_NONBLOCK; if the pipe buffer is full (EAGAIN) the write is deferred as a PendingWrite entry and drained on the next poll(2) iteration via POLLOUT. A 5-second deadline closes abandoned fds to prevent leaks. Both the ext_data_control_source_v1.send and zwp_primary_selection_source_v1.send paths are fixed. Previously, a slow paste receiver (e.g. CEF 147 OSR on Wayland, kryptic-sh/buffr#34) could stall the bg thread indefinitely, causing any subsequent set_text() call from the UI thread to block on a Condvar for 7+ seconds until the watchdog killed the process (issue #4).

[0.5.1] - 2026-05-04

Docs

  • Internal CHANGELOG hygiene: backfilled missing release entries and added reference link definitions for all version headings. No functional changes.

[0.5.0] - 2026-05-03

Added

  • Public Backend trait. Promoted from pub(crate) to pub, with new kind() and capabilities() methods plus async variants (set_async / get_async / clear_async / available_async) defaulted to ClipboardError::UnsupportedAsync. Downstream crates can now implement custom backends, decorators, or mocks.
  • BackendKind enum for stable backend identification (Wayland, X11, MacOs, Windows, Osc52, Mock, SshAware).
  • Capabilities bitflags (bitflags = "2"): WRITE, READ, CLEAR,

... (truncated)

Commits
  • 3b003f3 chore: bump version
  • 7102012 fix(wayland): self-paste deadlock — short-circuit do_get when we own the source
  • 90770df fix(wayland): non-blocking data_source send to prevent UI deadlock (#4)
  • 9624a28 chore: bump version
  • 6ea5ef3 docs: add reference link defs to all CHANGELOG version headings
  • aeaf829 chore: bump version
  • 96b3b76 fix(docs): ssh_aware doctest works on macOS (use MockBackend not WaylandBackend)
  • a990eaf feat(backend): public Backend trait + Capabilities + Mock + SshAware
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [hjkl-clipboard](https://github.com/kryptic-sh/hjkl-clipboard) from 0.4.8 to 0.5.3.
- [Changelog](https://github.com/kryptic-sh/hjkl-clipboard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kryptic-sh/hjkl-clipboard/compare/v0.4.8...v0.5.3)

---
updated-dependencies:
- dependency-name: hjkl-clipboard
  dependency-version: 0.5.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 6, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 25, 2026

Superseded by #51.

@dependabot dependabot Bot closed this May 25, 2026
@dependabot dependabot Bot deleted the dependabot/cargo/hjkl-clipboard-0.5.3 branch May 25, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants