From 944ab60edaf250207add33b9190f270a9dcf61a7 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Tue, 16 Jul 2024 22:04:12 +0300 Subject: [PATCH] Bump version on master This commit does not represent a release and only synchronizes CHANGELOG from the latest release. --- Cargo.toml | 2 +- README.md | 2 +- src/changelog/unreleased.md | 9 --------- src/changelog/v0.30.md | 14 ++++++++++++++ src/platform/android.rs | 2 +- 5 files changed, 17 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1792538c..3238d34a 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 fd94e322..17870382 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 abc31097..53a61727 100644 --- a/src/changelog/unreleased.md +++ b/src/changelog/unreleased.md @@ -68,7 +68,6 @@ changelog entry. - Change signature of `EventLoop::run_app`, `EventLoopExtPumpEvents::pump_app_events` and `EventLoopExtRunOnDemand::run_app_on_demand` to accept a `impl ApplicationHandler` directly, instead of requiring a `&mut` reference to it. -- `DeviceId::dummy()` and `WindowId::dummy()` are no longer marked `unsafe`. ### Removed @@ -80,11 +79,3 @@ changelog entry. This feature was incomplete, and the equivalent functionality can be trivially achieved outside of `winit` using `objc2-ui-kit` and calling `UIDevice::currentDevice().userInterfaceIdiom()`. - -### Fixed - -- On Wayland, avoid crashing when compositor is misbehaving. -- Account for different browser engine implementations of pointer movement coordinate space. -- On Web, fix `WindowEvent::Resized` not using `requestAnimationFrame` when sending - `WindowEvent::RedrawRequested` and also potentially causing `WindowEvent::RedrawRequested` - to not be de-duplicated. diff --git a/src/changelog/v0.30.md b/src/changelog/v0.30.md index 9a9f45e7..e26d5ffe 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 6c842149..2dd596eb 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