From 04d8a284a060113003ffe63d42ec42979b221b47 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Tue, 16 Jul 2024 13:39:57 +0300 Subject: [PATCH] Winit version 0.30.4 --- Cargo.toml | 2 +- README.md | 2 +- src/changelog/unreleased.md | 12 ------------ src/changelog/v0.30.md | 14 ++++++++++++++ src/platform/android.rs | 2 +- 5 files changed, 17 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e36fc2601..4bdbc736f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.30.3" +version = "0.30.4" authors = [ "The winit contributors", "Pierre Krieger ", diff --git a/README.md b/README.md index e3aab0e55..772297240 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ```toml [dependencies] -winit = "0.30.3" +winit = "0.30.4" ``` ## [Documentation](https://docs.rs/winit) diff --git a/src/changelog/unreleased.md b/src/changelog/unreleased.md index d867b31cc..f3a0f6d2c 100644 --- a/src/changelog/unreleased.md +++ b/src/changelog/unreleased.md @@ -39,15 +39,3 @@ The migration guide could reference other migration examples in the current changelog entry. ## Unreleased - -### Changed - -- `DeviceId::dummy()` and `WindowId::dummy()` are no longer marked `unsafe`. - -### Fixed - -- On Wayland, avoid crashing when compositor is misbehaving. -- On Web, fix `WindowEvent::Resized` not using `requestAnimationFrame` when sending - `WindowEvent::RedrawRequested` and also potentially causing `WindowEvent::RedrawRequested` - to not be de-duplicated. -- Account for different browser engine implementations of pointer movement coordinate space. diff --git a/src/changelog/v0.30.md b/src/changelog/v0.30.md index e190d1146..ee38a6dfc 100644 --- a/src/changelog/v0.30.md +++ b/src/changelog/v0.30.md @@ -1,3 +1,17 @@ +## 0.30.4 + +### Changed + +- `DeviceId::dummy()` and `WindowId::dummy()` are no longer marked `unsafe`. + +### Fixed + +- On Wayland, avoid crashing when compositor is misbehaving. +- On Web, fix `WindowEvent::Resized` not using `requestAnimationFrame` when sending + `WindowEvent::RedrawRequested` and also potentially causing `WindowEvent::RedrawRequested` + to not be de-duplicated. +- Account for different browser engine implementations of pointer movement coordinate space. + ## 0.30.3 ### Added diff --git a/src/platform/android.rs b/src/platform/android.rs index 4d4c591e0..748126a01 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.3", +//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.30.4", //! 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