diff --git a/Cargo.toml b/Cargo.toml index 243c0680..362b9da2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,22 +8,22 @@ edition = "2024" license = "Apache-2.0" repository = "https://github.com/rust-windowing/winit" rust-version = "1.85" -version = "0.31.0-beta.1" +version = "0.31.0-beta.2" [workspace.dependencies] # Workspace dependencies. # `winit` has no version here to allow using it in dev deps for docs. winit = { path = "winit" } -winit-android = { version = "=0.31.0-beta.1", path = "winit-android" } -winit-appkit = { version = "=0.31.0-beta.1", path = "winit-appkit" } -winit-common = { version = "=0.31.0-beta.1", path = "winit-common" } -winit-core = { version = "=0.31.0-beta.1", path = "winit-core" } -winit-orbital = { version = "=0.31.0-beta.1", path = "winit-orbital" } -winit-uikit = { version = "=0.31.0-beta.1", path = "winit-uikit" } -winit-wayland = { version = "=0.31.0-beta.1", path = "winit-wayland", default-features = false } -winit-web = { version = "=0.31.0-beta.1", path = "winit-web" } -winit-win32 = { version = "=0.31.0-beta.1", path = "winit-win32" } -winit-x11 = { version = "=0.31.0-beta.1", path = "winit-x11" } +winit-android = { version = "=0.31.0-beta.2", path = "winit-android" } +winit-appkit = { version = "=0.31.0-beta.2", path = "winit-appkit" } +winit-common = { version = "=0.31.0-beta.2", path = "winit-common" } +winit-core = { version = "=0.31.0-beta.2", path = "winit-core" } +winit-orbital = { version = "=0.31.0-beta.2", path = "winit-orbital" } +winit-uikit = { version = "=0.31.0-beta.2", path = "winit-uikit" } +winit-wayland = { version = "=0.31.0-beta.2", path = "winit-wayland", default-features = false } +winit-web = { version = "=0.31.0-beta.2", path = "winit-web" } +winit-win32 = { version = "=0.31.0-beta.2", path = "winit-win32" } +winit-x11 = { version = "=0.31.0-beta.2", path = "winit-x11" } # Core dependencies. bitflags = "2" diff --git a/README.md b/README.md index 15ea7e90..ac7fa2ae 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ```toml [dependencies] -winit = "0.31.0-beta.1" +winit = "0.31.0-beta.2" ``` ## [Documentation](https://docs.rs/winit) diff --git a/winit-android/src/lib.rs b/winit-android/src/lib.rs index abe97677..989c9716 100644 --- a/winit-android/src/lib.rs +++ b/winit-android/src/lib.rs @@ -63,7 +63,7 @@ //! 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.31.0-beta.1", features = [ "android-native-activity" ] }` +//! "0.31.0-beta.2", 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 //! logging as above). diff --git a/winit/src/changelog/unreleased.md b/winit/src/changelog/unreleased.md index 93491753..f3a0f6d2 100644 --- a/winit/src/changelog/unreleased.md +++ b/winit/src/changelog/unreleased.md @@ -39,18 +39,3 @@ The migration guide could reference other migration examples in the current changelog entry. ## Unreleased - -### Added - -- Add `EventLoopExtRegister::register_app` for being explicit about how the event loop runs on Web. -- Add `EventLoopExtNeverReturn::run_app_never_return` for being explicit about how the event loop runs on iOS. - -### Changed - -- On Web, avoid throwing an exception in `EventLoop::run_app`, instead preferring to return to the caller. - This requires passing a `'static` application to ensure that the application state will live as long as necessary. -- On Web, the event loop can now always be re-created once it has finished running. - -### Fixed - -- Fixed panic when calling `Window::set_ime_allowed`. diff --git a/winit/src/changelog/v0.31.md b/winit/src/changelog/v0.31.md index 109e23f1..f8eb99a2 100644 --- a/winit/src/changelog/v0.31.md +++ b/winit/src/changelog/v0.31.md @@ -1,3 +1,20 @@ +## 0.31.0-beta.2 + +### Added + +- Add `EventLoopExtRegister::register_app` for being explicit about how the event loop runs on Web. +- Add `EventLoopExtNeverReturn::run_app_never_return` for being explicit about how the event loop runs on iOS. + +### Changed + +- On Web, avoid throwing an exception in `EventLoop::run_app`, instead preferring to return to the caller. + This requires passing a `'static` application to ensure that the application state will live as long as necessary. +- On Web, the event loop can now always be re-created once it has finished running. + +### Fixed + +- Fixed panic when calling `Window::set_ime_allowed`. + ## 0.31.0-beta.1 ### Added