From 70c54ee0ff2d174c923e0a74664816a09313b6ee Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Thu, 8 Aug 2024 21:40:08 +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 | 6 ------ src/changelog/v0.30.md | 15 +++++++++++++++ src/platform/android.rs | 2 +- 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2551701a3b..fa40ab4f64 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ name = "winit" readme = "README.md" repository.workspace = true rust-version.workspace = true -version = "0.30.4" +version = "0.30.5" [package.metadata.docs.rs] features = [ diff --git a/README.md b/README.md index 90b93186df..63e7a8588d 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 6fce8a2f95..27a5d8c748 100644 --- a/src/changelog/unreleased.md +++ b/src/changelog/unreleased.md @@ -43,7 +43,6 @@ changelog entry. ### Added - Add `ActiveEventLoop::create_proxy()`. -- On Web, implement `Error` for `platform::web::CustomCursorError`. - On Web, add `ActiveEventLoopExtWeb::is_cursor_lock_raw()` to determine if `DeviceEvent::MouseMotion` is returning raw data, not OS accelerated, when using `CursorGrabMode::Locked`. @@ -54,8 +53,6 @@ changelog entry. `ActiveEventLoop::request_detailed_monitor_permission()`, access to all monitors and their information is available. This "detailed monitors" can be used in `Window::set_fullscreen()` as well. -- On Android, add `{Active,}EventLoopExtAndroid::android_app()` to access the app used to create the loop. -- Add `ActiveEventLoop::system_theme()`, returning the current system theme. - Add `Touch::finger_id` with a new type `FingerId`. - On Web and Windows, add `FingerIdExt*::is_primary()`, exposing a way to determine the primary finger in a multi-touch interaction. @@ -126,7 +123,4 @@ changelog entry. ### Fixed -- 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. - On Orbital, `MonitorHandle::name()` now returns `None` instead of a dummy name. diff --git a/src/changelog/v0.30.md b/src/changelog/v0.30.md index e26d5ffe99..5460ba8446 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 27171fd22a..eaee1ed9d2 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