From 114512bb329ac2da78e33dcd54c3f466f34da394 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 7 Aug 2024 12:40:40 +0300 Subject: [PATCH] Winit version 0.30.5 --- 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 4bdbc736fe..0f1a038068 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.30.4" +version = "0.30.5" authors = [ "The winit contributors", "Pierre Krieger ", diff --git a/README.md b/README.md index c77c6f7650..981dcebb24 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ```toml [dependencies] -winit = "0.30.4" +winit = "0.30.5" ``` ## [Documentation](https://docs.rs/winit) diff --git a/src/changelog/unreleased.md b/src/changelog/unreleased.md index 6d4d3e6a5d..f3a0f6d2c3 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 - -- Add `ActiveEventLoop::system_theme()`, returning the current system theme. -- On Web, implement `Error` for `platform::web::CustomCursorError`. -- On Android, add `{Active,}EventLoopExtAndroid::android_app()` to access the app used to create the loop. - -### Fixed - -- On MacOS, fix building with `feature = "rwh_04"`. -- On Web, pen events are now routed through to `WindowEvent::Cursor*`. -- On macOS, fix panic when releasing not available monitor. -- On MacOS, return the system theme in `Window::theme()` if no theme override is set. diff --git a/src/changelog/v0.30.md b/src/changelog/v0.30.md index ee38a6dfc5..11af4a99af 100644 --- a/src/changelog/v0.30.md +++ b/src/changelog/v0.30.md @@ -1,3 +1,18 @@ +## 0.30.5 + +### Added + +- Add `ActiveEventLoop::system_theme()`, returning the current system theme. +- On Web, implement `Error` for `platform::web::CustomCursorError`. +- On Android, add `{Active,}EventLoopExtAndroid::android_app()` to access the app used to create the loop. + +### Fixed + +- On MacOS, fix building with `feature = "rwh_04"`. +- On Web, pen events are now routed through to `WindowEvent::Cursor*`. +- On macOS, fix panic when releasing not available monitor. +- On MacOS, return the system theme in `Window::theme()` if no theme override is set. + ## 0.30.4 ### Changed diff --git a/src/platform/android.rs b/src/platform/android.rs index b75667b5ae..823ef5a37b 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.4", +//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.30.5", //! 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