Skip to content

Bump winit from 0.29.15 to 0.30.2#69

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/winit-0.30.2
Closed

Bump winit from 0.29.15 to 0.30.2#69
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/winit-0.30.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 17, 2024

Bumps winit from 0.29.15 to 0.30.2.

Release notes

Sourced from winit's releases.

Winit version 0.30.2

Fixed

  • On Web, fix EventLoopProxy::send_event() triggering event loop immediately when not called from inside the event loop. Now queues a microtask instead.
  • On Web, stop overwriting default cursor with CursorIcon::Default.
  • On Web, prevent crash when using InnerSizeWriter::request_inner_size().
  • On macOS, fix not working opacity for entire window.

Winit version 0.30.1

Added

  • Reexport raw-window-handle versions 0.4 and 0.5 as raw_window_handle_04 and raw_window_handle_05.
  • Implement ApplicationHandler for &mut references and heap allocations to something that implements ApplicationHandler.
  • Add traits EventLoopExtWayland and EventLoopExtX11, providing methods is_wayland and is_x11 on EventLoop.

Fixed

  • On macOS, fix panic on exit when dropping windows outside the event loop.
  • On macOS, fix window dragging glitches when dragging across a monitor boundary with different scale factor.
  • On macOS, fix the range in Ime::Preedit.
  • On macOS, use the system's internal mechanisms for queuing events.
  • On macOS, handle events directly instead of queuing when possible.

Winit version 0.30.0

Added

  • Add OwnedDisplayHandle type for allowing safe display handle usage outside of trivial cases.
  • Add ApplicationHandler<T> trait which mimics Event<T>.
  • Add WindowBuilder::with_cursor and Window::set_cursor which takes a CursorIcon or CustomCursor.
  • Add Sync implementation for EventLoopProxy<T: Send>.
  • Add Window::default_attributes to get default WindowAttributes.
  • Add EventLoop::builder to get EventLoopBuilder without export.
  • Add CustomCursor::from_rgba to allow creating cursor images from RGBA data.
  • Add CustomCursorExtWebSys::from_url to allow loading cursor images from URLs.
  • Add CustomCursorExtWebSys::from_animation to allow creating animated cursors from other CustomCursors.
  • Add {Active,}EventLoop::create_custom_cursor to load custom cursor image sources.
  • Add ActiveEventLoop::create_window and EventLoop::create_window.
  • Add CustomCursor which could be set via Window::set_cursor, implemented on Windows, macOS, X11, Wayland, and Web.
  • On Web, add to toggle calling Event.preventDefault() on Window.
  • On iOS, add PinchGesture, DoubleTapGesture, PanGesture and RotationGesture.
  • on iOS, use UIGestureRecognizerDelegate for fine grained control of gesture recognizers.
  • On macOS, add services menu.
  • On Windows, add with_title_text_color, and with_corner_preference on WindowAttributesExtWindows.

... (truncated)

Commits
  • 79aa95b Winit version 0.30.2
  • ecd1468 Revert: Web: don't wait for polling when sending events
  • b512ed1 macOS: fix opacity handling
  • 96388f4 chore: address 1.79 clippy lints
  • 1745b01 Web: fix crash InnerSizeWriter::request_inner_size() (#3727)
  • 54e974c Web: don't overwrite cursor with CursorIcon::Default (#3729)
  • b14d5c0 Web: queue EventLoopProxy::send_event() to microtask
  • 437747b Winit version 0.30.1
  • 21e266f macOS/iOS: Various refactorings in application state (#3720)
  • 3a0928a macOS: Improve event queuing (#3708)
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [winit](https://github.com/rust-windowing/winit) from 0.29.15 to 0.30.2.
- [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.29.15...v0.30.2)

---
updated-dependencies:
- dependency-name: winit
  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 Jun 17, 2024
@codecov
Copy link

codecov bot commented Jun 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.40%. Comparing base (a85cef2) to head (271beb3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   99.40%   99.40%           
=======================================
  Files           9        9           
  Lines        1180     1180           
=======================================
  Hits         1173     1173           
  Misses          7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 21, 2024

Superseded by #71.

@dependabot dependabot bot closed this Jun 21, 2024
@dependabot dependabot bot deleted the dependabot/cargo/winit-0.30.2 branch June 21, 2024 20:58
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