diff --git a/Cargo.toml b/Cargo.toml index 6e460c61d..baee02c4a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.30.9" +version = "0.30.10" authors = [ "The winit contributors", "Pierre Krieger ", diff --git a/README.md b/README.md index 966e36e5e..039339028 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ```toml [dependencies] -winit = "0.30.9" +winit = "0.30.10" ``` ## [Documentation](https://docs.rs/winit) diff --git a/src/changelog/unreleased.md b/src/changelog/unreleased.md index ddeb2138a..f3a0f6d2c 100644 --- a/src/changelog/unreleased.md +++ b/src/changelog/unreleased.md @@ -39,31 +39,3 @@ The migration guide could reference other migration examples in the current changelog entry. ## Unreleased - -### Added - -- On Windows, add `IconExtWindows::from_resource_name`. -- On Windows, add `CursorGrabMode::Locked`. -- On Wayland, add `WindowExtWayland::xdg_toplevel`. - -### Changed - -- On macOS, no longer need control of the main `NSApplication` class (which means you can now override it yourself). -- On iOS, remove custom application delegates. You are now allowed to override the - application delegate yourself. -- On iOS, no longer act as-if the application successfully open all URLs. Override - `application:didFinishLaunchingWithOptions:` and provide the desired behaviour yourself. - -### Fixed - -- On Windows, fixed ~500 ms pause when clicking the title bar during continuous redraw. -- On macOS, `WindowExtMacOS::set_simple_fullscreen` now honors `WindowExtMacOS::set_borderless_game` -- On X11 and Wayland, fixed pump_events with `Some(Duration::Zero)` blocking with `Wait` polling mode -- On Wayland, fixed a crash when consequently calling `set_cursor_grab` without pointer focus. -- On Wayland, ensure that external event loop is woken-up when using pump_events and integrating via `FD`. -- On Wayland, apply fractional scaling to custom cursors. -- On macOS, fixed `run_app_on_demand` returning without closing open windows. -- On macOS, fixed `VideoMode::refresh_rate_millihertz` for fractional refresh rates. -- On macOS, store monitor handle to avoid panics after going in/out of sleep. -- On macOS, allow certain invalid monitor handles and return `None` instead of panicking. -- On Windows, fixed `Ime::Preedit` cursor offset calculation. diff --git a/src/changelog/v0.30.md b/src/changelog/v0.30.md index 1abc1e8af..41bd5b571 100644 --- a/src/changelog/v0.30.md +++ b/src/changelog/v0.30.md @@ -1,3 +1,33 @@ +## 0.30.10 + +### Added + +- On Windows, add `IconExtWindows::from_resource_name`. +- On Windows, add `CursorGrabMode::Locked`. +- On Wayland, add `WindowExtWayland::xdg_toplevel`. + +### Changed + +- On macOS, no longer need control of the main `NSApplication` class (which means you can now override it yourself). +- On iOS, remove custom application delegates. You are now allowed to override the + application delegate yourself. +- On iOS, no longer act as-if the application successfully open all URLs. Override + `application:didFinishLaunchingWithOptions:` and provide the desired behaviour yourself. + +### Fixed + +- On Windows, fixed ~500 ms pause when clicking the title bar during continuous redraw. +- On macOS, `WindowExtMacOS::set_simple_fullscreen` now honors `WindowExtMacOS::set_borderless_game` +- On X11 and Wayland, fixed pump_events with `Some(Duration::Zero)` blocking with `Wait` polling mode +- On Wayland, fixed a crash when consequently calling `set_cursor_grab` without pointer focus. +- On Wayland, ensure that external event loop is woken-up when using pump_events and integrating via `FD`. +- On Wayland, apply fractional scaling to custom cursors. +- On macOS, fixed `run_app_on_demand` returning without closing open windows. +- On macOS, fixed `VideoMode::refresh_rate_millihertz` for fractional refresh rates. +- On macOS, store monitor handle to avoid panics after going in/out of sleep. +- On macOS, allow certain invalid monitor handles and return `None` instead of panicking. +- On Windows, fixed `Ime::Preedit` cursor offset calculation. + ## 0.30.9 ### Changed diff --git a/src/platform/android.rs b/src/platform/android.rs index 55aa05561..1a8c2cd5c 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.9", +//! 2. Enable the `"android-native-activity"` feature for Winit: `winit = { version = "0.30.10", //! 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