Skip to content

chore(deps): bump golang.design/x/clipboard from 0.7.1 to 0.8.0 - #38

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/golang.design/x/clipboard-0.8.0
Closed

chore(deps): bump golang.design/x/clipboard from 0.7.1 to 0.8.0#38
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/golang.design/x/clipboard-0.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown

Bumps golang.design/x/clipboard from 0.7.1 to 0.8.0.

Release notes

Sourced from golang.design/x/clipboard's releases.

v0.8.0 — a community milestone 🎉

This is by far the largest release in the project's history — and it exists because of you. Every feature below started as a community issue, a prototype, a design discussion, or a bug report. Thank you to everyone who reported, proposed, prototyped, reviewed, and pushed for these — your input directly shaped this release. 🙏

Heads up — one breaking change: Watch now returns <-chan Data instead of <-chan []byte. Migration is one line: read data.Bytes (and you can now inspect data.Format).

✨ Highlights

  • Cgo-free on every desktop platform. macOS (purego/Obj-C), Linux/X11, and the BSDs now talk to the OS clipboard with no C toolchain at build time and no libX11/libwayland at runtime (Windows was already Cgo-free). Cross-compiling to desktop "just works." (#69, #25, #55)
  • Native Wayland support. A pure-Go data-control backend (ext-data-control-v1 / zwlr_data_control_manager_v1), event-driven Watch, auto-selected over X11 when available, with XWayland fallback. (#6)
  • Custom, MIME-typed formats. Register(mime) Format + ReadAs[T] give raw, passthrough read/write/watch for any MIME type — no conversion, no new mandatory dependency, no platform detail leaking into your code. (#17, subsumes #40)
  • Clipboard enumeration. Formats() []Format reports what's on the clipboard right now (auto-registering MIME types it discovers), and Format.MIME() tells you what a token is. (#89)
  • Variadic, format-tagged Watch. Watch(ctx, ...Format) <-chan Data watches several formats at once and tags each change with its format (no args watches the built-ins). (#89)
  • Flexible image input. Write(FmtImage, …) now accepts JPEG/GIF/WebP/… (when you blank-import the decoder) and normalizes to canonical PNG; Read(FmtImage) always returns PNG. (#155)

🐛 Fixes

  • Windows: transparent images no longer paste too dark — images are stored/read with straight (non-premultiplied) alpha to match CF_DIBV5. Verified end-to-end via a real Windows consumer in CI. (#105)
  • Windows: 24-bit (and other non-32-bit) DIB images now decode instead of returning nil. (#65)
  • Windows: OpenClipboard no longer busy-waits forever — bounded backoff + timeout when another app holds the clipboard. (#144)
  • Watch no longer leaks — tickers are stopped and the send honors context cancellation. (#153)

📦 Dependencies

  • Adds the first-party, pure-Go X11 codec golang.design/x/x11 v0.2.0 (extracted from this repo; reusable elsewhere).
  • iOS/Android continue to use gomobile (Cgo); mobile keeps text-only support.

🙏 Thanks

This release is the work of many hands. With gratitude to:

…and everyone who joined the discussions, tested pre-release behavior, and filed clear, actionable issues. Thank you all. ❤️

Migration

// Before (v0.7.x):
for data := range clipboard.Watch(ctx, clipboard.FmtText) {
    use(data)            // data was []byte
}
// After (v0.8.0):
for data := range clipboard.Watch(ctx, clipboard.FmtText) {
</tr></table>

... (truncated)

Commits
  • a60465b docs: pre-v0.8.0 pass — refresh README, fix stale image/format claims (#159)
  • ac3069b clipboard: stop watch ticker and honor cancel during send (#153) (#158)
  • 67fa4dc clipboard: accept non-PNG image input, normalize to PNG (#155) (#157)
  • f0085eb windows: bound OpenClipboard retries with backoff and timeout (#144) (#156)
  • ebe38cf specs: mark darwin/linux/wayland Implemented with Outcome + deviations (#149)...
  • 43b7bc6 go.mod: tidy stale x/x11 v0.1.0 checksum from go.sum (#150)
  • 52e453a windows: store/read straight (non-premultiplied) alpha for images (#105) (#146)
  • 4cca821 windows: decode 24-bit (and other non-32-bit) DIB images (#65) (#143)
  • 7005910 docs: document Formats()/Format.MIME(); mark enumeration spec Implemented (#8...
  • f7f2c84 darwin: implement Formats() enumeration via NSPasteboard types (#89) (#141)
  • Additional commits viewable 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 [golang.design/x/clipboard](https://github.com/golang-design/clipboard) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/golang-design/clipboard/releases)
- [Commits](golang-design/clipboard@v0.7.1...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.design/x/clipboard
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies, go. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@Mgrdich

Mgrdich commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Superseded by #40, which bundles all open dependabot bumps into one PR verified to build and pass the full Go + Python test suites. Closing in favor of that.

@Mgrdich Mgrdich closed this Jul 21, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 21, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/go_modules/golang.design/x/clipboard-0.8.0 branch July 21, 2026 18:51
Mgrdich added a commit that referenced this pull request Jul 21, 2026
Combines all 10 open dependabot updates (#29#38) into a single change,
verified to build and pass every test suite.

Go modules:
- github.com/charmbracelet/bubbles 0.21.0 -> 1.0.0 (#32)
- golang.design/x/clipboard 0.7.1 -> 0.8.0 (#38)

GitHub Actions:
- astral-sh/setup-uv v3 -> v7 (#29)
- golangci/golangci-lint-action v7 -> v9 (#30)
- softprops/action-gh-release v2 -> v3 (#31)

Python (training/):
- numpy >=2.4.4 (#36), onnx >=1.21.0 (#34), onnxscript >=0.7.0 (#33)
- pytest >=9.0.3 (#35), mypy >=1.20.2 (#37)

Verified: make build + go test ./... pass; training ruff/format/mypy clean;
uv run pytest -> 183 passed.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant