From 9a1ef49dc3e7afcfac288861153a6df95671defb Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Mon, 10 Jun 2024 18:47:04 +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 | 14 -------------- src/changelog/v0.30.md | 16 ++++++++++++++++ src/platform/android.rs | 2 +- 5 files changed, 19 insertions(+), 17 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fd608013..e38d46e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.30.0" +version = "0.30.1" authors = [ "The winit contributors", "Pierre Krieger ", diff --git a/README.md b/README.md index f636bfef..b6614212 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ```toml [dependencies] -winit = "0.30.0" +winit = "0.30.1" ``` ## [Documentation](https://docs.rs/winit) diff --git a/src/changelog/unreleased.md b/src/changelog/unreleased.md index e689a07f..7616531b 100644 --- a/src/changelog/unreleased.md +++ b/src/changelog/unreleased.md @@ -12,7 +12,6 @@ on how to add them: ### Added - Add `Window::turbo()`, implemented on X11, Wayland, and Web. -- Add traits `EventLoopExtWayland` and `EventLoopExtX11`, providing methods `is_wayland` and `is_x11` on `EventLoop`. - On X11, add `Window::some_rare_api`. - On X11, add `Window::even_more_rare_api`. - On Wayland, add `Window::common_api`. @@ -41,21 +40,8 @@ changelog entry. ## Unreleased -### Added - -- Reexport `raw-window-handle` versions 0.4 and 0.5 as `raw_window_handle_04` and `raw_window_handle_05`. -- Implement `ApplicationHandler` for `&mut` references and heap allocations to something that implements `ApplicationHandler`. - ### Removed - Remove `EventLoop::run`. - Remove `EventLoopExtRunOnDemand::run_on_demand`. - Remove `EventLoopExtPumpEvents::pump_events`. - -### Fixed - -- On macOS, fix panic on exit when dropping windows outside the event loop. -- On macOS, fix window dragging glitches when dragging across a monitor boundary with different scale factor. -- On macOS, fix the range in `Ime::Preedit`. -- On macOS, use the system's internal mechanisms for queuing events. -- On macOS, handle events directly instead of queuing when possible. diff --git a/src/changelog/v0.30.md b/src/changelog/v0.30.md index 2fe59fe5..eb25267d 100644 --- a/src/changelog/v0.30.md +++ b/src/changelog/v0.30.md @@ -1,3 +1,19 @@ +## 0.30.1 + +### Added + +- Reexport `raw-window-handle` versions 0.4 and 0.5 as `raw_window_handle_04` and `raw_window_handle_05`. +- Implement `ApplicationHandler` for `&mut` references and heap allocations to something that implements `ApplicationHandler`. +- Add traits `EventLoopExtWayland` and `EventLoopExtX11`, providing methods `is_wayland` and `is_x11` on `EventLoop`. + +### Fixed + +- On macOS, fix panic on exit when dropping windows outside the event loop. +- On macOS, fix window dragging glitches when dragging across a monitor boundary with different scale factor. +- On macOS, fix the range in `Ime::Preedit`. +- On macOS, use the system's internal mechanisms for queuing events. +- On macOS, handle events directly instead of queuing when possible. + ## 0.30.0 ### Added diff --git a/src/platform/android.rs b/src/platform/android.rs index 5255a318..de8ff40a 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.0", +//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.30.1", //! 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