From e9809ef54b18499bb4f2cac945719ecc2a61061b Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sun, 1 Mar 2026 23:02:21 +0900 Subject: [PATCH] Winit version 0.30.13 --- Cargo.toml | 2 +- README.md | 2 +- src/changelog/unreleased.md | 13 ------------- src/changelog/v0.30.md | 15 +++++++++++++++ src/platform/android.rs | 2 +- 5 files changed, 18 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bb4d72ad2..71f7c5811 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.30.12" +version = "0.30.13" authors = [ "The winit contributors", "Pierre Krieger ", diff --git a/README.md b/README.md index ab230d753..ab958874a 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ```toml [dependencies] -winit = "0.30.12" +winit = "0.30.13" ``` ## [Documentation](https://docs.rs/winit) diff --git a/src/changelog/unreleased.md b/src/changelog/unreleased.md index f936e520a..f3a0f6d2c 100644 --- a/src/changelog/unreleased.md +++ b/src/changelog/unreleased.md @@ -39,16 +39,3 @@ The migration guide could reference other migration examples in the current changelog entry. ## Unreleased - -### Added - -- On Wayland, add `Window::set_resize_increments`. - -### Fixed - -- On macOS, fixed crash when dragging non-file content onto window. -- On X11, fix `set_hittest` not working on some window managers. -- On X11, fix debug mode overflow panic in `set_timestamp`. -- On macOS, fix crash in `set_marked_text` when native Pinyin IME sends out-of-bounds `selected_range`. -- On Windows, fix `WM_IME_SETCONTEXT` IME UI flag masking on `lParam`. -- On Android, populate `KeyEvent::text` and `KeyEvent::text_with_all_modifiers` via `Key::to_text()` diff --git a/src/changelog/v0.30.md b/src/changelog/v0.30.md index d6c6ef6b0..6b0b47dd3 100644 --- a/src/changelog/v0.30.md +++ b/src/changelog/v0.30.md @@ -1,3 +1,18 @@ +## 0.30.13 + +### Added + +- On Wayland, add `Window::set_resize_increments`. + +### Fixed + +- On macOS, fixed crash when dragging non-file content onto window. +- On X11, fix `set_hittest` not working on some window managers. +- On X11, fix debug mode overflow panic in `set_timestamp`. +- On macOS, fix crash in `set_marked_text` when native Pinyin IME sends out-of-bounds `selected_range`. +- On Windows, fix `WM_IME_SETCONTEXT` IME UI flag masking on `lParam`. +- On Android, populate `KeyEvent::text` and `KeyEvent::text_with_all_modifiers` via `Key::to_text()`. + ## 0.30.12 ### Fixed diff --git a/src/platform/android.rs b/src/platform/android.rs index 732a9075d..b76159c09 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.12", +//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.30.13", //! 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