Skip to content

build(deps): update winit requirement from =0.31.0-beta.3 to =0.31.0-beta.4 - #1768

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/winit-eq-0.31.0-beta.4
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/winit-eq-0.31.0-beta.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 27, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on winit to permit the latest version.

Release notes

Sourced from winit's releases.

Winit version 0.31.0-beta.4

Added

  • Add ActiveEventLoop::clipboard and ActiveEventLoop::set_clipboard for interacting with the system clipboard through the data transfer API, implemented on Wayland, X11, macOS and Windows.
  • Add ActiveEventLoop::primary_selection_ext for interacting with the primary selection through the data transfer API on Wayland and X11.
  • Add WindowEvent::MouseWheel::source: ScrollSource, telling a mouse wheel from fingers on a touchpad from system-driven momentum scrolling, implemented on macOS and Wayland.
  • Add keyboard support for OpenHarmony.

Fixed

  • On Windows, fix a crash occurring when trying to create a DXGI surface on a window that is both fullscreen and always on top.
  • On Wayland, use the touch serial for Window::drag_window, Window::drag_resize_window and Window::show_window_menu when the interaction was started by touch.
  • On Windows, fix a crash when moving a window that owns windows not created by winit, such as native dialogs or application helper windows.
  • On Windows, avoid overflow when negating minimum mouse-wheel deltas.
  • On Windows, fix the transparency mask of icons created from RGBA data. Places that draw icons through the mask, such as Task Manager, showed a background and rough edges.
  • On Windows, fix IME preedit cursor offsets around surrogate pairs when no target clause is selected.
  • On X11, reset the drag and drop state when a drag operation ends. A later drag no longer reuses the state of a previous drag.
  • On Wayland, fix the text input being destroyed whenever a seat capability changed. This made IME input stop working in already-running applications after the seat's capabilities were updated.
  • On Wayland, fix a panic when a popup is dropped before its queued compositor updates are processed.
  • On macOS, forward mouse click events to AppKit. This makes IME semantics more similar to native macOS applications, particularly when an IME is clicked out of.
  • On macOS, discard the input method's marked text when IME is disabled, so an unfinished composition is not resumed (and committed again) when IME is re-enabled.

Changed

  • No longer send an empty Ime::Preedit before Ime::Commit.
  • Removed the url dependency from winit-core, along with SendData::from_file_paths, TypedData::try_as_file_paths and impl From<Vec<url::Url>> for SendData. Use SendData::Uris / TypedData::try_as_uris with file: URIs instead.
Commits
  • d597ced Winit version 0.31.0-beta.4
  • 140d322 feat(core): add keyboard for ohos
  • 534aa40 win32: fix the AND mask of icons created from RGBA
  • 52985f2 winit-win32: fix UTF-16 IME cursor offsets around surrogate pairs
  • d8e18a1 examples: add clipboard example
  • ff32869 primary selection
  • ae0717d x11: implement clipboard support via the data transfer API
  • 520eb61 win32: implement clipboard support via the data transfer API
  • e250e65 appkit: implement clipboard support via the data transfer API
  • e965c66 appkit: fix data transfer file-reference resolution
  • Additional commits viewable in compare view

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)

Updates the requirements on [winit](https://github.com/rust-windowing/winit) to permit the latest version.
- [Release notes](https://github.com/rust-windowing/winit/releases)
- [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md)
- [Commits](rust-windowing/winit@v0.31.0-beta.3...v0.31.0-beta.4)

---
updated-dependencies:
- dependency-name: winit
  dependency-version: 0.31.0-beta.4
  dependency-type: direct:production
...

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 Oct 27, 2026

This branch has not been deployed

No deployments
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

Development

Successfully merging this pull request may close these issues.

0 participants