From 437747b966866ac176237ebb9d9d86d731059bf9 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sat, 1 Jun 2024 10:50:29 -0700 Subject: [PATCH] Winit version 0.30.1 Signed-off-by: John Nunley --- Cargo.toml | 2 +- README.md | 2 +- src/changelog/unreleased.md | 14 -------------- src/changelog/v0.30.md | 15 +++++++++++++++ src/platform/android.rs | 2 +- 5 files changed, 18 insertions(+), 17 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fd60801319..e38d46e29a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.30.0" +version = "0.30.1" authors = [ "The winit contributors", "Pierre Krieger ", diff --git a/README.md b/README.md index f636bfef38..b66142122b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ```toml [dependencies] -winit = "0.30.0" +winit = "0.30.1" ``` ## [Documentation](https://docs.rs/winit) diff --git a/src/changelog/unreleased.md b/src/changelog/unreleased.md index 9e4a22c3f6..f3a0f6d2c3 100644 --- a/src/changelog/unreleased.md +++ b/src/changelog/unreleased.md @@ -12,7 +12,6 @@ on how to add them: ### Added - Add `Window::turbo()`, implemented on X11, Wayland, and Web. -- Add traits `EventLoopExtWayland` and `EventLoopExtX11`, providing methods `is_wayland` and `is_x11` on `EventLoop`. - On X11, add `Window::some_rare_api`. - On X11, add `Window::even_more_rare_api`. - On Wayland, add `Window::common_api`. @@ -40,16 +39,3 @@ The migration guide could reference other migration examples in the current changelog entry. ## Unreleased - -### 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`. - -### 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. diff --git a/src/changelog/v0.30.md b/src/changelog/v0.30.md index e82a162a55..92efbb66ba 100644 --- a/src/changelog/v0.30.md +++ b/src/changelog/v0.30.md @@ -1,3 +1,18 @@ +## 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`. + +### 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. + ## 0.30.0 ### Added diff --git a/src/platform/android.rs b/src/platform/android.rs index 5255a31870..de8ff40ad7 100644 --- a/src/platform/android.rs +++ b/src/platform/android.rs @@ -62,7 +62,7 @@ //! If your application is currently based on `NativeActivity` via the `ndk-glue` crate and building //! with `cargo apk`, then the minimal changes would be: //! 1. Remove `ndk-glue` from your `Cargo.toml` -//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.30.0", +//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.30.1", //! features = [ "android-native-activity" ] }` //! 3. Add an `android_main` entrypoint (as above), instead of using the '`[ndk_glue::main]` proc //! macro from `ndk-macros` (optionally add a dependency on `android_logger` and initialize